@webiny/ui 5.43.2 → 6.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (575) hide show
  1. package/Accordion/Accordion.d.ts +7 -3
  2. package/Accordion/Accordion.js +9 -30
  3. package/Accordion/Accordion.js.map +1 -1
  4. package/Accordion/AccordionItem.d.ts +116 -37
  5. package/Accordion/AccordionItem.js +33 -188
  6. package/Accordion/AccordionItem.js.map +1 -1
  7. package/Accordion/AccordionItemActions.d.ts +8 -0
  8. package/Accordion/AccordionItemActions.js +30 -28
  9. package/Accordion/AccordionItemActions.js.map +1 -1
  10. package/Accordion/index.js +2 -27
  11. package/Accordion/index.js.map +1 -1
  12. package/Alert/Alert.d.ts +2 -1
  13. package/Alert/Alert.js +16 -52
  14. package/Alert/Alert.js.map +1 -1
  15. package/Alert/index.js +1 -16
  16. package/Alert/index.js.map +1 -1
  17. package/AutoComplete/AutoComplete.d.ts +6 -18
  18. package/AutoComplete/AutoComplete.js +61 -289
  19. package/AutoComplete/AutoComplete.js.map +1 -1
  20. package/AutoComplete/MultiAutoComplete.d.ts +12 -46
  21. package/AutoComplete/MultiAutoComplete.js +78 -563
  22. package/AutoComplete/MultiAutoComplete.js.map +1 -1
  23. package/AutoComplete/index.js +2 -27
  24. package/AutoComplete/index.js.map +1 -1
  25. package/AutoComplete/types.d.ts +4 -4
  26. package/AutoComplete/types.js +1 -5
  27. package/AutoComplete/types.js.map +1 -1
  28. package/AutoComplete/utils.d.ts +1 -1
  29. package/AutoComplete/utils.js +4 -10
  30. package/AutoComplete/utils.js.map +1 -1
  31. package/Avatar/Avatar.d.ts +2 -1
  32. package/Avatar/Avatar.js +30 -81
  33. package/Avatar/Avatar.js.map +1 -1
  34. package/Avatar/index.js +1 -16
  35. package/Avatar/index.js.map +1 -1
  36. package/Button/Button.d.ts +8 -27
  37. package/Button/Button.js +12 -121
  38. package/Button/Button.js.map +1 -1
  39. package/Button/ButtonDefault.d.ts +7 -0
  40. package/Button/ButtonDefault.js +16 -0
  41. package/Button/ButtonDefault.js.map +1 -0
  42. package/Button/ButtonFloating.d.ts +7 -0
  43. package/Button/ButtonFloating.js +12 -0
  44. package/Button/ButtonFloating.js.map +1 -0
  45. package/Button/ButtonIcon.d.ts +9 -0
  46. package/Button/ButtonIcon.js +11 -0
  47. package/Button/ButtonIcon.js.map +1 -0
  48. package/Button/ButtonPrimary.d.ts +7 -0
  49. package/Button/ButtonPrimary.js +16 -0
  50. package/Button/ButtonPrimary.js.map +1 -0
  51. package/Button/ButtonSecondary.d.ts +7 -0
  52. package/Button/ButtonSecondary.js +16 -0
  53. package/Button/ButtonSecondary.js.map +1 -0
  54. package/Button/CopyButton.d.ts +17 -0
  55. package/Button/CopyButton.js +12 -0
  56. package/Button/CopyButton.js.map +1 -0
  57. package/Button/IconButton.d.ts +16 -0
  58. package/Button/IconButton.js +15 -0
  59. package/Button/IconButton.js.map +1 -0
  60. package/Button/index.d.ts +7 -2
  61. package/Button/index.js +8 -38
  62. package/Button/index.js.map +1 -1
  63. package/Button/useMappedButtonProps.d.ts +14 -0
  64. package/Button/useMappedButtonProps.js +21 -0
  65. package/Button/useMappedButtonProps.js.map +1 -0
  66. package/Carousel/Carousel.d.ts +6 -15
  67. package/Carousel/Carousel.js +10 -42
  68. package/Carousel/Carousel.js.map +1 -1
  69. package/Carousel/index.js +1 -13
  70. package/Carousel/index.js.map +1 -1
  71. package/Checkbox/Checkbox.d.ts +3 -5
  72. package/Checkbox/Checkbox.js +32 -64
  73. package/Checkbox/Checkbox.js.map +1 -1
  74. package/Checkbox/CheckboxGroup.d.ts +5 -1
  75. package/Checkbox/CheckboxGroup.js +46 -58
  76. package/Checkbox/CheckboxGroup.js.map +1 -1
  77. package/Checkbox/index.js +2 -20
  78. package/Checkbox/index.js.map +1 -1
  79. package/Chips/Chip.d.ts +31 -2
  80. package/Chips/Chip.js +44 -27
  81. package/Chips/Chip.js.map +1 -1
  82. package/Chips/Chips.d.ts +4 -0
  83. package/Chips/Chips.js +14 -21
  84. package/Chips/Chips.js.map +1 -1
  85. package/Chips/index.js +2 -27
  86. package/Chips/index.js.map +1 -1
  87. package/CodeEditor/CodeEditor.d.ts +4 -12
  88. package/CodeEditor/CodeEditor.js +12 -82
  89. package/CodeEditor/CodeEditor.js.map +1 -1
  90. package/CodeEditor/index.js +1 -16
  91. package/CodeEditor/index.js.map +1 -1
  92. package/ColorPicker/ColorPicker.d.ts +4 -19
  93. package/ColorPicker/ColorPicker.js +25 -150
  94. package/ColorPicker/ColorPicker.js.map +1 -1
  95. package/ColorPicker/index.js +1 -16
  96. package/ColorPicker/index.js.map +1 -1
  97. package/ConfirmationDialog/ConfirmationDialog.js +78 -102
  98. package/ConfirmationDialog/ConfirmationDialog.js.map +1 -1
  99. package/ConfirmationDialog/index.js +2 -27
  100. package/ConfirmationDialog/index.js.map +1 -1
  101. package/ConfirmationDialog/withConfirmation.js +10 -18
  102. package/ConfirmationDialog/withConfirmation.js.map +1 -1
  103. package/DataTable/DataTable.d.ts +54 -91
  104. package/DataTable/DataTable.js +56 -324
  105. package/DataTable/DataTable.js.map +1 -1
  106. package/DataTable/index.js +1 -16
  107. package/DataTable/index.js.map +1 -1
  108. package/DateTime/Date.js +14 -21
  109. package/DateTime/Date.js.map +1 -1
  110. package/DateTime/index.js +1 -12
  111. package/DateTime/index.js.map +1 -1
  112. package/DelayedOnChange/index.d.ts +7 -1
  113. package/DelayedOnChange/index.js +7 -16
  114. package/DelayedOnChange/index.js.map +1 -1
  115. package/Dialog/Dialog.d.ts +47 -59
  116. package/Dialog/Dialog.js +69 -79
  117. package/Dialog/Dialog.js.map +1 -1
  118. package/Dialog/index.js +1 -16
  119. package/Dialog/index.js.map +1 -1
  120. package/Drawer/Drawer.d.ts +28 -21
  121. package/Drawer/Drawer.js +42 -52
  122. package/Drawer/Drawer.js.map +1 -1
  123. package/Drawer/index.js +1 -16
  124. package/Drawer/index.js.map +1 -1
  125. package/DynamicFieldset/index.d.ts +7 -1
  126. package/DynamicFieldset/index.js +7 -13
  127. package/DynamicFieldset/index.js.map +1 -1
  128. package/Elevation/Elevation.d.ts +6 -2
  129. package/Elevation/Elevation.js +13 -15
  130. package/Elevation/Elevation.js.map +1 -1
  131. package/Elevation/index.js +1 -16
  132. package/Elevation/index.js.map +1 -1
  133. package/FormElementMessage/FormElementMessage.d.ts +6 -2
  134. package/FormElementMessage/FormElementMessage.js +21 -16
  135. package/FormElementMessage/FormElementMessage.js.map +1 -1
  136. package/FormElementMessage/index.js +1 -12
  137. package/FormElementMessage/index.js.map +1 -1
  138. package/FullName/FullName.d.ts +4 -0
  139. package/FullName/FullName.js +11 -9
  140. package/FullName/FullName.js.map +1 -1
  141. package/FullName/index.js +1 -16
  142. package/FullName/index.js.map +1 -1
  143. package/Grid/Grid.d.ts +32 -8
  144. package/Grid/Grid.js +37 -16
  145. package/Grid/Grid.js.map +1 -1
  146. package/Grid/index.js +1 -16
  147. package/Grid/index.js.map +1 -1
  148. package/Helpers/ClassNames.d.ts +3 -3
  149. package/Helpers/ClassNames.js +13 -19
  150. package/Helpers/ClassNames.js.map +1 -1
  151. package/Helpers/index.js +2 -12
  152. package/Helpers/index.js.map +1 -1
  153. package/Icon/Icon.d.ts +7 -2
  154. package/Icon/Icon.js +9 -25
  155. package/Icon/Icon.js.map +1 -1
  156. package/Icon/index.js +1 -16
  157. package/Icon/index.js.map +1 -1
  158. package/Image/index.d.ts +6 -1
  159. package/Image/index.js +6 -15
  160. package/Image/index.js.map +1 -1
  161. package/ImageEditor/ImageEditor.d.ts +8 -23
  162. package/ImageEditor/ImageEditor.js +11 -266
  163. package/ImageEditor/ImageEditor.js.map +1 -1
  164. package/ImageEditor/index.js +1 -16
  165. package/ImageEditor/index.js.map +1 -1
  166. package/ImageUpload/Image.d.ts +8 -15
  167. package/ImageUpload/Image.js +12 -114
  168. package/ImageUpload/Image.js.map +1 -1
  169. package/ImageUpload/ImageEditorDialog.d.ts +5 -1
  170. package/ImageUpload/ImageEditorDialog.js +11 -79
  171. package/ImageUpload/ImageEditorDialog.js.map +1 -1
  172. package/ImageUpload/MultiImageUpload.d.ts +6 -21
  173. package/ImageUpload/MultiImageUpload.js +12 -278
  174. package/ImageUpload/MultiImageUpload.js.map +1 -1
  175. package/ImageUpload/SingleImageUpload.d.ts +5 -22
  176. package/ImageUpload/SingleImageUpload.js +12 -189
  177. package/ImageUpload/SingleImageUpload.js.map +1 -1
  178. package/ImageUpload/index.d.ts +1 -1
  179. package/ImageUpload/index.js +4 -34
  180. package/ImageUpload/index.js.map +1 -1
  181. package/Input/Input.d.ts +59 -8
  182. package/Input/Input.js +70 -73
  183. package/Input/Input.js.map +1 -1
  184. package/Input/index.js +1 -16
  185. package/Input/index.js.map +1 -1
  186. package/List/CollapsibleList/index.d.ts +18 -4
  187. package/List/CollapsibleList/index.js +9 -13
  188. package/List/CollapsibleList/index.js.map +1 -1
  189. package/List/DataList/DataList.d.ts +12 -38
  190. package/List/DataList/DataList.js +15 -305
  191. package/List/DataList/DataList.js.map +1 -1
  192. package/List/DataList/DataListModalOverlay/index.d.ts +12 -3
  193. package/List/DataList/DataListModalOverlay/index.js +13 -31
  194. package/List/DataList/DataListModalOverlay/index.js.map +1 -1
  195. package/List/DataList/DataListWithSections.d.ts +12 -36
  196. package/List/DataList/DataListWithSections.js +15 -323
  197. package/List/DataList/DataListWithSections.js.map +1 -1
  198. package/List/DataList/icons/index.d.ts +1 -15
  199. package/List/DataList/icons/index.js +1 -62
  200. package/List/DataList/icons/index.js.map +1 -1
  201. package/List/DataList/index.d.ts +0 -1
  202. package/List/DataList/index.js +3 -58
  203. package/List/DataList/index.js.map +1 -1
  204. package/List/DataList/types.d.ts +1 -28
  205. package/List/DataList/types.js +1 -5
  206. package/List/DataList/types.js.map +1 -1
  207. package/List/List/List.d.ts +51 -0
  208. package/List/List/List.js +16 -0
  209. package/List/List/List.js.map +1 -0
  210. package/List/List/ListItem.d.ts +61 -0
  211. package/List/List/ListItem.js +91 -0
  212. package/List/List/ListItem.js.map +1 -0
  213. package/List/List/ListItemAction.d.ts +9 -0
  214. package/List/List/ListItemAction.js +15 -0
  215. package/List/List/ListItemAction.js.map +1 -0
  216. package/List/List/ListItemGraphic.d.ts +18 -0
  217. package/List/List/ListItemGraphic.js +26 -0
  218. package/List/List/ListItemGraphic.js.map +1 -0
  219. package/List/List/ListItemMeta.d.ts +26 -0
  220. package/List/List/ListItemMeta.js +24 -0
  221. package/List/List/ListItemMeta.js.map +1 -0
  222. package/List/List/ListItemText.d.ts +42 -0
  223. package/List/List/ListItemText.js +51 -0
  224. package/List/List/ListItemText.js.map +1 -0
  225. package/List/List/index.d.ts +6 -0
  226. package/List/List/index.js +8 -0
  227. package/List/List/index.js.map +1 -0
  228. package/List/index.d.ts +1 -0
  229. package/List/index.js +4 -70
  230. package/List/index.js.map +1 -1
  231. package/Menu/Menu.d.ts +40 -4
  232. package/Menu/Menu.js +74 -100
  233. package/Menu/Menu.js.map +1 -1
  234. package/Menu/index.js +1 -16
  235. package/Menu/index.js.map +1 -1
  236. package/Mosaic/Mosaic.d.ts +5 -5
  237. package/Mosaic/Mosaic.js +6 -26
  238. package/Mosaic/Mosaic.js.map +1 -1
  239. package/Mosaic/index.js +1 -16
  240. package/Mosaic/index.js.map +1 -1
  241. package/Progress/CircularProgress.d.ts +10 -2
  242. package/Progress/CircularProgress.js +16 -67
  243. package/Progress/CircularProgress.js.map +1 -1
  244. package/Progress/index.d.ts +1 -1
  245. package/Progress/index.js +1 -13
  246. package/Progress/index.js.map +1 -1
  247. package/Radio/Radio.d.ts +3 -3
  248. package/Radio/Radio.js +34 -54
  249. package/Radio/Radio.js.map +1 -1
  250. package/Radio/RadioGroup.d.ts +6 -2
  251. package/Radio/RadioGroup.js +37 -48
  252. package/Radio/RadioGroup.js.map +1 -1
  253. package/Radio/index.js +2 -20
  254. package/Radio/index.js.map +1 -1
  255. package/RichTextEditor/RichTextEditor.d.ts +10 -29
  256. package/RichTextEditor/RichTextEditor.js +14 -131
  257. package/RichTextEditor/RichTextEditor.js.map +1 -1
  258. package/RichTextEditor/index.d.ts +3 -2
  259. package/RichTextEditor/index.js +2 -27
  260. package/RichTextEditor/index.js.map +1 -1
  261. package/Ripple/Ripple.d.ts +1 -1
  262. package/Ripple/Ripple.js +6 -15
  263. package/Ripple/Ripple.js.map +1 -1
  264. package/Ripple/index.js +1 -16
  265. package/Ripple/index.js.map +1 -1
  266. package/Scrollbar/Scrollbar.d.ts +5 -8
  267. package/Scrollbar/Scrollbar.js +7 -11
  268. package/Scrollbar/Scrollbar.js.map +1 -1
  269. package/Scrollbar/index.js +1 -16
  270. package/Scrollbar/index.js.map +1 -1
  271. package/Section/index.d.ts +4 -0
  272. package/Section/index.js +13 -66
  273. package/Section/index.js.map +1 -1
  274. package/Select/Select.d.ts +36 -3
  275. package/Select/Select.js +91 -90
  276. package/Select/Select.js.map +1 -1
  277. package/Select/index.js +1 -16
  278. package/Select/index.js.map +1 -1
  279. package/Skeleton/Skeleton.d.ts +24 -6
  280. package/Skeleton/Skeleton.js +16 -20
  281. package/Skeleton/Skeleton.js.map +1 -1
  282. package/Skeleton/index.js +1 -16
  283. package/Skeleton/index.js.map +1 -1
  284. package/Slider/Slider.d.ts +7 -13
  285. package/Slider/Slider.js +47 -81
  286. package/Slider/Slider.js.map +1 -1
  287. package/Slider/index.js +1 -13
  288. package/Slider/index.js.map +1 -1
  289. package/Snackbar/Snackbar.d.ts +44 -8
  290. package/Snackbar/Snackbar.js +27 -44
  291. package/Snackbar/Snackbar.js.map +1 -1
  292. package/Snackbar/index.js +1 -18
  293. package/Snackbar/index.js.map +1 -1
  294. package/Switch/Switch.d.ts +18 -3
  295. package/Switch/Switch.js +25 -47
  296. package/Switch/Switch.js.map +1 -1
  297. package/Switch/index.js +1 -16
  298. package/Switch/index.js.map +1 -1
  299. package/Tabs/Tab.d.ts +23 -2
  300. package/Tabs/Tab.js +16 -20
  301. package/Tabs/Tab.js.map +1 -1
  302. package/Tabs/Tabs.d.ts +12 -7
  303. package/Tabs/Tabs.js +56 -110
  304. package/Tabs/Tabs.js.map +1 -1
  305. package/Tabs/index.js +2 -27
  306. package/Tabs/index.js.map +1 -1
  307. package/Tags/Tags.d.ts +1 -1
  308. package/Tags/Tags.js +31 -83
  309. package/Tags/Tags.js.map +1 -1
  310. package/Tags/index.js +1 -16
  311. package/Tags/index.js.map +1 -1
  312. package/TimeAgo/index.d.ts +6 -2
  313. package/TimeAgo/index.js +6 -13
  314. package/TimeAgo/index.js.map +1 -1
  315. package/Tooltip/Tooltip.d.ts +4 -16
  316. package/Tooltip/Tooltip.js +61 -49
  317. package/Tooltip/Tooltip.js.map +1 -1
  318. package/Tooltip/index.js +1 -16
  319. package/Tooltip/index.js.map +1 -1
  320. package/TopAppBar/TopAppBar.d.ts +25 -1
  321. package/TopAppBar/TopAppBar.js +34 -14
  322. package/TopAppBar/TopAppBar.js.map +1 -1
  323. package/TopAppBar/TopAppBarActionItem.d.ts +5 -3
  324. package/TopAppBar/TopAppBarActionItem.js +10 -11
  325. package/TopAppBar/TopAppBarActionItem.js.map +1 -1
  326. package/TopAppBar/TopAppBarNavigationIcon.d.ts +5 -3
  327. package/TopAppBar/TopAppBarNavigationIcon.js +10 -11
  328. package/TopAppBar/TopAppBarNavigationIcon.js.map +1 -1
  329. package/TopAppBar/TopAppBarPrimary.d.ts +4 -0
  330. package/TopAppBar/TopAppBarPrimary.js +13 -15
  331. package/TopAppBar/TopAppBarPrimary.js.map +1 -1
  332. package/TopAppBar/TopAppBarSecondary.d.ts +4 -0
  333. package/TopAppBar/TopAppBarSecondary.js +14 -17
  334. package/TopAppBar/TopAppBarSecondary.js.map +1 -1
  335. package/TopAppBar/TopAppBarSection.d.ts +10 -1
  336. package/TopAppBar/TopAppBarSection.js +8 -15
  337. package/TopAppBar/TopAppBarSection.js.map +1 -1
  338. package/TopAppBar/TopAppBarTitle.d.ts +6 -3
  339. package/TopAppBar/TopAppBarTitle.js +9 -15
  340. package/TopAppBar/TopAppBarTitle.js.map +1 -1
  341. package/TopAppBar/index.js +7 -82
  342. package/TopAppBar/index.js.map +1 -1
  343. package/Typography/Typography.d.ts +8 -3
  344. package/Typography/Typography.js +32 -12
  345. package/Typography/Typography.js.map +1 -1
  346. package/Typography/index.js +1 -16
  347. package/Typography/index.js.map +1 -1
  348. package/package.json +9 -63
  349. package/styles.scss +15 -41
  350. package/types.js +1 -5
  351. package/Accordion/README.md +0 -11
  352. package/Accordion/icons/round-keyboard_arrow_down-24px.svg +0 -16
  353. package/Accordion/icons/round-keyboard_arrow_up-24px.svg +0 -16
  354. package/Accordion/icons/round-settings-24px.svg +0 -21
  355. package/Alert/README.md +0 -11
  356. package/AutoComplete/AutoCompleteReadme.md +0 -11
  357. package/AutoComplete/MultiAutoCompleteReadme.md +0 -11
  358. package/AutoComplete/icons/baseline-close-24px.svg +0 -4
  359. package/AutoComplete/icons/delete.svg +0 -12
  360. package/AutoComplete/icons/navigate_before-24px.svg +0 -1
  361. package/AutoComplete/icons/navigate_next-24px.svg +0 -1
  362. package/AutoComplete/icons/reorder_black_24dp.svg +0 -1
  363. package/AutoComplete/icons/skip_next-24px.svg +0 -1
  364. package/AutoComplete/icons/skip_previous-24px.svg +0 -1
  365. package/AutoComplete/icons/spinner.svg +0 -3
  366. package/AutoComplete/styles.d.ts +0 -2
  367. package/AutoComplete/styles.js +0 -66
  368. package/AutoComplete/styles.js.map +0 -1
  369. package/Avatar/README.md +0 -11
  370. package/Button/Button.styles.d.ts +0 -6
  371. package/Button/Button.styles.js +0 -17
  372. package/Button/Button.styles.js.map +0 -1
  373. package/Button/CopyButton/CopyButton.d.ts +0 -11
  374. package/Button/CopyButton/CopyButton.js +0 -33
  375. package/Button/CopyButton/CopyButton.js.map +0 -1
  376. package/Button/CopyButton/README.md +0 -11
  377. package/Button/IconButton/IconButton.d.ts +0 -37
  378. package/Button/IconButton/IconButton.js +0 -49
  379. package/Button/IconButton/IconButton.js.map +0 -1
  380. package/Button/IconButton/README.md +0 -15
  381. package/Button/README.md +0 -28
  382. package/Button/assets/baseline-cloud_done-24px.svg +0 -3
  383. package/Button/assets/file_copy-24px.svg +0 -1
  384. package/Button/assets/round-more_vert-24px.svg +0 -12
  385. package/Carousel/README.md +0 -15
  386. package/Checkbox/Checkbox.styles.d.ts +0 -6
  387. package/Checkbox/Checkbox.styles.js +0 -21
  388. package/Checkbox/Checkbox.styles.js.map +0 -1
  389. package/Checkbox/README_Checkbox.md +0 -15
  390. package/Checkbox/README_CheckboxGroup.md +0 -19
  391. package/Chips/README.md +0 -15
  392. package/Chips/icons/baseline-done-24px.svg +0 -4
  393. package/Chips/icons/baseline-email-24px.svg +0 -3
  394. package/Chips/styles.d.ts +0 -2
  395. package/Chips/styles.js +0 -25
  396. package/Chips/styles.js.map +0 -1
  397. package/CodeEditor/README.md +0 -21
  398. package/ColorPicker/README.md +0 -11
  399. package/ConfirmationDialog/README.md +0 -11
  400. package/DataTable/ColumnDirection.d.ts +0 -5
  401. package/DataTable/ColumnDirection.js +0 -19
  402. package/DataTable/ColumnDirection.js.map +0 -1
  403. package/DataTable/ColumnsVisibility.d.ts +0 -7
  404. package/DataTable/ColumnsVisibility.js +0 -64
  405. package/DataTable/ColumnsVisibility.js.map +0 -1
  406. package/DataTable/README.md +0 -72
  407. package/DataTable/styled.d.ts +0 -41
  408. package/DataTable/styled.js +0 -126
  409. package/DataTable/styled.js.map +0 -1
  410. package/DelayedOnChange/DelayedOnChange.d.ts +0 -39
  411. package/DelayedOnChange/DelayedOnChange.js +0 -132
  412. package/DelayedOnChange/DelayedOnChange.js.map +0 -1
  413. package/Dialog/README.md +0 -23
  414. package/Drawer/README.md +0 -15
  415. package/DynamicFieldset/Fieldset.d.ts +0 -51
  416. package/DynamicFieldset/Fieldset.js +0 -139
  417. package/DynamicFieldset/Fieldset.js.map +0 -1
  418. package/Elevation/README.md +0 -15
  419. package/FullName/README.md +0 -11
  420. package/Grid/README.md +0 -15
  421. package/Icon/README.md +0 -11
  422. package/Icon/svg/baseline-autorenew-24px.svg +0 -4
  423. package/Icon/svg/baseline-cloud_done-24px.svg +0 -4
  424. package/Icon/svg/baseline-delete-24px.svg +0 -4
  425. package/Icon/svg/baseline-done-24px.svg +0 -4
  426. package/Image/Image.d.ts +0 -6
  427. package/Image/Image.js +0 -25
  428. package/Image/Image.js.map +0 -1
  429. package/Image/README.md +0 -12
  430. package/ImageEditor/toolbar/crop.d.ts +0 -4
  431. package/ImageEditor/toolbar/crop.js +0 -74
  432. package/ImageEditor/toolbar/crop.js.map +0 -1
  433. package/ImageEditor/toolbar/filter.d.ts +0 -3
  434. package/ImageEditor/toolbar/filter.js +0 -208
  435. package/ImageEditor/toolbar/filter.js.map +0 -1
  436. package/ImageEditor/toolbar/flip.d.ts +0 -4
  437. package/ImageEditor/toolbar/flip.js +0 -99
  438. package/ImageEditor/toolbar/flip.js.map +0 -1
  439. package/ImageEditor/toolbar/icons/crop.svg +0 -4
  440. package/ImageEditor/toolbar/icons/draw.svg +0 -4
  441. package/ImageEditor/toolbar/icons/filter.svg +0 -4
  442. package/ImageEditor/toolbar/icons/flip.svg +0 -4
  443. package/ImageEditor/toolbar/icons/index.d.ts +0 -8
  444. package/ImageEditor/toolbar/icons/index.js +0 -63
  445. package/ImageEditor/toolbar/icons/index.js.map +0 -1
  446. package/ImageEditor/toolbar/icons/redo.svg +0 -4
  447. package/ImageEditor/toolbar/icons/rotateLeft.svg +0 -4
  448. package/ImageEditor/toolbar/icons/rotateRight.svg +0 -4
  449. package/ImageEditor/toolbar/icons/undo.svg +0 -4
  450. package/ImageEditor/toolbar/index.d.ts +0 -4
  451. package/ImageEditor/toolbar/index.js +0 -36
  452. package/ImageEditor/toolbar/index.js.map +0 -1
  453. package/ImageEditor/toolbar/rotate.d.ts +0 -4
  454. package/ImageEditor/toolbar/rotate.js +0 -127
  455. package/ImageEditor/toolbar/rotate.js.map +0 -1
  456. package/ImageEditor/toolbar/types.d.ts +0 -32
  457. package/ImageEditor/toolbar/types.js +0 -7
  458. package/ImageEditor/toolbar/types.js.map +0 -1
  459. package/ImageUpload/README.md +0 -11
  460. package/ImageUpload/icons/round-add_photo_alternate-24px.svg +0 -23
  461. package/ImageUpload/icons/round-close-24px.svg +0 -13
  462. package/ImageUpload/icons/round-edit-24px.svg +0 -4
  463. package/ImageUpload/image.jpeg +0 -0
  464. package/ImageUpload/styled.d.ts +0 -27
  465. package/ImageUpload/styled.js +0 -120
  466. package/ImageUpload/styled.js.map +0 -1
  467. package/Input/README.md +0 -16
  468. package/Input/__tests__/Input.test.d.ts +0 -1
  469. package/Input/__tests__/Input.test.js +0 -103
  470. package/Input/__tests__/Input.test.js.map +0 -1
  471. package/Input/styled.d.ts +0 -4
  472. package/Input/styled.js +0 -16
  473. package/Input/styled.js.map +0 -1
  474. package/Input/svg/baseline-autorenew-24px.svg +0 -4
  475. package/Input/svg/baseline-cloud_done-24px.svg +0 -4
  476. package/Input/svg/baseline-delete-24px.svg +0 -4
  477. package/Input/svg/baseline-done-24px.svg +0 -4
  478. package/List/CollapsibleList/README.md +0 -11
  479. package/List/CollapsibleList/index.css +0 -31
  480. package/List/DataList/DataListModalOverlay/DataListModalOverlay.d.ts +0 -20
  481. package/List/DataList/DataListModalOverlay/DataListModalOverlay.js +0 -99
  482. package/List/DataList/DataListModalOverlay/DataListModalOverlay.js.map +0 -1
  483. package/List/DataList/DataListModalOverlay/DataListModalOverlayAction.d.ts +0 -6
  484. package/List/DataList/DataListModalOverlay/DataListModalOverlayAction.js +0 -29
  485. package/List/DataList/DataListModalOverlay/DataListModalOverlayAction.js.map +0 -1
  486. package/List/DataList/DataListModalOverlay/DataListModalOverlayContext.d.ts +0 -11
  487. package/List/DataList/DataListModalOverlay/DataListModalOverlayContext.js +0 -30
  488. package/List/DataList/DataListModalOverlay/DataListModalOverlayContext.js.map +0 -1
  489. package/List/DataList/Loader.d.ts +0 -3
  490. package/List/DataList/Loader.js +0 -105
  491. package/List/DataList/Loader.js.map +0 -1
  492. package/List/DataList/NoData.d.ts +0 -3
  493. package/List/DataList/NoData.js +0 -33
  494. package/List/DataList/NoData.js.map +0 -1
  495. package/List/DataList/README.md +0 -17
  496. package/List/DataList/icons/baseline-autorenew-24px.svg +0 -4
  497. package/List/DataList/icons/baseline-delete-24px.svg +0 -4
  498. package/List/DataList/icons/baseline-edit-24px.svg +0 -4
  499. package/List/DataList/icons/baseline-navigate_before-24px.svg +0 -4
  500. package/List/DataList/icons/baseline-navigate_next-24px.svg +0 -4
  501. package/List/DataList/icons/baseline-sort-24px.svg +0 -4
  502. package/List/DataList/icons/baseline-tune-24px.svg +0 -4
  503. package/List/DataList/icons/filter_alt-24px.svg +0 -1
  504. package/List/DataList/icons/round-more_vert-24px.svg +0 -12
  505. package/List/List.d.ts +0 -131
  506. package/List/List.js +0 -148
  507. package/List/List.js.map +0 -1
  508. package/List/README.md +0 -22
  509. package/List/icons/baseline-autorenew-24px.svg +0 -4
  510. package/List/icons/baseline-cloud_done-24px.svg +0 -4
  511. package/List/icons/baseline-delete-24px.svg +0 -4
  512. package/List/icons/baseline-done-24px.svg +0 -4
  513. package/List/icons/baseline-email-24px.svg +0 -4
  514. package/List/icons/index.d.ts +0 -3
  515. package/List/icons/index.js +0 -22
  516. package/List/icons/index.js.map +0 -1
  517. package/List/styled.d.ts +0 -6
  518. package/List/styled.js +0 -29
  519. package/List/styled.js.map +0 -1
  520. package/Menu/README.md +0 -15
  521. package/Mosaic/README.md +0 -15
  522. package/Progress/README.md +0 -19
  523. package/Progress/svg/circularProgress.svg +0 -3
  524. package/Radio/README.md +0 -17
  525. package/Radio/Radio.styles.d.ts +0 -6
  526. package/Radio/Radio.styles.js +0 -21
  527. package/Radio/Radio.styles.js.map +0 -1
  528. package/RichTextEditor/README.md +0 -10
  529. package/RichTextEditor/createPropsFromConfig.d.ts +0 -15
  530. package/RichTextEditor/createPropsFromConfig.js +0 -30
  531. package/RichTextEditor/createPropsFromConfig.js.map +0 -1
  532. package/Ripple/README.md +0 -15
  533. package/Ripple/svg/baseline-autorenew-24px.svg +0 -4
  534. package/Ripple/svg/baseline-cloud_done-24px.svg +0 -4
  535. package/Ripple/svg/baseline-delete-24px.svg +0 -4
  536. package/Ripple/svg/baseline-done-24px.svg +0 -4
  537. package/Scrollbar/README.md +0 -15
  538. package/Section/README.md +0 -11
  539. package/Select/README.md +0 -15
  540. package/Select/styled.d.ts +0 -8
  541. package/Select/styled.js +0 -21
  542. package/Select/styled.js.map +0 -1
  543. package/Skeleton/README.md +0 -21
  544. package/Slider/README.md +0 -15
  545. package/Snackbar/README.md +0 -15
  546. package/Switch/README.md +0 -15
  547. package/Tabs/svg/baseline-autorenew-24px.svg +0 -4
  548. package/Tabs/svg/baseline-cloud_done-24px.svg +0 -4
  549. package/Tabs/svg/baseline-delete-24px.svg +0 -4
  550. package/Tabs/svg/baseline-done-24px.svg +0 -4
  551. package/Tags/README.md +0 -15
  552. package/Tags/icons/baseline-close-24px.svg +0 -4
  553. package/Tooltip/README.md +0 -15
  554. package/Tooltip/style.scss +0 -97
  555. package/TopAppBar/README.md +0 -20
  556. package/TopAppBar/icons/baseline-autorenew-24px.svg +0 -4
  557. package/TopAppBar/icons/baseline-cloud_done-24px.svg +0 -4
  558. package/TopAppBar/icons/baseline-delete-24px.svg +0 -4
  559. package/TopAppBar/icons/baseline-email-24px.svg +0 -4
  560. package/TopAppBar/icons/baseline-menu-24px.svg +0 -4
  561. package/TopProgressBar/README.md +0 -11
  562. package/TopProgressBar/TopProgressBar.d.ts +0 -15
  563. package/TopProgressBar/TopProgressBar.js +0 -18
  564. package/TopProgressBar/TopProgressBar.js.map +0 -1
  565. package/TopProgressBar/hoc/index.d.ts +0 -1
  566. package/TopProgressBar/hoc/index.js +0 -15
  567. package/TopProgressBar/hoc/index.js.map +0 -1
  568. package/TopProgressBar/hoc/withTopProgressBar.d.ts +0 -3
  569. package/TopProgressBar/hoc/withTopProgressBar.js +0 -29
  570. package/TopProgressBar/hoc/withTopProgressBar.js.map +0 -1
  571. package/TopProgressBar/index.d.ts +0 -1
  572. package/TopProgressBar/index.js +0 -18
  573. package/TopProgressBar/index.js.map +0 -1
  574. package/TopProgressBar/style.scss +0 -21
  575. package/Typography/README.md +0 -15
