@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.
Files changed (189) hide show
  1. package/build/card/Card.js.map +1 -1
  2. package/build/card/Card.mjs.map +1 -1
  3. package/build/main.css +1918 -1179
  4. package/build/styles/accordion/Accordion.css +27 -17
  5. package/build/styles/actionButton/ActionButton.css +16 -5
  6. package/build/styles/actionOption/ActionOption.css +2 -1
  7. package/build/styles/alert/Alert.css +2 -1
  8. package/build/styles/avatar/Avatar.css +84 -69
  9. package/build/styles/avatarLayout/AvatarLayout.css +22 -16
  10. package/build/styles/avatarView/AvatarView.css +11 -4
  11. package/build/styles/avatarView/Dot.css +9 -4
  12. package/build/styles/badge/Badge.css +19 -14
  13. package/build/styles/button/Button.css +20 -19
  14. package/build/styles/button/LegacyButton.css +7 -4
  15. package/build/styles/card/Card.css +24 -20
  16. package/build/styles/carousel/Carousel.css +45 -26
  17. package/build/styles/checkboxButton/CheckboxButton.css +15 -10
  18. package/build/styles/chips/Chip.css +61 -39
  19. package/build/styles/circularButton/CircularButton.css +8 -8
  20. package/build/styles/common/Option/Option.css +57 -30
  21. package/build/styles/common/RadioButton/RadioButton.css +1 -0
  22. package/build/styles/common/bottomSheet/BottomSheet.css +20 -21
  23. package/build/styles/common/card/Card.css +10 -6
  24. package/build/styles/common/circle/Circle.css +16 -11
  25. package/build/styles/common/closeButton/CloseButton.css +45 -24
  26. package/build/styles/common/panel/Panel.css +13 -7
  27. package/build/styles/criticalBanner/CriticalCommsBanner.css +8 -5
  28. package/build/styles/dateInput/DateInput.css +5 -5
  29. package/build/styles/dateLookup/DateLookup.css +26 -13
  30. package/build/styles/dateLookup/dateTrigger/DateTrigger.css +13 -8
  31. package/build/styles/decision/Decision.css +4 -0
  32. package/build/styles/definitionList/DefinitionList.css +13 -8
  33. package/build/styles/dimmer/Dimmer.css +15 -13
  34. package/build/styles/divider/Divider.css +7 -5
  35. package/build/styles/drawer/Drawer.css +21 -15
  36. package/build/styles/dropFade/DropFade.css +2 -2
  37. package/build/styles/emphasis/Emphasis.css +6 -0
  38. package/build/styles/expressiveMoneyInput/ExpressiveMoneyInput.css +12 -8
  39. package/build/styles/expressiveMoneyInput/amountInput/AmountInput.css +4 -4
  40. package/build/styles/expressiveMoneyInput/chevron/Chevron.css +5 -3
  41. package/build/styles/expressiveMoneyInput/currencySelector/CurrencySelector.css +1 -0
  42. package/build/styles/field/Field.css +5 -3
  43. package/build/styles/flowNavigation/FlowNavigation.css +28 -22
  44. package/build/styles/flowNavigation/animatedLabel/AnimatedLabel.css +6 -5
  45. package/build/styles/header/Header.css +16 -8
  46. package/build/styles/iconButton/IconButton.css +17 -12
  47. package/build/styles/image/Image.css +7 -6
  48. package/build/styles/info/Info.css +1 -1
  49. package/build/styles/inputs/Input.css +51 -20
  50. package/build/styles/inputs/InputGroup.css +14 -5
  51. package/build/styles/inputs/SelectInput.css +101 -42
  52. package/build/styles/inputs/TextArea.css +54 -21
  53. package/build/styles/instructionsList/InstructionsList.css +5 -3
  54. package/build/styles/legacylistItem/LegacyListItem.css +1 -1
  55. package/build/styles/link/Link.css +6 -3
  56. package/build/styles/listItem/ListItem.css +88 -44
  57. package/build/styles/listItem/ListItem.grid.css +15 -7
  58. package/build/styles/loader/Loader.css +36 -21
  59. package/build/styles/logo/Logo.css +2 -2
  60. package/build/styles/main.css +1918 -1179
  61. package/build/styles/modal/Modal.css +27 -19
  62. package/build/styles/moneyInput/MoneyInput.css +26 -16
  63. package/build/styles/navigationOption/NavigationOption.css +21 -13
  64. package/build/styles/navigationOptionsList/NavigationOptionsList.css +6 -5
  65. package/build/styles/nudge/Nudge.css +77 -71
  66. package/build/styles/overlayHeader/OverlayHeader.css +6 -5
  67. package/build/styles/phoneNumberInput/PhoneNumberInput.css +7 -4
  68. package/build/styles/popover/Popover.css +21 -11
  69. package/build/styles/progress/Progress.css +12 -2
  70. package/build/styles/progressBar/ProgressBar.css +7 -2
  71. package/build/styles/promoCard/PromoCard.css +57 -37
  72. package/build/styles/prompt/ActionPrompt/ActionPrompt.css +11 -6
  73. package/build/styles/prompt/InfoPrompt/InfoPrompt.css +7 -4
  74. package/build/styles/prompt/InlinePrompt/InlinePrompt.css +8 -3
  75. package/build/styles/prompt/PrimitivePrompt/PrimitivePrompt.css +15 -7
  76. package/build/styles/radioGroup/RadioGroup.css +1 -1
  77. package/build/styles/section/Section.css +6 -3
  78. package/build/styles/segmentedControl/SegmentedControl.css +25 -14
  79. package/build/styles/select/Select.css +129 -71
  80. package/build/styles/slidingPanel/SlidingPanel.css +26 -17
  81. package/build/styles/snackbar/Snackbar.css +32 -25
  82. package/build/styles/stepper/Stepper.css +14 -10
  83. package/build/styles/summary/Summary.css +30 -17
  84. package/build/styles/switch/Switch.css +10 -6
  85. package/build/styles/table/Table.css +71 -47
  86. package/build/styles/tabs/Tabs.css +34 -19
  87. package/build/styles/tile/Tile.css +21 -9
  88. package/build/styles/tooltip/Tooltip.css +7 -3
  89. package/build/styles/typeahead/Typeahead.css +53 -38
  90. package/build/styles/typeahead/typeaheadOption/TypeaheadOption.css +2 -0
  91. package/build/styles/upload/Upload.css +10 -8
  92. package/build/styles/uploadInput/UploadInput.css +6 -4
  93. package/build/styles/uploadInput/uploadButton/UploadButton.css +24 -14
  94. package/build/styles/uploadInput/uploadItem/UploadItem.css +58 -35
  95. package/build/types/card/Card.d.ts +1 -1
  96. package/package.json +2 -2
  97. package/src/accordion/Accordion.css +27 -17
  98. package/src/actionButton/ActionButton.css +16 -5
  99. package/src/actionOption/ActionOption.css +2 -1
  100. package/src/alert/Alert.css +2 -1
  101. package/src/avatar/Avatar.css +84 -69
  102. package/src/avatarLayout/AvatarLayout.css +22 -16
  103. package/src/avatarView/AvatarView.css +11 -4
  104. package/src/avatarView/Dot.css +9 -4
  105. package/src/badge/Badge.css +19 -14
  106. package/src/button/Button.css +20 -19
  107. package/src/button/LegacyButton.css +7 -4
  108. package/src/card/Card.css +24 -20
  109. package/src/card/Card.story.tsx +3 -2
  110. package/src/card/Card.tsx +1 -1
  111. package/src/carousel/Carousel.css +45 -26
  112. package/src/checkboxButton/CheckboxButton.css +15 -10
  113. package/src/chips/Chip.css +61 -39
  114. package/src/circularButton/CircularButton.css +8 -8
  115. package/src/common/Option/Option.css +57 -30
  116. package/src/common/RadioButton/RadioButton.css +1 -0
  117. package/src/common/bottomSheet/BottomSheet.css +20 -21
  118. package/src/common/card/Card.css +10 -6
  119. package/src/common/circle/Circle.css +16 -11
  120. package/src/common/closeButton/CloseButton.css +45 -24
  121. package/src/common/panel/Panel.css +13 -7
  122. package/src/criticalBanner/CriticalCommsBanner.css +8 -5
  123. package/src/dateInput/DateInput.css +5 -5
  124. package/src/dateLookup/DateLookup.css +26 -13
  125. package/src/dateLookup/dateTrigger/DateTrigger.css +13 -8
  126. package/src/decision/Decision.css +4 -0
  127. package/src/definitionList/DefinitionList.css +13 -8
  128. package/src/dimmer/Dimmer.css +15 -13
  129. package/src/divider/Divider.css +7 -5
  130. package/src/drawer/Drawer.css +21 -15
  131. package/src/dropFade/DropFade.css +2 -2
  132. package/src/emphasis/Emphasis.css +6 -0
  133. package/src/expressiveMoneyInput/ExpressiveMoneyInput.css +12 -8
  134. package/src/expressiveMoneyInput/amountInput/AmountInput.css +4 -4
  135. package/src/expressiveMoneyInput/chevron/Chevron.css +5 -3
  136. package/src/expressiveMoneyInput/currencySelector/CurrencySelector.css +1 -0
  137. package/src/field/Field.css +5 -3
  138. package/src/flowNavigation/FlowNavigation.css +28 -22
  139. package/src/flowNavigation/animatedLabel/AnimatedLabel.css +6 -5
  140. package/src/header/Header.css +16 -8
  141. package/src/iconButton/IconButton.css +17 -12
  142. package/src/image/Image.css +7 -6
  143. package/src/info/Info.css +1 -1
  144. package/src/inputs/Input.css +51 -20
  145. package/src/inputs/InputGroup.css +14 -5
  146. package/src/inputs/SelectInput.css +101 -42
  147. package/src/inputs/TextArea.css +54 -21
  148. package/src/instructionsList/InstructionsList.css +5 -3
  149. package/src/legacylistItem/LegacyListItem.css +1 -1
  150. package/src/link/Link.css +6 -3
  151. package/src/listItem/ListItem.css +88 -44
  152. package/src/listItem/ListItem.grid.css +15 -7
  153. package/src/loader/Loader.css +36 -21
  154. package/src/logo/Logo.css +2 -2
  155. package/src/main.css +1918 -1179
  156. package/src/modal/Modal.css +27 -19
  157. package/src/moneyInput/MoneyInput.css +26 -16
  158. package/src/navigationOption/NavigationOption.css +21 -13
  159. package/src/navigationOptionsList/NavigationOptionsList.css +6 -5
  160. package/src/nudge/Nudge.css +77 -71
  161. package/src/overlayHeader/OverlayHeader.css +6 -5
  162. package/src/phoneNumberInput/PhoneNumberInput.css +7 -4
  163. package/src/popover/Popover.css +21 -11
  164. package/src/progress/Progress.css +12 -2
  165. package/src/progressBar/ProgressBar.css +7 -2
  166. package/src/promoCard/PromoCard.css +57 -37
  167. package/src/prompt/ActionPrompt/ActionPrompt.css +11 -6
  168. package/src/prompt/InfoPrompt/InfoPrompt.css +7 -4
  169. package/src/prompt/InlinePrompt/InlinePrompt.css +8 -3
  170. package/src/prompt/PrimitivePrompt/PrimitivePrompt.css +15 -7
  171. package/src/radioGroup/RadioGroup.css +1 -1
  172. package/src/section/Section.css +6 -3
  173. package/src/segmentedControl/SegmentedControl.css +25 -14
  174. package/src/select/Select.css +129 -71
  175. package/src/slidingPanel/SlidingPanel.css +26 -17
  176. package/src/snackbar/Snackbar.css +32 -25
  177. package/src/stepper/Stepper.css +14 -10
  178. package/src/summary/Summary.css +30 -17
  179. package/src/switch/Switch.css +10 -6
  180. package/src/table/Table.css +71 -47
  181. package/src/tabs/Tabs.css +34 -19
  182. package/src/tile/Tile.css +21 -9
  183. package/src/tooltip/Tooltip.css +7 -3
  184. package/src/typeahead/Typeahead.css +53 -38
  185. package/src/typeahead/typeaheadOption/TypeaheadOption.css +2 -0
  186. package/src/upload/Upload.css +10 -8
  187. package/src/uploadInput/UploadInput.css +6 -4
  188. package/src/uploadInput/uploadButton/UploadButton.css +24 -14
  189. 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-block-size: 0;
