@transferwise/components 0.0.0-experimental-4f2af7f → 0.0.0-experimental-8bbf3ee

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 (263) hide show
  1. package/build/actionOption/ActionOption.js.map +1 -1
  2. package/build/actionOption/ActionOption.mjs.map +1 -1
  3. package/build/checkboxOption/CheckboxOption.js.map +1 -1
  4. package/build/checkboxOption/CheckboxOption.mjs.map +1 -1
  5. package/build/index.js +0 -2
  6. package/build/index.js.map +1 -1
  7. package/build/index.mjs +0 -1
  8. package/build/index.mjs.map +1 -1
  9. package/build/legacylistItem/LegacyListItem.js.map +1 -1
  10. package/build/legacylistItem/LegacyListItem.mjs.map +1 -1
  11. package/build/main.css +1 -771
  12. package/build/navigationOption/NavigationOption.js.map +1 -1
  13. package/build/navigationOption/NavigationOption.mjs.map +1 -1
  14. package/build/navigationOptionsList/NavigationOptionsList.js.map +1 -1
  15. package/build/navigationOptionsList/NavigationOptionsList.mjs.map +1 -1
  16. package/build/radioOption/RadioOption.js.map +1 -1
  17. package/build/radioOption/RadioOption.mjs.map +1 -1
  18. package/build/styles/button/Button.css +1 -1
  19. package/build/styles/main.css +1 -771
  20. package/build/summary/Summary.js +0 -8
  21. package/build/summary/Summary.js.map +1 -1
  22. package/build/summary/Summary.mjs +0 -8
  23. package/build/summary/Summary.mjs.map +1 -1
  24. package/build/switchOption/SwitchOption.js +0 -8
  25. package/build/switchOption/SwitchOption.js.map +1 -1
  26. package/build/switchOption/SwitchOption.mjs +0 -8
  27. package/build/switchOption/SwitchOption.mjs.map +1 -1
  28. package/build/types/actionOption/ActionOption.d.ts +0 -8
  29. package/build/types/actionOption/ActionOption.d.ts.map +1 -1
  30. package/build/types/checkboxOption/CheckboxOption.d.ts +0 -8
  31. package/build/types/checkboxOption/CheckboxOption.d.ts.map +1 -1
  32. package/build/types/index.d.ts +0 -2
  33. package/build/types/index.d.ts.map +1 -1
  34. package/build/types/legacylistItem/LegacyListItem.d.ts +0 -8
  35. package/build/types/legacylistItem/LegacyListItem.d.ts.map +1 -1
  36. package/build/types/navigationOption/NavigationOption.d.ts +0 -8
  37. package/build/types/navigationOption/NavigationOption.d.ts.map +1 -1
  38. package/build/types/navigationOptionsList/NavigationOptionsList.d.ts +0 -9
  39. package/build/types/navigationOptionsList/NavigationOptionsList.d.ts.map +1 -1
  40. package/build/types/radioOption/RadioOption.d.ts +0 -8
  41. package/build/types/radioOption/RadioOption.d.ts.map +1 -1
  42. package/build/types/summary/Summary.d.ts +0 -8
  43. package/build/types/summary/Summary.d.ts.map +1 -1
  44. package/build/types/switchOption/SwitchOption.d.ts +0 -8
  45. package/build/types/switchOption/SwitchOption.d.ts.map +1 -1
  46. package/package.json +1 -1
  47. package/src/actionButton/ActionButton.story.tsx +1 -1
  48. package/src/actionOption/ActionOption.story.tsx +0 -4
  49. package/src/actionOption/ActionOption.tsx +0 -8
  50. package/src/avatar/Avatar.story.tsx +1 -1
  51. package/src/avatarWrapper/AvatarWrapper.story.tsx +1 -1
  52. package/src/badge/Badge.story.tsx +1 -1
  53. package/src/button/Button.css +1 -1
  54. package/src/button/Button.less +1 -1
  55. package/src/button/Button.story.tsx +46 -10
  56. package/src/button/LegacyButton.story.tsx +1 -1
  57. package/src/checkboxOption/CheckboxOption.story.tsx +0 -4
  58. package/src/checkboxOption/CheckboxOption.tsx +0 -8
  59. package/src/index.ts +0 -15
  60. package/src/legacylistItem/LegacyListItem.story.tsx +1 -5
  61. package/src/legacylistItem/LegacyListItem.tests.story.tsx +1 -2
  62. package/src/legacylistItem/LegacyListItem.tsx +0 -8
  63. package/src/list/List.story.tsx +3 -13
  64. package/src/main.css +1 -771
  65. package/src/main.less +0 -1
  66. package/src/navigationOption/NavigationOption.story.tsx +1 -4
  67. package/src/navigationOption/NavigationOption.tsx +0 -8
  68. package/src/navigationOptionsList/NavigationOptionsList.story.tsx +0 -4
  69. package/src/navigationOptionsList/NavigationOptionsList.tsx +0 -9
  70. package/src/radioOption/RadioOption.story.tsx +0 -4
  71. package/src/radioOption/RadioOption.tsx +0 -8
  72. package/src/select/Select.story.tsx +1 -1
  73. package/src/summary/Summary.story.tsx +0 -4
  74. package/src/summary/Summary.tsx +0 -8
  75. package/src/switchOption/SwitchOption.story.tsx +1 -4
  76. package/src/switchOption/SwitchOption.tsx +0 -8
  77. package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.js +0 -56
  78. package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.js.map +0 -1
  79. package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.mjs +0 -54
  80. package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.mjs.map +0 -1
  81. package/build/listItem/AvatarLayout/ListItemAvatarLayout.js +0 -23
  82. package/build/listItem/AvatarLayout/ListItemAvatarLayout.js.map +0 -1
  83. package/build/listItem/AvatarLayout/ListItemAvatarLayout.mjs +0 -21
  84. package/build/listItem/AvatarLayout/ListItemAvatarLayout.mjs.map +0 -1
  85. package/build/listItem/AvatarView/ListItemAvatarView.js +0 -23
  86. package/build/listItem/AvatarView/ListItemAvatarView.js.map +0 -1
  87. package/build/listItem/AvatarView/ListItemAvatarView.mjs +0 -21
  88. package/build/listItem/AvatarView/ListItemAvatarView.mjs.map +0 -1
  89. package/build/listItem/Button/ListItemButton.js +0 -43
  90. package/build/listItem/Button/ListItemButton.js.map +0 -1
  91. package/build/listItem/Button/ListItemButton.mjs +0 -41
  92. package/build/listItem/Button/ListItemButton.mjs.map +0 -1
  93. package/build/listItem/Checkbox/ListItemCheckbox.js +0 -30
  94. package/build/listItem/Checkbox/ListItemCheckbox.js.map +0 -1
  95. package/build/listItem/Checkbox/ListItemCheckbox.mjs +0 -28
  96. package/build/listItem/Checkbox/ListItemCheckbox.mjs.map +0 -1
  97. package/build/listItem/IconButton/ListItemIconButton.js +0 -56
  98. package/build/listItem/IconButton/ListItemIconButton.js.map +0 -1
  99. package/build/listItem/IconButton/ListItemIconButton.mjs +0 -54
  100. package/build/listItem/IconButton/ListItemIconButton.mjs.map +0 -1
  101. package/build/listItem/Image/ListItemImage.js +0 -31
  102. package/build/listItem/Image/ListItemImage.js.map +0 -1
  103. package/build/listItem/Image/ListItemImage.mjs +0 -29
  104. package/build/listItem/Image/ListItemImage.mjs.map +0 -1
  105. package/build/listItem/ListItem.js +0 -309
  106. package/build/listItem/ListItem.js.map +0 -1
  107. package/build/listItem/ListItem.mjs +0 -304
  108. package/build/listItem/ListItem.mjs.map +0 -1
  109. package/build/listItem/ListItemContext.js +0 -8
  110. package/build/listItem/ListItemContext.js.map +0 -1
  111. package/build/listItem/ListItemContext.mjs +0 -6
  112. package/build/listItem/ListItemContext.mjs.map +0 -1
  113. package/build/listItem/Navigation/ListItemNavigation.js +0 -44
  114. package/build/listItem/Navigation/ListItemNavigation.js.map +0 -1
  115. package/build/listItem/Navigation/ListItemNavigation.mjs +0 -42
  116. package/build/listItem/Navigation/ListItemNavigation.mjs.map +0 -1
  117. package/build/listItem/Prompt/ListItemPrompt.js +0 -59
  118. package/build/listItem/Prompt/ListItemPrompt.js.map +0 -1
  119. package/build/listItem/Prompt/ListItemPrompt.mjs +0 -54
  120. package/build/listItem/Prompt/ListItemPrompt.mjs.map +0 -1
  121. package/build/listItem/Radio/ListItemRadio.js +0 -30
  122. package/build/listItem/Radio/ListItemRadio.js.map +0 -1
  123. package/build/listItem/Radio/ListItemRadio.mjs +0 -28
  124. package/build/listItem/Radio/ListItemRadio.mjs.map +0 -1
  125. package/build/listItem/Switch/ListItemSwitch.js +0 -30
  126. package/build/listItem/Switch/ListItemSwitch.js.map +0 -1
  127. package/build/listItem/Switch/ListItemSwitch.mjs +0 -28
  128. package/build/listItem/Switch/ListItemSwitch.mjs.map +0 -1
  129. package/build/listItem/useListItemControl.js +0 -22
  130. package/build/listItem/useListItemControl.js.map +0 -1
  131. package/build/listItem/useListItemControl.mjs +0 -20
  132. package/build/listItem/useListItemControl.mjs.map +0 -1
  133. package/build/listItem/useListItemMedia.js +0 -21
  134. package/build/listItem/useListItemMedia.js.map +0 -1
  135. package/build/listItem/useListItemMedia.mjs +0 -19
  136. package/build/listItem/useListItemMedia.mjs.map +0 -1
  137. package/build/styles/listItem/ListItem.css +0 -770
  138. package/build/styles/listItem/ListItem.grid.css +0 -370
  139. package/build/styles/listItem/Prompt/ListItemPrompt.css +0 -157
  140. package/build/types/listItem/AdditionalInfo/ListItemAdditionalInfo.d.ts +0 -15
  141. package/build/types/listItem/AdditionalInfo/ListItemAdditionalInfo.d.ts.map +0 -1
  142. package/build/types/listItem/AdditionalInfo/index.d.ts +0 -3
  143. package/build/types/listItem/AdditionalInfo/index.d.ts.map +0 -1
  144. package/build/types/listItem/AvatarLayout/ListItemAvatarLayout.d.ts +0 -18
  145. package/build/types/listItem/AvatarLayout/ListItemAvatarLayout.d.ts.map +0 -1
  146. package/build/types/listItem/AvatarLayout/index.d.ts +0 -3
  147. package/build/types/listItem/AvatarLayout/index.d.ts.map +0 -1
  148. package/build/types/listItem/AvatarView/ListItemAvatarView.d.ts +0 -16
  149. package/build/types/listItem/AvatarView/ListItemAvatarView.d.ts.map +0 -1
  150. package/build/types/listItem/AvatarView/index.d.ts +0 -3
  151. package/build/types/listItem/AvatarView/index.d.ts.map +0 -1
  152. package/build/types/listItem/Button/ListItemButton.d.ts +0 -20
  153. package/build/types/listItem/Button/ListItemButton.d.ts.map +0 -1
  154. package/build/types/listItem/Button/index.d.ts +0 -3
  155. package/build/types/listItem/Button/index.d.ts.map +0 -1
  156. package/build/types/listItem/Checkbox/ListItemCheckbox.d.ts +0 -14
  157. package/build/types/listItem/Checkbox/ListItemCheckbox.d.ts.map +0 -1
  158. package/build/types/listItem/Checkbox/index.d.ts +0 -3
  159. package/build/types/listItem/Checkbox/index.d.ts.map +0 -1
  160. package/build/types/listItem/IconButton/ListItemIconButton.d.ts +0 -18
  161. package/build/types/listItem/IconButton/ListItemIconButton.d.ts.map +0 -1
  162. package/build/types/listItem/IconButton/index.d.ts +0 -3
  163. package/build/types/listItem/IconButton/index.d.ts.map +0 -1
  164. package/build/types/listItem/Image/ListItemImage.d.ts +0 -25
  165. package/build/types/listItem/Image/ListItemImage.d.ts.map +0 -1
  166. package/build/types/listItem/Image/index.d.ts +0 -3
  167. package/build/types/listItem/Image/index.d.ts.map +0 -1
  168. package/build/types/listItem/ListItem.d.ts +0 -111
  169. package/build/types/listItem/ListItem.d.ts.map +0 -1
  170. package/build/types/listItem/ListItemContext.d.ts +0 -21
  171. package/build/types/listItem/ListItemContext.d.ts.map +0 -1
  172. package/build/types/listItem/Navigation/ListItemNavigation.d.ts +0 -15
  173. package/build/types/listItem/Navigation/ListItemNavigation.d.ts.map +0 -1
  174. package/build/types/listItem/Navigation/index.d.ts +0 -3
  175. package/build/types/listItem/Navigation/index.d.ts.map +0 -1
  176. package/build/types/listItem/Prompt/ListItemPrompt.d.ts +0 -16
  177. package/build/types/listItem/Prompt/ListItemPrompt.d.ts.map +0 -1
  178. package/build/types/listItem/Prompt/index.d.ts +0 -3
  179. package/build/types/listItem/Prompt/index.d.ts.map +0 -1
  180. package/build/types/listItem/Radio/ListItemRadio.d.ts +0 -14
  181. package/build/types/listItem/Radio/ListItemRadio.d.ts.map +0 -1
  182. package/build/types/listItem/Radio/index.d.ts +0 -3
  183. package/build/types/listItem/Radio/index.d.ts.map +0 -1
  184. package/build/types/listItem/Switch/ListItemSwitch.d.ts +0 -14
  185. package/build/types/listItem/Switch/ListItemSwitch.d.ts.map +0 -1
  186. package/build/types/listItem/Switch/index.d.ts +0 -3
  187. package/build/types/listItem/Switch/index.d.ts.map +0 -1
  188. package/build/types/listItem/_stories/helpers.d.ts +0 -27
  189. package/build/types/listItem/_stories/helpers.d.ts.map +0 -1
  190. package/build/types/listItem/_stories/subcomponents.d.ts +0 -18
  191. package/build/types/listItem/_stories/subcomponents.d.ts.map +0 -1
  192. package/build/types/listItem/index.d.ts +0 -14
  193. package/build/types/listItem/index.d.ts.map +0 -1
  194. package/build/types/listItem/test-utils.d.ts +0 -7
  195. package/build/types/listItem/test-utils.d.ts.map +0 -1
  196. package/build/types/listItem/useListItemControl.d.ts +0 -5
  197. package/build/types/listItem/useListItemControl.d.ts.map +0 -1
  198. package/build/types/listItem/useListItemMedia.d.ts +0 -6
  199. package/build/types/listItem/useListItemMedia.d.ts.map +0 -1
  200. package/src/listItem/AdditionalInfo/ListItemAdditionalInfo.spec.tsx +0 -56
  201. package/src/listItem/AdditionalInfo/ListItemAdditionalInfo.story.tsx +0 -198
  202. package/src/listItem/AdditionalInfo/ListItemAdditionalInfo.tsx +0 -36
  203. package/src/listItem/AdditionalInfo/index.ts +0 -2
  204. package/src/listItem/AvatarLayout/ListItemAvatarLayout.spec.tsx +0 -59
  205. package/src/listItem/AvatarLayout/ListItemAvatarLayout.story.tsx +0 -124
  206. package/src/listItem/AvatarLayout/ListItemAvatarLayout.tsx +0 -27
  207. package/src/listItem/AvatarLayout/index.ts +0 -2
  208. package/src/listItem/AvatarView/ListItemAvatarView.spec.tsx +0 -75
  209. package/src/listItem/AvatarView/ListItemAvatarView.story.tsx +0 -339
  210. package/src/listItem/AvatarView/ListItemAvatarView.tsx +0 -27
  211. package/src/listItem/AvatarView/index.ts +0 -2
  212. package/src/listItem/Button/ListItemButton.spec.tsx +0 -68
  213. package/src/listItem/Button/ListItemButton.story.tsx +0 -473
  214. package/src/listItem/Button/ListItemButton.tsx +0 -56
  215. package/src/listItem/Button/index.ts +0 -2
  216. package/src/listItem/Checkbox/ListItemCheckbox.spec.tsx +0 -82
  217. package/src/listItem/Checkbox/ListItemCheckbox.story.tsx +0 -128
  218. package/src/listItem/Checkbox/ListItemCheckbox.tsx +0 -33
  219. package/src/listItem/Checkbox/index.ts +0 -2
  220. package/src/listItem/IconButton/ListItemIconButton.spec.tsx +0 -119
  221. package/src/listItem/IconButton/ListItemIconButton.story.tsx +0 -284
  222. package/src/listItem/IconButton/ListItemIconButton.tsx +0 -73
  223. package/src/listItem/IconButton/index.ts +0 -2
  224. package/src/listItem/Image/ListItemImage.spec.tsx +0 -30
  225. package/src/listItem/Image/ListItemImage.story.tsx +0 -80
  226. package/src/listItem/Image/ListItemImage.tsx +0 -46
  227. package/src/listItem/Image/index.ts +0 -2
  228. package/src/listItem/ListItem.css +0 -770
  229. package/src/listItem/ListItem.grid.css +0 -370
  230. package/src/listItem/ListItem.grid.less +0 -622
  231. package/src/listItem/ListItem.less +0 -287
  232. package/src/listItem/ListItem.spec.tsx +0 -1511
  233. package/src/listItem/ListItem.tsx +0 -438
  234. package/src/listItem/ListItemContext.tsx +0 -26
  235. package/src/listItem/Navigation/ListItemNavigation.spec.tsx +0 -59
  236. package/src/listItem/Navigation/ListItemNavigation.story.tsx +0 -112
  237. package/src/listItem/Navigation/ListItemNavigation.tsx +0 -39
  238. package/src/listItem/Navigation/index.ts +0 -2
  239. package/src/listItem/Prompt/ListItemPrompt.css +0 -157
  240. package/src/listItem/Prompt/ListItemPrompt.less +0 -134
  241. package/src/listItem/Prompt/ListItemPrompt.spec.tsx +0 -36
  242. package/src/listItem/Prompt/ListItemPrompt.story.tsx +0 -204
  243. package/src/listItem/Prompt/ListItemPrompt.tsx +0 -32
  244. package/src/listItem/Prompt/index.ts +0 -2
  245. package/src/listItem/Radio/ListItemRadio.spec.tsx +0 -66
  246. package/src/listItem/Radio/ListItemRadio.story.tsx +0 -111
  247. package/src/listItem/Radio/ListItemRadio.tsx +0 -33
  248. package/src/listItem/Radio/index.ts +0 -2
  249. package/src/listItem/Switch/ListItemSwitch.spec.tsx +0 -47
  250. package/src/listItem/Switch/ListItemSwitch.story.tsx +0 -79
  251. package/src/listItem/Switch/ListItemSwitch.tsx +0 -33
  252. package/src/listItem/Switch/index.ts +0 -2
  253. package/src/listItem/_stories/ListItem.focus.test.story.tsx +0 -265
  254. package/src/listItem/_stories/ListItem.layout.test.story.tsx +0 -354
  255. package/src/listItem/_stories/ListItem.scenarios.story.tsx +0 -228
  256. package/src/listItem/_stories/ListItem.story.tsx +0 -774
  257. package/src/listItem/_stories/ListItem.variants.test.story.tsx +0 -271
  258. package/src/listItem/_stories/helpers.tsx +0 -53
  259. package/src/listItem/_stories/subcomponents.tsx +0 -139
  260. package/src/listItem/index.ts +0 -14
  261. package/src/listItem/test-utils.tsx +0 -33
  262. package/src/listItem/useListItemControl.tsx +0 -18
  263. package/src/listItem/useListItemMedia.tsx +0 -16
