@transferwise/components 46.103.1 → 46.105.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (250) hide show
  1. package/build/header/Header.js +60 -43
  2. package/build/header/Header.js.map +1 -1
  3. package/build/header/Header.mjs +57 -43
  4. package/build/header/Header.mjs.map +1 -1
  5. package/build/i18n/cs.json +2 -0
  6. package/build/i18n/cs.json.js +2 -0
  7. package/build/i18n/cs.json.js.map +1 -1
  8. package/build/i18n/cs.json.mjs +2 -0
  9. package/build/i18n/cs.json.mjs.map +1 -1
  10. package/build/i18n/es.json +2 -0
  11. package/build/i18n/es.json.js +2 -0
  12. package/build/i18n/es.json.js.map +1 -1
  13. package/build/i18n/es.json.mjs +2 -0
  14. package/build/i18n/es.json.mjs.map +1 -1
  15. package/build/i18n/th.json +2 -0
  16. package/build/i18n/th.json.js +2 -0
  17. package/build/i18n/th.json.js.map +1 -1
  18. package/build/i18n/th.json.mjs +2 -0
  19. package/build/i18n/th.json.mjs.map +1 -1
  20. package/build/index.js +3 -1
  21. package/build/index.js.map +1 -1
  22. package/build/index.mjs +2 -1
  23. package/build/index.mjs.map +1 -1
  24. package/build/inputs/SelectInput.js +1 -1
  25. package/build/inputs/SelectInput.js.map +1 -1
  26. package/build/inputs/SelectInput.mjs +1 -1
  27. package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.js +56 -0
  28. package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.js.map +1 -0
  29. package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.mjs +54 -0
  30. package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.mjs.map +1 -0
  31. package/build/listItem/AvatarLayout/ListItemAvatarLayout.js +23 -0
  32. package/build/listItem/AvatarLayout/ListItemAvatarLayout.js.map +1 -0
  33. package/build/listItem/AvatarLayout/ListItemAvatarLayout.mjs +21 -0
  34. package/build/listItem/AvatarLayout/ListItemAvatarLayout.mjs.map +1 -0
  35. package/build/listItem/AvatarView/ListItemAvatarView.js +23 -0
  36. package/build/listItem/AvatarView/ListItemAvatarView.js.map +1 -0
  37. package/build/listItem/AvatarView/ListItemAvatarView.mjs +21 -0
  38. package/build/listItem/AvatarView/ListItemAvatarView.mjs.map +1 -0
  39. package/build/listItem/Button/ListItemButton.js +43 -0
  40. package/build/listItem/Button/ListItemButton.js.map +1 -0
  41. package/build/listItem/Button/ListItemButton.mjs +41 -0
  42. package/build/listItem/Button/ListItemButton.mjs.map +1 -0
  43. package/build/listItem/Checkbox/ListItemCheckbox.js +30 -0
  44. package/build/listItem/Checkbox/ListItemCheckbox.js.map +1 -0
  45. package/build/listItem/Checkbox/ListItemCheckbox.mjs +28 -0
  46. package/build/listItem/Checkbox/ListItemCheckbox.mjs.map +1 -0
  47. package/build/listItem/IconButton/ListItemIconButton.js +56 -0
  48. package/build/listItem/IconButton/ListItemIconButton.js.map +1 -0
  49. package/build/listItem/IconButton/ListItemIconButton.mjs +54 -0
  50. package/build/listItem/IconButton/ListItemIconButton.mjs.map +1 -0
  51. package/build/listItem/Image/ListItemImage.js +31 -0
  52. package/build/listItem/Image/ListItemImage.js.map +1 -0
  53. package/build/listItem/Image/ListItemImage.mjs +29 -0
  54. package/build/listItem/Image/ListItemImage.mjs.map +1 -0
  55. package/build/listItem/ListItem.js +311 -0
  56. package/build/listItem/ListItem.js.map +1 -0
  57. package/build/listItem/ListItem.mjs +306 -0
  58. package/build/listItem/ListItem.mjs.map +1 -0
  59. package/build/listItem/ListItemContext.js +8 -0
  60. package/build/listItem/ListItemContext.js.map +1 -0
  61. package/build/listItem/ListItemContext.mjs +6 -0
  62. package/build/listItem/ListItemContext.mjs.map +1 -0
  63. package/build/listItem/Navigation/ListItemNavigation.js +44 -0
  64. package/build/listItem/Navigation/ListItemNavigation.js.map +1 -0
  65. package/build/listItem/Navigation/ListItemNavigation.mjs +42 -0
  66. package/build/listItem/Navigation/ListItemNavigation.mjs.map +1 -0
  67. package/build/listItem/Prompt/ListItemPrompt.js +59 -0
  68. package/build/listItem/Prompt/ListItemPrompt.js.map +1 -0
  69. package/build/listItem/Prompt/ListItemPrompt.mjs +54 -0
  70. package/build/listItem/Prompt/ListItemPrompt.mjs.map +1 -0
  71. package/build/listItem/Radio/ListItemRadio.js +30 -0
  72. package/build/listItem/Radio/ListItemRadio.js.map +1 -0
  73. package/build/listItem/Radio/ListItemRadio.mjs +28 -0
  74. package/build/listItem/Radio/ListItemRadio.mjs.map +1 -0
  75. package/build/listItem/Switch/ListItemSwitch.js +30 -0
  76. package/build/listItem/Switch/ListItemSwitch.js.map +1 -0
  77. package/build/listItem/Switch/ListItemSwitch.mjs +28 -0
  78. package/build/listItem/Switch/ListItemSwitch.mjs.map +1 -0
  79. package/build/listItem/useListItemControl.js +22 -0
  80. package/build/listItem/useListItemControl.js.map +1 -0
  81. package/build/listItem/useListItemControl.mjs +20 -0
  82. package/build/listItem/useListItemControl.mjs.map +1 -0
  83. package/build/listItem/useListItemMedia.js +21 -0
  84. package/build/listItem/useListItemMedia.js.map +1 -0
  85. package/build/listItem/useListItemMedia.mjs +19 -0
  86. package/build/listItem/useListItemMedia.mjs.map +1 -0
  87. package/build/main.css +794 -14
  88. package/build/styles/header/Header.css +21 -14
  89. package/build/styles/listItem/ListItem.css +773 -0
  90. package/build/styles/listItem/ListItem.grid.css +370 -0
  91. package/build/styles/listItem/Prompt/ListItemPrompt.css +157 -0
  92. package/build/styles/main.css +794 -14
  93. package/build/title/Title.js +10 -4
  94. package/build/title/Title.js.map +1 -1
  95. package/build/title/Title.mjs +6 -4
  96. package/build/title/Title.mjs.map +1 -1
  97. package/build/types/header/Header.d.ts +27 -11
  98. package/build/types/header/Header.d.ts.map +1 -1
  99. package/build/types/header/index.d.ts +1 -0
  100. package/build/types/header/index.d.ts.map +1 -1
  101. package/build/types/index.d.ts +3 -0
  102. package/build/types/index.d.ts.map +1 -1
  103. package/build/types/listItem/AdditionalInfo/ListItemAdditionalInfo.d.ts +15 -0
  104. package/build/types/listItem/AdditionalInfo/ListItemAdditionalInfo.d.ts.map +1 -0
  105. package/build/types/listItem/AdditionalInfo/index.d.ts +3 -0
  106. package/build/types/listItem/AdditionalInfo/index.d.ts.map +1 -0
  107. package/build/types/listItem/AvatarLayout/ListItemAvatarLayout.d.ts +18 -0
  108. package/build/types/listItem/AvatarLayout/ListItemAvatarLayout.d.ts.map +1 -0
  109. package/build/types/listItem/AvatarLayout/index.d.ts +3 -0
  110. package/build/types/listItem/AvatarLayout/index.d.ts.map +1 -0
  111. package/build/types/listItem/AvatarView/ListItemAvatarView.d.ts +16 -0
  112. package/build/types/listItem/AvatarView/ListItemAvatarView.d.ts.map +1 -0
  113. package/build/types/listItem/AvatarView/index.d.ts +3 -0
  114. package/build/types/listItem/AvatarView/index.d.ts.map +1 -0
  115. package/build/types/listItem/Button/ListItemButton.d.ts +20 -0
  116. package/build/types/listItem/Button/ListItemButton.d.ts.map +1 -0
  117. package/build/types/listItem/Button/index.d.ts +3 -0
  118. package/build/types/listItem/Button/index.d.ts.map +1 -0
  119. package/build/types/listItem/Checkbox/ListItemCheckbox.d.ts +14 -0
  120. package/build/types/listItem/Checkbox/ListItemCheckbox.d.ts.map +1 -0
  121. package/build/types/listItem/Checkbox/index.d.ts +3 -0
  122. package/build/types/listItem/Checkbox/index.d.ts.map +1 -0
  123. package/build/types/listItem/IconButton/ListItemIconButton.d.ts +18 -0
  124. package/build/types/listItem/IconButton/ListItemIconButton.d.ts.map +1 -0
  125. package/build/types/listItem/IconButton/index.d.ts +3 -0
  126. package/build/types/listItem/IconButton/index.d.ts.map +1 -0
  127. package/build/types/listItem/Image/ListItemImage.d.ts +25 -0
  128. package/build/types/listItem/Image/ListItemImage.d.ts.map +1 -0
  129. package/build/types/listItem/Image/index.d.ts +3 -0
  130. package/build/types/listItem/Image/index.d.ts.map +1 -0
  131. package/build/types/listItem/ListItem.d.ts +111 -0
  132. package/build/types/listItem/ListItem.d.ts.map +1 -0
  133. package/build/types/listItem/ListItemContext.d.ts +21 -0
  134. package/build/types/listItem/ListItemContext.d.ts.map +1 -0
  135. package/build/types/listItem/Navigation/ListItemNavigation.d.ts +15 -0
  136. package/build/types/listItem/Navigation/ListItemNavigation.d.ts.map +1 -0
  137. package/build/types/listItem/Navigation/index.d.ts +3 -0
  138. package/build/types/listItem/Navigation/index.d.ts.map +1 -0
  139. package/build/types/listItem/Prompt/ListItemPrompt.d.ts +16 -0
  140. package/build/types/listItem/Prompt/ListItemPrompt.d.ts.map +1 -0
  141. package/build/types/listItem/Prompt/index.d.ts +3 -0
  142. package/build/types/listItem/Prompt/index.d.ts.map +1 -0
  143. package/build/types/listItem/Radio/ListItemRadio.d.ts +14 -0
  144. package/build/types/listItem/Radio/ListItemRadio.d.ts.map +1 -0
  145. package/build/types/listItem/Radio/index.d.ts +3 -0
  146. package/build/types/listItem/Radio/index.d.ts.map +1 -0
  147. package/build/types/listItem/Switch/ListItemSwitch.d.ts +14 -0
  148. package/build/types/listItem/Switch/ListItemSwitch.d.ts.map +1 -0
  149. package/build/types/listItem/Switch/index.d.ts +3 -0
  150. package/build/types/listItem/Switch/index.d.ts.map +1 -0
  151. package/build/types/listItem/_stories/helpers.d.ts +27 -0
  152. package/build/types/listItem/_stories/helpers.d.ts.map +1 -0
  153. package/build/types/listItem/_stories/subcomponents.d.ts +18 -0
  154. package/build/types/listItem/_stories/subcomponents.d.ts.map +1 -0
  155. package/build/types/listItem/index.d.ts +14 -0
  156. package/build/types/listItem/index.d.ts.map +1 -0
  157. package/build/types/listItem/test-utils.d.ts +7 -0
  158. package/build/types/listItem/test-utils.d.ts.map +1 -0
  159. package/build/types/listItem/useListItemControl.d.ts +5 -0
  160. package/build/types/listItem/useListItemControl.d.ts.map +1 -0
  161. package/build/types/listItem/useListItemMedia.d.ts +6 -0
  162. package/build/types/listItem/useListItemMedia.d.ts.map +1 -0
  163. package/build/types/title/Title.d.ts +4 -5
  164. package/build/types/title/Title.d.ts.map +1 -1
  165. package/package.json +3 -3
  166. package/src/button/Button.spec.tsx +25 -1
  167. package/src/button/Button.story.tsx +1 -0
  168. package/src/header/Header.accessibility.docs.mdx +85 -0
  169. package/src/header/Header.css +21 -14
  170. package/src/header/Header.less +17 -10
  171. package/src/header/Header.spec.tsx +68 -50
  172. package/src/header/Header.story.tsx +190 -36
  173. package/src/header/Header.tsx +96 -65
  174. package/src/header/index.ts +1 -0
  175. package/src/i18n/cs.json +2 -0
  176. package/src/i18n/es.json +2 -0
  177. package/src/i18n/th.json +2 -0
  178. package/src/iconButton/iconButton.spec.tsx +31 -0
  179. package/src/index.ts +16 -0
  180. package/src/legacylistItem/LegacyListItem.story.tsx +1 -1
  181. package/src/legacylistItem/LegacyListItem.tests.story.tsx +2 -1
  182. package/src/list/List.story.tsx +13 -3
  183. package/src/listItem/AdditionalInfo/ListItemAdditionalInfo.spec.tsx +56 -0
  184. package/src/listItem/AdditionalInfo/ListItemAdditionalInfo.story.tsx +198 -0
  185. package/src/listItem/AdditionalInfo/ListItemAdditionalInfo.tsx +36 -0
  186. package/src/listItem/AdditionalInfo/index.ts +2 -0
  187. package/src/listItem/AvatarLayout/ListItemAvatarLayout.spec.tsx +59 -0
  188. package/src/listItem/AvatarLayout/ListItemAvatarLayout.story.tsx +124 -0
  189. package/src/listItem/AvatarLayout/ListItemAvatarLayout.tsx +27 -0
  190. package/src/listItem/AvatarLayout/index.ts +2 -0
  191. package/src/listItem/AvatarView/ListItemAvatarView.spec.tsx +75 -0
  192. package/src/listItem/AvatarView/ListItemAvatarView.story.tsx +339 -0
  193. package/src/listItem/AvatarView/ListItemAvatarView.tsx +27 -0
  194. package/src/listItem/AvatarView/index.ts +2 -0
  195. package/src/listItem/Button/ListItemButton.spec.tsx +90 -0
  196. package/src/listItem/Button/ListItemButton.story.tsx +473 -0
  197. package/src/listItem/Button/ListItemButton.tsx +56 -0
  198. package/src/listItem/Button/index.ts +2 -0
  199. package/src/listItem/Checkbox/ListItemCheckbox.spec.tsx +82 -0
  200. package/src/listItem/Checkbox/ListItemCheckbox.story.tsx +128 -0
  201. package/src/listItem/Checkbox/ListItemCheckbox.tsx +33 -0
  202. package/src/listItem/Checkbox/index.ts +2 -0
  203. package/src/listItem/IconButton/ListItemIconButton.spec.tsx +131 -0
  204. package/src/listItem/IconButton/ListItemIconButton.story.tsx +284 -0
  205. package/src/listItem/IconButton/ListItemIconButton.tsx +73 -0
  206. package/src/listItem/IconButton/index.ts +2 -0
  207. package/src/listItem/Image/ListItemImage.spec.tsx +30 -0
  208. package/src/listItem/Image/ListItemImage.story.tsx +80 -0
  209. package/src/listItem/Image/ListItemImage.tsx +46 -0
  210. package/src/listItem/Image/index.ts +2 -0
  211. package/src/listItem/ListItem.css +773 -0
  212. package/src/listItem/ListItem.grid.css +370 -0
  213. package/src/listItem/ListItem.grid.less +622 -0
  214. package/src/listItem/ListItem.less +291 -0
  215. package/src/listItem/ListItem.spec.tsx +1511 -0
  216. package/src/listItem/ListItem.tsx +440 -0
  217. package/src/listItem/ListItemContext.tsx +26 -0
  218. package/src/listItem/Navigation/ListItemNavigation.spec.tsx +67 -0
  219. package/src/listItem/Navigation/ListItemNavigation.story.tsx +114 -0
  220. package/src/listItem/Navigation/ListItemNavigation.tsx +39 -0
  221. package/src/listItem/Navigation/index.ts +2 -0
  222. package/src/listItem/Prompt/ListItemPrompt.css +157 -0
  223. package/src/listItem/Prompt/ListItemPrompt.less +134 -0
  224. package/src/listItem/Prompt/ListItemPrompt.spec.tsx +36 -0
  225. package/src/listItem/Prompt/ListItemPrompt.story.tsx +204 -0
  226. package/src/listItem/Prompt/ListItemPrompt.tsx +32 -0
  227. package/src/listItem/Prompt/index.ts +2 -0
  228. package/src/listItem/Radio/ListItemRadio.spec.tsx +66 -0
  229. package/src/listItem/Radio/ListItemRadio.story.tsx +111 -0
  230. package/src/listItem/Radio/ListItemRadio.tsx +33 -0
  231. package/src/listItem/Radio/index.ts +2 -0
  232. package/src/listItem/Switch/ListItemSwitch.spec.tsx +47 -0
  233. package/src/listItem/Switch/ListItemSwitch.story.tsx +79 -0
  234. package/src/listItem/Switch/ListItemSwitch.tsx +33 -0
  235. package/src/listItem/Switch/index.ts +2 -0
  236. package/src/listItem/_stories/ListItem.focus.test.story.tsx +265 -0
  237. package/src/listItem/_stories/ListItem.layout.test.story.tsx +374 -0
  238. package/src/listItem/_stories/ListItem.scenarios.story.tsx +228 -0
  239. package/src/listItem/_stories/ListItem.story.tsx +774 -0
  240. package/src/listItem/_stories/ListItem.variants.test.story.tsx +274 -0
  241. package/src/listItem/_stories/helpers.tsx +53 -0
  242. package/src/listItem/_stories/subcomponents.tsx +141 -0
  243. package/src/listItem/index.ts +14 -0
  244. package/src/listItem/test-utils.tsx +33 -0
  245. package/src/listItem/useListItemControl.tsx +18 -0
  246. package/src/listItem/useListItemMedia.tsx +16 -0
  247. package/src/main.css +794 -14
  248. package/src/main.less +1 -0
  249. package/src/primitives/PrimitiveAnchor/test/PrimitiveAnchor.spec.tsx +15 -4
  250. package/src/title/Title.tsx +25 -12