@@ -1,64 +1,3 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.SortIcon = exports.RefreshIcon = exports.PreviousPageIcon = exports.OptionsIcon = exports.NextPageIcon = exports.FilterIcon = exports.EditIcon = exports.DeleteIcon = exports.CreateIcon = void 0;
8
- var _react = _interopRequireDefault(require("react"));
9
- var _Button = require("../../../Button");
10
- var _baselineAutorenew24px = require("./baseline-autorenew-24px.svg");
11
- var _baselineEdit24px = require("./baseline-edit-24px.svg");
12
- var _baselineDelete24px = require("./baseline-delete-24px.svg");
13
- var _baselineSort24px = require("./baseline-sort-24px.svg");
14
- var _filter_alt24px = require("./filter_alt-24px.svg");
15
- var _baselineNavigate_before24px = require("./baseline-navigate_before-24px.svg");
16
- var _baselineNavigate_next24px = require("./baseline-navigate_next-24px.svg");
17
- var _baselineTune24px = require("./baseline-tune-24px.svg");
18
- var RefreshIcon = exports.RefreshIcon = function RefreshIcon(props) {
19
- return /*#__PURE__*/_react.default.createElement(_Button.IconButton, Object.assign({
20
- icon: /*#__PURE__*/_react.default.createElement(_baselineAutorenew24px.ReactComponent, null)
21
- }, props));
22
- };
23
- var DeleteIcon = exports.DeleteIcon = function DeleteIcon(props) {
24
- return /*#__PURE__*/_react.default.createElement(_Button.IconButton, Object.assign({
25
- icon: /*#__PURE__*/_react.default.createElement(_baselineDelete24px.ReactComponent, null)
26
- }, props));
27
- };
28
- var CreateIcon = exports.CreateIcon = function CreateIcon(props) {
29
- return /*#__PURE__*/_react.default.createElement(_Button.IconButton, Object.assign({
30
- icon: /*#__PURE__*/_react.default.createElement(_baselineEdit24px.ReactComponent, null)
31
- }, props));
32
- };
33
- var EditIcon = exports.EditIcon = function EditIcon(props) {
34
- return /*#__PURE__*/_react.default.createElement(_Button.IconButton, Object.assign({
35
- icon: /*#__PURE__*/_react.default.createElement(_baselineEdit24px.ReactComponent, null)
36
- }, props));
37
- };
38
- var SortIcon = exports.SortIcon = function SortIcon(props) {
39
- return /*#__PURE__*/_react.default.createElement(_Button.IconButton, Object.assign({
40
- icon: /*#__PURE__*/_react.default.createElement(_baselineSort24px.ReactComponent, null)
41
- }, props));
42
- };
43
- var FilterIcon = exports.FilterIcon = function FilterIcon(props) {
44
- return /*#__PURE__*/_react.default.createElement(_Button.IconButton, Object.assign({
45
- icon: /*#__PURE__*/_react.default.createElement(_filter_alt24px.ReactComponent, null)
46
- }, props));
47
- };
48
- var PreviousPageIcon = exports.PreviousPageIcon = function PreviousPageIcon(props) {
49
- return /*#__PURE__*/_react.default.createElement(_Button.IconButton, Object.assign({
50
- icon: /*#__PURE__*/_react.default.createElement(_baselineNavigate_before24px.ReactComponent, null)
51
- }, props));
52
- };
53
- var NextPageIcon = exports.NextPageIcon = function NextPageIcon(props) {
54
- return /*#__PURE__*/_react.default.createElement(_Button.IconButton, Object.assign({
55
- icon: /*#__PURE__*/_react.default.createElement(_baselineNavigate_next24px.ReactComponent, null)
56
- }, props));
57
- };
58
- var OptionsIcon = exports.OptionsIcon = function OptionsIcon(props) {
59
- return /*#__PURE__*/_react.default.createElement(_Button.IconButton, Object.assign({
60
- icon: /*#__PURE__*/_react.default.createElement(_baselineTune24px.ReactComponent, null)
61
- }, props));
62
- };
1
+ export * from "@webiny/admin-ui/DataList/DataListIcons";
63
2
 
