@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.
- package/dist/components/Accordion/Accordion.stories.d.ts +1 -1
- package/dist/components/Accordion/AccordionItem.js +101 -105
- package/dist/components/Accordion/types.d.ts +9 -3
- package/dist/components/Accordion/types.js +1 -1
- package/dist/components/Accordion/utils.d.ts +3 -3
- package/dist/components/Accordion/utils.js +7 -7
- package/dist/components/AddToCalendar/AddToCalendar.js +24 -25
- package/dist/components/Article/Article.js +17 -17
- package/dist/components/Breadcrumb/BreadcrumbItem.js +13 -13
- package/dist/components/Button/Button.d.ts +4 -0
- package/dist/components/Button/Button.js +71 -53
- package/dist/components/Button/Button.stories.d.ts +7 -1
- package/dist/components/ComboBox/ComboBox.js +33 -29
- package/dist/components/ComposedModal/ComposedModal.js +33 -33
- package/dist/components/ComposedModal/ComposedModal.stories.d.ts +1 -0
- package/dist/components/Countdown/Countdown.js +90 -51
- package/dist/components/Countdown/Duration.d.ts +3 -1
- package/dist/components/Countdown/Duration.js +17 -9
- package/dist/components/Countdown/types.d.ts +2 -1
- package/dist/components/Countdown/types.js +1 -1
- package/dist/components/DescriptiveRadioButton/DescriptiveRadioButton.js +21 -21
- package/dist/components/Detail/Detail.d.ts +2 -0
- package/dist/components/Detail/Detail.js +27 -16
- package/dist/components/Detail/Detail.stories.d.ts +35 -2
- package/dist/components/Detail/index.d.ts +1 -0
- package/dist/components/Detail/types.d.ts +5 -0
- package/dist/components/Detail/types.js +4 -0
- package/dist/components/Drawer/DrawerHeader.js +22 -20
- package/dist/components/ExitGateCard/ExitGateCard.js +29 -29
- package/dist/components/FavoritingTileButton/FavoritingTileButton.js +30 -31
- package/dist/components/Filter/Filter.js +36 -34
- package/dist/components/Filter/FilterHeader.d.ts +4 -0
- package/dist/components/Filter/FilterHeader.js +30 -22
- package/dist/components/Input/Input.js +43 -39
- package/dist/components/Input/Input.stories.d.ts +16 -0
- package/dist/components/Link/Link.js +17 -18
- package/dist/components/Link/Link.stories.d.ts +17 -1
- package/dist/components/Link/types.d.ts +9 -4
- package/dist/components/Link/types.js +3 -3
- package/dist/components/LinkBlock/LinkBlock.js +19 -11
- package/dist/components/Modal/Modal.d.ts +0 -4
- package/dist/components/Modal/Modal.js +6 -6
- package/dist/components/Navigation/NavigationItem/NavigationItem.js +31 -23
- package/dist/components/Navigation/NavigationItemTrigger/NavigationItemTrigger.js +37 -39
- package/dist/components/Navigation/NavigationList/NavigationList.js +5 -5
- package/dist/components/Pagination/Pagination.js +22 -21
- package/dist/components/ProgressIndicator/ProgressIndicator.js +22 -22
- package/dist/components/Search/Search.js +55 -53
- package/dist/components/Search/SearchResults/SearchResults.js +16 -16
- package/dist/components/Select/Select.d.ts +4 -0
- package/dist/components/Select/Select.js +51 -45
- package/dist/components/Select/Select.stories.d.ts +1 -0
- package/dist/components/Tabs/TabsContainer.js +1 -1
- package/dist/components/Tags/Tags.js +32 -30
- package/dist/components/Text/Text.js +17 -9
- package/dist/components/Text/types.d.ts +42 -1
- package/dist/components/Text/types.js +3 -3
- package/dist/components/Text/utils.js +40 -7
- package/dist/components/TextArea/TextArea.js +38 -34
- package/dist/components/Toast/Toast.js +4 -4
- package/dist/index.js +192 -190
- package/dist/patterns/AccountPageHeader/AccountPageHeader.js +45 -28
- package/dist/patterns/BidSnapshot/BidMessage.d.ts +6 -1
- package/dist/patterns/BidSnapshot/BidMessage.js +14 -13
- package/dist/patterns/BidSnapshot/BidSnapshot.d.ts +11 -1
- package/dist/patterns/BidSnapshot/BidSnapshot.js +76 -64
- package/dist/patterns/BidSnapshot/BidSnapshot.stories.d.ts +114 -0
- package/dist/patterns/CountryPicker/CountryPickerCountryList.js +5 -5
- package/dist/patterns/CountryPicker/CountryPickerModal.js +8 -8
- package/dist/patterns/CountryPicker/CountryPickerOption.js +22 -20
- package/dist/patterns/CountryPicker/CountryPickerTrigger.js +39 -38
- package/dist/patterns/DetailList/DetailList.d.ts +7 -2
- package/dist/patterns/DetailList/DetailList.js +25 -24
- package/dist/patterns/DetailList/DetailList.stories.d.ts +1 -0
- package/dist/patterns/FavoritesCollectionTile/FavoritesCollectionTile.js +52 -52
- package/dist/patterns/FavoritesCollectionTile/FavoritesCollectionTile.stories.d.ts +1 -0
- package/dist/patterns/FiltersInline/FilterButton.js +41 -25
- package/dist/patterns/FiltersInline/FilterDropdownMenuDesktop.js +50 -52
- package/dist/patterns/FiltersInline/FilterDropdownMenuMobile.js +31 -31
- package/dist/patterns/HeroBanner/HeroBanner.js +21 -21
- package/dist/patterns/LanguageSelector/LanguageSelector.js +26 -28
- package/dist/patterns/ObjectTile/ObjectTile.js +66 -73
- package/dist/patterns/ObjectTile/ObjectTile.stories.d.ts +36 -0
- package/dist/patterns/PhoneNumberInput/PhoneNumberInput.js +7 -6
- package/dist/patterns/SaleCard/SaleCard.js +31 -39
- package/dist/patterns/SaleCard/SaleCard.stories.d.ts +1 -1
- package/dist/patterns/SaleCard/SaleCardActions.js +9 -8
- package/dist/patterns/SaleHeaderBanner/SaleHeaderBanner.js +49 -49
- package/dist/patterns/SaleHeaderBanner/SaleHeaderBrowseAuctions.js +19 -12
- package/dist/patterns/Social/Social.js +22 -22
- package/dist/patterns/Subscribe/Subscribe.js +57 -55
- package/dist/patterns/Subscribe/Subscribe.stories.d.ts +0 -1
- package/dist/patterns/TextBanner/TextBanner.js +12 -12
- package/dist/patterns/UserManagement/UserManagement.js +13 -13
- package/dist/patterns/ViewingDetails/ViewingDetails.d.ts +4 -0
- package/dist/patterns/ViewingDetails/ViewingDetails.js +36 -34
- package/dist/patterns/ViewingDetails/ViewingDetails.stories.d.ts +2 -0
- package/dist/patterns/ViewingDetails/ViewingDetailsMock.d.ts +2 -0
- package/dist/scss/_reset.scss +4 -0
- package/dist/scss/_type.scss +172 -65
- package/dist/scss/_vars.scss +92 -197
- package/dist/scss/_vars.scss.js +94 -199
- package/dist/scss/componentStyles.scss +181 -0
- package/dist/scss/components/Accordion/_accordion.scss +14 -28
- package/dist/scss/components/AddToCalendar/_addToCalendar.scss +0 -4
- package/dist/scss/components/Breadcrumb/_breadcrumb.scss +8 -1
- package/dist/scss/components/Button/_button.scss +40 -7
- package/dist/scss/components/ComboBox/_combobox.scss +7 -5
- package/dist/scss/components/ComposedModal/_composedModal.scss +0 -4
- package/dist/scss/components/Countdown/_countdown.scss +8 -9
- package/dist/scss/components/Countdown/_duration.scss +0 -2
- package/dist/scss/components/DatePicker/_datePicker.scss +11 -10
- package/dist/scss/components/Detail/_detail.scss +15 -6
- package/dist/scss/components/Divider/_divider.scss +3 -3
- package/dist/scss/components/Drawer/_drawerHeader.scss +0 -7
- package/dist/scss/components/Dropdown/_dropdown.scss +2 -2
- package/dist/scss/components/FavoritingTileButton/_favoritingTileButton.scss +5 -0
- package/dist/scss/components/Filter/_filter.scss +13 -10
- package/dist/scss/components/Icon/_icon.stories.scss +1 -1
- package/dist/scss/components/IconButton/_iconButton.scss +3 -5
- package/dist/scss/components/Input/_input.scss +22 -14
- package/dist/scss/components/Link/_link.scss +29 -8
- package/dist/scss/components/LinkBlock/_linkBlock.scss +5 -1
- package/dist/scss/components/LinkList/_linkList.scss +6 -0
- package/dist/scss/components/Modal/_modal.scss +2 -2
- package/dist/scss/components/Navigation/NavigationItem/_navigationItem.scss +30 -14
- package/dist/scss/components/Navigation/NavigationItemTrigger/_navigationItemTrigger.scss +2 -2
- package/dist/scss/components/Navigation/NavigationList/_navigationList.scss +5 -4
- package/dist/scss/components/NotificationBanner/_notificationBanner.scss +10 -21
- package/dist/scss/components/Pagination/_pagination.scss +17 -1
- package/dist/scss/components/ProgressIndicator/_progressIndicator.scss +5 -0
- package/dist/scss/components/Search/SearchResults/_searchResults.scss +5 -0
- package/dist/scss/components/Search/_search.scss +3 -11
- package/dist/scss/components/Search/_searchButton.scss +0 -1
- package/dist/scss/components/Select/_select.scss +8 -3
- package/dist/scss/components/Tabs/_tabs.scss +1 -6
- package/dist/scss/components/Tags/_tags.scss +1 -2
- package/dist/scss/components/TextArea/_textArea.scss +2 -4
- package/dist/scss/components/TextSymbol/_textSymbol.scss +1 -4
- package/dist/scss/patterns/AccountPageHeader/_accountPageHeader.scss +4 -0
- package/dist/scss/patterns/BidSnapshot/_bidSnapshot.scss +12 -11
- package/dist/scss/patterns/CountryPicker/_countryPickerModal.scss +4 -0
- package/dist/scss/patterns/CountryPicker/_countryPickerOption.scss +3 -0
- package/dist/scss/patterns/CountryPicker/_countryPickerTrigger.scss +4 -7
- package/dist/scss/patterns/DetailList/_detailList.scss +8 -2
- package/dist/scss/patterns/FavoritesCollectionTile/_favoritesCollectionTile.scss +6 -8
- package/dist/scss/patterns/FilterMenu/_filterMenu.scss +2 -1
- package/dist/scss/patterns/FiltersInline/_filterButton.scss +12 -2
- package/dist/scss/patterns/FiltersInline/_filterDropdownMenu.scss +1 -9
- package/dist/scss/patterns/FiltersInline/_filtersInline.scss +5 -0
- package/dist/scss/patterns/HeroBanner/_heroBanner.scss +5 -6
- package/dist/scss/patterns/LanguageSelector/_languageSelector.scss +4 -0
- package/dist/scss/patterns/ObjectTile/_objectTile.scss +13 -12
- package/dist/scss/patterns/PhoneNumberInput/_phoneNumberInput.scss +9 -2
- package/dist/scss/patterns/SaleCard/_saleCard.scss +7 -23
- package/dist/scss/patterns/SaleHeaderBanner/_saleHeaderBanner.scss +16 -3
- package/dist/scss/patterns/Social/_social.scss +5 -1
- package/dist/scss/patterns/Subscribe/_subscribe.scss +0 -12
- package/dist/scss/patterns/TextBanner/_textBanner.scss +9 -3
- package/dist/scss/patterns/ViewingDetails/_viewingDetails.scss +15 -3
- package/dist/scss/site-furniture/Footer/_footer.scss +24 -4
- package/dist/scss/site-furniture/Header/_header.scss +12 -4
- package/dist/site-furniture/Footer/Footer.js +4 -4
- package/dist/site-furniture/Header/Header.js +76 -57
- package/package.json +4 -3
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
@use '../../allPartials' as *;
|
|
2
2
|
|
|
3
3
|
.#{$px}-button {
|
|
4
|
-
|
|
5
|
-
@include
|
|
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:
|
|
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:
|
|
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: $
|
|
26
|
-
width: $
|
|
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:
|
|
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($
|
|
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($
|
|
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($
|
|
174
|
+
@include text($bodySmall);
|
|
173
175
|
|
|
174
176
|
align-items: center;
|
|
175
177
|
display: flex;
|
|
@@ -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
|
|
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
@use '../../allPartials' as *;
|
|
3
3
|
@import 'flatpickr/dist/flatpickr.css';
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
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
|
-
|
|
12
|
-
|
|
13
|
-
&__label {
|
|
11
|
+
&__label-section {
|
|
14
12
|
flex-shrink: 0;
|
|
15
|
-
font-variation-settings: 'wght' 600;
|
|
16
13
|
width: 160px;
|
|
17
14
|
|
|
18
|
-
|
|
19
|
-
|
|
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: $
|
|
7
|
+
background-color: $bg-border;
|
|
8
8
|
border: none;
|
|
9
|
-
border-top: 1px solid $
|
|
10
|
-
color: $
|
|
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($
|
|
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($
|
|
80
|
+
@include text($bodySmall);
|
|
81
81
|
|
|
82
82
|
align-items: center;
|
|
83
83
|
display: flex;
|
|
@@ -30,16 +30,16 @@ $chevron-scale: 0.8;
|
|
|
30
30
|
|
|
31
31
|
.#{$px}-filter {
|
|
32
32
|
&-header {
|
|
33
|
-
margin-bottom: $spacing-
|
|
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
|
-
|
|
41
|
-
|
|
42
|
-
|
|
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
|
-
|
|
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
|
}
|
|
@@ -95,15 +95,13 @@
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
&:hover {
|
|
98
|
-
background-color: $button-hover;
|
|
99
|
-
|
|
100
98
|
& svg {
|
|
101
|
-
color: $
|
|
102
|
-
fill: $
|
|
99
|
+
color: $cta-hover;
|
|
100
|
+
fill: $cta-hover;
|
|
103
101
|
margin-inline-end: unset;
|
|
104
102
|
|
|
105
103
|
path {
|
|
106
|
-
fill: $
|
|
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:
|
|
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
|
-
|
|
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($
|
|
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
|
-
|
|
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($
|
|
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($
|
|
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($
|
|
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-
|
|
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
|
}
|