@transferwise/components 0.0.0-experimental-e06e456 → 0.0.0-experimental-e3978a5

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 (201) hide show
  1. package/build/index.js +2 -0
  2. package/build/index.js.map +1 -1
  3. package/build/index.mjs +1 -0
  4. package/build/index.mjs.map +1 -1
  5. package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.js +56 -0
  6. package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.js.map +1 -0
  7. package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.mjs +54 -0
  8. package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.mjs.map +1 -0
  9. package/build/listItem/AvatarLayout/ListItemAvatarLayout.js +23 -0
  10. package/build/listItem/AvatarLayout/ListItemAvatarLayout.js.map +1 -0
  11. package/build/listItem/AvatarLayout/ListItemAvatarLayout.mjs +21 -0
  12. package/build/listItem/AvatarLayout/ListItemAvatarLayout.mjs.map +1 -0
  13. package/build/listItem/AvatarView/ListItemAvatarView.js +23 -0
  14. package/build/listItem/AvatarView/ListItemAvatarView.js.map +1 -0
  15. package/build/listItem/AvatarView/ListItemAvatarView.mjs +21 -0
  16. package/build/listItem/AvatarView/ListItemAvatarView.mjs.map +1 -0
  17. package/build/listItem/Button/ListItemButton.js +43 -0
  18. package/build/listItem/Button/ListItemButton.js.map +1 -0
  19. package/build/listItem/Button/ListItemButton.mjs +41 -0
  20. package/build/listItem/Button/ListItemButton.mjs.map +1 -0
  21. package/build/listItem/Checkbox/ListItemCheckbox.js +30 -0
  22. package/build/listItem/Checkbox/ListItemCheckbox.js.map +1 -0
  23. package/build/listItem/Checkbox/ListItemCheckbox.mjs +28 -0
  24. package/build/listItem/Checkbox/ListItemCheckbox.mjs.map +1 -0
  25. package/build/listItem/IconButton/ListItemIconButton.js +56 -0
  26. package/build/listItem/IconButton/ListItemIconButton.js.map +1 -0
  27. package/build/listItem/IconButton/ListItemIconButton.mjs +54 -0
  28. package/build/listItem/IconButton/ListItemIconButton.mjs.map +1 -0
  29. package/build/listItem/Image/ListItemImage.js +31 -0
  30. package/build/listItem/Image/ListItemImage.js.map +1 -0
  31. package/build/listItem/Image/ListItemImage.mjs +29 -0
  32. package/build/listItem/Image/ListItemImage.mjs.map +1 -0
  33. package/build/listItem/ListItem.js +313 -0
  34. package/build/listItem/ListItem.js.map +1 -0
  35. package/build/listItem/ListItem.mjs +308 -0
  36. package/build/listItem/ListItem.mjs.map +1 -0
  37. package/build/listItem/ListItemContext.js +8 -0
  38. package/build/listItem/ListItemContext.js.map +1 -0
  39. package/build/listItem/ListItemContext.mjs +6 -0
  40. package/build/listItem/ListItemContext.mjs.map +1 -0
  41. package/build/listItem/Navigation/ListItemNavigation.js +44 -0
  42. package/build/listItem/Navigation/ListItemNavigation.js.map +1 -0
  43. package/build/listItem/Navigation/ListItemNavigation.mjs +42 -0
  44. package/build/listItem/Navigation/ListItemNavigation.mjs.map +1 -0
  45. package/build/listItem/Prompt/ListItemPrompt.js +59 -0
  46. package/build/listItem/Prompt/ListItemPrompt.js.map +1 -0
  47. package/build/listItem/Prompt/ListItemPrompt.mjs +54 -0
  48. package/build/listItem/Prompt/ListItemPrompt.mjs.map +1 -0
  49. package/build/listItem/Radio/ListItemRadio.js +30 -0
  50. package/build/listItem/Radio/ListItemRadio.js.map +1 -0
  51. package/build/listItem/Radio/ListItemRadio.mjs +28 -0
  52. package/build/listItem/Radio/ListItemRadio.mjs.map +1 -0
  53. package/build/listItem/Switch/ListItemSwitch.js +30 -0
  54. package/build/listItem/Switch/ListItemSwitch.js.map +1 -0
  55. package/build/listItem/Switch/ListItemSwitch.mjs +28 -0
  56. package/build/listItem/Switch/ListItemSwitch.mjs.map +1 -0
  57. package/build/listItem/useListItemControl.js +22 -0
  58. package/build/listItem/useListItemControl.js.map +1 -0
  59. package/build/listItem/useListItemControl.mjs +20 -0
  60. package/build/listItem/useListItemControl.mjs.map +1 -0
  61. package/build/listItem/useListItemMedia.js +21 -0
  62. package/build/listItem/useListItemMedia.js.map +1 -0
  63. package/build/listItem/useListItemMedia.mjs +19 -0
  64. package/build/listItem/useListItemMedia.mjs.map +1 -0
  65. package/build/main.css +771 -1
  66. package/build/styles/button/Button.css +1 -1
  67. package/build/styles/listItem/ListItem.css +770 -0
  68. package/build/styles/listItem/ListItem.grid.css +370 -0
  69. package/build/styles/main.css +771 -1
  70. package/build/types/index.d.ts +2 -0
  71. package/build/types/index.d.ts.map +1 -1
  72. package/build/types/listItem/AdditionalInfo/ListItemAdditionalInfo.d.ts +15 -0
  73. package/build/types/listItem/AdditionalInfo/ListItemAdditionalInfo.d.ts.map +1 -0
  74. package/build/types/listItem/AdditionalInfo/index.d.ts +3 -0
  75. package/build/types/listItem/AdditionalInfo/index.d.ts.map +1 -0
  76. package/build/types/listItem/AvatarLayout/ListItemAvatarLayout.d.ts +18 -0
  77. package/build/types/listItem/AvatarLayout/ListItemAvatarLayout.d.ts.map +1 -0
  78. package/build/types/listItem/AvatarLayout/index.d.ts +3 -0
  79. package/build/types/listItem/AvatarLayout/index.d.ts.map +1 -0
  80. package/build/types/listItem/AvatarView/ListItemAvatarView.d.ts +16 -0
  81. package/build/types/listItem/AvatarView/ListItemAvatarView.d.ts.map +1 -0
  82. package/build/types/listItem/AvatarView/index.d.ts +3 -0
  83. package/build/types/listItem/AvatarView/index.d.ts.map +1 -0
  84. package/build/types/listItem/Button/ListItemButton.d.ts +20 -0
  85. package/build/types/listItem/Button/ListItemButton.d.ts.map +1 -0
  86. package/build/types/listItem/Button/index.d.ts +3 -0
  87. package/build/types/listItem/Button/index.d.ts.map +1 -0
  88. package/build/types/listItem/Checkbox/ListItemCheckbox.d.ts +14 -0
  89. package/build/types/listItem/Checkbox/ListItemCheckbox.d.ts.map +1 -0
  90. package/build/types/listItem/Checkbox/index.d.ts +3 -0
  91. package/build/types/listItem/Checkbox/index.d.ts.map +1 -0
  92. package/build/types/listItem/IconButton/ListItemIconButton.d.ts +18 -0
  93. package/build/types/listItem/IconButton/ListItemIconButton.d.ts.map +1 -0
  94. package/build/types/listItem/IconButton/index.d.ts +3 -0
  95. package/build/types/listItem/IconButton/index.d.ts.map +1 -0
  96. package/build/types/listItem/Image/ListItemImage.d.ts +25 -0
  97. package/build/types/listItem/Image/ListItemImage.d.ts.map +1 -0
  98. package/build/types/listItem/Image/index.d.ts +3 -0
  99. package/build/types/listItem/Image/index.d.ts.map +1 -0
  100. package/build/types/listItem/ListItem.d.ts +113 -0
  101. package/build/types/listItem/ListItem.d.ts.map +1 -0
  102. package/build/types/listItem/ListItemContext.d.ts +21 -0
  103. package/build/types/listItem/ListItemContext.d.ts.map +1 -0
  104. package/build/types/listItem/Navigation/ListItemNavigation.d.ts +15 -0
  105. package/build/types/listItem/Navigation/ListItemNavigation.d.ts.map +1 -0
  106. package/build/types/listItem/Navigation/index.d.ts +3 -0
  107. package/build/types/listItem/Navigation/index.d.ts.map +1 -0
  108. package/build/types/listItem/Prompt/ListItemPrompt.d.ts +16 -0
  109. package/build/types/listItem/Prompt/ListItemPrompt.d.ts.map +1 -0
  110. package/build/types/listItem/Prompt/index.d.ts +3 -0
  111. package/build/types/listItem/Prompt/index.d.ts.map +1 -0
  112. package/build/types/listItem/Radio/ListItemRadio.d.ts +14 -0
  113. package/build/types/listItem/Radio/ListItemRadio.d.ts.map +1 -0
  114. package/build/types/listItem/Radio/index.d.ts +3 -0
  115. package/build/types/listItem/Radio/index.d.ts.map +1 -0
  116. package/build/types/listItem/Switch/ListItemSwitch.d.ts +14 -0
  117. package/build/types/listItem/Switch/ListItemSwitch.d.ts.map +1 -0
  118. package/build/types/listItem/Switch/index.d.ts +3 -0
  119. package/build/types/listItem/Switch/index.d.ts.map +1 -0
  120. package/build/types/listItem/_stories/helpers.d.ts +27 -0
  121. package/build/types/listItem/_stories/helpers.d.ts.map +1 -0
  122. package/build/types/listItem/_stories/subcomponents.d.ts +18 -0
  123. package/build/types/listItem/_stories/subcomponents.d.ts.map +1 -0
  124. package/build/types/listItem/index.d.ts +14 -0
  125. package/build/types/listItem/index.d.ts.map +1 -0
  126. package/build/types/listItem/test-utils.d.ts +7 -0
  127. package/build/types/listItem/test-utils.d.ts.map +1 -0
  128. package/build/types/listItem/useListItemControl.d.ts +5 -0
  129. package/build/types/listItem/useListItemControl.d.ts.map +1 -0
  130. package/build/types/listItem/useListItemMedia.d.ts +6 -0
  131. package/build/types/listItem/useListItemMedia.d.ts.map +1 -0
  132. package/package.json +1 -1
  133. package/src/button/Button.css +1 -1
  134. package/src/button/Button.less +1 -1
  135. package/src/button/Button.story.tsx +4 -9
  136. package/src/index.ts +15 -0
  137. package/src/list/List.story.tsx +13 -3
  138. package/src/listItem/AdditionalInfo/ListItemAdditionalInfo.spec.tsx +56 -0
  139. package/src/listItem/AdditionalInfo/ListItemAdditionalInfo.story.tsx +198 -0
  140. package/src/listItem/AdditionalInfo/ListItemAdditionalInfo.tsx +36 -0
  141. package/src/listItem/AdditionalInfo/index.ts +2 -0
  142. package/src/listItem/AvatarLayout/ListItemAvatarLayout.spec.tsx +59 -0
  143. package/src/listItem/AvatarLayout/ListItemAvatarLayout.story.tsx +124 -0
  144. package/src/listItem/AvatarLayout/ListItemAvatarLayout.tsx +27 -0
  145. package/src/listItem/AvatarLayout/index.ts +2 -0
  146. package/src/listItem/AvatarView/ListItemAvatarView.spec.tsx +75 -0
  147. package/src/listItem/AvatarView/ListItemAvatarView.story.tsx +339 -0
  148. package/src/listItem/AvatarView/ListItemAvatarView.tsx +27 -0
  149. package/src/listItem/AvatarView/index.ts +2 -0
  150. package/src/listItem/Button/ListItemButton.spec.tsx +68 -0
  151. package/src/listItem/Button/ListItemButton.story.tsx +473 -0
  152. package/src/listItem/Button/ListItemButton.tsx +56 -0
  153. package/src/listItem/Button/index.ts +2 -0
  154. package/src/listItem/Checkbox/ListItemCheckbox.spec.tsx +82 -0
  155. package/src/listItem/Checkbox/ListItemCheckbox.story.tsx +128 -0
  156. package/src/listItem/Checkbox/ListItemCheckbox.tsx +33 -0
  157. package/src/listItem/Checkbox/index.ts +2 -0
  158. package/src/listItem/IconButton/ListItemIconButton.spec.tsx +119 -0
  159. package/src/listItem/IconButton/ListItemIconButton.story.tsx +284 -0
  160. package/src/listItem/IconButton/ListItemIconButton.tsx +73 -0
  161. package/src/listItem/IconButton/index.ts +2 -0
  162. package/src/listItem/Image/ListItemImage.spec.tsx +30 -0
  163. package/src/listItem/Image/ListItemImage.story.tsx +80 -0
  164. package/src/listItem/Image/ListItemImage.tsx +46 -0
  165. package/src/listItem/Image/index.ts +2 -0
  166. package/src/listItem/ListItem.css +770 -0
  167. package/src/listItem/ListItem.grid.css +370 -0
  168. package/src/listItem/ListItem.grid.less +622 -0
  169. package/src/listItem/ListItem.less +421 -0
  170. package/src/listItem/ListItem.spec.tsx +1521 -0
  171. package/src/listItem/ListItem.tsx +444 -0
  172. package/src/listItem/ListItemContext.tsx +26 -0
  173. package/src/listItem/Navigation/ListItemNavigation.spec.tsx +59 -0
  174. package/src/listItem/Navigation/ListItemNavigation.story.tsx +112 -0
  175. package/src/listItem/Navigation/ListItemNavigation.tsx +39 -0
  176. package/src/listItem/Navigation/index.ts +2 -0
  177. package/src/listItem/Prompt/ListItemPrompt.spec.tsx +36 -0
  178. package/src/listItem/Prompt/ListItemPrompt.story.tsx +204 -0
  179. package/src/listItem/Prompt/ListItemPrompt.tsx +32 -0
  180. package/src/listItem/Prompt/index.ts +2 -0
  181. package/src/listItem/Radio/ListItemRadio.spec.tsx +66 -0
  182. package/src/listItem/Radio/ListItemRadio.story.tsx +111 -0
  183. package/src/listItem/Radio/ListItemRadio.tsx +33 -0
  184. package/src/listItem/Radio/index.ts +2 -0
  185. package/src/listItem/Switch/ListItemSwitch.spec.tsx +47 -0
  186. package/src/listItem/Switch/ListItemSwitch.story.tsx +79 -0
  187. package/src/listItem/Switch/ListItemSwitch.tsx +33 -0
  188. package/src/listItem/Switch/index.ts +2 -0
  189. package/src/listItem/_stories/ListItem.focus.test.story.tsx +265 -0
  190. package/src/listItem/_stories/ListItem.layout.test.story.tsx +354 -0
  191. package/src/listItem/_stories/ListItem.scenarios.story.tsx +228 -0
  192. package/src/listItem/_stories/ListItem.story.tsx +775 -0
  193. package/src/listItem/_stories/ListItem.variants.test.story.tsx +271 -0
  194. package/src/listItem/_stories/helpers.tsx +53 -0
  195. package/src/listItem/_stories/subcomponents.tsx +139 -0
  196. package/src/listItem/index.ts +14 -0
  197. package/src/listItem/test-utils.tsx +33 -0
  198. package/src/listItem/useListItemControl.tsx +18 -0
  199. package/src/listItem/useListItemMedia.tsx +16 -0
  200. package/src/main.css +771 -1
  201. package/src/main.less +1 -0