64
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_Button","_baselineAutorenew24px","_baselineEdit24px","_baselineDelete24px","_baselineSort24px","_filter_alt24px","_baselineNavigate_before24px","_baselineNavigate_next24px","_baselineTune24px","RefreshIcon","exports","props","default","createElement","IconButton","Object","assign","icon","ReactComponent","DeleteIcon","CreateIcon","EditIcon","SortIcon","FilterIcon","PreviousPageIcon","NextPageIcon","OptionsIcon"],"sources":["index.tsx"],"sourcesContent":["import React from \"react\";\nimport { IconButton, IconButtonProps as BaseIconProps } from \"../../../Button\";\nimport { ReactComponent as AutoRenew } from \"./baseline-autorenew-24px.svg\";\nimport { ReactComponent as Pen } from \"./baseline-edit-24px.svg\";\nimport { ReactComponent as Delete } from \"./baseline-delete-24px.svg\";\nimport { ReactComponent as Sort } from \"./baseline-sort-24px.svg\";\nimport { ReactComponent as Filter } from \"./filter_alt-24px.svg\";\nimport { ReactComponent as NavigateBefore } from \"./baseline-navigate_before-24px.svg\";\nimport { ReactComponent as NavigateNext } from \"./baseline-navigate_next-24px.svg\";\nimport { ReactComponent as TuneIcon } from \"./baseline-tune-24px.svg\";\n\ntype IconButtonProps = Omit<BaseIconProps, \"icon\"> & {\n icon?: React.ReactElement<any>;\n};\n\nexport const RefreshIcon = (props: IconButtonProps) => {\n return <IconButton icon={<AutoRenew />} {...props} />;\n};\n\nexport const DeleteIcon = (props: IconButtonProps) => {\n return <IconButton icon={<Delete />} {...props} />;\n};\n\nexport const CreateIcon = (props: IconButtonProps) => {\n return <IconButton icon={<Pen />} {...props} />;\n};\n\nexport const EditIcon = (props: IconButtonProps) => {\n return <IconButton icon={<Pen />} {...props} />;\n};\n\nexport const SortIcon = (props: IconButtonProps) => {\n return <IconButton icon={<Sort />} {...props} />;\n};\n\nexport const FilterIcon = (props: IconButtonProps) => {\n return <IconButton icon={<Filter />} {...props} />;\n};\n\nexport const PreviousPageIcon = (props: IconButtonProps) => {\n return <IconButton icon={<NavigateBefore />} {...props} />;\n};\n\nexport const NextPageIcon = (props: IconButtonProps) => {\n return <IconButton icon={<NavigateNext />} {...props} />;\n};\n\nexport const OptionsIcon = (props: IconButtonProps) => {\n return <IconButton icon={<TuneIcon />} {...props} />;\n};\n"],"mappings":"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","ignoreList":[]}
1
+ {"version":3,"names":[],"sources":["index.tsx"],"sourcesContent":["export * from \"@webiny/admin-ui/DataList/DataListIcons\";\n"],"mappings":"AAAA,cAAc,yCAAyC","ignoreList":[]}
@@ -1,4 +1,3 @@
1
1
  export { DataList, ScrollList } from "./DataList";