@@ -0,0 +1,773 @@
1
+ .wds-list-item-gridWrapper {
2
+ display: grid;
3
+ grid-gap: 4px 16px;
4
+ grid-gap: var(--size-4) var(--size-16);
5
+ gap: 4px 16px;
6
+ gap: var(--size-4) var(--size-16);
7
+ }
8
+ @container (min-width: 375px) {
9
+ .wds-list-item-gridWrapper .wds-list-item-media-image {
10
+ -o-object-position: center;
11
+ object-position: center;
12
+ }
13
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
14
+ grid-template-columns: auto 1fr auto;
15
+ grid-template-rows: auto auto auto;
16
+ grid-template-areas: "media body control" ". info ." ". prompt prompt";
17
+ }
18
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-noPrompt {
19
+ grid-template-columns: auto 1fr auto;
20
+ grid-template-rows: auto auto;
21
+ grid-template-areas: "media body control" ". info .";
22
+ }
23
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-hasPrompt {
24
+ grid-template-columns: auto 1fr auto;
25
+ grid-template-rows: auto auto;
26
+ grid-template-areas: "media body control" ". prompt prompt";
27
+ }
28
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-noPrompt {
29
+ grid-template-columns: auto 1fr auto;
30
+ grid-template-rows: auto;
31
+ grid-template-areas: "media body control";
32
+ }
33
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-hasInfo-hasPrompt {
34
+ grid-template-columns: auto 1fr;
35
+ grid-template-rows: auto auto;
36
+ grid-template-areas: "media body" ". info" ". prompt";
37
+ }
38
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-hasInfo-noPrompt {
39
+ grid-template-columns: auto 1fr;
40
+ grid-template-rows: auto auto auto;
41
+ grid-template-areas: "media body" ". info";
42
+ }
43
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-noInfo-hasPrompt {
44
+ grid-template-columns: auto 1fr;
45
+ grid-template-rows: auto auto;
46
+ grid-template-areas: "media body" ". prompt";
47
+ }
48
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-noInfo-noPrompt {
49
+ grid-template-columns: auto 1fr;
50
+ grid-template-rows: auto;
51
+ grid-template-areas: "media body";
52
+ }
53
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl .wds-list-item-prompt {
54
+ grid-column: 1 / -1;
55
+ }
56
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
57
+ grid-template-columns: 1fr auto;
58
+ grid-template-rows: auto auto auto;
59
+ grid-template-areas: "body control" "info ." "prompt prompt";
60
+ }
61
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-noPrompt {
62
+ grid-template-columns: 1fr auto;
63
+ grid-template-rows: auto auto;
64
+ grid-template-areas: "body control" "info .";
65
+ }
66
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-hasPrompt {
67
+ grid-template-columns: 1fr auto;
68
+ grid-template-rows: auto auto;
69
+ grid-template-areas: "body control" "prompt prompt";
70
+ }
71
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-noPrompt {
72
+ grid-template-columns: 1fr auto;
73
+ grid-template-rows: auto;
74
+ grid-template-areas: "body control";
75
+ }
76
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-noControl .wds-list-item-prompt {
77
+ grid-column: 1 / -1;
78
+ }
79
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-hasInfo-hasPrompt {
80
+ grid-template-columns: 1fr;
81
+ grid-template-rows: auto auto auto;
82
+ grid-template-areas: "body" "info" "prompt";
83
+ }
84
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-hasInfo-noPrompt {
85
+ grid-template-columns: 1fr;
86
+ grid-template-rows: auto auto;
87
+ grid-template-areas: "body" "info";
88
+ }
89
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-noInfo-hasPrompt {
90
+ grid-template-columns: 1fr;
91
+ grid-template-rows: auto auto;
92
+ grid-template-areas: "body" "prompt";
93
+ }
94
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-noInfo-noPrompt {
95
+ grid-template-columns: 1fr;
96
+ grid-template-rows: auto;
97
+ grid-template-areas: "body";
98
+ }
99
+ }
100
+ @container (min-width: 297px) and (max-width: 375px) {
101
+ .wds-list-item-gridWrapper .wds-list-item-media-image {
102
+ -o-object-position: bottom left;
103
+ object-position: bottom left;
104
+ }
105
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl .wds-list-item-media {
106
+ margin-bottom: 12px;
107
+ margin-bottom: var(--size-12);
108
+ }
109
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
110
+ grid-template-columns: 1fr auto;
111
+ grid-template-rows: auto auto auto auto;
112
+ grid-template-areas: "media media" "body control" "info control" "prompt prompt";
113
+ }
114
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-hasPrompt:has(.wds-list-item-button-control) {
115
+ grid-template-columns: 1fr;
116
+ grid-template-areas: "media" "body" "info" "prompt" "control";
117
+ }
118
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-noPrompt {
119
+ grid-template-columns: 1fr auto;
120
+ grid-template-rows: auto auto auto;
121
+ grid-template-areas: "media media" "body control" "info control";
122
+ }
123
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-noPrompt:has(.wds-list-item-button-control) {
124
+ grid-template-columns: 1fr;
125
+ grid-template-areas: "media" "body" "info" "control";
126
+ }
127
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-hasPrompt {
128
+ grid-template-columns: 1fr auto;
129
+ grid-template-rows: auto auto auto;
130
+ grid-template-areas: "media media" "body control" "prompt prompt";
131
+ }
132
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-hasPrompt:has(.wds-list-item-button-control) {
133
+ grid-template-columns: 1fr;
134
+ grid-template-areas: "media" "body" "prompt" "control";
135
+ }
136
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-noPrompt {
137
+ grid-template-columns: 1fr auto;
138
+ grid-template-rows: auto auto;
139
+ grid-template-areas: "media media" "body control";
140
+ }
141
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-noPrompt:has(.wds-list-item-button-control) {
142
+ grid-template-columns: 1fr;
143
+ grid-template-areas: "media" "body" "control";
144
+ }
145
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl .wds-list-item-media {
146
+ margin-bottom: 12px;
147
+ margin-bottom: var(--size-12);
148
+ }
149
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-hasInfo-hasPrompt {
150
+ grid-template-columns: auto auto;
151
+ grid-template-rows: auto auto auto auto;
152
+ grid-template-areas: "media media" "body body" "info info" "prompt prompt";
153
+ }
154
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-hasInfo-noPrompt {
155
+ grid-template-columns: auto 1fr;
156
+ grid-template-rows: auto auto auto;
157
+ grid-template-areas: "media media" "body body" "info info";
158
+ }
159
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-noInfo-hasPrompt {
160
+ grid-template-columns: auto 1fr;
161
+ grid-template-rows: auto auto auto;
162
+ grid-template-areas: "media media" "body body" "prompt prompt";
163
+ }
164
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-noInfo-noPrompt {
165
+ grid-template-columns: 1fr;
166
+ grid-template-rows: auto auto;
167
+ grid-template-areas: "media" "body";
168
+ }
169
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl .wds-list-item-prompt {
170
+ grid-column: 1 / -1;
171
+ }
172
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
173
+ grid-template-columns: 1fr auto;
174
+ grid-template-rows: auto auto auto;
175
+ grid-template-areas: "body control" "info control" "prompt prompt";
176
+ }
177
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-hasPrompt:has(.wds-list-item-button-control) {
178
+ grid-template-columns: 1fr;
179
+ grid-template-areas: "body" "info" "prompt" "control";
180
+ }
181
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-noPrompt {
182
+ grid-template-columns: 1fr auto;
183
+ grid-template-rows: auto auto;
184
+ grid-template-areas: "body control" "info control";
185
+ }
186
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-noPrompt:has(.wds-list-item-button-control) {
187
+ grid-template-columns: 1fr;
188
+ grid-template-areas: "body" "info" "control";
189
+ }
190
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-hasPrompt {
191
+ grid-template-columns: 1fr auto;
192
+ grid-template-rows: auto auto;
193
+ grid-template-areas: "body control" "prompt prompt";
194
+ }
195
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-hasPrompt:has(.wds-list-item-button-control) {
196
+ grid-template-columns: 1fr;
197
+ grid-template-areas: "body" "prompt" "control";
198
+ }
199
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-noPrompt {
200
+ grid-template-columns: 1fr auto;
201
+ grid-template-rows: auto;
202
+ grid-template-areas: "body control";
203
+ }
204
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-noPrompt:has(.wds-list-item-button-control) {
205
+ grid-template-columns: 1fr;
206
+ grid-template-areas: "body" "control";
207
+ }
208
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-noControl .wds-list-item-prompt {
209
+ grid-column: 1 / -1;
210
+ }
211
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-hasInfo-hasPrompt {
212
+ grid-template-columns: 1fr;
213
+ grid-template-rows: auto auto auto;
214
+ grid-template-areas: "body" "info" "prompt";
215
+ }
216
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-hasInfo-noPrompt {
217
+ grid-template-columns: 1fr;
218
+ grid-template-rows: auto auto;
219
+ grid-template-areas: "body" "info";
220
+ }
221
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-noInfo-hasPrompt {
222
+ grid-template-columns: 1fr;
223
+ grid-template-rows: auto auto;
224
+ grid-template-areas: "body" "prompt";
225
+ }
226
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-noInfo-noPrompt {
227
+ grid-template-columns: 1fr;
228
+ grid-template-rows: auto;
229
+ grid-template-areas: "body";
230
+ }
231
+ }
232
+ @container (max-width: 297px) {
233
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
234
+ grid-template-columns: auto 1fr;
235
+ grid-template-rows: auto auto auto;
236
+ grid-template-areas: "body control" "info control" "prompt prompt";
237
+ }
238
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-hasPrompt:has(.wds-list-item-button-control) {
239
+ grid-template-columns: 1fr;
240
+ grid-template-rows: auto;
241
+ grid-template-areas: "body" "info" "prompt" "control";
242
+ }
243
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-noPrompt {
244
+ grid-template-columns: auto 1fr;
245
+ grid-template-rows: auto auto;
246
+ grid-template-areas: "body control" "info control";
247
+ }
248
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-noPrompt:has(.wds-list-item-button-control) {
249
+ grid-template-columns: 1fr;
250
+ grid-template-areas: "body" "info" "control";
251
+ }
252
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-hasPrompt {
253
+ grid-template-columns: auto 1fr;
254
+ grid-template-rows: auto auto;
255
+ grid-template-areas: "body control" "prompt prompt";
256
+ }
257
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-hasPrompt:has(.wds-list-item-button-control) {
258
+ grid-template-columns: 1fr;
259
+ grid-template-areas: "body" "prompt" "control";
260
+ }
261
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-noPrompt {
262
+ grid-template-columns: auto 1fr;
263
+ grid-template-rows: auto;
264
+ grid-template-areas: "body control";
265
+ }
266
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-noPrompt:has(.wds-list-item-button-control) {
267
+ grid-template-columns: 1fr;
268
+ grid-template-areas: "body" "control";
269
+ }
270
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-hasInfo-hasPrompt {
271
+ grid-template-columns: auto;
272
+ grid-template-rows: auto auto;
273
+ grid-template-areas: "body" "info" "prompt";
274
+ }
275
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-hasInfo-noPrompt {
276
+ grid-template-columns: auto;
277
+ grid-template-rows: auto auto auto;
278
+ grid-template-areas: "body" "info";
279
+ }
280
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-noInfo-hasPrompt {
281
+ grid-template-columns: auto;
282
+ grid-template-rows: auto auto;
283
+ grid-template-areas: "body" "prompt";
284
+ }
285
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-noInfo-noPrompt {
286
+ grid-template-columns: 1fr;
287
+ grid-template-rows: auto;
288
+ grid-template-areas: "body";
289
+ }
290
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl .wds-list-item-prompt {
291
+ grid-column: 1 / -1;
292
+ }
293
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
294
+ grid-template-columns: 1fr auto;
295
+ grid-template-rows: auto auto auto;
296
+ grid-template-areas: "body control" "info control" "prompt prompt";
297
+ }
298
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-hasPrompt:has(.wds-list-item-button-control) {
299
+ grid-template-columns: 1fr;
300
+ grid-template-rows: auto;
301
+ grid-template-areas: "body" "info" "prompt" "control";
302
+ }
303
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-noPrompt {
304
+ grid-template-columns: 1fr auto;
305
+ grid-template-rows: auto auto;
306
+ grid-template-areas: "body control" "info control";
307
+ }
308
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-noPrompt:has(.wds-list-item-button-control) {
309
+ grid-template-columns: 1fr;
310
+ grid-template-rows: auto;
311
+ grid-template-areas: "body" "info" "control";
312
+ }
313
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-hasPrompt {
314
+ grid-template-columns: 1fr auto;
315
+ grid-template-rows: auto auto;
316
+ grid-template-areas: "body control" "prompt prompt";
317
+ }
318
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-hasPrompt:has(.wds-list-item-button-control) {
319
+ grid-template-columns: 1fr;
320
+ grid-template-rows: auto;
321
+ grid-template-areas: "body" "prompt" "control";
322
+ }
323
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-noPrompt {
324
+ grid-template-columns: 1fr auto;
325
+ grid-template-rows: auto;
326
+ grid-template-areas: "body control";
327
+ }
328
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-noPrompt:has(.wds-list-item-button-control) {
329
+ grid-template-columns: 1fr;
330
+ grid-template-rows: auto;
331
+ grid-template-areas: "body" "control";
332
+ }
333
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-noControl .wds-list-item-prompt {
334
+ grid-column: 1 / -1;
335
+ }
336
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-hasInfo-hasPrompt {
337
+ grid-template-columns: 1fr;
338
+ grid-template-rows: auto auto auto;
339
+ grid-template-areas: "body" "info" "prompt";
340
+ }
341
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-hasInfo-noPrompt {
342
+ grid-template-columns: 1fr;
343
+ grid-template-rows: auto auto;
344
+ grid-template-areas: "body" "info";
345
+ }
346
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-noInfo-hasPrompt {
347
+ grid-template-columns: 1fr;
348
+ grid-template-rows: auto auto;
349
+ grid-template-areas: "body" "prompt";
350
+ }
351
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-noInfo-noPrompt {
352
+ grid-template-columns: 1fr;
353
+ grid-template-rows: auto;
354
+ grid-template-areas: "body";
355
+ }
356
+ .wds-list-item-gridWrapper .wds-list-item-media {
357
+ display: none;
358
+ }
359
+ .wds-list-item-gridWrapper .wds-list-item-body {
360
+ grid-area: body;
361
+ display: grid;
362
+ grid-template-columns: 1fr;
363
+ justify-items: start;
364
+ grid-gap: 0;
365
+ gap: 0;
366
+ }
367
+ .wds-list-item-gridWrapper .wds-list-item-body .wds-list-item-value {
368
+ text-align: left;
369
+ }
370
+ }
371
+ .wds-list-item-prompt {
372
+ grid-area: prompt;
373
+ display: inline-flex;
374
+ justify-self: start;
375
+ text-align: left;
376
+ padding-top: calc(8px / 2);
377
+ padding-top: calc(var(--padding-x-small) / 2);
378
+ padding-bottom: calc(8px / 2);
379
+ padding-bottom: calc(var(--padding-x-small) / 2);
380
+ padding-left: calc(8px - 1px);
381
+ padding-left: calc(var(--padding-x-small) - 1px);
382
+ padding-right: 8px;
383
+ padding-right: var(--padding-x-small);
384
+ border-radius: 10px;
385
+ border-radius: var(--radius-small);
386
+ word-break: break-word;
387
+ word-wrap: break-word;
388
+ }
389
+ .wds-list-item-prompt:has(a),
390
+ .wds-list-item-prompt:has(button) {
391
+ position: relative;
392
+ z-index: 1;
393
+ }
394
+ .wds-list-item-prompt a,
395
+ .wds-list-item-prompt button {
396
+ text-underline-offset: calc(4px / 2);
397
+ text-underline-offset: calc(var(--size-4) / 2);
398
+ }
399
+ .wds-list-item-prompt a:first-of-type:before,
400
+ .wds-list-item-prompt button:first-of-type:before {
401
+ content: '';
402
+ position: absolute;
403
+ inset: 0;
404
+ }
405
+ .wds-list-item-prompt.np-prompt-icon {
406
+ padding-left: calc(8px - 1px);
407
+ padding-left: calc(var(--padding-x-small) - 1px);
408
+ padding-right: 8px;
409
+ padding-right: var(--padding-x-small);
410
+ display: inline-flex;
411
+ align-items: center;
412
+ gap: 4px;
413
+ gap: var(--size-4);
414
+ }
415
+ .wds-list-item-prompt .np-prompt-icon {
416
+ padding-right: calc(12px / 2);
417
+ padding-right: calc(var(--size-12) / 2);
418
+ padding-top: calc(4px - 1px);
419
+ padding-top: calc(var(--size-4) - 1px);
420
+ padding-bottom: calc(4px - 1px);
421
+ padding-bottom: calc(var(--size-4) - 1px);
422
+ }
423
+ .wds-list-item-prompt .np-prompt-icon .tw-icon-tags,
424
+ .wds-list-item-prompt .np-prompt-icon .tw-icon-confetti {
425
+ color: var(--color-sentiment-positive-primary);
426
+ }
427
+ .wds-list-item-prompt.negative {
428
+ background-color: var(--color-sentiment-negative-secondary);
429
+ color: var(--color-sentiment-negative-primary);
430
+ }
431
+ .wds-list-item-prompt.negative a,
432
+ .wds-list-item-prompt.negative button {
433
+ color: var(--color-sentiment-negative-primary);
434
+ }
435
+ .wds-list-item-prompt.negative a:hover,
436
+ .wds-list-item-prompt.negative button:hover {
437
+ color: var(--color-sentiment-negative-primary-hover);
438
+ }
439
+ .wds-list-item-prompt.negative a:active,
440
+ .wds-list-item-prompt.negative button:active {
441
+ color: var(--color-sentiment-negative-primary-active);
442
+ }
443
+ .wds-list-item-prompt.wds-list-item-prompt.negative:has(a, button):hover {
444
+ background-color: var(--color-sentiment-negative-secondary-hover);
445
+ }
446
+ .wds-list-item-prompt.wds-list-item-prompt.negative:has(a, button):active {
447
+ background-color: var(--color-sentiment-negative-secondary-active);
448
+ }
449
+ .wds-list-item-prompt.positive,
450
+ .wds-list-item-prompt.discount,
451
+ .wds-list-item-prompt.savings {
452
+ background-color: var(--color-sentiment-positive-secondary);
453
+ color: var(--color-sentiment-positive-primary);
454
+ }
455
+ .wds-list-item-prompt.positive a,
456
+ .wds-list-item-prompt.discount a,
457
+ .wds-list-item-prompt.savings a,
458
+ .wds-list-item-prompt.positive button,
459
+ .wds-list-item-prompt.discount button,
460
+ .wds-list-item-prompt.savings button {
461
+ color: var(--color-sentiment-positive-primary);
462
+ }
463
+ .wds-list-item-prompt.positive a:hover,
464
+ .wds-list-item-prompt.discount a:hover,
465
+ .wds-list-item-prompt.savings a:hover,
466
+ .wds-list-item-prompt.positive button:hover,
467
+ .wds-list-item-prompt.discount button:hover,
468
+ .wds-list-item-prompt.savings button:hover {
469
+ color: var(--color-sentiment-positive-primary-hover);
470
+ }
471
+ .wds-list-item-prompt.positive a:active,
472
+ .wds-list-item-prompt.discount a:active,
473
+ .wds-list-item-prompt.savings a:active,
474
+ .wds-list-item-prompt.positive button:active,
475
+ .wds-list-item-prompt.discount button:active,
476
+ .wds-list-item-prompt.savings button:active {
477
+ color: var(--color-sentiment-positive-primary-active);
478
+ }
479
+ .wds-list-item-prompt.wds-list-item-prompt.positive:has(a, button):hover,
480
+ .wds-list-item-prompt.wds-list-item-prompt.discount:has(a, button):hover,
481
+ .wds-list-item-prompt.wds-list-item-prompt.savings:has(a, button):hover {
482
+ background-color: var(--color-sentiment-positive-secondary-hover);
483
+ }
484
+ .wds-list-item-prompt.wds-list-item-prompt.positive:has(a, button):active,
485
+ .wds-list-item-prompt.wds-list-item-prompt.discount:has(a, button):active,
486
+ .wds-list-item-prompt.wds-list-item-prompt.savings:has(a, button):active {
487
+ background-color: var(--color-sentiment-positive-secondary-active);
488
+ }
489
+ .wds-list-item-prompt.neutral {
490
+ background-color: rgba(134,167,189,0.10196);
491
+ background-color: var(--color-background-neutral);
492
+ color: #37517e;
493
+ color: var(--color-content-primary);
494
+ }
495
+ .wds-list-item-prompt.neutral a,
496
+ .wds-list-item-prompt.neutral button {
497
+ color: #37517e;
498
+ color: var(--color-content-primary);
499
+ }
500
+ .wds-list-item-prompt.wds-list-item-prompt.neutral:has(a, button):hover {
501
+ background-color: var(--color-background-neutral-hover);
502
+ }
503
+ .wds-list-item-prompt.wds-list-item-prompt.neutral:has(a, button):active {
504
+ background-color: var(--color-background-neutral-active);
505
+ }
506
+ .wds-list-item-prompt.warning {
507
+ background-color: var(--color-sentiment-warning-secondary);
508
+ color: var(--color-sentiment-warning-content);
509
+ }
510
+ .wds-list-item-prompt.warning a,
511
+ .wds-list-item-prompt.warning button {
512
+ color: var(--color-sentiment-warning-content);
513
+ }
514
+ .wds-list-item-prompt.warning a:hover,
515
+ .wds-list-item-prompt.warning button:hover {
516
+ color: var(--color-sentiment-warning-content-hover);
517
+ }
518
+ .wds-list-item-prompt.warning a:active,
519
+ .wds-list-item-prompt.warning button:active {
520
+ color: var(--color-sentiment-warning-content-active);
521
+ }
522
+ .wds-list-item-prompt.wds-list-item-prompt.warning:has(a, button):hover {
523
+ background-color: color-mix(in srgb, var(--color-sentiment-warning-secondary) 92%, var(--color-sentiment-warning-primary));
524
+ }
525
+ .wds-list-item-prompt.wds-list-item-prompt.warning:has(a, button):active {
526
+ background-color: color-mix(in srgb, var(--color-sentiment-warning-secondary) 84%, var(--color-sentiment-warning-primary));
527
+ }
528
+ .wds-list-item {
529
+ list-style: none;
530
+ width: 100%;
531
+ border-radius: 16px;
532
+ border-radius: var(--radius-medium);
533
+ background-color: #ffffff;
534
+ background-color: var(--color-background-screen);
535
+ position: relative;
536
+ padding: 12px 0;
537
+ padding: var(--size-12) 0;
538
+ container-type: inline-size;
539
+ }
540
+ .wds-list-item + .wds-list-item-spotlight,
541
+ .wds-list-item-spotlight + .wds-list-item {
542
+ margin-top: 16px;
543
+ margin-top: var(--size-16);
544
+ }
545
+ .wds-list-item:focus-within {
546
+ z-index: 1;
547
+ }
548
+ .wds-list-item-view {
549
+ display: grid;
550
+ grid-column: 1 / -1;
551
+ grid-row: 1 / -1;
552
+ grid-template-columns: subgrid;
553
+ grid-template-rows: subgrid;
554
+ }
555
+ .wds-list-item-view.fullyInteractive {
556
+ margin-bottom: 0;
557
+ }
558
+ .wds-list-item-view.fullyInteractive:before {
559
+ content: '';
560
+ position: absolute;
561
+ inset: 0;
562
+ }
563
+ .wds-list-item a {
564
+ text-underline-offset: calc(4px / 2);
565
+ text-underline-offset: calc(var(--size-4) / 2);
566
+ }
567
+ .wds-list-item-interactive .wds-list-item-control:focus-visible,
568
+ .wds-list-item-interactive .np-checkbox-button:has(input[type="checkbox"]:focus-visible) .tw-checkbox-button {
569
+ outline: none;
570
+ }
571
+ .wds-list-item-interactive .wds-list-item-additional-info {
572
+ --ring-outline-offset: 0;
573
+ }
574
+ .wds-list-item-interactive a.wds-list-item-control,
575
+ .wds-list-item-interactive a.wds-list-item-control:hover,
576
+ .wds-list-item-interactive a.wds-list-item-control:focus {
577
+ -webkit-text-decoration: none;
578
+ text-decoration: none;
579
+ }
580
+ .wds-list-item-interactive a.wds-list-item-control:has(.wds-list-item-control_pseudo-element) {
581
+ position: relative;
582
+ z-index: 1;
583
+ }
584
+ .wds-list-item-interactive a.wds-list-item-control.wds-list-item-control_pseudo-element:before {
585
+ content: '';
586
+ position: absolute;
587
+ inset: 0;
588
+ }
589
+ .wds-list-item-interactive.wds-list-item-spotlight:has(.wds-list-item-control:focus-visible),
590
+ .wds-list-item-interactive.wds-list-item-spotlight:has(input[type="checkbox"]:focus-visible) {
591
+ outline: var(--ring-outline-color) solid var(--ring-outline-width);
592
+ outline-offset: var(--ring-outline-offset);
593
+ outline-offset: -1px;
594
+ }
595
+ .wds-list-item-interactive.wds-list-item-spotlight:not(.disabled):not(:disabled):hover {
596
+ background-color: var(--color-background-screen-hover);
597
+ }
598
+ .wds-list-item-interactive.wds-list-item-spotlight:not(.disabled):not(:disabled):active {
599
+ background-color: var(--color-background-screen-active);
600
+ }
601
+ .wds-list-item-interactive.wds-list-item-spotlight:has(.wds-list-item-prompt:hover a, .wds-list-item-prompt:hover button):hover {
602
+ background-color: transparent;
603
+ background-color: initial;
604
+ }
605
+ .wds-list-item-interactive:not(.wds-list-item-spotlight):has(.wds-list-item-control:focus-visible):before,
606
+ .wds-list-item-interactive:not(.wds-list-item-spotlight):has(input[type="checkbox"]:focus-visible):before {
607
+ outline: var(--ring-outline-color) solid var(--ring-outline-width);
608
+ outline-offset: var(--ring-outline-offset);
609
+ content: '';
610
+ position: absolute;
611
+ inset: 0 -8px;
612
+ border-radius: 16px;
613
+ border-radius: var(--radius-medium);
614
+ outline-offset: -1px;
615
+ }
616
+ .wds-list-item-interactive:not(.wds-list-item-spotlight):not(.disabled):not(:disabled):hover:before,
617
+ .wds-list-item-interactive:not(.wds-list-item-spotlight):not(.disabled):not(:disabled):active:before {
618
+ content: '';
619
+ position: absolute;
620
+ inset: 0 -8px;
621
+ border-radius: 16px;
622
+ border-radius: var(--radius-medium);
623
+ }
624
+ .wds-list-item-interactive:not(.wds-list-item-spotlight):not(.disabled):not(:disabled):hover:before {
625
+ background-color: var(--color-background-screen-hover);
626
+ }
627
+ .wds-list-item-interactive:not(.wds-list-item-spotlight):not(.disabled):not(:disabled):active:before {
628
+ background-color: var(--color-background-screen-active);
629
+ }
630
+ .wds-list-item-interactive:not(.wds-list-item-spotlight):has(.wds-list-item-prompt:hover a, .wds-list-item-prompt:hover button):hover:before {
631
+ background-color: transparent;
632
+ background-color: initial;
633
+ }
634
+ .wds-list-item-interactive:not(.disabled):not(:disabled):hover .wds-list-item-control-wrapper .wds-Button {
635
+ background-color: var(--Button-background-hover);
636
+ color: var(--Button-color-hover);
637
+ transition: none;
638
+ }
639
+ .wds-list-item-interactive .wds-list-item-button-control .wds-Button {
640
+ transition: none;
641
+ }
642
+ .wds-list-item-media {
643
+ grid-area: media;
644
+ display: flex;
645
+ align-items: start;
646
+ }
647
+ .wds-list-item-media-image-wrapper {
648
+ width: var(--wds-list-item-media-size);
649
+ height: var(--wds-list-item-media-size);
650
+ }
651
+ .wds-list-item-media-image {
652
+ width: 100%;
653
+ height: 100%;
654
+ -o-object-fit: contain;
655
+ object-fit: contain;
656
+ }
657
+ .wds-list-item-body {
658
+ grid-area: body;
659
+ align-items: center;
660
+ width: 100%;
661
+ display: grid;
662
+ grid-template-columns: 1fr max-content;
663
+ grid-template-columns: var(--wds-list-item-body-left, 1fr) var(--wds-list-item-body-right, max-content);
664
+ grid-gap: 16px;
665
+ grid-gap: var(--size-16);
666
+ gap: 16px;
667
+ gap: var(--size-16);
668
+ word-break: break-word;
669
+ }
670
+ .wds-list-item-title,
671
+ .wds-list-item-title-value {
672
+ color: #37517e;
673
+ color: var(--color-content-primary);
674
+ }
675
+ .wds-list-item-value {
676
+ text-align: right;
677
+ }
678
+ .wds-list-item-body-center {
679
+ display: flex;
680
+ flex-direction: row;
681
+ align-items: center;
682
+ }
683
+ .wds-list-item-additional-info {
684
+ grid-area: info;
685
+ color: #768e9c;
686
+ color: var(--color-content-tertiary);
687
+ margin-top: calc(4px * -1);
688
+ margin-top: calc(var(--size-4) * -1);
689
+ }
690
+ .wds-list-item-additional-info button.np-link {
691
+ text-align: start;
692
+ }
693
+ .wds-list-item-control-wrapper {
694
+ grid-area: control;
695
+ align-content: center;
696
+ height: var(--wds-list-item-control-wrapper-height);
697
+ }
698
+ .wds-list-item-navigation .tw-icon-chevron-right {
699
+ color: #c9cbce;
700
+ color: var(--color-interactive-secondary);
701
+ }
702
+ .wds-list-item-control {
703
+ flex: 0 0 auto;
704
+ }
705
+ .wds-list-item.disabled {
706
+ filter: none;
707
+ opacity: 1;
708
+ }
709
+ .wds-list-item.disabled label {
710
+ cursor: not-allowed;
711
+ }
712
+ .wds-list-item.disabled .tw-icon-backslash-circle {
713
+ color: #768e9c;
714
+ color: var(--color-content-tertiary);
715
+ }
716
+ .wds-list-item-spotlight {
717
+ padding-left: 12px;
718
+ padding-left: var(--size-12);
719
+ padding-right: 12px;
720
+ padding-right: var(--size-12);
721
+ }
722
+ .wds-list-item-spotlight-active {
723
+ background-color: rgba(134,167,189,0.10196);
724
+ background-color: var(--color-background-neutral);
725
+ }
726
+ .wds-list-item-spotlight-active:not(.disabled):not(:disabled):hover {
727
+ background-color: var(--color-background-neutral-hover);
728
+ }
729
+ .wds-list-item-spotlight-active:not(.disabled):not(:disabled):active {
730
+ background-color: var(--color-background-neutral-active);
731
+ }
732
+ .wds-list-item-spotlight-inactive {
733
+ background-color: rgba(134, 167, 189, 0.025);
734
+ }
735
+ @supports (color: color-mix(in lch, red, blue)) {
736
+ .wds-list-item-spotlight-inactive {
737
+ background-color: color-mix(in srgb, var(--color-background-neutral) 25%, transparent);
738
+ }
739
+ }
740
+ .wds-list-item-spotlight-inactive:not(.disabled):not(:disabled):hover {
741
+ background-color: color-mix(in srgb, var(--color-background-neutral-hover) 25%, transparent);
742
+ }
743
+ .wds-list-item-spotlight-inactive:not(.disabled):not(:disabled):active {
744
+ background-color: color-mix(in srgb, var(--color-background-neutral-active) 25%, transparent);
745
+ }
746
+ .wds-list-item .wds-list-item-spotlight__border {
747
+ position: absolute;
748
+ inset: 0;
749
+ width: 100%;
750
+ height: 100%;
751
+ }
752
+ .wds-list-item .wds-list-item-spotlight__border rect {
753
+ --wds-list-item-spotlight-borderWidth: 1px;
754
+ --wds-list-item-spotlight-borderWidthOffset: 0.5px;
755
+ --wds-list-item-spotlight-strokeDashSize: calc(var(--size-12) * 0.5);
756
+ fill: none;
757
+ stroke: rgba(0,0,0,0.10196);
758
+ stroke: var(--color-border-neutral);
759
+ width: calc(100% - 1px);
760
+ width: calc(100% - var(--wds-list-item-spotlight-borderWidth));
761
+ height: calc(100% - 1px);
762
+ height: calc(100% - var(--wds-list-item-spotlight-borderWidth));
763
+ x: 0.5px;
764
+ x: var(--wds-list-item-spotlight-borderWidthOffset);
765
+ y: 0.5px;
766
+ y: var(--wds-list-item-spotlight-borderWidthOffset);
767
+ rx: calc(16px - 0.5px);
768
+ rx: calc(var(--radius-medium) - var(--wds-list-item-spotlight-borderWidthOffset));
769
+ ry: calc(16px - 0.5px);
770
+ ry: calc(var(--radius-medium) - var(--wds-list-item-spotlight-borderWidthOffset));
771
+ stroke-dasharray: calc(12px * 0.5) calc(12px * 0.5);
772
+ stroke-dasharray: var(--wds-list-item-spotlight-strokeDashSize) var(--wds-list-item-spotlight-strokeDashSize);
773
+ }