@transferwise/components 0.0.0-experimental-8032b6c → 0.0.0-experimental-31e4d9a
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/build/card/Card.js.map +1 -1
- package/build/card/Card.mjs.map +1 -1
- package/build/main.css +1918 -1179
- package/build/styles/accordion/Accordion.css +27 -17
- package/build/styles/actionButton/ActionButton.css +16 -5
- package/build/styles/actionOption/ActionOption.css +2 -1
- package/build/styles/alert/Alert.css +2 -1
- package/build/styles/avatar/Avatar.css +84 -69
- package/build/styles/avatarLayout/AvatarLayout.css +22 -16
- package/build/styles/avatarView/AvatarView.css +11 -4
- package/build/styles/avatarView/Dot.css +9 -4
- package/build/styles/badge/Badge.css +19 -14
- package/build/styles/button/Button.css +20 -19
- package/build/styles/button/LegacyButton.css +7 -4
- package/build/styles/card/Card.css +24 -20
- package/build/styles/carousel/Carousel.css +45 -26
- package/build/styles/checkboxButton/CheckboxButton.css +15 -10
- package/build/styles/chips/Chip.css +61 -39
- package/build/styles/circularButton/CircularButton.css +8 -8
- package/build/styles/common/Option/Option.css +57 -30
- package/build/styles/common/RadioButton/RadioButton.css +1 -0
- package/build/styles/common/bottomSheet/BottomSheet.css +20 -21
- package/build/styles/common/card/Card.css +10 -6
- package/build/styles/common/circle/Circle.css +16 -11
- package/build/styles/common/closeButton/CloseButton.css +45 -24
- package/build/styles/common/panel/Panel.css +13 -7
- package/build/styles/criticalBanner/CriticalCommsBanner.css +8 -5
- package/build/styles/dateInput/DateInput.css +5 -5
- package/build/styles/dateLookup/DateLookup.css +26 -13
- package/build/styles/dateLookup/dateTrigger/DateTrigger.css +13 -8
- package/build/styles/decision/Decision.css +4 -0
- package/build/styles/definitionList/DefinitionList.css +13 -8
- package/build/styles/dimmer/Dimmer.css +15 -13
- package/build/styles/divider/Divider.css +7 -5
- package/build/styles/drawer/Drawer.css +21 -15
- package/build/styles/dropFade/DropFade.css +2 -2
- package/build/styles/emphasis/Emphasis.css +6 -0
- package/build/styles/expressiveMoneyInput/ExpressiveMoneyInput.css +12 -8
- package/build/styles/expressiveMoneyInput/amountInput/AmountInput.css +4 -4
- package/build/styles/expressiveMoneyInput/chevron/Chevron.css +5 -3
- package/build/styles/expressiveMoneyInput/currencySelector/CurrencySelector.css +1 -0
- package/build/styles/field/Field.css +5 -3
- package/build/styles/flowNavigation/FlowNavigation.css +28 -22
- package/build/styles/flowNavigation/animatedLabel/AnimatedLabel.css +6 -5
- package/build/styles/header/Header.css +16 -8
- package/build/styles/iconButton/IconButton.css +17 -12
- package/build/styles/image/Image.css +7 -6
- package/build/styles/info/Info.css +1 -1
- package/build/styles/inputs/Input.css +51 -20
- package/build/styles/inputs/InputGroup.css +14 -5
- package/build/styles/inputs/SelectInput.css +101 -42
- package/build/styles/inputs/TextArea.css +54 -21
- package/build/styles/instructionsList/InstructionsList.css +5 -3
- package/build/styles/legacylistItem/LegacyListItem.css +1 -1
- package/build/styles/link/Link.css +6 -3
- package/build/styles/listItem/ListItem.css +88 -44
- package/build/styles/listItem/ListItem.grid.css +15 -7
- package/build/styles/loader/Loader.css +36 -21
- package/build/styles/logo/Logo.css +2 -2
- package/build/styles/main.css +1918 -1179
- package/build/styles/modal/Modal.css +27 -19
- package/build/styles/moneyInput/MoneyInput.css +26 -16
- package/build/styles/navigationOption/NavigationOption.css +21 -13
- package/build/styles/navigationOptionsList/NavigationOptionsList.css +6 -5
- package/build/styles/nudge/Nudge.css +77 -71
- package/build/styles/overlayHeader/OverlayHeader.css +6 -5
- package/build/styles/phoneNumberInput/PhoneNumberInput.css +7 -4
- package/build/styles/popover/Popover.css +21 -11
- package/build/styles/progress/Progress.css +12 -2
- package/build/styles/progressBar/ProgressBar.css +7 -2
- package/build/styles/promoCard/PromoCard.css +57 -37
- package/build/styles/prompt/ActionPrompt/ActionPrompt.css +11 -6
- package/build/styles/prompt/InfoPrompt/InfoPrompt.css +7 -4
- package/build/styles/prompt/InlinePrompt/InlinePrompt.css +8 -3
- package/build/styles/prompt/PrimitivePrompt/PrimitivePrompt.css +15 -7
- package/build/styles/radioGroup/RadioGroup.css +1 -1
- package/build/styles/section/Section.css +6 -3
- package/build/styles/segmentedControl/SegmentedControl.css +25 -14
- package/build/styles/select/Select.css +129 -71
- package/build/styles/slidingPanel/SlidingPanel.css +26 -17
- package/build/styles/snackbar/Snackbar.css +32 -25
- package/build/styles/stepper/Stepper.css +14 -10
- package/build/styles/summary/Summary.css +30 -17
- package/build/styles/switch/Switch.css +10 -6
- package/build/styles/table/Table.css +71 -47
- package/build/styles/tabs/Tabs.css +34 -19
- package/build/styles/tile/Tile.css +21 -9
- package/build/styles/tooltip/Tooltip.css +7 -3
- package/build/styles/typeahead/Typeahead.css +53 -38
- package/build/styles/typeahead/typeaheadOption/TypeaheadOption.css +2 -0
- package/build/styles/upload/Upload.css +10 -8
- package/build/styles/uploadInput/UploadInput.css +6 -4
- package/build/styles/uploadInput/uploadButton/UploadButton.css +24 -14
- package/build/styles/uploadInput/uploadItem/UploadItem.css +58 -35
- package/build/types/card/Card.d.ts +1 -1
- package/package.json +2 -2
- package/src/accordion/Accordion.css +27 -17
- package/src/actionButton/ActionButton.css +16 -5
- package/src/actionOption/ActionOption.css +2 -1
- package/src/alert/Alert.css +2 -1
- package/src/avatar/Avatar.css +84 -69
- package/src/avatarLayout/AvatarLayout.css +22 -16
- package/src/avatarView/AvatarView.css +11 -4
- package/src/avatarView/Dot.css +9 -4
- package/src/badge/Badge.css +19 -14
- package/src/button/Button.css +20 -19
- package/src/button/LegacyButton.css +7 -4
- package/src/card/Card.css +24 -20
- package/src/card/Card.story.tsx +3 -2
- package/src/card/Card.tsx +1 -1
- package/src/carousel/Carousel.css +45 -26
- package/src/checkboxButton/CheckboxButton.css +15 -10
- package/src/chips/Chip.css +61 -39
- package/src/circularButton/CircularButton.css +8 -8
- package/src/common/Option/Option.css +57 -30
- package/src/common/RadioButton/RadioButton.css +1 -0
- package/src/common/bottomSheet/BottomSheet.css +20 -21
- package/src/common/card/Card.css +10 -6
- package/src/common/circle/Circle.css +16 -11
- package/src/common/closeButton/CloseButton.css +45 -24
- package/src/common/panel/Panel.css +13 -7
- package/src/criticalBanner/CriticalCommsBanner.css +8 -5
- package/src/dateInput/DateInput.css +5 -5
- package/src/dateLookup/DateLookup.css +26 -13
- package/src/dateLookup/dateTrigger/DateTrigger.css +13 -8
- package/src/decision/Decision.css +4 -0
- package/src/definitionList/DefinitionList.css +13 -8
- package/src/dimmer/Dimmer.css +15 -13
- package/src/divider/Divider.css +7 -5
- package/src/drawer/Drawer.css +21 -15
- package/src/dropFade/DropFade.css +2 -2
- package/src/emphasis/Emphasis.css +6 -0
- package/src/expressiveMoneyInput/ExpressiveMoneyInput.css +12 -8
- package/src/expressiveMoneyInput/amountInput/AmountInput.css +4 -4
- package/src/expressiveMoneyInput/chevron/Chevron.css +5 -3
- package/src/expressiveMoneyInput/currencySelector/CurrencySelector.css +1 -0
- package/src/field/Field.css +5 -3
- package/src/flowNavigation/FlowNavigation.css +28 -22
- package/src/flowNavigation/animatedLabel/AnimatedLabel.css +6 -5
- package/src/header/Header.css +16 -8
- package/src/iconButton/IconButton.css +17 -12
- package/src/image/Image.css +7 -6
- package/src/info/Info.css +1 -1
- package/src/inputs/Input.css +51 -20
- package/src/inputs/InputGroup.css +14 -5
- package/src/inputs/SelectInput.css +101 -42
- package/src/inputs/TextArea.css +54 -21
- package/src/instructionsList/InstructionsList.css +5 -3
- package/src/legacylistItem/LegacyListItem.css +1 -1
- package/src/link/Link.css +6 -3
- package/src/listItem/ListItem.css +88 -44
- package/src/listItem/ListItem.grid.css +15 -7
- package/src/loader/Loader.css +36 -21
- package/src/logo/Logo.css +2 -2
- package/src/main.css +1918 -1179
- package/src/modal/Modal.css +27 -19
- package/src/moneyInput/MoneyInput.css +26 -16
- package/src/navigationOption/NavigationOption.css +21 -13
- package/src/navigationOptionsList/NavigationOptionsList.css +6 -5
- package/src/nudge/Nudge.css +77 -71
- package/src/overlayHeader/OverlayHeader.css +6 -5
- package/src/phoneNumberInput/PhoneNumberInput.css +7 -4
- package/src/popover/Popover.css +21 -11
- package/src/progress/Progress.css +12 -2
- package/src/progressBar/ProgressBar.css +7 -2
- package/src/promoCard/PromoCard.css +57 -37
- package/src/prompt/ActionPrompt/ActionPrompt.css +11 -6
- package/src/prompt/InfoPrompt/InfoPrompt.css +7 -4
- package/src/prompt/InlinePrompt/InlinePrompt.css +8 -3
- package/src/prompt/PrimitivePrompt/PrimitivePrompt.css +15 -7
- package/src/radioGroup/RadioGroup.css +1 -1
- package/src/section/Section.css +6 -3
- package/src/segmentedControl/SegmentedControl.css +25 -14
- package/src/select/Select.css +129 -71
- package/src/slidingPanel/SlidingPanel.css +26 -17
- package/src/snackbar/Snackbar.css +32 -25
- package/src/stepper/Stepper.css +14 -10
- package/src/summary/Summary.css +30 -17
- package/src/switch/Switch.css +10 -6
- package/src/table/Table.css +71 -47
- package/src/tabs/Tabs.css +34 -19
- package/src/tile/Tile.css +21 -9
- package/src/tooltip/Tooltip.css +7 -3
- package/src/typeahead/Typeahead.css +53 -38
- package/src/typeahead/typeaheadOption/TypeaheadOption.css +2 -0
- package/src/upload/Upload.css +10 -8
- package/src/uploadInput/UploadInput.css +6 -4
- package/src/uploadInput/uploadButton/UploadButton.css +24 -14
- package/src/uploadInput/uploadItem/UploadItem.css +58 -35
|
@@ -3,11 +3,15 @@
|
|
|
3
3
|
--ring-color: var(--color-interactive-secondary);
|
|
4
4
|
border: none;
|
|
5
5
|
background-color: transparent;
|
|
6
|
-
min-
|
|
6
|
+
min-height: 0;
|
|
7
7
|
/* TODO: Remove this override once `.form-control` isn’t used anymore */
|
|
8
|
-
padding-
|
|
9
|
-
padding-
|
|
8
|
+
padding-left: 16px;
|
|
9
|
+
padding-left: var(--size-16);
|
|
10
|
+
padding-right: 16px;
|
|
11
|
+
padding-right: var(--size-16);
|
|
12
|
+
color: #37517e;
|
|
10
13
|
color: var(--color-content-primary);
|
|
14
|
+
box-shadow: inset 0 0 0 1px #c9cbce;
|
|
11
15
|
box-shadow: inset 0 0 0 var(--ring-width) var(--ring-color);
|
|
12
16
|
transition-property: color, opacity, box-shadow;
|
|
13
17
|
transition-timing-function: ease-in-out;
|
|
@@ -16,7 +20,8 @@
|
|
|
16
20
|
}
|
|
17
21
|
.disabled .np-form-control,
|
|
18
22
|
:disabled .np-form-control {
|
|
19
|
-
opacity:
|
|
23
|
+
opacity: 1;
|
|
24
|
+
opacity: initial;
|
|
20
25
|
}
|
|
21
26
|
.np-form-control:focus-visible {
|
|
22
27
|
outline: none;
|
|
@@ -34,66 +39,84 @@
|
|
|
34
39
|
--ring-color: var(--color-interactive-primary);
|
|
35
40
|
}
|
|
36
41
|
.np-form-control--size-auto {
|
|
42
|
+
font-weight: 400;
|
|
37
43
|
font-weight: var(--font-weight-regular);
|
|
44
|
+
font-size: 1rem;
|
|
38
45
|
font-size: var(--font-size-16);
|
|
39
46
|
line-height: 150%;
|
|
40
47
|
letter-spacing: -0.011em;
|
|
41
|
-
padding-
|
|
42
|
-
padding-
|
|
48
|
+
padding-top: 12px;
|
|
49
|
+
padding-top: var(--size-12);
|
|
50
|
+
padding-bottom: 12px;
|
|
51
|
+
padding-bottom: var(--size-12);
|
|
43
52
|
}
|
|
44
53
|
.np-form-control--size-sm,
|
|
45
54
|
.np-form-control--size-md,
|
|
46
55
|
.np-form-control--size-lg {
|
|
47
|
-
padding-
|
|
48
|
-
padding-
|
|
56
|
+
padding-top: 0 !important;
|
|
57
|
+
padding-bottom: 0 !important;
|
|
49
58
|
}
|
|
50
59
|
.np-form-control--size-sm {
|
|
60
|
+
font-size: 0.875rem;
|
|
51
61
|
font-size: var(--font-size-14);
|
|
52
62
|
line-height: 155%;
|
|
53
63
|
letter-spacing: -0.006em;
|
|
64
|
+
font-weight: 400;
|
|
54
65
|
font-weight: var(--font-weight-regular);
|
|
55
|
-
|
|
66
|
+
height: 32px !important;
|
|
67
|
+
height: var(--size-32) !important;
|
|
56
68
|
}
|
|
57
|
-
@media (
|
|
69
|
+
@media (max-width: 320px) {
|
|
58
70
|
.np-form-control--size-sm {
|
|
59
|
-
|
|
71
|
+
height: 64px !important;
|
|
72
|
+
height: var(--size-64) !important;
|
|
60
73
|
}
|
|
61
74
|
}
|
|
62
75
|
.np-form-control--size-md {
|
|
76
|
+
font-weight: 400;
|
|
63
77
|
font-weight: var(--font-weight-regular);
|
|
78
|
+
font-size: 1rem;
|
|
64
79
|
font-size: var(--font-size-16);
|
|
65
80
|
line-height: 150%;
|
|
66
81
|
letter-spacing: -0.011em;
|
|
67
|
-
|
|
82
|
+
height: 48px !important;
|
|
83
|
+
height: var(--size-48) !important;
|
|
68
84
|
}
|
|
69
|
-
@media (
|
|
85
|
+
@media (max-width: 320px) {
|
|
70
86
|
.np-form-control--size-md {
|
|
71
|
-
|
|
87
|
+
height: 72px !important;
|
|
88
|
+
height: var(--size-72) !important;
|
|
72
89
|
}
|
|
73
90
|
}
|
|
74
91
|
.np-form-control--size-lg {
|
|
75
92
|
margin: 0;
|
|
93
|
+
color: #37517e;
|
|
76
94
|
color: var(--color-content-primary);
|
|
95
|
+
line-height: 1.2;
|
|
77
96
|
line-height: var(--line-height-title);
|
|
78
97
|
letter-spacing: 0;
|
|
79
|
-
margin-
|
|
98
|
+
margin-bottom: 0;
|
|
99
|
+
margin-bottom: initial;
|
|
100
|
+
font-size: 1.375rem;
|
|
80
101
|
font-size: var(--font-size-22);
|
|
102
|
+
font-weight: 600;
|
|
81
103
|
font-weight: var(--font-weight-semi-bold);
|
|
82
104
|
letter-spacing: -0.018em;
|
|
83
105
|
line-height: 125%;
|
|
84
|
-
|
|
106
|
+
height: 72px !important;
|
|
107
|
+
height: var(--size-72) !important;
|
|
85
108
|
}
|
|
86
109
|
@supports (hyphenate-limit-chars: 1) {
|
|
87
110
|
.np-form-control--size-lg {
|
|
88
111
|
hyphens: auto;
|
|
89
112
|
hyphenate-limit-chars: 7 3;
|
|
90
113
|
}
|
|
91
|
-
@media (
|
|
114
|
+
@media (min-width: 768px) {
|
|
92
115
|
.np-form-control--size-lg {
|
|
93
116
|
hyphenate-limit-chars: 8 3;
|
|
94
117
|
}
|
|
95
118
|
}
|
|
96
|
-
@media (
|
|
119
|
+
@media (min-width: 992px) {
|
|
97
120
|
.np-form-control--size-lg {
|
|
98
121
|
hyphenate-limit-chars: 10 4 3;
|
|
99
122
|
}
|
|
@@ -105,7 +128,7 @@
|
|
|
105
128
|
-webkit-hyphenate-limit-before: 3;
|
|
106
129
|
-webkit-hyphenate-limit-after: 3;
|
|
107
130
|
}
|
|
108
|
-
@media (
|
|
131
|
+
@media (min-width: 992px) {
|
|
109
132
|
.np-form-control--size-lg {
|
|
110
133
|
-webkit-hyphenate-limit-before: 4;
|
|
111
134
|
}
|
|
@@ -114,15 +137,25 @@
|
|
|
114
137
|
.np-form-control--size-lg + p,
|
|
115
138
|
.np-form-control--size-lg + ul:not(.list-unstyled),
|
|
116
139
|
.np-form-control--size-lg + ol:not(.list-unstyled) {
|
|
117
|
-
margin-
|
|
140
|
+
margin-top: 8px;
|
|
141
|
+
margin-top: var(--size-8);
|
|
118
142
|
}
|
|
119
143
|
.np-text-area {
|
|
120
|
-
min-
|
|
144
|
+
min-height: 72px;
|
|
145
|
+
min-height: var(--size-72);
|
|
146
|
+
scroll-padding-top: 8px;
|
|
121
147
|
scroll-padding-top: var(--size-8);
|
|
148
|
+
scroll-padding-bottom: 8px;
|
|
122
149
|
scroll-padding-bottom: var(--size-8);
|
|
123
150
|
overscroll-behavior: none;
|
|
151
|
+
border-radius: 10px !important;
|
|
124
152
|
border-radius: var(--radius-small) !important;
|
|
125
153
|
}
|
|
154
|
+
.np-text-area::-moz-placeholder {
|
|
155
|
+
color: #768e9c;
|
|
156
|
+
color: var(--color-content-tertiary);
|
|
157
|
+
}
|
|
126
158
|
.np-text-area::placeholder {
|
|
159
|
+
color: #768e9c;
|
|
127
160
|
color: var(--color-content-tertiary);
|
|
128
161
|
}
|
|
@@ -8,13 +8,15 @@
|
|
|
8
8
|
}
|
|
9
9
|
.tw-instructions .instruction {
|
|
10
10
|
display: flex;
|
|
11
|
-
margin-
|
|
11
|
+
margin-top: 8px;
|
|
12
|
+
margin-top: var(--padding-x-small);
|
|
12
13
|
}
|
|
13
14
|
.tw-instructions .instruction .do,
|
|
14
15
|
.tw-instructions .instruction .dont {
|
|
15
16
|
flex-shrink: 0;
|
|
16
|
-
margin-
|
|
17
|
-
margin-
|
|
17
|
+
margin-right: 8px;
|
|
18
|
+
margin-right: var(--padding-x-small);
|
|
19
|
+
margin-bottom: 0;
|
|
18
20
|
}
|
|
19
21
|
.tw-instructions .instruction .do {
|
|
20
22
|
color: var(--color-sentiment-positive);
|
|
@@ -6,11 +6,14 @@ button.np-link {
|
|
|
6
6
|
.np-link .tw-icon {
|
|
7
7
|
display: flex;
|
|
8
8
|
align-items: center;
|
|
9
|
-
margin-
|
|
9
|
+
margin-left: 4px;
|
|
10
|
+
margin-left: var(--size-4);
|
|
10
11
|
}
|
|
11
12
|
[dir="rtl"] .np-link .tw-icon {
|
|
12
|
-
margin-
|
|
13
|
-
margin-
|
|
13
|
+
margin-right: 4px;
|
|
14
|
+
margin-right: var(--size-4);
|
|
15
|
+
margin-left: 0;
|
|
16
|
+
margin-left: initial;
|
|
14
17
|
}
|
|
15
18
|
.np-link.np-link--disabled,
|
|
16
19
|
.np-link:disabled {
|
|
@@ -1,18 +1,22 @@
|
|
|
1
1
|
.wds-list-item-gridWrapper {
|
|
2
2
|
display: grid;
|
|
3
|
+
grid-gap: 4px 12px;
|
|
4
|
+
grid-gap: var(--size-4) var(--size-12);
|
|
5
|
+
gap: 4px 12px;
|
|
3
6
|
gap: var(--size-4) var(--size-12);
|
|
4
7
|
}
|
|
5
8
|
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-hasPrompt:not(:has(.wds-list-item-subtitle-value, .wds-list-item-subtitle)) .wds-list-item-prompt,
|
|
6
9
|
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-noInfo-hasPrompt:not(:has(.wds-list-item-subtitle-value, .wds-list-item-subtitle)) .wds-list-item-prompt {
|
|
7
|
-
margin-
|
|
10
|
+
margin-top: -2px;
|
|
8
11
|
}
|
|
9
12
|
@container (min-width: 309px) {
|
|
10
13
|
.wds-list-item-gridWrapper .wds-list-item-control-wrapper {
|
|
11
|
-
|
|
14
|
+
height: var(--wds-list-item-control-wrapper-height);
|
|
12
15
|
align-content: center;
|
|
13
16
|
}
|
|
14
17
|
.wds-list-item-gridWrapper .wds-list-item-media-image {
|
|
15
|
-
object-position: center;
|
|
18
|
+
-o-object-position: center;
|
|
19
|
+
object-position: center;
|
|
16
20
|
}
|
|
17
21
|
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
|
|
18
22
|
grid-template-columns: auto 1fr auto;
|
|
@@ -103,7 +107,8 @@
|
|
|
103
107
|
}
|
|
104
108
|
@container (min-width: 241px) and (max-width: 308px) {
|
|
105
109
|
.wds-list-item-gridWrapper .wds-list-item-media-image {
|
|
106
|
-
object-position: bottom left;
|
|
110
|
+
-o-object-position: bottom left;
|
|
111
|
+
object-position: bottom left;
|
|
107
112
|
}
|
|
108
113
|
.wds-list-item-gridWrapper .wds-list-item-control-wrapper {
|
|
109
114
|
align-content: start;
|
|
@@ -227,7 +232,8 @@
|
|
|
227
232
|
grid-template-areas: "body";
|
|
228
233
|
}
|
|
229
234
|
.wds-list-item-gridWrapper .wds-list-item-button-control--hasPrompt {
|
|
230
|
-
margin-
|
|
235
|
+
margin-top: 4px;
|
|
236
|
+
margin-top: var(--size-4);
|
|
231
237
|
}
|
|
232
238
|
}
|
|
233
239
|
@container (max-width: 240px) {
|
|
@@ -365,13 +371,15 @@
|
|
|
365
371
|
display: grid;
|
|
366
372
|
grid-template-columns: 1fr;
|
|
367
373
|
justify-items: start;
|
|
374
|
+
grid-gap: 0;
|
|
368
375
|
gap: 0;
|
|
369
376
|
}
|
|
370
377
|
.wds-list-item-gridWrapper .wds-list-item-body .wds-list-item-value {
|
|
371
|
-
text-align:
|
|
378
|
+
text-align: left;
|
|
372
379
|
}
|
|
373
380
|
.wds-list-item-gridWrapper .wds-list-item-button-control--hasPrompt {
|
|
374
|
-
margin-
|
|
381
|
+
margin-top: 4px;
|
|
382
|
+
margin-top: var(--size-4);
|
|
375
383
|
}
|
|
376
384
|
}
|
|
377
385
|
.wds-list-item-prompt {
|
|
@@ -380,16 +388,18 @@
|
|
|
380
388
|
}
|
|
381
389
|
.wds-list-item {
|
|
382
390
|
list-style: none;
|
|
383
|
-
|
|
391
|
+
width: 100%;
|
|
392
|
+
border-radius: 16px;
|
|
384
393
|
border-radius: var(--radius-medium);
|
|
385
394
|
position: relative;
|
|
386
|
-
padding
|
|
387
|
-
padding
|
|
395
|
+
padding: 12px 0;
|
|
396
|
+
padding: var(--size-12) 0;
|
|
388
397
|
container-type: inline-size;
|
|
389
398
|
}
|
|
390
399
|
.wds-list-item + .wds-list-item-spotlight,
|
|
391
400
|
.wds-list-item-spotlight + .wds-list-item {
|
|
392
|
-
margin-
|
|
401
|
+
margin-top: 16px;
|
|
402
|
+
margin-top: var(--size-16);
|
|
393
403
|
}
|
|
394
404
|
.wds-list-item:focus-within {
|
|
395
405
|
z-index: 1;
|
|
@@ -402,7 +412,7 @@
|
|
|
402
412
|
grid-template-rows: subgrid;
|
|
403
413
|
}
|
|
404
414
|
.wds-list-item-view.fullyInteractive {
|
|
405
|
-
margin-
|
|
415
|
+
margin-bottom: 0;
|
|
406
416
|
}
|
|
407
417
|
.wds-list-item-view.fullyInteractive:before {
|
|
408
418
|
content: "";
|
|
@@ -410,10 +420,12 @@
|
|
|
410
420
|
inset: 0;
|
|
411
421
|
}
|
|
412
422
|
.wds-list-item a {
|
|
423
|
+
text-underline-offset: calc(4px / 2);
|
|
413
424
|
text-underline-offset: calc(var(--size-4) / 2);
|
|
414
425
|
}
|
|
415
426
|
.wds-list-item a .wds-list-item-subtitle,
|
|
416
427
|
.wds-list-item a .wds-list-item-subtitle-value {
|
|
428
|
+
color: #5d7079;
|
|
417
429
|
color: var(--color-content-secondary);
|
|
418
430
|
}
|
|
419
431
|
.wds-list-item-interactive .wds-list-item-control:focus-visible,
|
|
@@ -426,6 +438,7 @@
|
|
|
426
438
|
.wds-list-item-interactive a.wds-list-item-control,
|
|
427
439
|
.wds-list-item-interactive a.wds-list-item-control:hover,
|
|
428
440
|
.wds-list-item-interactive a.wds-list-item-control:focus {
|
|
441
|
+
-webkit-text-decoration: none;
|
|
429
442
|
text-decoration: none;
|
|
430
443
|
}
|
|
431
444
|
.wds-list-item-interactive a.wds-list-item-control:has(.wds-list-item-control_pseudo-element) {
|
|
@@ -444,7 +457,8 @@
|
|
|
444
457
|
outline-offset: -1px;
|
|
445
458
|
}
|
|
446
459
|
.wds-list-item-interactive.wds-list-item-spotlight:has(.wds-list-item-prompt:hover a, .wds-list-item-prompt:hover button):hover {
|
|
447
|
-
background-color:
|
|
460
|
+
background-color: transparent;
|
|
461
|
+
background-color: initial;
|
|
448
462
|
}
|
|
449
463
|
.wds-list-item-interactive:not(.wds-list-item-spotlight):has(.wds-list-item-control:focus-visible):before,
|
|
450
464
|
.wds-list-item-interactive:not(.wds-list-item-spotlight):has(input[type="checkbox"]:focus-visible):before {
|
|
@@ -452,29 +466,30 @@
|
|
|
452
466
|
outline-offset: var(--ring-outline-offset);
|
|
453
467
|
content: "";
|
|
454
468
|
position: absolute;
|
|
455
|
-
inset
|
|
456
|
-
|
|
469
|
+
inset: 0 -8px;
|
|
470
|
+
border-radius: 16px;
|
|
457
471
|
border-radius: var(--radius-medium);
|
|
458
472
|
outline-offset: -1px;
|
|
459
473
|
}
|
|
460
|
-
.wds-list-item-interactive:not(.wds-list-item-spotlight):not(.disabled
|
|
461
|
-
.wds-list-item-interactive:not(.wds-list-item-spotlight):not(.disabled
|
|
474
|
+
.wds-list-item-interactive:not(.wds-list-item-spotlight):not(.disabled):not(:disabled):hover:before,
|
|
475
|
+
.wds-list-item-interactive:not(.wds-list-item-spotlight):not(.disabled):not(:disabled):active:before {
|
|
462
476
|
content: "";
|
|
463
477
|
position: absolute;
|
|
464
|
-
inset
|
|
465
|
-
|
|
478
|
+
inset: 0 -8px;
|
|
479
|
+
border-radius: 16px;
|
|
466
480
|
border-radius: var(--radius-medium);
|
|
467
481
|
}
|
|
468
|
-
.wds-list-item-interactive:not(.wds-list-item-spotlight):not(.disabled
|
|
482
|
+
.wds-list-item-interactive:not(.wds-list-item-spotlight):not(.disabled):not(:disabled):hover:before {
|
|
469
483
|
background-color: var(--color-background-screen-hover);
|
|
470
484
|
}
|
|
471
|
-
.wds-list-item-interactive:not(.wds-list-item-spotlight):not(.disabled
|
|
485
|
+
.wds-list-item-interactive:not(.wds-list-item-spotlight):not(.disabled):not(:disabled):active:before {
|
|
472
486
|
background-color: var(--color-background-screen-active);
|
|
473
487
|
}
|
|
474
488
|
.wds-list-item-interactive:not(.wds-list-item-spotlight):has(.wds-list-item-prompt:hover a, .wds-list-item-prompt:hover button):hover:before {
|
|
475
|
-
background-color:
|
|
489
|
+
background-color: transparent;
|
|
490
|
+
background-color: initial;
|
|
476
491
|
}
|
|
477
|
-
.wds-list-item-interactive:not(.disabled
|
|
492
|
+
.wds-list-item-interactive:not(.disabled):not(:disabled):hover .wds-list-item-control-wrapper .wds-Button {
|
|
478
493
|
background-color: var(--Button-background-hover);
|
|
479
494
|
color: var(--Button-color-hover);
|
|
480
495
|
transition: none;
|
|
@@ -488,20 +503,25 @@
|
|
|
488
503
|
align-items: start;
|
|
489
504
|
}
|
|
490
505
|
.wds-list-item-media-image-wrapper {
|
|
491
|
-
|
|
492
|
-
|
|
506
|
+
width: var(--wds-list-item-media-size);
|
|
507
|
+
height: var(--wds-list-item-media-size);
|
|
493
508
|
}
|
|
494
509
|
.wds-list-item-media-image {
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
object-fit: contain;
|
|
510
|
+
width: 100%;
|
|
511
|
+
height: 100%;
|
|
512
|
+
-o-object-fit: contain;
|
|
513
|
+
object-fit: contain;
|
|
498
514
|
}
|
|
499
515
|
.wds-list-item-body {
|
|
500
516
|
grid-area: body;
|
|
501
517
|
align-items: start;
|
|
502
|
-
|
|
518
|
+
width: 100%;
|
|
503
519
|
display: grid;
|
|
520
|
+
grid-template-columns: 1fr max-content;
|
|
504
521
|
grid-template-columns: var(--wds-list-item-body-left, 1fr) var(--wds-list-item-body-right, max-content);
|
|
522
|
+
grid-gap: 16px;
|
|
523
|
+
grid-gap: var(--size-16);
|
|
524
|
+
gap: 16px;
|
|
505
525
|
gap: var(--size-16);
|
|
506
526
|
word-break: break-word;
|
|
507
527
|
}
|
|
@@ -514,14 +534,16 @@
|
|
|
514
534
|
@container (min-width: 309px) {
|
|
515
535
|
.wds-list-item-titles,
|
|
516
536
|
.wds-list-item-value {
|
|
517
|
-
min-
|
|
537
|
+
min-height: 100%;
|
|
538
|
+
min-height: var(--wds-list-item-value-min-height, 100%);
|
|
518
539
|
}
|
|
519
540
|
}
|
|
520
541
|
.wds-list-item-value {
|
|
521
|
-
text-align:
|
|
542
|
+
text-align: right;
|
|
522
543
|
}
|
|
523
544
|
.wds-list-item-title,
|
|
524
545
|
.wds-list-item-title-value {
|
|
546
|
+
color: #37517e;
|
|
525
547
|
color: var(--color-content-primary);
|
|
526
548
|
}
|
|
527
549
|
.wds-list-item-body-center {
|
|
@@ -531,8 +553,10 @@
|
|
|
531
553
|
}
|
|
532
554
|
.wds-list-item-additional-info {
|
|
533
555
|
grid-area: info;
|
|
556
|
+
color: #768e9c;
|
|
534
557
|
color: var(--color-content-tertiary);
|
|
535
|
-
margin-
|
|
558
|
+
margin-top: calc(4px * -1);
|
|
559
|
+
margin-top: calc(var(--size-4) * -1);
|
|
536
560
|
}
|
|
537
561
|
.wds-list-item-additional-info button.np-link {
|
|
538
562
|
text-align: start;
|
|
@@ -541,13 +565,15 @@
|
|
|
541
565
|
grid-area: control;
|
|
542
566
|
}
|
|
543
567
|
.wds-list-item-navigation .tw-icon-chevron-right {
|
|
568
|
+
color: #c9cbce;
|
|
544
569
|
color: var(--color-interactive-secondary);
|
|
545
570
|
}
|
|
546
571
|
.wds-list-item-control {
|
|
547
572
|
flex: 0 0 auto;
|
|
548
573
|
}
|
|
549
574
|
.wds-list-item.disabled {
|
|
550
|
-
opacity:
|
|
575
|
+
opacity: 1;
|
|
576
|
+
opacity: initial;
|
|
551
577
|
}
|
|
552
578
|
.wds-list-item.disabled,
|
|
553
579
|
.wds-list-item.disabled label {
|
|
@@ -560,7 +586,9 @@
|
|
|
560
586
|
.wds-list-item.disabled .wds-list-item-subtitle,
|
|
561
587
|
.wds-list-item.disabled .wds-list-item-subtitle-value,
|
|
562
588
|
.wds-list-item.disabled .wds-list-item-additional-info,
|
|
563
|
-
.wds-list-item.disabled .wds-list-item-additional-info
|
|
589
|
+
.wds-list-item.disabled .wds-list-item-additional-info strong,
|
|
590
|
+
.wds-list-item.disabled .wds-list-item-additional-info b {
|
|
591
|
+
color: #768e9c;
|
|
564
592
|
color: var(--color-content-tertiary);
|
|
565
593
|
}
|
|
566
594
|
.wds-list-item.disabled .wds-list-item-media,
|
|
@@ -572,44 +600,60 @@
|
|
|
572
600
|
opacity: 0.93;
|
|
573
601
|
}
|
|
574
602
|
.wds-list-item-spotlight .wds-list-item-gridWrapper {
|
|
575
|
-
padding-
|
|
576
|
-
padding-
|
|
603
|
+
padding-left: 12px;
|
|
604
|
+
padding-left: var(--size-12);
|
|
605
|
+
padding-right: 12px;
|
|
606
|
+
padding-right: var(--size-12);
|
|
577
607
|
}
|
|
578
608
|
.wds-list-item-spotlight-active {
|
|
609
|
+
background-color: rgba(134,167,189,0.10196);
|
|
579
610
|
background-color: var(--color-background-neutral);
|
|
580
611
|
}
|
|
581
|
-
.wds-list-item-spotlight-active:not(.disabled
|
|
612
|
+
.wds-list-item-spotlight-active:not(.disabled):not(:disabled):hover {
|
|
582
613
|
background-color: var(--color-background-neutral-hover);
|
|
583
614
|
}
|
|
584
|
-
.wds-list-item-spotlight-active:not(.disabled
|
|
615
|
+
.wds-list-item-spotlight-active:not(.disabled):not(:disabled):active {
|
|
585
616
|
background-color: var(--color-background-neutral-active);
|
|
586
617
|
}
|
|
618
|
+
.wds-list-item-spotlight-inactive {
|
|
619
|
+
background-color: rgba(134, 167, 189, 0.025);
|
|
620
|
+
}
|
|
621
|
+
@supports (color: color-mix(in lch, red, blue)) {
|
|
587
622
|
.wds-list-item-spotlight-inactive {
|
|
588
623
|
background-color: color-mix(in srgb, var(--color-background-neutral) 25%, transparent);
|
|
589
624
|
}
|
|
590
|
-
|
|
625
|
+
}
|
|
626
|
+
.wds-list-item-spotlight-inactive:not(.disabled):not(:disabled):hover {
|
|
591
627
|
background-color: color-mix(in srgb, var(--color-background-neutral-hover) 35%, transparent);
|
|
592
628
|
}
|
|
593
|
-
.wds-list-item-spotlight-inactive:not(.disabled
|
|
629
|
+
.wds-list-item-spotlight-inactive:not(.disabled):not(:disabled):active {
|
|
594
630
|
background-color: color-mix(in srgb, var(--color-background-neutral-active) 45%, transparent);
|
|
595
631
|
}
|
|
596
632
|
.wds-list-item .wds-list-item-spotlight__border {
|
|
597
633
|
position: absolute;
|
|
598
634
|
inset: 0;
|
|
599
|
-
|
|
600
|
-
|
|
635
|
+
width: 100%;
|
|
636
|
+
height: 100%;
|
|
601
637
|
}
|
|
602
638
|
.wds-list-item .wds-list-item-spotlight__border rect {
|
|
603
639
|
--wds-list-item-spotlight-borderWidth: 1px;
|
|
604
640
|
--wds-list-item-spotlight-borderWidthOffset: 0.5px;
|
|
605
641
|
--wds-list-item-spotlight-strokeDashSize: calc(var(--size-12) * 0.5);
|
|
606
642
|
fill: none;
|
|
643
|
+
stroke: rgba(0,0,0,0.10196);
|
|
607
644
|
stroke: var(--color-border-neutral);
|
|
608
|
-
|
|
609
|
-
|
|
645
|
+
width: calc(100% - 1px);
|
|
646
|
+
width: calc(100% - var(--wds-list-item-spotlight-borderWidth));
|
|
647
|
+
height: calc(100% - 1px);
|
|
648
|
+
height: calc(100% - var(--wds-list-item-spotlight-borderWidth));
|
|
649
|
+
x: 0.5px;
|
|
610
650
|
x: var(--wds-list-item-spotlight-borderWidthOffset);
|
|
651
|
+
y: 0.5px;
|
|
611
652
|
y: var(--wds-list-item-spotlight-borderWidthOffset);
|
|
653
|
+
rx: calc(16px - 0.5px);
|
|
612
654
|
rx: calc(var(--radius-medium) - var(--wds-list-item-spotlight-borderWidthOffset));
|
|
655
|
+
ry: calc(16px - 0.5px);
|
|
613
656
|
ry: calc(var(--radius-medium) - var(--wds-list-item-spotlight-borderWidthOffset));
|
|
657
|
+
stroke-dasharray: calc(12px * 0.5) calc(12px * 0.5);
|
|
614
658
|
stroke-dasharray: var(--wds-list-item-spotlight-strokeDashSize) var(--wds-list-item-spotlight-strokeDashSize);
|
|
615
659
|
}
|
|
@@ -1,18 +1,22 @@
|
|
|
1
1
|
.wds-list-item-gridWrapper {
|
|
2
2
|
display: grid;
|
|
3
|
+
grid-gap: 4px 12px;
|
|
4
|
+
grid-gap: var(--size-4) var(--size-12);
|
|
5
|
+
gap: 4px 12px;
|
|
3
6
|
gap: var(--size-4) var(--size-12);
|
|
4
7
|
}
|
|
5
8
|
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-hasPrompt:not(:has(.wds-list-item-subtitle-value, .wds-list-item-subtitle)) .wds-list-item-prompt,
|
|
6
9
|
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-noInfo-hasPrompt:not(:has(.wds-list-item-subtitle-value, .wds-list-item-subtitle)) .wds-list-item-prompt {
|
|
7
|
-
margin-
|
|
10
|
+
margin-top: -2px;
|
|
8
11
|
}
|
|
9
12
|
@container (min-width: 309px) {
|
|
10
13
|
.wds-list-item-gridWrapper .wds-list-item-control-wrapper {
|
|
11
|
-
|
|
14
|
+
height: var(--wds-list-item-control-wrapper-height);
|
|
12
15
|
align-content: center;
|
|
13
16
|
}
|
|
14
17
|
.wds-list-item-gridWrapper .wds-list-item-media-image {
|
|
15
|
-
object-position: center;
|
|
18
|
+
-o-object-position: center;
|
|
19
|
+
object-position: center;
|
|
16
20
|
}
|
|
17
21
|
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
|
|
18
22
|
grid-template-columns: auto 1fr auto;
|
|
@@ -103,7 +107,8 @@
|
|
|
103
107
|
}
|
|
104
108
|
@container (min-width: 241px) and (max-width: 308px) {
|
|
105
109
|
.wds-list-item-gridWrapper .wds-list-item-media-image {
|
|
106
|
-
object-position: bottom left;
|
|
110
|
+
-o-object-position: bottom left;
|
|
111
|
+
object-position: bottom left;
|
|
107
112
|
}
|
|
108
113
|
.wds-list-item-gridWrapper .wds-list-item-control-wrapper {
|
|
109
114
|
align-content: start;
|
|
@@ -227,7 +232,8 @@
|
|
|
227
232
|
grid-template-areas: "body";
|
|
228
233
|
}
|
|
229
234
|
.wds-list-item-gridWrapper .wds-list-item-button-control--hasPrompt {
|
|
230
|
-
margin-
|
|
235
|
+
margin-top: 4px;
|
|
236
|
+
margin-top: var(--size-4);
|
|
231
237
|
}
|
|
232
238
|
}
|
|
233
239
|
@container (max-width: 240px) {
|
|
@@ -365,12 +371,14 @@
|
|
|
365
371
|
display: grid;
|
|
366
372
|
grid-template-columns: 1fr;
|
|
367
373
|
justify-items: start;
|
|
374
|
+
grid-gap: 0;
|
|
368
375
|
gap: 0;
|
|
369
376
|
}
|
|
370
377
|
.wds-list-item-gridWrapper .wds-list-item-body .wds-list-item-value {
|
|
371
|
-
text-align:
|
|
378
|
+
text-align: left;
|
|
372
379
|
}
|
|
373
380
|
.wds-list-item-gridWrapper .wds-list-item-button-control--hasPrompt {
|
|
374
|
-
margin-
|
|
381
|
+
margin-top: 4px;
|
|
382
|
+
margin-top: var(--size-4);
|
|
375
383
|
}
|
|
376
384
|
}
|