2
2
  export { DataListWithSections, ScrollListWithSections } from "./DataListWithSections";
3
- export { default as NoData } from "./NoData";
4
3
  export * from "./DataListModalOverlay";
@@ -1,60 +1,5 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- var _exportNames = {
8
- DataList: true,
9
- ScrollList: true,
10
- DataListWithSections: true,
11
- ScrollListWithSections: true,
12
- NoData: true
13
- };
14
- Object.defineProperty(exports, "DataList", {
15
- enumerable: true,
16
- get: function get() {
17
- return _DataList.DataList;
18
- }
19
- });
20
- Object.defineProperty(exports, "DataListWithSections", {
21
- enumerable: true,
22
- get: function get() {
23
- return _DataListWithSections.DataListWithSections;
24
- }
25
- });
26
- Object.defineProperty(exports, "NoData", {
27
- enumerable: true,
28
- get: function get() {
29
- return _NoData.default;
30
- }
31
- });
32
- Object.defineProperty(exports, "ScrollList", {
33
- enumerable: true,
34
- get: function get() {
35
- return _DataList.ScrollList;
36
- }
37
- });
38
- Object.defineProperty(exports, "ScrollListWithSections", {
39
- enumerable: true,
40
- get: function get() {
41
- return _DataListWithSections.ScrollListWithSections;
42
- }
43
- });
44
- var _DataList = require("./DataList");
45
- var _DataListWithSections = require("./DataListWithSections");
46
- var _NoData = _interopRequireDefault(require("./NoData"));
47
- var _DataListModalOverlay = require("./DataListModalOverlay");
48
- Object.keys(_DataListModalOverlay).forEach(function (key) {
49
- if (key === "default" || key === "__esModule") return;
50
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
51
- if (key in exports && exports[key] === _DataListModalOverlay[key]) return;
52
- Object.defineProperty(exports, key, {
53
- enumerable: true,
54
- get: function get() {
55
- return _DataListModalOverlay[key];
56
- }
57
- });
58
- });
1
+ export { DataList, ScrollList } from "./DataList";
2
+ export { DataListWithSections, ScrollListWithSections } from "./DataListWithSections";
3
+ export * from "./DataListModalOverlay";
59
4
 