@@ -1,370 +0,0 @@
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
- }
@@ -1,157 +0,0 @@
1
- .wds-list-item-prompt {
2
- grid-area: prompt;
3
- display: inline-flex;
4
- justify-self: start;
5
- text-align: left;
6
- padding-top: calc(8px / 2);
7
- padding-top: calc(var(--padding-x-small) / 2);
8
- padding-bottom: calc(8px / 2);
9
- padding-bottom: calc(var(--padding-x-small) / 2);
10
- padding-left: calc(8px - 1px);
11
- padding-left: calc(var(--padding-x-small) - 1px);
12
- padding-right: 8px;
13
- padding-right: var(--padding-x-small);
14
- border-radius: 10px;
15
- border-radius: var(--radius-small);
16
- word-break: break-word;
17
- word-wrap: break-word;
18
- }
19
- .wds-list-item-prompt:has(a),
20
- .wds-list-item-prompt:has(button) {
21
- position: relative;
22
- z-index: 1;
23
- }
24
- .wds-list-item-prompt a,
25
- .wds-list-item-prompt button {
26
- text-underline-offset: calc(4px / 2);
27
- text-underline-offset: calc(var(--size-4) / 2);
28
- }
29
- .wds-list-item-prompt a:first-of-type:before,
30
- .wds-list-item-prompt button:first-of-type:before {
31
- content: '';
32
- position: absolute;
33
- inset: 0;
34
- }
35
- .wds-list-item-prompt.np-prompt-icon {
36
- padding-left: calc(8px - 1px);
37
- padding-left: calc(var(--padding-x-small) - 1px);
38
- padding-right: 8px;
39
- padding-right: var(--padding-x-small);
40
- display: inline-flex;
41
- align-items: center;
42
- gap: 4px;
43
- gap: var(--size-4);
44
- }
45
- .wds-list-item-prompt .np-prompt-icon {
46
- padding-right: calc(12px / 2);
47
- padding-right: calc(var(--size-12) / 2);
48
- padding-top: calc(4px - 1px);
49
- padding-top: calc(var(--size-4) - 1px);
50
- padding-bottom: calc(4px - 1px);
51
- padding-bottom: calc(var(--size-4) - 1px);
52
- }
53
- .wds-list-item-prompt .np-prompt-icon .tw-icon-tags,
54
- .wds-list-item-prompt .np-prompt-icon .tw-icon-confetti {
55
- color: var(--color-sentiment-positive-primary);
56
- }
57
- .wds-list-item-prompt.negative {
58
- background-color: var(--color-sentiment-negative-secondary);
59
- color: var(--color-sentiment-negative-primary);
60
- }
61
- .wds-list-item-prompt.negative a,
62
- .wds-list-item-prompt.negative button {
63
- color: var(--color-sentiment-negative-primary);
64
- }
65
- .wds-list-item-prompt.negative a:hover,
66
- .wds-list-item-prompt.negative button:hover {
67
- color: var(--color-sentiment-negative-primary-hover);
68
- }
69
- .wds-list-item-prompt.negative a:active,
70
- .wds-list-item-prompt.negative button:active {
71
- color: var(--color-sentiment-negative-primary-active);
72
- }
73
- .wds-list-item-prompt.wds-list-item-prompt.negative:has(a, button):hover {
74
- background-color: var(--color-sentiment-negative-secondary-hover);
75
- }
76
- .wds-list-item-prompt.wds-list-item-prompt.negative:has(a, button):active {
77
- background-color: var(--color-sentiment-negative-secondary-active);
78
- }
79
- .wds-list-item-prompt.positive,
80
- .wds-list-item-prompt.discount,
81
- .wds-list-item-prompt.savings {
82
- background-color: var(--color-sentiment-positive-secondary);
83
- color: var(--color-sentiment-positive-primary);
84
- }
85
- .wds-list-item-prompt.positive a,
86
- .wds-list-item-prompt.discount a,
87
- .wds-list-item-prompt.savings a,
88
- .wds-list-item-prompt.positive button,
89
- .wds-list-item-prompt.discount button,
90
- .wds-list-item-prompt.savings button {
91
- color: var(--color-sentiment-positive-primary);
92
- }
93
- .wds-list-item-prompt.positive a:hover,
94
- .wds-list-item-prompt.discount a:hover,
95
- .wds-list-item-prompt.savings a:hover,
96
- .wds-list-item-prompt.positive button:hover,
97
- .wds-list-item-prompt.discount button:hover,
98
- .wds-list-item-prompt.savings button:hover {
99
- color: var(--color-sentiment-positive-primary-hover);
100
- }
101
- .wds-list-item-prompt.positive a:active,
102
- .wds-list-item-prompt.discount a:active,
103
- .wds-list-item-prompt.savings a:active,
104
- .wds-list-item-prompt.positive button:active,
105
- .wds-list-item-prompt.discount button:active,
106
- .wds-list-item-prompt.savings button:active {
107
- color: var(--color-sentiment-positive-primary-active);
108
- }
109
- .wds-list-item-prompt.wds-list-item-prompt.positive:has(a, button):hover,
110
- .wds-list-item-prompt.wds-list-item-prompt.discount:has(a, button):hover,
111
- .wds-list-item-prompt.wds-list-item-prompt.savings:has(a, button):hover {
112
- background-color: var(--color-sentiment-positive-secondary-hover);
113
- }
114
- .wds-list-item-prompt.wds-list-item-prompt.positive:has(a, button):active,
115
- .wds-list-item-prompt.wds-list-item-prompt.discount:has(a, button):active,
116
- .wds-list-item-prompt.wds-list-item-prompt.savings:has(a, button):active {
117
- background-color: var(--color-sentiment-positive-secondary-active);
118
- }
119
- .wds-list-item-prompt.neutral {
120
- background-color: rgba(134,167,189,0.10196);
121
- background-color: var(--color-background-neutral);
122
- color: #37517e;
123
- color: var(--color-content-primary);
124
- }
125
- .wds-list-item-prompt.neutral a,
126
- .wds-list-item-prompt.neutral button {
127
- color: #37517e;
128
- color: var(--color-content-primary);
129
- }
130
- .wds-list-item-prompt.wds-list-item-prompt.neutral:has(a, button):hover {
131
- background-color: var(--color-background-neutral-hover);
132
- }
133
- .wds-list-item-prompt.wds-list-item-prompt.neutral:has(a, button):active {
134
- background-color: var(--color-background-neutral-active);
135
- }
136
- .wds-list-item-prompt.warning {
137
- background-color: var(--color-sentiment-warning-secondary);
138
- color: var(--color-sentiment-warning-content);
139
- }
140
- .wds-list-item-prompt.warning a,
141
- .wds-list-item-prompt.warning button {
142
- color: var(--color-sentiment-warning-content);
143
- }
144
- .wds-list-item-prompt.warning a:hover,
145
- .wds-list-item-prompt.warning button:hover {
146
- color: var(--color-sentiment-warning-content-hover);
147
- }
148
- .wds-list-item-prompt.warning a:active,
149
- .wds-list-item-prompt.warning button:active {
150
- color: var(--color-sentiment-warning-content-active);
151
- }
152
- .wds-list-item-prompt.wds-list-item-prompt.warning:has(a, button):hover {
153
- background-color: color-mix(in srgb, var(--color-sentiment-warning-secondary) 92%, var(--color-sentiment-warning-primary));
154
- }
155
- .wds-list-item-prompt.wds-list-item-prompt.warning:has(a, button):active {
156
- background-color: color-mix(in srgb, var(--color-sentiment-warning-secondary) 84%, var(--color-sentiment-warning-primary));
157
- }
@@ -1,15 +0,0 @@
1
- import { PropsWithChildren } from 'react';
2
- import { type LinkProps } from '../../link';
3
- export type ListItemAdditionalInfoProps = PropsWithChildren<{
4
- /**
5
- * Props object to be passed to the [Link](https://storybook.wise.design/?path=/docs/typography-link--docs) component.
6
- */
7
- action?: {
8
- label: string;
9
- } & Pick<LinkProps, 'href' | 'onClick' | 'target'>;
10
- }>;
11
- export declare const AdditionalInfo: {
12
- ({ children, action }: ListItemAdditionalInfoProps): import("react").JSX.Element;
13
- displayName: string;
14
- };
15
- //# sourceMappingURL=ListItemAdditionalInfo.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ListItemAdditionalInfo.d.ts","sourceRoot":"","sources":["../../../../src/listItem/AdditionalInfo/ListItemAdditionalInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAc,MAAM,OAAO,CAAC;AAGtD,OAAa,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAGlD,MAAM,MAAM,2BAA2B,GAAG,iBAAiB,CAAC;IAC1D;;OAEG;IACH,MAAM,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC,CAAC;CAC7E,CAAC,CAAC;AAEH,eAAO,MAAM,cAAc;2BAAmC,2BAA2B;;CAoBxF,CAAC"}
@@ -1,3 +0,0 @@
1
- export type { ListItemAdditionalInfoProps } from './ListItemAdditionalInfo';
2
- export { AdditionalInfo } from './ListItemAdditionalInfo';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/listItem/AdditionalInfo/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC"}
@@ -1,18 +0,0 @@
1
- import { type AvatarLayoutProps } from '../../avatarLayout';
2
- type SizeProp = {
3
- size?: 32 | 40 | 48 | 56 | 72;
4
- };
5
- export type ListItemAvatarLayoutProps = Omit<AvatarLayoutProps, 'size' | 'interactive'> & SizeProp;
6
- /**
7
- * This component allows for rendering 2 avatars. It's a thin wrapper around the
8
- * [AvatarLayout component](https://storybook.wise.design/?path=/docs/content-avatarlayout--docs), but offers only
9
- * a subset of its sizes, and disallows interactive mode, in line with the ListItem's constraints. <br />
10
- * <br />
11
- * Please refer to the [Design documentation](https://wise.design/components/list-item#avatar) for details.
12
- */
13
- export declare const AvatarLayout: {
14
- ({ className, size, ...props }: ListItemAvatarLayoutProps): import("react").JSX.Element;
15
- displayName: string;
16
- };
17
- export {};
18
- //# sourceMappingURL=ListItemAvatarLayout.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ListItemAvatarLayout.d.ts","sourceRoot":"","sources":["../../../../src/listItem/AvatarLayout/ListItemAvatarLayout.tsx"],"names":[],"mappings":"AAAA,OAAyB,EAAE,KAAK,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAI9E,KAAK,QAAQ,GAAG;IAAE,IAAI,CAAC,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAA;CAAE,CAAC;AAElD,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAAC,iBAAiB,EAAE,MAAM,GAAG,aAAa,CAAC,GAAG,QAAQ,CAAC;AAEnG;;;;;;GAMG;AACH,eAAO,MAAM,YAAY;oCAAwC,yBAAyB;;CAUzF,CAAC"}
@@ -1,3 +0,0 @@
1
- export type { ListItemAvatarLayoutProps } from './ListItemAvatarLayout';
2
- export { AvatarLayout } from './ListItemAvatarLayout';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/listItem/AvatarLayout/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC"}
@@ -1,16 +0,0 @@
1
- import { type AvatarViewProps } from '../../avatarView';
2
- export type ListItemAvatarViewProps = Omit<AvatarViewProps, 'size' | 'interactive'> & {
3
- size?: 32 | 40 | 48 | 56 | 72;
4
- };
5
- /**
6
- * This component renders a single avatar. It's a thin wrapper around the
7
- * [AvatarView component](https://storybook.wise.design/?path=/docs/content-avatarview--docs), but offers only
8
- * a subset of its sizes, in line with the ListItem's constraints. <br />
9
- * <br />
10
- * Please refer to the [Design documentation](https://wise.design/components/list-item#avatar) for details.
11
- */
12
- export declare const AvatarView: {
13
- ({ className, size, ...props }: ListItemAvatarViewProps): import("react").JSX.Element;
14
- displayName: string;
15
- };
16
- //# sourceMappingURL=ListItemAvatarView.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ListItemAvatarView.d.ts","sourceRoot":"","sources":["../../../../src/listItem/AvatarView/ListItemAvatarView.tsx"],"names":[],"mappings":"AACA,OAAuB,EAAE,KAAK,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAGxE,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,eAAe,EAAE,MAAM,GAAG,aAAa,CAAC,GAAG;IACpF,IAAI,CAAC,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;CAC/B,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,UAAU;oCAAwC,uBAAuB;;CAUrF,CAAC"}
@@ -1,3 +0,0 @@
1
- export type { ListItemAvatarViewProps } from './ListItemAvatarView';
2
- export { AvatarView } from './ListItemAvatarView';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/listItem/AvatarView/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC"}
@@ -1,20 +0,0 @@
1
- import { type ButtonAddonIcon, type NewButtonProps } from '../../button';
2
- export type ListItemButtonProps = Omit<NewButtonProps, 'v2' | 'size' | 'disabled' | 'block' | 'addonStart'> & {
3
- /**
4
- * Toggles the [interactivity strategy](https://storybook.wise.design/?path=/docs/content-listitem--docs#interactivity) for the whole ListItem.
5
- */
6
- partiallyInteractive?: boolean;
7
- addonStart?: ButtonAddonIcon;
8
- };
9
- /**
10
- * This component allows for rendering a Button control. It's a thin wrapper around the
11
- * [Button component](https://storybook.wise.design/?path=/docs/content-button--docs), but offers only
12
- * a subset of its features in line with the ListItem's constraints. <br />
13
- * <br />
14
- * Please refer to the [Design documentation](https://wise.design/components/list-item---button) for details.
15
- */
16
- export declare const Button: {
17
- ({ priority, partiallyInteractive, ...props }: ListItemButtonProps): import("react").JSX.Element;
18
- displayName: string;
19
- };
20
- //# sourceMappingURL=ListItemButton.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ListItemButton.d.ts","sourceRoot":"","sources":["../../../../src/listItem/Button/ListItemButton.tsx"],"names":[],"mappings":"AAEA,OAAmB,EAAE,KAAK,eAAe,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAIrF,MAAM,MAAM,mBAAmB,GAAG,IAAI,CACpC,cAAc,EACd,IAAI,GAAG,MAAM,GAAG,UAAU,GAAG,OAAO,GAAG,YAAY,CACpD,GAAG;IACF;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,UAAU,CAAC,EAAE,eAAe,CAAC;CAC9B,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,MAAM;mDAIhB,mBAAmB;;CAyBrB,CAAC"}
@@ -1,3 +0,0 @@
1
- export type { ListItemButtonProps } from './ListItemButton';
2
- export { Button } from './ListItemButton';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/listItem/Button/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC"}
@@ -1,14 +0,0 @@
1
- import { type CheckboxButtonProps } from '../../checkboxButton/CheckboxButton';
2
- export type ListItemCheckboxProps = Pick<CheckboxButtonProps, 'checked' | 'indeterminate' | 'onChange' | 'onBlur' | 'onFocus' | 'value' | 'name'>;
3
- /**
4
- * This component allows for rendering a checkbox control within a fully interactive ListItem. <br />It's a thin wrapper around the
5
- * [CheckboxButton component](https://storybook.wise.design/?path=/docs/actions-checkboxbutton--docs),
6
- * but offers only a subset of its features in line with the ListItem's constraints. <br />
7
- *
8
- * Please refer to the [Design documentation](https://wise.design/components/list-item---checkbox) for details.
9
- */
10
- export declare const Checkbox: {
11
- (props: ListItemCheckboxProps): import("react").JSX.Element;
12
- displayName: string;
13
- };
14
- //# sourceMappingURL=ListItemCheckbox.d.ts.map