@@ -741,7 +741,7 @@
741
741
  justify-content: center;
742
742
  vertical-align: middle;
743
743
  text-align: center;
744
- white-space: normal;
744
+ white-space: nowrap;
745
745
  word-wrap: break-word;
746
746
  -webkit-appearance: none;
747
747
  -moz-appearance: none;
@@ -2635,6 +2635,776 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
2635
2635
  border-radius: 9999px !important;
2636
2636
  border-radius: var(--radius-full) !important;
2637
2637
  }
2638
+ .wds-list-item-gridWrapper {
2639
+ display: grid;
2640
+ grid-gap: 4px 16px;
2641
+ grid-gap: var(--size-4) var(--size-16);
2642
+ gap: 4px 16px;
2643
+ gap: var(--size-4) var(--size-16);
2644
+ }
2645
+ @container (min-width: 375px) {
2646
+ .wds-list-item-gridWrapper .wds-list-item-media-image {
2647
+ -o-object-position: center;
2648
+ object-position: center;
2649
+ }
2650
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
2651
+ grid-template-columns: auto 1fr auto;
2652
+ grid-template-rows: auto auto auto;
2653
+ grid-template-areas: "media body control" ". info ." ". prompt prompt";
2654
+ }
2655
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-noPrompt {
2656
+ grid-template-columns: auto 1fr auto;
2657
+ grid-template-rows: auto auto;
2658
+ grid-template-areas: "media body control" ". info .";
2659
+ }
2660
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-hasPrompt {
2661
+ grid-template-columns: auto 1fr auto;
2662
+ grid-template-rows: auto auto;
2663
+ grid-template-areas: "media body control" ". prompt prompt";
2664
+ }
2665
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-noPrompt {
2666
+ grid-template-columns: auto 1fr auto;
2667
+ grid-template-rows: auto;
2668
+ grid-template-areas: "media body control";
2669
+ }
2670
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-hasInfo-hasPrompt {
2671
+ grid-template-columns: auto 1fr;
2672
+ grid-template-rows: auto auto;
2673
+ grid-template-areas: "media body" ". info" ". prompt";
2674
+ }
2675
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-hasInfo-noPrompt {
2676
+ grid-template-columns: auto 1fr;
2677
+ grid-template-rows: auto auto auto;
2678
+ grid-template-areas: "media body" ". info";
2679
+ }
2680
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-noInfo-hasPrompt {
2681
+ grid-template-columns: auto 1fr;
2682
+ grid-template-rows: auto auto;
2683
+ grid-template-areas: "media body" ". prompt";
2684
+ }
2685
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-noInfo-noPrompt {
2686
+ grid-template-columns: auto 1fr;
2687
+ grid-template-rows: auto;
2688
+ grid-template-areas: "media body";
2689
+ }
2690
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl .wds-list-item-prompt {
2691
+ grid-column: 1 / -1;
2692
+ }
2693
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
2694
+ grid-template-columns: 1fr auto;
2695
+ grid-template-rows: auto auto auto;
2696
+ grid-template-areas: "body control" "info ." "prompt prompt";
2697
+ }
2698
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-noPrompt {
2699
+ grid-template-columns: 1fr auto;
2700
+ grid-template-rows: auto auto;
2701
+ grid-template-areas: "body control" "info .";
2702
+ }
2703
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-hasPrompt {
2704
+ grid-template-columns: 1fr auto;
2705
+ grid-template-rows: auto auto;
2706
+ grid-template-areas: "body control" "prompt prompt";
2707
+ }
2708
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-noPrompt {
2709
+ grid-template-columns: 1fr auto;
2710
+ grid-template-rows: auto;
2711
+ grid-template-areas: "body control";
2712
+ }
2713
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-noControl .wds-list-item-prompt {
2714
+ grid-column: 1 / -1;
2715
+ }
2716
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-hasInfo-hasPrompt {
2717
+ grid-template-columns: 1fr;
2718
+ grid-template-rows: auto auto auto;
2719
+ grid-template-areas: "body" "info" "prompt";
2720
+ }
2721
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-hasInfo-noPrompt {
2722
+ grid-template-columns: 1fr;
2723
+ grid-template-rows: auto auto;
2724
+ grid-template-areas: "body" "info";
2725
+ }
2726
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-noInfo-hasPrompt {
2727
+ grid-template-columns: 1fr;
2728
+ grid-template-rows: auto auto;
2729
+ grid-template-areas: "body" "prompt";
2730
+ }
2731
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-noInfo-noPrompt {
2732
+ grid-template-columns: 1fr;
2733
+ grid-template-rows: auto;
2734
+ grid-template-areas: "body";
2735
+ }
2736
+ }
2737
+ @container (min-width: 297px) and (max-width: 375px) {
2738
+ .wds-list-item-gridWrapper .wds-list-item-media-image {
2739
+ -o-object-position: bottom left;
2740
+ object-position: bottom left;
2741
+ }
2742
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl .wds-list-item-media {
2743
+ margin-bottom: 12px;
2744
+ margin-bottom: var(--size-12);
2745
+ }
2746
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
2747
+ grid-template-columns: 1fr auto;
2748
+ grid-template-rows: auto auto auto auto;
2749
+ grid-template-areas: "media media" "body control" "info control" "prompt prompt";
2750
+ }
2751
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-hasPrompt:has(.wds-list-item-button-control) {
2752
+ grid-template-columns: 1fr;
2753
+ grid-template-areas: "media" "body" "info" "prompt" "control";
2754
+ }
2755
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-noPrompt {
2756
+ grid-template-columns: 1fr auto;
2757
+ grid-template-rows: auto auto auto;
2758
+ grid-template-areas: "media media" "body control" "info control";
2759
+ }
2760
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-noPrompt:has(.wds-list-item-button-control) {
2761
+ grid-template-columns: 1fr;
2762
+ grid-template-areas: "media" "body" "info" "control";
2763
+ }
2764
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-hasPrompt {
2765
+ grid-template-columns: 1fr auto;
2766
+ grid-template-rows: auto auto auto;
2767
+ grid-template-areas: "media media" "body control" "prompt prompt";
2768
+ }
2769
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-hasPrompt:has(.wds-list-item-button-control) {
2770
+ grid-template-columns: 1fr;
2771
+ grid-template-areas: "media" "body" "prompt" "control";
2772
+ }
2773
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-noPrompt {
2774
+ grid-template-columns: 1fr auto;
2775
+ grid-template-rows: auto auto;
2776
+ grid-template-areas: "media media" "body control";
2777
+ }
2778
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-noPrompt:has(.wds-list-item-button-control) {
2779
+ grid-template-columns: 1fr;
2780
+ grid-template-areas: "media" "body" "control";
2781
+ }
2782
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl .wds-list-item-media {
2783
+ margin-bottom: 12px;
2784
+ margin-bottom: var(--size-12);
2785
+ }
2786
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-hasInfo-hasPrompt {
2787
+ grid-template-columns: auto auto;
2788
+ grid-template-rows: auto auto auto auto;
2789
+ grid-template-areas: "media media" "body body" "info info" "prompt prompt";
2790
+ }
2791
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-hasInfo-noPrompt {
2792
+ grid-template-columns: auto 1fr;
2793
+ grid-template-rows: auto auto auto;
2794
+ grid-template-areas: "media media" "body body" "info info";
2795
+ }
2796
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-noInfo-hasPrompt {
2797
+ grid-template-columns: auto 1fr;
2798
+ grid-template-rows: auto auto auto;
2799
+ grid-template-areas: "media media" "body body" "prompt prompt";
2800
+ }
2801
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-noInfo-noPrompt {
2802
+ grid-template-columns: 1fr;
2803
+ grid-template-rows: auto auto;
2804
+ grid-template-areas: "media" "body";
2805
+ }
2806
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl .wds-list-item-prompt {
2807
+ grid-column: 1 / -1;
2808
+ }
2809
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
2810
+ grid-template-columns: 1fr auto;
2811
+ grid-template-rows: auto auto auto;
2812
+ grid-template-areas: "body control" "info control" "prompt prompt";
2813
+ }
2814
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-hasPrompt:has(.wds-list-item-button-control) {
2815
+ grid-template-columns: 1fr;
2816
+ grid-template-areas: "body" "info" "prompt" "control";
2817
+ }
2818
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-noPrompt {
2819
+ grid-template-columns: 1fr auto;
2820
+ grid-template-rows: auto auto;
2821
+ grid-template-areas: "body control" "info control";
2822
+ }
2823
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-noPrompt:has(.wds-list-item-button-control) {
2824
+ grid-template-columns: 1fr;
2825
+ grid-template-areas: "body" "info" "control";
2826
+ }
2827
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-hasPrompt {
2828
+ grid-template-columns: 1fr auto;
2829
+ grid-template-rows: auto auto;
2830
+ grid-template-areas: "body control" "prompt prompt";
2831
+ }
2832
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-hasPrompt:has(.wds-list-item-button-control) {
2833
+ grid-template-columns: 1fr;
2834
+ grid-template-areas: "body" "prompt" "control";
2835
+ }
2836
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-noPrompt {
2837
+ grid-template-columns: 1fr auto;
2838
+ grid-template-rows: auto;
2839
+ grid-template-areas: "body control";
2840
+ }
2841
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-noPrompt:has(.wds-list-item-button-control) {
2842
+ grid-template-columns: 1fr;
2843
+ grid-template-areas: "body" "control";
2844
+ }
2845
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-noControl .wds-list-item-prompt {
2846
+ grid-column: 1 / -1;
2847
+ }
2848
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-hasInfo-hasPrompt {
2849
+ grid-template-columns: 1fr;
2850
+ grid-template-rows: auto auto auto;
2851
+ grid-template-areas: "body" "info" "prompt";
2852
+ }
2853
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-hasInfo-noPrompt {
2854
+ grid-template-columns: 1fr;
2855
+ grid-template-rows: auto auto;
2856
+ grid-template-areas: "body" "info";
2857
+ }
2858
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-noInfo-hasPrompt {
2859
+ grid-template-columns: 1fr;
2860
+ grid-template-rows: auto auto;
2861
+ grid-template-areas: "body" "prompt";
2862
+ }
2863
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-noInfo-noPrompt {
2864
+ grid-template-columns: 1fr;
2865
+ grid-template-rows: auto;
2866
+ grid-template-areas: "body";
2867
+ }
2868
+ }
2869
+ @container (max-width: 297px) {
2870
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
2871
+ grid-template-columns: auto 1fr;
2872
+ grid-template-rows: auto auto auto;
2873
+ grid-template-areas: "body control" "info control" "prompt prompt";
2874
+ }
2875
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-hasPrompt:has(.wds-list-item-button-control) {
2876
+ grid-template-columns: 1fr;
2877
+ grid-template-rows: auto;
2878
+ grid-template-areas: "body" "info" "prompt" "control";
2879
+ }
2880
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-noPrompt {
2881
+ grid-template-columns: auto 1fr;
2882
+ grid-template-rows: auto auto;
2883
+ grid-template-areas: "body control" "info control";
2884
+ }
2885
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-noPrompt:has(.wds-list-item-button-control) {
2886
+ grid-template-columns: 1fr;
2887
+ grid-template-areas: "body" "info" "control";
2888
+ }
2889
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-hasPrompt {
2890
+ grid-template-columns: auto 1fr;
2891
+ grid-template-rows: auto auto;
2892
+ grid-template-areas: "body control" "prompt prompt";
2893
+ }
2894
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-hasPrompt:has(.wds-list-item-button-control) {
2895
+ grid-template-columns: 1fr;
2896
+ grid-template-areas: "body" "prompt" "control";
2897
+ }
2898
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-noPrompt {
2899
+ grid-template-columns: auto 1fr;
2900
+ grid-template-rows: auto;
2901
+ grid-template-areas: "body control";
2902
+ }
2903
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-noPrompt:has(.wds-list-item-button-control) {
2904
+ grid-template-columns: 1fr;
2905
+ grid-template-areas: "body" "control";
2906
+ }
2907
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-hasInfo-hasPrompt {
2908
+ grid-template-columns: auto;
2909
+ grid-template-rows: auto auto;
2910
+ grid-template-areas: "body" "info" "prompt";
2911
+ }
2912
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-hasInfo-noPrompt {
2913
+ grid-template-columns: auto;
2914
+ grid-template-rows: auto auto auto;
2915
+ grid-template-areas: "body" "info";
2916
+ }
2917
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-noInfo-hasPrompt {
2918
+ grid-template-columns: auto;
2919
+ grid-template-rows: auto auto;
2920
+ grid-template-areas: "body" "prompt";
2921
+ }
2922
+ .wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-noInfo-noPrompt {
2923
+ grid-template-columns: 1fr;
2924
+ grid-template-rows: auto;
2925
+ grid-template-areas: "body";
2926
+ }
2927
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl .wds-list-item-prompt {
2928
+ grid-column: 1 / -1;
2929
+ }
2930
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
2931
+ grid-template-columns: 1fr auto;
2932
+ grid-template-rows: auto auto auto;
2933
+ grid-template-areas: "body control" "info control" "prompt prompt";
2934
+ }
2935
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-hasPrompt:has(.wds-list-item-button-control) {
2936
+ grid-template-columns: 1fr;
2937
+ grid-template-rows: auto;
2938
+ grid-template-areas: "body" "info" "prompt" "control";
2939
+ }
2940
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-noPrompt {
2941
+ grid-template-columns: 1fr auto;
2942
+ grid-template-rows: auto auto;
2943
+ grid-template-areas: "body control" "info control";
2944
+ }
2945
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-noPrompt:has(.wds-list-item-button-control) {
2946
+ grid-template-columns: 1fr;
2947
+ grid-template-rows: auto;
2948
+ grid-template-areas: "body" "info" "control";
2949
+ }
2950
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-hasPrompt {
2951
+ grid-template-columns: 1fr auto;
2952
+ grid-template-rows: auto auto;
2953
+ grid-template-areas: "body control" "prompt prompt";
2954
+ }
2955
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-hasPrompt:has(.wds-list-item-button-control) {
2956
+ grid-template-columns: 1fr;
2957
+ grid-template-rows: auto;
2958
+ grid-template-areas: "body" "prompt" "control";
2959
+ }
2960
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-noPrompt {
2961
+ grid-template-columns: 1fr auto;
2962
+ grid-template-rows: auto;
2963
+ grid-template-areas: "body control";
2964
+ }
2965
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-noPrompt:has(.wds-list-item-button-control) {
2966
+ grid-template-columns: 1fr;
2967
+ grid-template-rows: auto;
2968
+ grid-template-areas: "body" "control";
2969
+ }
2970
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-noControl .wds-list-item-prompt {
2971
+ grid-column: 1 / -1;
2972
+ }
2973
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-hasInfo-hasPrompt {
2974
+ grid-template-columns: 1fr;
2975
+ grid-template-rows: auto auto auto;
2976
+ grid-template-areas: "body" "info" "prompt";
2977
+ }
2978
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-hasInfo-noPrompt {
2979
+ grid-template-columns: 1fr;
2980
+ grid-template-rows: auto auto;
2981
+ grid-template-areas: "body" "info";
2982
+ }
2983
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-noInfo-hasPrompt {
2984
+ grid-template-columns: 1fr;
2985
+ grid-template-rows: auto auto;
2986
+ grid-template-areas: "body" "prompt";
2987
+ }
2988
+ .wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-noInfo-noPrompt {
2989
+ grid-template-columns: 1fr;
2990
+ grid-template-rows: auto;
2991
+ grid-template-areas: "body";
2992
+ }
2993
+ .wds-list-item-gridWrapper .wds-list-item-media {
2994
+ display: none;
2995
+ }
2996
+ .wds-list-item-gridWrapper .wds-list-item-body {
2997
+ grid-area: body;
2998
+ display: grid;
2999
+ grid-template-columns: 1fr;
3000
+ justify-items: start;
3001
+ grid-gap: 0;
3002
+ gap: 0;
3003
+ }
3004
+ .wds-list-item-gridWrapper .wds-list-item-body .wds-list-item-value {
3005
+ text-align: left;
3006
+ }
3007
+ }
3008
+ .wds-list-item {
3009
+ list-style: none;
3010
+ width: 100%;
3011
+ border-radius: 16px;
3012
+ border-radius: var(--radius-medium);
3013
+ background-color: #ffffff;
3014
+ background-color: var(--color-background-screen);
3015
+ position: relative;
3016
+ padding: 12px 0;
3017
+ padding: var(--size-12) 0;
3018
+ container-type: inline-size;
3019
+ }
3020
+ .wds-list-item + .wds-list-item-spotlight,
3021
+ .wds-list-item-spotlight + .wds-list-item {
3022
+ margin-top: 16px;
3023
+ margin-top: var(--size-16);
3024
+ }
3025
+ .wds-list-item:focus-within {
3026
+ z-index: 1;
3027
+ }
3028
+ .wds-list-item-view {
3029
+ display: grid;
3030
+ grid-column: 1 / -1;
3031
+ grid-row: 1 / -1;
3032
+ grid-template-columns: subgrid;
3033
+ grid-template-rows: subgrid;
3034
+ }
3035
+ .wds-list-item-view.fullyInteractive {
3036
+ margin-bottom: 0;
3037
+ }
3038
+ .wds-list-item-view.fullyInteractive:before {
3039
+ content: '';
3040
+ position: absolute;
3041
+ inset: 0;
3042
+ }
3043
+ .wds-list-item a {
3044
+ text-underline-offset: calc(4px / 2);
3045
+ text-underline-offset: calc(var(--size-4) / 2);
3046
+ }
3047
+ .wds-list-item-interactive .wds-list-item-control:focus-visible,
3048
+ .wds-list-item-interactive .np-checkbox-button:has(input[type="checkbox"]:focus-visible) .tw-checkbox-button {
3049
+ outline: none;
3050
+ }
3051
+ .wds-list-item-interactive .wds-list-item-additional-info {
3052
+ --ring-outline-offset: 0;
3053
+ }
3054
+ .wds-list-item-interactive a.wds-list-item-control,
3055
+ .wds-list-item-interactive a.wds-list-item-control:hover,
3056
+ .wds-list-item-interactive a.wds-list-item-control:focus {
3057
+ -webkit-text-decoration: none;
3058
+ text-decoration: none;
3059
+ }
3060
+ .wds-list-item-interactive a.wds-list-item-control:has(.wds-list-item-control_pseudo-element) {
3061
+ position: relative;
3062
+ z-index: 1;
3063
+ }
3064
+ .wds-list-item-interactive a.wds-list-item-control.wds-list-item-control_pseudo-element:before {
3065
+ content: '';
3066
+ position: absolute;
3067
+ inset: 0;
3068
+ }
3069
+ .wds-list-item-interactive.wds-list-item-spotlight:has(.wds-list-item-control:focus-visible),
3070
+ .wds-list-item-interactive.wds-list-item-spotlight:has(input[type="checkbox"]:focus-visible) {
3071
+ outline: var(--ring-outline-color) solid var(--ring-outline-width);
3072
+ outline-offset: var(--ring-outline-offset);
3073
+ outline-offset: -1px;
3074
+ }
3075
+ .wds-list-item-interactive.wds-list-item-spotlight:not(.disabled):not(:disabled):hover {
3076
+ background-color: var(--color-background-screen-hover);
3077
+ }
3078
+ .wds-list-item-interactive.wds-list-item-spotlight:not(.disabled):not(:disabled):active {
3079
+ background-color: var(--color-background-screen-active);
3080
+ }
3081
+ .wds-list-item-interactive.wds-list-item-spotlight:has(.wds-list-item-prompt:hover a, .wds-list-item-prompt:hover button):hover {
3082
+ background-color: transparent;
3083
+ background-color: initial;
3084
+ }
3085
+ .wds-list-item-interactive:not(.wds-list-item-spotlight):has(.wds-list-item-control:focus-visible):before,
3086
+ .wds-list-item-interactive:not(.wds-list-item-spotlight):has(input[type="checkbox"]:focus-visible):before {
3087
+ outline: var(--ring-outline-color) solid var(--ring-outline-width);
3088
+ outline-offset: var(--ring-outline-offset);
3089
+ content: '';
3090
+ position: absolute;
3091
+ inset: 0 -8px;
3092
+ border-radius: 16px;
3093
+ border-radius: var(--radius-medium);
3094
+ outline-offset: -1px;
3095
+ }
3096
+ .wds-list-item-interactive:not(.wds-list-item-spotlight):not(.disabled):not(:disabled):hover:before,
3097
+ .wds-list-item-interactive:not(.wds-list-item-spotlight):not(.disabled):not(:disabled):active:before {
3098
+ content: '';
3099
+ position: absolute;
3100
+ inset: 0 -8px;
3101
+ border-radius: 16px;
3102
+ border-radius: var(--radius-medium);
3103
+ }
3104
+ .wds-list-item-interactive:not(.wds-list-item-spotlight):not(.disabled):not(:disabled):hover:before {
3105
+ background-color: var(--color-background-screen-hover);
3106
+ }
3107
+ .wds-list-item-interactive:not(.wds-list-item-spotlight):not(.disabled):not(:disabled):active:before {
3108
+ background-color: var(--color-background-screen-active);
3109
+ }
3110
+ .wds-list-item-interactive:not(.wds-list-item-spotlight):has(.wds-list-item-prompt:hover a, .wds-list-item-prompt:hover button):hover:before {
3111
+ background-color: transparent;
3112
+ background-color: initial;
3113
+ }
3114
+ .wds-list-item-interactive:not(.disabled):not(:disabled):hover .wds-list-item-control-wrapper .wds-Button {
3115
+ background-color: var(--Button-background-hover);
3116
+ color: var(--Button-color-hover);
3117
+ transition: none;
3118
+ }
3119
+ .wds-list-item-interactive .wds-list-item-button-control .wds-Button {
3120
+ transition: none;
3121
+ }
3122
+ .wds-list-item-media {
3123
+ grid-area: media;
3124
+ display: flex;
3125
+ align-items: start;
3126
+ }
3127
+ .wds-list-item-media-image-wrapper {
3128
+ width: var(--wds-list-item-media-size);
3129
+ height: var(--wds-list-item-media-size);
3130
+ }
3131
+ .wds-list-item-media-image {
3132
+ width: 100%;
3133
+ height: 100%;
3134
+ -o-object-fit: contain;
3135
+ object-fit: contain;
3136
+ }
3137
+ .wds-list-item-body {
3138
+ grid-area: body;
3139
+ align-items: center;
3140
+ width: 100%;
3141
+ display: grid;
3142
+ grid-template-columns: 1fr max-content;
3143
+ grid-template-columns: var(--wds-list-item-body-left, 1fr) var(--wds-list-item-body-right, max-content);
3144
+ grid-gap: 16px;
3145
+ grid-gap: var(--size-16);
3146
+ gap: 16px;
3147
+ gap: var(--size-16);
3148
+ word-break: break-word;
3149
+ }
3150
+ .wds-list-item-title,
3151
+ .wds-list-item-title-value {
3152
+ color: #37517e;
3153
+ color: var(--color-content-primary);
3154
+ }
3155
+ .wds-list-item-value {
3156
+ text-align: right;
3157
+ }
3158
+ .wds-list-item-body-center {
3159
+ display: flex;
3160
+ flex-direction: row;
3161
+ align-items: center;
3162
+ }
3163
+ .wds-list-item-additional-info {
3164
+ grid-area: info;
3165
+ color: #768e9c;
3166
+ color: var(--color-content-tertiary);
3167
+ margin-top: calc(4px * -1);
3168
+ margin-top: calc(var(--size-4) * -1);
3169
+ }
3170
+ .wds-list-item-control-wrapper {
3171
+ grid-area: control;
3172
+ align-content: center;
3173
+ height: var(--wds-list-item-control-wrapper-height);
3174
+ }
3175
+ .wds-list-item-navigation .tw-icon-chevron-right {
3176
+ color: #c9cbce;
3177
+ color: var(--color-interactive-secondary);
3178
+ }
3179
+ .wds-list-item-control {
3180
+ flex: 0 0 auto;
3181
+ }
3182
+ .wds-list-item.disabled {
3183
+ filter: none;
3184
+ opacity: 1;
3185
+ }
3186
+ .wds-list-item.disabled label {
3187
+ cursor: not-allowed;
3188
+ }
3189
+ .wds-list-item.disabled .tw-icon-backslash-circle {
3190
+ color: #768e9c;
3191
+ color: var(--color-content-tertiary);
3192
+ }
3193
+ .wds-list-item-spotlight {
3194
+ padding-left: 12px;
3195
+ padding-left: var(--size-12);
3196
+ padding-right: 12px;
3197
+ padding-right: var(--size-12);
3198
+ }
3199
+ .wds-list-item-spotlight-active {
3200
+ background-color: rgba(134,167,189,0.10196);
3201
+ background-color: var(--color-background-neutral);
3202
+ }
3203
+ .wds-list-item-spotlight-active:not(.disabled):not(:disabled):hover {
3204
+ background-color: var(--color-background-neutral-hover);
3205
+ }
3206
+ .wds-list-item-spotlight-active:not(.disabled):not(:disabled):active {
3207
+ background-color: var(--color-background-neutral-active);
3208
+ }
3209
+ .wds-list-item-spotlight-inactive {
3210
+ background-color: rgba(134, 167, 189, 0.025);
3211
+ }
3212
+ @supports (color: color-mix(in lch, red, blue)) {
3213
+ .wds-list-item-spotlight-inactive {
3214
+ background-color: color-mix(in srgb, var(--color-background-neutral) 25%, transparent);
3215
+ }
3216
+ }
3217
+ .wds-list-item-spotlight-inactive:not(.disabled):not(:disabled):hover {
3218
+ background-color: color-mix(in srgb, var(--color-background-neutral-hover) 25%, transparent);
3219
+ }
3220
+ .wds-list-item-spotlight-inactive:not(.disabled):not(:disabled):active {
3221
+ background-color: color-mix(in srgb, var(--color-background-neutral-active) 25%, transparent);
3222
+ }
3223
+ .wds-list-item .wds-list-item-spotlight__border {
3224
+ position: absolute;
3225
+ inset: 0;
3226
+ width: 100%;
3227
+ height: 100%;
3228
+ }
3229
+ .wds-list-item .wds-list-item-spotlight__border rect {
3230
+ --wds-list-item-spotlight-borderWidth: 1px;
3231
+ --wds-list-item-spotlight-borderWidthOffset: 0.5px;
3232
+ --wds-list-item-spotlight-strokeDashSize: calc(var(--size-12) * 0.5);
3233
+ fill: none;
3234
+ stroke: rgba(0,0,0,0.10196);
3235
+ stroke: var(--color-border-neutral);
3236
+ width: calc(100% - 1px);
3237
+ width: calc(100% - var(--wds-list-item-spotlight-borderWidth));
3238
+ height: calc(100% - 1px);
3239
+ height: calc(100% - var(--wds-list-item-spotlight-borderWidth));
3240
+ x: 0.5px;
3241
+ x: var(--wds-list-item-spotlight-borderWidthOffset);
3242
+ y: 0.5px;
3243
+ y: var(--wds-list-item-spotlight-borderWidthOffset);
3244
+ rx: calc(16px - 0.5px);
3245
+ rx: calc(var(--radius-medium) - var(--wds-list-item-spotlight-borderWidthOffset));
3246
+ ry: calc(16px - 0.5px);
3247
+ ry: calc(var(--radius-medium) - var(--wds-list-item-spotlight-borderWidthOffset));
3248
+ stroke-dasharray: calc(12px * 0.5) calc(12px * 0.5);
3249
+ stroke-dasharray: var(--wds-list-item-spotlight-strokeDashSize) var(--wds-list-item-spotlight-strokeDashSize);
3250
+ }
3251
+ .wds-list-item-prompt {
3252
+ grid-area: prompt;
3253
+ display: inline-flex;
3254
+ justify-self: start;
3255
+ text-align: left;
3256
+ padding-top: calc(8px / 2);
3257
+ padding-top: calc(var(--padding-x-small) / 2);
3258
+ padding-bottom: calc(8px / 2);
3259
+ padding-bottom: calc(var(--padding-x-small) / 2);
3260
+ padding-left: calc(8px - 1px);
3261
+ padding-left: calc(var(--padding-x-small) - 1px);
3262
+ padding-right: 8px;
3263
+ padding-right: var(--padding-x-small);
3264
+ border-radius: 10px;
3265
+ border-radius: var(--radius-small);
3266
+ word-break: break-word;
3267
+ word-wrap: break-word;
3268
+ }
3269
+ .wds-list-item-prompt:has(a),
3270
+ .wds-list-item-prompt:has(button) {
3271
+ position: relative;
3272
+ z-index: 1;
3273
+ }
3274
+ .wds-list-item-prompt a,
3275
+ .wds-list-item-prompt button {
3276
+ text-underline-offset: calc(4px / 2);
3277
+ text-underline-offset: calc(var(--size-4) / 2);
3278
+ }
3279
+ .wds-list-item-prompt a:first-of-type:before,
3280
+ .wds-list-item-prompt button:first-of-type:before {
3281
+ content: '';
3282
+ position: absolute;
3283
+ inset: 0;
3284
+ }
3285
+ .wds-list-item-prompt.np-prompt-icon {
3286
+ padding-left: calc(8px - 1px);
3287
+ padding-left: calc(var(--padding-x-small) - 1px);
3288
+ padding-right: 8px;
3289
+ padding-right: var(--padding-x-small);
3290
+ display: inline-flex;
3291
+ align-items: center;
3292
+ gap: 4px;
3293
+ gap: var(--size-4);
3294
+ }
3295
+ .wds-list-item-prompt .np-prompt-icon {
3296
+ padding-right: calc(12px / 2);
3297
+ padding-right: calc(var(--size-12) / 2);
3298
+ padding-top: calc(4px - 1px);
3299
+ padding-top: calc(var(--size-4) - 1px);
3300
+ padding-bottom: calc(4px - 1px);
3301
+ padding-bottom: calc(var(--size-4) - 1px);
3302
+ }
3303
+ .wds-list-item-prompt .np-prompt-icon .tw-icon-tags,
3304
+ .wds-list-item-prompt .np-prompt-icon .tw-icon-confetti {
3305
+ color: var(--color-sentiment-positive-primary);
3306
+ }
3307
+ .wds-list-item-prompt.negative {
3308
+ background-color: var(--color-sentiment-negative-secondary);
3309
+ color: var(--color-sentiment-negative-primary);
3310
+ }
3311
+ .wds-list-item-prompt.negative a,
3312
+ .wds-list-item-prompt.negative button {
3313
+ color: var(--color-sentiment-negative-primary);
3314
+ }
3315
+ .wds-list-item-prompt.negative a:hover,
3316
+ .wds-list-item-prompt.negative button:hover {
3317
+ color: var(--color-sentiment-negative-primary-hover);
3318
+ }
3319
+ .wds-list-item-prompt.negative a:active,
3320
+ .wds-list-item-prompt.negative button:active {
3321
+ color: var(--color-sentiment-negative-primary-active);
3322
+ }
3323
+ .wds-list-item-prompt.wds-list-item-prompt.negative:has(a, button):hover {
3324
+ background-color: var(--color-sentiment-negative-secondary-hover);
3325
+ }
3326
+ .wds-list-item-prompt.wds-list-item-prompt.negative:has(a, button):active {
3327
+ background-color: var(--color-sentiment-negative-secondary-active);
3328
+ }
3329
+ .wds-list-item-prompt.positive,
3330
+ .wds-list-item-prompt.discount,
3331
+ .wds-list-item-prompt.savings {
3332
+ background-color: var(--color-sentiment-positive-secondary);
3333
+ color: var(--color-sentiment-positive-primary);
3334
+ }
3335
+ .wds-list-item-prompt.positive a,
3336
+ .wds-list-item-prompt.discount a,
3337
+ .wds-list-item-prompt.savings a,
3338
+ .wds-list-item-prompt.positive button,
3339
+ .wds-list-item-prompt.discount button,
3340
+ .wds-list-item-prompt.savings button {
3341
+ color: var(--color-sentiment-positive-primary);
3342
+ }
3343
+ .wds-list-item-prompt.positive a:hover,
3344
+ .wds-list-item-prompt.discount a:hover,
3345
+ .wds-list-item-prompt.savings a:hover,
3346
+ .wds-list-item-prompt.positive button:hover,
3347
+ .wds-list-item-prompt.discount button:hover,
3348
+ .wds-list-item-prompt.savings button:hover {
3349
+ color: var(--color-sentiment-positive-primary-hover);
3350
+ }
3351
+ .wds-list-item-prompt.positive a:active,
3352
+ .wds-list-item-prompt.discount a:active,
3353
+ .wds-list-item-prompt.savings a:active,
3354
+ .wds-list-item-prompt.positive button:active,
3355
+ .wds-list-item-prompt.discount button:active,
3356
+ .wds-list-item-prompt.savings button:active {
3357
+ color: var(--color-sentiment-positive-primary-active);
3358
+ }
3359
+ .wds-list-item-prompt.wds-list-item-prompt.positive:has(a, button):hover,
3360
+ .wds-list-item-prompt.wds-list-item-prompt.discount:has(a, button):hover,
3361
+ .wds-list-item-prompt.wds-list-item-prompt.savings:has(a, button):hover {
3362
+ background-color: var(--color-sentiment-positive-secondary-hover);
3363
+ }
3364
+ .wds-list-item-prompt.wds-list-item-prompt.positive:has(a, button):active,
3365
+ .wds-list-item-prompt.wds-list-item-prompt.discount:has(a, button):active,
3366
+ .wds-list-item-prompt.wds-list-item-prompt.savings:has(a, button):active {
3367
+ background-color: var(--color-sentiment-positive-secondary-active);
3368
+ }
3369
+ .wds-list-item-prompt.neutral {
3370
+ background-color: rgba(134,167,189,0.10196);
3371
+ background-color: var(--color-background-neutral);
3372
+ color: #37517e;
3373
+ color: var(--color-content-primary);
3374
+ }
3375
+ .wds-list-item-prompt.neutral a,
3376
+ .wds-list-item-prompt.neutral button {
3377
+ color: #37517e;
3378
+ color: var(--color-content-primary);
3379
+ }
3380
+ .wds-list-item-prompt.wds-list-item-prompt.neutral:has(a, button):hover {
3381
+ background-color: var(--color-background-neutral-hover);
3382
+ }
3383
+ .wds-list-item-prompt.wds-list-item-prompt.neutral:has(a, button):active {
3384
+ background-color: var(--color-background-neutral-active);
3385
+ }
3386
+ .wds-list-item-prompt.warning {
3387
+ background-color: var(--color-sentiment-warning-secondary);
3388
+ color: var(--color-sentiment-warning-content);
3389
+ }
3390
+ .wds-list-item-prompt.warning a,
3391
+ .wds-list-item-prompt.warning button {
3392
+ color: var(--color-sentiment-warning-content);
3393
+ }
3394
+ .wds-list-item-prompt.warning a:hover,
3395
+ .wds-list-item-prompt.warning button:hover {
3396
+ color: var(--color-sentiment-warning-content-hover);
3397
+ }
3398
+ .wds-list-item-prompt.warning a:active,
3399
+ .wds-list-item-prompt.warning button:active {
3400
+ color: var(--color-sentiment-warning-content-active);
3401
+ }
3402
+ .wds-list-item-prompt.wds-list-item-prompt.warning:has(a, button):hover {
3403
+ background-color: color-mix(in srgb, var(--color-sentiment-warning-secondary) 92%, var(--color-sentiment-warning-primary));
3404
+ }
3405
+ .wds-list-item-prompt.wds-list-item-prompt.warning:has(a, button):active {
3406
+ background-color: color-mix(in srgb, var(--color-sentiment-warning-secondary) 84%, var(--color-sentiment-warning-primary));
3407
+ }
2638
3408
  .np-field-control {
2639
3409
  margin-top: 4px;
2640
3410
  margin-top: var(--size-4);