60
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_DataList","require","_DataListWithSections","_NoData","_interopRequireDefault","_DataListModalOverlay","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get"],"sources":["index.ts"],"sourcesContent":["export { DataList, ScrollList } from \"./DataList\";\nexport { DataListWithSections, ScrollListWithSections } from \"./DataListWithSections\";\nexport { default as NoData } from \"./NoData\";\nexport * from \"./DataListModalOverlay\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AACA,IAAAC,qBAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,qBAAA,GAAAJ,OAAA;AAAAK,MAAA,CAAAC,IAAA,CAAAF,qBAAA,EAAAG,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAJ,qBAAA,CAAAI,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,IAAA;MAAA,OAAAZ,qBAAA,CAAAI,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
1
+ {"version":3,"names":["DataList","ScrollList","DataListWithSections","ScrollListWithSections"],"sources":["index.ts"],"sourcesContent":["export { DataList, ScrollList } from \"./DataList\";\nexport { DataListWithSections, ScrollListWithSections } from \"./DataListWithSections\";\nexport * from \"./DataListModalOverlay\";\n"],"mappings":"AAAA,SAASA,QAAQ,EAAEC,UAAU;AAC7B,SAASC,oBAAoB,EAAEC,sBAAsB;AACrD","ignoreList":[]}
@@ -1,28 +1 @@
1
- import React from "react";
2
- export type PaginationProp = {
3
- setPage?: (page: number) => void;
4
- setPreviousPage?: () => void;
5
- setNextPage?: () => void;
6
- hasNextPage?: boolean;
7
- hasPreviousPage?: boolean;
8
- setPerPage?: (amount: number) => void;
9
- perPageOptions?: number[];
10
- };
11
- export type SortersProp = Array<{
12
- label: string;
13
- value: any;
14
- }>;
15
- export type Props = {
16
- children?: <T = Record<string, any>>(props: T) => React.ReactNode;
17
- title?: React.ReactNode;
18
- data?: Record<string, any>[];
19
- refresh?: () => void;
20
- loading?: boolean;
21
- loader?: React.ReactNode;
22
- pagination?: PaginationProp;
23
- setPage?: (page: string) => void;
24
- setSorters?: (sorter: any) => void;
25
- setFilters?: (filters: any) => void;
26
- sorters?: SortersProp;
27
- multiActions?: any[];
28
- };
1
+ export * from "@webiny/admin-ui/DataList/types";
@@ -1,7 +1,3 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
1
+ export * from "@webiny/admin-ui/DataList/types";
6
2
 