6
+ min-height: 0;
7
7
  /* TODO: Remove this override once `.form-control` isn’t used anymore */
8
- padding-inline-start: var(--size-16);
9
- padding-inline-end: var(--size-16);
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: unset;
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-block-start: var(--size-12);
42
- padding-block-end: var(--size-12);
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-block-start: 0 !important;
48
- padding-block-end: 0 !important;
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
- block-size: var(--size-32) !important;
66
+ height: 32px !important;
67
+ height: var(--size-32) !important;
56
68
  }
57
- @media (--screen-400-zoom) {
69
+ @media (max-width: 320px) {
58
70
  .np-form-control--size-sm {
59
- block-size: var(--size-64) !important;
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
- block-size: var(--size-48) !important;
82
+ height: 48px !important;
83
+ height: var(--size-48) !important;
68
84
  }
69
- @media (--screen-400-zoom) {
85
+ @media (max-width: 320px) {
70
86
  .np-form-control--size-md {
71
- block-size: var(--size-72) !important;
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-block-end: initial;
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
- block-size: var(--size-72) !important;
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 (--screen-md) {
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 (--screen-lg) {
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 (--screen-lg) {
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-block-start: var(--size-8);
140
+ margin-top: 8px;
141
+ margin-top: var(--size-8);
118
142
  }
119
143
  .np-text-area {
120
- min-block-size: var(--size-72);
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-block-start: var(--padding-x-small);
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-inline-end: var(--padding-x-small);
17
- margin-block-end: 0;
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);
@@ -1,5 +1,5 @@
1
1
  .np-list-item {
2
- inline-size: 100%;
2
+ width: 100%;
3
3
  }
4
4
  .np-list-item__action {
5
5
  flex-shrink: 0;
@@ -6,11 +6,14 @@ button.np-link {
6
6
  .np-link .tw-icon {
7
7
  display: flex;
8
8
  align-items: center;
9
- margin-inline-start: var(--size-4);
9
+ margin-left: 4px;
10
+ margin-left: var(--size-4);
10
11
  }
11
12
  [dir="rtl"] .np-link .tw-icon {
12
- margin-inline-end: var(--size-4);
13
- margin-inline-start: initial;
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-block-start: -2px;
10
+ margin-top: -2px;
8
11
  }
9
12
  @container (min-width: 309px) {
10
13
  .wds-list-item-gridWrapper .wds-list-item-control-wrapper {
11
- block-size: var(--wds-list-item-control-wrapper-height);
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-block-start: var(--size-4);
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: start;
378
+ text-align: left;
372
379
  }
373
380
  .wds-list-item-gridWrapper .wds-list-item-button-control--hasPrompt {
374
- margin-block-start: var(--size-4);
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
- inline-size: 100%;
391
+ width: 100%;
392
+ border-radius: 16px;
384
393
  border-radius: var(--radius-medium);
385
394
  position: relative;
386
- padding-block: var(--size-12);
387
- padding-inline: 0;
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-block-start: var(--size-16);
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-block-end: 0;
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: unset;
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-block: 0;
456
- inset-inline: -8px;
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, :disabled):hover:before,
461
- .wds-list-item-interactive:not(.wds-list-item-spotlight):not(.disabled, :disabled):active:before {
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-block: 0;
465
- inset-inline: -8px;
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, :disabled):hover:before {
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, :disabled):active:before {
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: unset;
489
+ background-color: transparent;
490
+ background-color: initial;
476
491
  }
477
- .wds-list-item-interactive:not(.disabled, :disabled):hover .wds-list-item-control-wrapper .wds-Button {
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
- inline-size: var(--wds-list-item-media-size);
492
- block-size: var(--wds-list-item-media-size);
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
- inline-size: 100%;
496
- block-size: 100%;
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
- inline-size: 100%;
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-block-size: var(--wds-list-item-value-min-height, 100%);
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: end;
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-block-start: calc(var(--size-4) * -1);
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: unset;
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 :is(strong, b) {
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-inline-start: var(--size-12);
576
- padding-inline-end: var(--size-12);
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, :disabled):hover {
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, :disabled):active {
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
- .wds-list-item-spotlight-inactive:not(.disabled, :disabled):hover {
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, :disabled):active {
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
- inline-size: 100%;
600
- block-size: 100%;
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
- inline-size: calc(100% - var(--wds-list-item-spotlight-borderWidth));
609
- block-size: calc(100% - var(--wds-list-item-spotlight-borderWidth));
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-block-start: -2px;
10
+ margin-top: -2px;
8
11
  }
9
12
  @container (min-width: 309px) {
10
13
  .wds-list-item-gridWrapper .wds-list-item-control-wrapper {
11
- block-size: var(--wds-list-item-control-wrapper-height);
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-block-start: var(--size-4);
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: start;
378
+ text-align: left;
372
379
  }
373
380
  .wds-list-item-gridWrapper .wds-list-item-button-control--hasPrompt {
374
- margin-block-start: var(--size-4);
381
+ margin-top: 4px;
382
+ margin-top: var(--size-4);
375
383
  }
376
384
  }