7
3
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["types.ts"],"sourcesContent":["import React from \"react\";\n\nexport type PaginationProp = {\n // Triggered when a page is about to be changed.\n setPage?: (page: number) => void;\n\n // Triggered when previous page is requested.\n setPreviousPage?: () => void;\n\n // Triggered when next page is requested.\n setNextPage?: () => void;\n\n // Triggered internally when in need to determine if there is a next page and apply UI changes accordingly.\n hasNextPage?: boolean;\n\n // Triggered internally when in need to determine if there is a previous page and apply UI changes accordingly.\n hasPreviousPage?: boolean;\n\n // Triggered when number of entries per page has been changed.\n setPerPage?: (amount: number) => void;\n\n // By default, users can choose from 10, 25 or 50 entries per page.\n perPageOptions?: number[];\n};\n\nexport type SortersProp = Array<{ label: string; value: any }>;\n\nexport type Props = {\n // Pass a function to take full control of list render.\n children?: <T = Record<string, any>>(props: T) => React.ReactNode;\n\n // A title of paginated list.\n title?: React.ReactNode;\n\n // FormData that needs to be shown in the list.\n data?: Record<string, any>[];\n\n // A callback that must refresh current view by repeating the previous query.\n refresh?: () => void;\n\n // If true, Loader component will be shown, disallowing any interaction.\n loading?: boolean;\n\n // Provide a custom loader. Shown while the content is being loaded.\n loader?: React.ReactNode;\n\n // Provide all pagination data, options and callbacks here.\n pagination?: PaginationProp;\n\n // Triggered once the page has been selected.\n setPage?: (page: string) => void;\n\n // Triggered once a sorter has been selected.\n setSorters?: (sorter: any) => void;\n\n // Triggered once selected filters are submitted.\n setFilters?: (filters: any) => void;\n\n // Provide all sorters options and callbacks here.\n sorters?: SortersProp;\n\n multiActions?: any[]; // TODO: define\n};\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"names":[],"sources":["types.ts"],"sourcesContent":["export * from \"@webiny/admin-ui/DataList/types\";\n"],"mappings":"AAAA,cAAc,iCAAiC","ignoreList":[]}
@@ -0,0 +1,51 @@
1
+ import React from "react";
2
+ /** A List Component */
3
+ export type ListProps = {
4
+ /** Reduces the padding on List items. */
5
+ dense?: boolean;
6
+ /** Gives more space for dual lined list items. */
7
+ twoLine?: boolean;
8
+ /** Makes the list start detail circular for avatars. */
9
+ avatarList?: boolean;
10
+ /** Makes the list non interactive. In addition, you'll have to set `ripple={false}` on the individual ListItems. */
11
+ nonInteractive?: boolean;
12
+ /** A callback for when a list item is interacted with. evt.detail = number */
13
+ onAction?: (evt: CustomEvent<{
14
+ index: number;
15
+ }> & React.SyntheticEvent<EventTarget>) => void;
16
+ /** An internal api used for cross component communication */
17
+ apiRef?: (api: ListApi | null) => void;
18
+ /** Advanced: A reference to the MDCFoundation. */
19
+ foundationRef?: any;
20
+ /** Sets the list to allow the up arrow on the first element to focus the
21
+ * last element of the list and vice versa. Defaults to true */
22
+ wrapFocus?: boolean;
23
+ /** Sets the lists vertical orientation. Defaults to true */
24
+ vertical?: boolean;
25
+ /** Sets the selectedIndex for singleSelection, radiogroup, or checkboxlist variants. Only supply number[] to checkboxlists */
26
+ selectedIndex?: number[] | number;
27
+ /** Custom */
28
+ children?: React.ReactNode;
29
+ className?: string;
30
+ style?: React.CSSProperties;
31
+ onClick?: (e: React.MouseEvent) => void;
32
+ };
33
+ export interface ListApi {
34
+ listElements: () => HTMLLIElement[];
35
+ focusRoot: () => void;
36
+ getClasses: () => string;
37
+ addClassToElementIndex: (index: number, className: string) => void;
38
+ removeClassFromElementAtIndex: (index: number, className: string) => void;
39
+ setAttributeForElementIndex: (index: number, attr: string, value: any) => void;
40
+ getListItemCount: () => number;
41
+ focusItemAtIndex: (index: number) => void;
42
+ selectedIndex: number | number[];
43
+ setSelectedIndex: (index: number) => void;
44
+ }
45
+ /**
46
+ * @deprecated This component is deprecated and will be removed in future releases.
47
+ * Please use the `List` component from the `@webiny/admin-ui` package instead.
48
+ */
49
+ export declare class List extends React.Component<ListProps> {
50
+ render(): React.JSX.Element;
51
+ }
@@ -0,0 +1,16 @@
1
+ import React from "react";
2
+ import { List as AdminList } from "@webiny/admin-ui";
3
+
4
+ /** A List Component */
5
+
6
+ /**
7
+ * @deprecated This component is deprecated and will be removed in future releases.
8
+ * Please use the `List` component from the `@webiny/admin-ui` package instead.
9
+ */
10
+ export class List extends React.Component {
11
+ render() {
12
+ return /*#__PURE__*/React.createElement(AdminList, null, this.props.children);
13
+ }
14
+ }
15
+
16
+ //# sourceMappingURL=List.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","List","AdminList","Component","render","createElement","props","children"],"sources":["List.tsx"],"sourcesContent":["import React from \"react\";\nimport { List as AdminList } from \"@webiny/admin-ui\";\n\n/** A List Component */\nexport type ListProps = {\n /** Reduces the padding on List items. */\n dense?: boolean;\n /** Gives more space for dual lined list items. */\n twoLine?: boolean;\n /** Makes the list start detail circular for avatars. */\n avatarList?: boolean;\n /** Makes the list non interactive. In addition, you'll have to set `ripple={false}` on the individual ListItems. */\n nonInteractive?: boolean;\n /** A callback for when a list item is interacted with. evt.detail = number */\n onAction?: (evt: CustomEvent<{ index: number }> & React.SyntheticEvent<EventTarget>) => void;\n /** An internal api used for cross component communication */\n apiRef?: (api: ListApi | null) => void;\n /** Advanced: A reference to the MDCFoundation. */\n foundationRef?: any;\n /** Sets the list to allow the up arrow on the first element to focus the\n * last element of the list and vice versa. Defaults to true */\n wrapFocus?: boolean;\n /** Sets the lists vertical orientation. Defaults to true */\n vertical?: boolean;\n /** Sets the selectedIndex for singleSelection, radiogroup, or checkboxlist variants. Only supply number[] to checkboxlists */\n selectedIndex?: number[] | number;\n\n /** Custom */\n children?: React.ReactNode;\n className?: string;\n style?: React.CSSProperties;\n onClick?: (e: React.MouseEvent) => void;\n};\n\nexport interface ListApi {\n listElements: () => HTMLLIElement[];\n focusRoot: () => void;\n getClasses: () => string;\n addClassToElementIndex: (index: number, className: string) => void;\n removeClassFromElementAtIndex: (index: number, className: string) => void;\n setAttributeForElementIndex: (index: number, attr: string, value: any) => void;\n getListItemCount: () => number;\n focusItemAtIndex: (index: number) => void;\n selectedIndex: number | number[];\n setSelectedIndex: (index: number) => void;\n}\n\n/**\n * @deprecated This component is deprecated and will be removed in future releases.\n * Please use the `List` component from the `@webiny/admin-ui` package instead.\n */\nexport class List extends React.Component<ListProps> {\n public override render() {\n return <AdminList>{this.props.children}</AdminList>;\n }\n}\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,IAAIC,SAAS,QAAQ,kBAAkB;;AAEpD;;AA4CA;AACA;AACA;AACA;AACA,OAAO,MAAMD,IAAI,SAASD,KAAK,CAACG,SAAS,CAAY;EACjCC,MAAMA,CAAA,EAAG;IACrB,oBAAOJ,KAAA,CAAAK,aAAA,CAACH,SAAS,QAAE,IAAI,CAACI,KAAK,CAACC,QAAoB,CAAC;EACvD;AACJ","ignoreList":[]}
@@ -0,0 +1,61 @@
1
+ import React from "react";
2
+ /**
3
+ * Ripples
4
+ */
5
+ export declare type RipplePropT = boolean | {
6
+ accent?: boolean;
7
+ surface?: boolean;
8
+ unbounded?: boolean;
9
+ };
10
+ /** A ListItem component. */
11
+ export type ListItemProps = {
12
+ /** A modifier for a selected state. */
13
+ selected?: boolean;
14
+ /** A modifier for an active state. */
15
+ activated?: boolean;
16
+ /** A modifier for a disabled state. */
17
+ disabled?: boolean;
18
+ /** Adds a ripple effect to the component */
19
+ ripple?: RipplePropT;
20
+ /** Custom */
21
+ children: React.ReactNode;
22
+ className?: string;
23
+ style?: React.CSSProperties;
24
+ onClick?: (e: React.MouseEvent) => void;
25
+ };
26
+ interface DeprecatedListItemContext {
27
+ addTitle(value: React.ReactNode): void;
28
+ addDescription(value?: React.ReactNode): void;
29
+ addIcon(value: React.ReactNode): void;
30
+ addActions(value?: React.ReactNode): void;
31
+ addOnClickCallback(callback: React.MouseEventHandler<HTMLDivElement>): void;
32
+ }
33
+ export declare const DeprecatedListItemContext: React.Context<DeprecatedListItemContext | undefined>;
34
+ /**
35
+ * @deprecated This component is deprecated and will be removed in future releases.
36
+ * Please use the `List.Item` component from the `@webiny/admin-ui` package instead.
37
+ */
38
+ export declare const ListItem: (props: ListItemProps) => React.JSX.Element;
39
+ /** A simple list item template. */
40
+ export interface SimpleListItemProps extends ListItemProps {
41
+ /** Text for the ListItem. */
42
+ text?: React.ReactNode;
43
+ /** Secondary Text for the ListItem. */
44
+ secondaryText?: React.ReactNode;
45
+ /** A graphic icon for the ListItem. */
46
+ graphic?: any;
47
+ /** A meta icon for the ListItem */
48
+ metaIcon?: any;
49
+ /** Meta content for the ListItem instead of an icon. */
50
+ meta?: React.ReactNode;
51
+ /** Children to render */
52
+ children: React.ReactNode;
53
+ /** Custom */
54
+ onClick?: any;
55
+ }
56
+ /**
57
+ * @deprecated This component is deprecated and will be removed in future releases.
58
+ * Please use the `List.Item` component from the `@webiny/admin-ui` package instead.
59
+ */
60
+ export declare const SimpleListItem: (props: SimpleListItemProps) => React.JSX.Element;
61
+ export {};
@@ -0,0 +1,91 @@
1
+ import React, { createContext, useMemo, useState } from "react";
2
+ import { List as AdminList } from "@webiny/admin-ui";
3
+
4
+ /**
5
+ * Ripples
6
+ */
7
+
8
+ /** A ListItem component. */
9
+
10
+ const initializeListItemState = () => {
11
+ return {
12
+ title: undefined,
13
+ description: undefined,
14
+ actions: undefined,
15
+ icon: undefined,
16
+ onClick: undefined
17
+ };
18
+ };
19
+ export const DeprecatedListItemContext = /*#__PURE__*/createContext(undefined);
20
+
21
+ /**
22
+ * @deprecated This component is deprecated and will be removed in future releases.
23
+ * Please use the `List.Item` component from the `@webiny/admin-ui` package instead.
24
+ */
25
+ export const ListItem = props => {
26
+ const [item, setItem] = useState(initializeListItemState());
27
+ const context = useMemo(() => ({
28
+ addTitle(value) {
29
+ setItem(state => ({
30
+ ...state,
31
+ title: value
32
+ }));
33
+ },
34
+ addDescription(value) {
35
+ setItem(state => ({
36
+ ...state,
37
+ description: value
38
+ }));
39
+ },
40
+ addIcon(value) {
41
+ setItem(state => ({
42
+ ...state,
43
+ icon: value
44
+ }));
45
+ },
46
+ addActions(value) {
47
+ setItem(state => ({
48
+ ...state,
49
+ actions: value
50
+ }));
51
+ },
52
+ addOnClickCallback(callback) {
53
+ setItem(state => ({
54
+ ...state,
55
+ onClick: callback
56
+ }));
57
+ }
58
+ }), [setItem, props]);
59
+ return /*#__PURE__*/React.createElement(AdminList.Item, {
60
+ activated: props.activated,
61
+ disabled: props.disabled,
62
+ selected: props.selected,
63
+ onClick: item.onClick ?? props.onClick,
64
+ className: props.className,
65
+ style: props.style,
66
+ title: item.title,
67
+ description: item.description,
68
+ actions: item.actions,
69
+ icon: item.icon
70
+ }, /*#__PURE__*/React.createElement(DeprecatedListItemContext.Provider, {
71
+ value: context
72
+ }, props.children));
73
+ };
74
+
75
+ /** A simple list item template. */
76
+
77
+ /**
78
+ * @deprecated This component is deprecated and will be removed in future releases.
79
+ * Please use the `List.Item` component from the `@webiny/admin-ui` package instead.
80
+ */
81
+ export const SimpleListItem = props => {
82
+ return /*#__PURE__*/React.createElement(AdminList.Item, {
83
+ title: props.text,
84
+ description: props.secondaryText,
85
+ icon: props.graphic,
86
+ actions: props.meta ?? props.metaIcon,
87
+ onClick: props.onClick
88
+ });
89
+ };
90
+
91
+ //# sourceMappingURL=ListItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","createContext","useMemo","useState","List","AdminList","initializeListItemState","title","undefined","description","actions","icon","onClick","DeprecatedListItemContext","ListItem","props","item","setItem","context","addTitle","value","state","addDescription","addIcon","addActions","addOnClickCallback","callback","createElement","Item","activated","disabled","selected","className","style","Provider","children","SimpleListItem","text","secondaryText","graphic","meta","metaIcon"],"sources":["ListItem.tsx"],"sourcesContent":["import React, { createContext, useMemo, useState } from \"react\";\nimport { List as AdminList, ListItemProps as AdminListItemProps } from \"@webiny/admin-ui\";\n\n/**\n * Ripples\n */\nexport declare type RipplePropT =\n | boolean\n | {\n accent?: boolean;\n surface?: boolean;\n unbounded?: boolean;\n };\n\n/** A ListItem component. */\nexport type ListItemProps = {\n /** A modifier for a selected state. */\n selected?: boolean;\n /** A modifier for an active state. */\n activated?: boolean;\n /** A modifier for a disabled state. */\n disabled?: boolean;\n /** Adds a ripple effect to the component */\n ripple?: RipplePropT;\n\n /** Custom */\n children: React.ReactNode;\n className?: string;\n style?: React.CSSProperties;\n onClick?: (e: React.MouseEvent) => void;\n};\n\ninterface DeprecatedListItemContext {\n addTitle(value: React.ReactNode): void;\n addDescription(value?: React.ReactNode): void;\n addIcon(value: React.ReactNode): void;\n addActions(value?: React.ReactNode): void;\n addOnClickCallback(callback: React.MouseEventHandler<HTMLDivElement>): void;\n}\n\nconst initializeListItemState = (): AdminListItemProps => {\n return {\n title: undefined,\n description: undefined,\n actions: undefined,\n icon: undefined,\n onClick: undefined\n };\n};\n\nexport const DeprecatedListItemContext = createContext<DeprecatedListItemContext | undefined>(\n undefined\n);\n\n/**\n * @deprecated This component is deprecated and will be removed in future releases.\n * Please use the `List.Item` component from the `@webiny/admin-ui` package instead.\n */\nexport const ListItem = (props: ListItemProps) => {\n const [item, setItem] = useState<AdminListItemProps>(initializeListItemState());\n\n const context: DeprecatedListItemContext = useMemo(\n () => ({\n addTitle(value: React.ReactNode) {\n setItem(state => ({\n ...state,\n title: value\n }));\n },\n addDescription(value: React.ReactNode) {\n setItem(state => ({\n ...state,\n description: value\n }));\n },\n addIcon(value: React.ReactNode) {\n setItem(state => ({\n ...state,\n icon: value\n }));\n },\n addActions(value?: React.ReactNode) {\n setItem(state => ({\n ...state,\n actions: value\n }));\n },\n addOnClickCallback(callback: React.MouseEventHandler<HTMLDivElement>) {\n setItem(state => ({\n ...state,\n onClick: callback\n }));\n }\n }),\n [setItem, props]\n );\n\n return (\n <AdminList.Item\n activated={props.activated}\n disabled={props.disabled}\n selected={props.selected}\n onClick={item.onClick ?? props.onClick}\n className={props.className}\n style={props.style}\n title={item.title}\n description={item.description}\n actions={item.actions}\n icon={item.icon}\n >\n <DeprecatedListItemContext.Provider value={context}>\n {props.children}\n </DeprecatedListItemContext.Provider>\n </AdminList.Item>\n );\n};\n\n/** A simple list item template. */\nexport interface SimpleListItemProps extends ListItemProps {\n /** Text for the ListItem. */\n text?: React.ReactNode;\n /** Secondary Text for the ListItem. */\n secondaryText?: React.ReactNode;\n /** A graphic icon for the ListItem. */\n graphic?: any;\n /** A meta icon for the ListItem */\n metaIcon?: any;\n /** Meta content for the ListItem instead of an icon. */\n meta?: React.ReactNode;\n /** Children to render */\n children: React.ReactNode;\n\n /** Custom */\n onClick?: any;\n}\n\n/**\n * @deprecated This component is deprecated and will be removed in future releases.\n * Please use the `List.Item` component from the `@webiny/admin-ui` package instead.\n */\nexport const SimpleListItem = (props: SimpleListItemProps) => {\n return (\n <AdminList.Item\n title={props.text}\n description={props.secondaryText}\n icon={props.graphic}\n actions={props.meta ?? props.metaIcon}\n onClick={props.onClick}\n />\n );\n};\n"],"mappings":"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","ignoreList":[]}
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ export type ListActionsProps = {
3
+ children: React.ReactNode;
4
+ };
5
+ /**
6
+ * @deprecated This component is deprecated and will be removed in future releases.
7
+ * Please find out the new `ListItem` component props from the `@webiny/admin-ui` package instead.
8
+ */
9
+ export declare const ListActions: (props: ListActionsProps) => null;
@@ -0,0 +1,15 @@
1
+ import { useContext, useEffect } from "react";
2
+ import { DeprecatedListItemContext } from "./..";
3
+ /**
4
+ * @deprecated This component is deprecated and will be removed in future releases.
5
+ * Please find out the new `ListItem` component props from the `@webiny/admin-ui` package instead.
6
+ */
7
+ export const ListActions = props => {
8
+ const listItemContext = useContext(DeprecatedListItemContext);
9
+ useEffect(() => {
10
+ listItemContext.addActions(props.children);
11
+ }, [props]);
12
+ return null;
13
+ };
14
+
15
+ //# sourceMappingURL=ListItemAction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["useContext","useEffect","DeprecatedListItemContext","ListActions","props","listItemContext","addActions","children"],"sources":["ListItemAction.tsx"],"sourcesContent":["import React, { useContext, useEffect } from \"react\";\nimport { DeprecatedListItemContext } from \"~/List\";\n\nexport type ListActionsProps = {\n children: React.ReactNode;\n};\n\n/**\n * @deprecated This component is deprecated and will be removed in future releases.\n * Please find out the new `ListItem` component props from the `@webiny/admin-ui` package instead.\n */\nexport const ListActions = (props: ListActionsProps) => {\n const listItemContext = useContext(DeprecatedListItemContext);\n\n useEffect(() => {\n listItemContext!.addActions(props.children);\n }, [props]);\n\n return null;\n};\n"],"mappings":"AAAA,SAAgBA,UAAU,EAAEC,SAAS,QAAQ,OAAO;AACpD,SAASC,yBAAyB;AAMlC;AACA;AACA;AACA;AACA,OAAO,MAAMC,WAAW,GAAIC,KAAuB,IAAK;EACpD,MAAMC,eAAe,GAAGL,UAAU,CAACE,yBAAyB,CAAC;EAE7DD,SAAS,CAAC,MAAM;IACZI,eAAe,CAAEC,UAAU,CAACF,KAAK,CAACG,QAAQ,CAAC;EAC/C,CAAC,EAAE,CAACH,KAAK,CAAC,CAAC;EAEX,OAAO,IAAI;AACf,CAAC","ignoreList":[]}
@@ -0,0 +1,18 @@
1
+ import React from "react";
2
+ export type ListItemGraphicProps = {
3
+ children: React.ReactNode;
4
+ className?: string;
5
+ };
6
+ /**
7
+ * @deprecated This component is deprecated and will be removed in future releases.
8
+ * Please find out the new `ListItem` component props from the `@webiny/admin-ui` package instead.
9
+ */
10
+ export declare const ListItemGraphic: (props: ListItemGraphicProps) => null;
11
+ export type ListSelectBoxProps = {
12
+ children: React.ReactNode;
13
+ };
14
+ /**
15
+ * @deprecated This component is deprecated and will be removed in future releases.
16
+ * Please find out the new `ListItem` component props from the `@webiny/admin-ui` package instead.
17
+ */
18
+ export declare const ListSelectBox: (props: ListSelectBoxProps) => null;
@@ -0,0 +1,26 @@
1
+ import { useContext, useEffect } from "react";
2
+ import { DeprecatedListItemContext } from "./..";
3
+ /**
4
+ * @deprecated This component is deprecated and will be removed in future releases.
5
+ * Please find out the new `ListItem` component props from the `@webiny/admin-ui` package instead.
6
+ */
7
+ export const ListItemGraphic = props => {
8
+ const listItemContext = useContext(DeprecatedListItemContext);
9
+ useEffect(() => {
10
+ listItemContext.addIcon(props.children);
11
+ }, [props]);
12
+ return null;
13
+ };
14
+ /**
15
+ * @deprecated This component is deprecated and will be removed in future releases.
16
+ * Please find out the new `ListItem` component props from the `@webiny/admin-ui` package instead.
17
+ */
18
+ export const ListSelectBox = props => {
19
+ const listItemContext = useContext(DeprecatedListItemContext);
20
+ useEffect(() => {
21
+ listItemContext.addIcon(props.children);
22
+ }, [props]);
23
+ return null;
24
+ };
25
+
26
+ //# sourceMappingURL=ListItemGraphic.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["useContext","useEffect","DeprecatedListItemContext","ListItemGraphic","props","listItemContext","addIcon","children","ListSelectBox"],"sources":["ListItemGraphic.tsx"],"sourcesContent":["import React, { useContext, useEffect } from \"react\";\nimport { DeprecatedListItemContext } from \"~/List\";\n\nexport type ListItemGraphicProps = { children: React.ReactNode; className?: string };\n\n/**\n * @deprecated This component is deprecated and will be removed in future releases.\n * Please find out the new `ListItem` component props from the `@webiny/admin-ui` package instead.\n */\nexport const ListItemGraphic = (props: ListItemGraphicProps) => {\n const listItemContext = useContext(DeprecatedListItemContext);\n\n useEffect(() => {\n listItemContext!.addIcon(props.children);\n }, [props]);\n\n return null;\n};\n\nexport type ListSelectBoxProps = {\n children: React.ReactNode;\n};\n\n/**\n * @deprecated This component is deprecated and will be removed in future releases.\n * Please find out the new `ListItem` component props from the `@webiny/admin-ui` package instead.\n */\nexport const ListSelectBox = (props: ListSelectBoxProps) => {\n const listItemContext = useContext(DeprecatedListItemContext);\n\n useEffect(() => {\n listItemContext!.addIcon(props.children);\n }, [props]);\n\n return null;\n};\n"],"mappings":"AAAA,SAAgBA,UAAU,EAAEC,SAAS,QAAQ,OAAO;AACpD,SAASC,yBAAyB;AAIlC;AACA;AACA;AACA;AACA,OAAO,MAAMC,eAAe,GAAIC,KAA2B,IAAK;EAC5D,MAAMC,eAAe,GAAGL,UAAU,CAACE,yBAAyB,CAAC;EAE7DD,SAAS,CAAC,MAAM;IACZI,eAAe,CAAEC,OAAO,CAACF,KAAK,CAACG,QAAQ,CAAC;EAC5C,CAAC,EAAE,CAACH,KAAK,CAAC,CAAC;EAEX,OAAO,IAAI;AACf,CAAC;AAMD;AACA;AACA;AACA;AACA,OAAO,MAAMI,aAAa,GAAIJ,KAAyB,IAAK;EACxD,MAAMC,eAAe,GAAGL,UAAU,CAACE,yBAAyB,CAAC;EAE7DD,SAAS,CAAC,MAAM;IACZI,eAAe,CAAEC,OAAO,CAACF,KAAK,CAACG,QAAQ,CAAC;EAC5C,CAAC,EAAE,CAACH,KAAK,CAAC,CAAC;EAEX,OAAO,IAAI;AACf,CAAC","ignoreList":[]}
@@ -0,0 +1,26 @@
1
+ import React from "react";
2
+ export type ListItemMetaProps = {
3
+ children: React.ReactNode;
4
+ className?: string;
5
+ };
6
+ /**
7
+ * @deprecated This component is deprecated and will be removed in future releases.
8
+ * Please find out the new `ListItem` component props from the `@webiny/admin-ui` package instead.
9
+ */
10
+ export declare const ListItemMeta: (props: ListItemMetaProps) => React.JSX.Element;
11
+ export type ListTopCaptionProps = {
12
+ children: React.ReactNode;
13
+ };
14
+ /**
15
+ * @deprecated This component is deprecated and will be removed in future releases.
16
+ * Please find out the new `ListItem` component props from the `@webiny/admin-ui` package instead.
17
+ */
18
+ export declare const ListTopCaption: ({}: ListTopCaptionProps) => null;
19
+ export type ListBottomCaptionProps = {
20
+ children: React.ReactNode;
21
+ };
22
+ /**
23
+ * @deprecated This component is deprecated and will be removed in future releases.
24
+ * Please find out the new `ListItem` component props from the `@webiny/admin-ui` package instead.
25
+ */
26
+ export declare const ListBottomCaption: ({}: ListBottomCaptionProps) => null;
@@ -0,0 +1,24 @@
1
+ import React from "react";
2
+ /**
3
+ * @deprecated This component is deprecated and will be removed in future releases.
4
+ * Please find out the new `ListItem` component props from the `@webiny/admin-ui` package instead.
5
+ */
6
+ export const ListItemMeta = props => {
7
+ return /*#__PURE__*/React.createElement("span", props, props.children);
8
+ };
9
+ /**
10
+ * @deprecated This component is deprecated and will be removed in future releases.
11
+ * Please find out the new `ListItem` component props from the `@webiny/admin-ui` package instead.
12
+ */
13
+ export const ListTopCaption = ({}) => {
14
+ return null;
15
+ };
16
+ /**
17
+ * @deprecated This component is deprecated and will be removed in future releases.
18
+ * Please find out the new `ListItem` component props from the `@webiny/admin-ui` package instead.
19
+ */
20
+ export const ListBottomCaption = ({}) => {
21
+ return null;
22
+ };
23
+
24
+ //# sourceMappingURL=ListItemMeta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","ListItemMeta","props","createElement","children","ListTopCaption","ListBottomCaption"],"sources":["ListItemMeta.tsx"],"sourcesContent":["import React from \"react\";\n\nexport type ListItemMetaProps = { children: React.ReactNode; className?: string };\n\n/**\n * @deprecated This component is deprecated and will be removed in future releases.\n * Please find out the new `ListItem` component props from the `@webiny/admin-ui` package instead.\n */\nexport const ListItemMeta = (props: ListItemMetaProps) => {\n return <span {...props}>{props.children}</span>;\n};\n\nexport type ListTopCaptionProps = {\n children: React.ReactNode;\n};\n\n/**\n * @deprecated This component is deprecated and will be removed in future releases.\n * Please find out the new `ListItem` component props from the `@webiny/admin-ui` package instead.\n */\nexport const ListTopCaption = ({}: ListTopCaptionProps) => {\n return null;\n};\n\nexport type ListBottomCaptionProps = {\n children: React.ReactNode;\n};\n\n/**\n * @deprecated This component is deprecated and will be removed in future releases.\n * Please find out the new `ListItem` component props from the `@webiny/admin-ui` package instead.\n */\nexport const ListBottomCaption = ({}: ListBottomCaptionProps) => {\n return null;\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAIzB;AACA;AACA;AACA;AACA,OAAO,MAAMC,YAAY,GAAIC,KAAwB,IAAK;EACtD,oBAAOF,KAAA,CAAAG,aAAA,SAAUD,KAAK,EAAGA,KAAK,CAACE,QAAe,CAAC;AACnD,CAAC;AAMD;AACA;AACA;AACA;AACA,OAAO,MAAMC,cAAc,GAAGA,CAAC,CAAsB,CAAC,KAAK;EACvD,OAAO,IAAI;AACf,CAAC;AAMD;AACA;AACA;AACA;AACA,OAAO,MAAMC,iBAAiB,GAAGA,CAAC,CAAyB,CAAC,KAAK;EAC7D,OAAO,IAAI;AACf,CAAC","ignoreList":[]}
@@ -0,0 +1,42 @@
1
+ import React from "react";
2
+ /** Text Wrapper for the ListItem */
3
+ export type ListItemTextProps = {
4
+ children: React.ReactNode;
5
+ className?: string;
6
+ onClick?: (e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
7
+ };
8
+ /**
9
+ * @deprecated This component is deprecated and will be removed in future releases.
10
+ * Please find out the new `ListItem` component props from the `@webiny/admin-ui` package instead.
11
+ */
12
+ export declare const ListItemText: (props: ListItemTextProps) => React.ReactNode;
13
+ export type ListItemTextPrimaryProps = {
14
+ /**
15
+ * Text content
16
+ */
17
+ children: React.ReactNode;
18
+ };
19
+ /**
20
+ * @deprecated This component is deprecated and will be removed in future releases.
21
+ * Please find out the new `ListItem` component props from the `@webiny/admin-ui` package instead.
22
+ */
23
+ export declare const ListItemTextPrimary: (props: ListItemTextPrimaryProps) => null;
24
+ export type ListItemTextSecondaryProps = {
25
+ /**
26
+ * Text content
27
+ */
28
+ children: React.ReactNode;
29
+ };
30
+ /**
31
+ * @deprecated This component is deprecated and will be removed in future releases.
32
+ * Please find out the new `ListItem` component props from the `@webiny/admin-ui` package instead.
33
+ */
34
+ export declare const ListItemTextSecondary: (props: ListItemTextSecondaryProps) => null;
35
+ export type ListTextOverlineProps = {
36
+ children: React.ReactNode;
37
+ };
38
+ /**
39
+ * @deprecated This component is deprecated and will be removed in future releases.
40
+ * Please find out the new `ListItem` component props from the `@webiny/admin-ui` package instead.
41
+ */
42
+ export declare const ListTextOverline: (props: ListTextOverlineProps) => null;