@qoretechnologies/reqore 0.19.12 → 0.20.1

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 (350) hide show
  1. package/.github/ISSUE_TEMPLATE/bug_report.md +38 -0
  2. package/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  3. package/.github/ISSUE_TEMPLATE/new-component.md +20 -0
  4. package/.github/ISSUE_TEMPLATE/visual-bug-report.md +38 -0
  5. package/.github/workflows/tests.yml +4 -4
  6. package/.gitpod.yml +7 -2
  7. package/.vscode/settings.json +21 -3
  8. package/__tests__/drawer.test.tsx +8 -9
  9. package/__tests__/dropdown.test.tsx +55 -13
  10. package/__tests__/modal.test.tsx +4 -7
  11. package/__tests__/tabs.test.tsx +4 -4
  12. package/dist/tests.json +1 -0
  13. package/package.json +15 -12
  14. package/tests.json +1 -1
  15. package/.devcontainer/Dockerfile +0 -16
  16. package/.devcontainer/devcontainer.json +0 -31
  17. package/__reactpreview__/Wrapper.tsx +0 -16
  18. package/__reactpreview__/styles.css +0 -5
  19. package/dist/components/Breadcrumbs/index.d.ts +0 -31
  20. package/dist/components/Breadcrumbs/index.d.ts.map +0 -1
  21. package/dist/components/Breadcrumbs/index.js +0 -148
  22. package/dist/components/Breadcrumbs/index.js.map +0 -1
  23. package/dist/components/Breadcrumbs/item.d.ts +0 -14
  24. package/dist/components/Breadcrumbs/item.d.ts.map +0 -1
  25. package/dist/components/Breadcrumbs/item.js +0 -76
  26. package/dist/components/Breadcrumbs/item.js.map +0 -1
  27. package/dist/components/Button/index.d.ts +0 -30
  28. package/dist/components/Button/index.d.ts.map +0 -1
  29. package/dist/components/Button/index.js +0 -165
  30. package/dist/components/Button/index.js.map +0 -1
  31. package/dist/components/Checkbox/index.d.ts +0 -26
  32. package/dist/components/Checkbox/index.d.ts.map +0 -1
  33. package/dist/components/Checkbox/index.js +0 -108
  34. package/dist/components/Checkbox/index.js.map +0 -1
  35. package/dist/components/Columns/column.d.ts +0 -5
  36. package/dist/components/Columns/column.d.ts.map +0 -1
  37. package/dist/components/Columns/column.js +0 -33
  38. package/dist/components/Columns/column.js.map +0 -1
  39. package/dist/components/Columns/index.d.ts +0 -17
  40. package/dist/components/Columns/index.d.ts.map +0 -1
  41. package/dist/components/Columns/index.js +0 -65
  42. package/dist/components/Columns/index.js.map +0 -1
  43. package/dist/components/Comment/index.d.ts +0 -24
  44. package/dist/components/Comment/index.d.ts.map +0 -1
  45. package/dist/components/Comment/index.js +0 -71
  46. package/dist/components/Comment/index.js.map +0 -1
  47. package/dist/components/CommentFeed/index.d.ts +0 -7
  48. package/dist/components/CommentFeed/index.d.ts.map +0 -1
  49. package/dist/components/CommentFeed/index.js +0 -49
  50. package/dist/components/CommentFeed/index.js.map +0 -1
  51. package/dist/components/Content/index.d.ts +0 -11
  52. package/dist/components/Content/index.d.ts.map +0 -1
  53. package/dist/components/Content/index.js +0 -66
  54. package/dist/components/Content/index.js.map +0 -1
  55. package/dist/components/Content/wrapper.d.ts +0 -11
  56. package/dist/components/Content/wrapper.d.ts.map +0 -1
  57. package/dist/components/Content/wrapper.js +0 -43
  58. package/dist/components/Content/wrapper.js.map +0 -1
  59. package/dist/components/ControlGroup/index.d.ts +0 -17
  60. package/dist/components/ControlGroup/index.d.ts.map +0 -1
  61. package/dist/components/ControlGroup/index.js +0 -86
  62. package/dist/components/ControlGroup/index.js.map +0 -1
  63. package/dist/components/Drawer/index.d.ts +0 -36
  64. package/dist/components/Drawer/index.d.ts.map +0 -1
  65. package/dist/components/Drawer/index.js +0 -217
  66. package/dist/components/Drawer/index.js.map +0 -1
  67. package/dist/components/Dropdown/index.d.ts +0 -24
  68. package/dist/components/Dropdown/index.d.ts.map +0 -1
  69. package/dist/components/Dropdown/index.js +0 -38
  70. package/dist/components/Dropdown/index.js.map +0 -1
  71. package/dist/components/Dropdown/item.d.ts +0 -10
  72. package/dist/components/Dropdown/item.d.ts.map +0 -1
  73. package/dist/components/Dropdown/item.js +0 -35
  74. package/dist/components/Dropdown/item.js.map +0 -1
  75. package/dist/components/Dropdown/list.d.ts +0 -14
  76. package/dist/components/Dropdown/list.d.ts.map +0 -1
  77. package/dist/components/Dropdown/list.js +0 -47
  78. package/dist/components/Dropdown/list.js.map +0 -1
  79. package/dist/components/Header/index.d.ts +0 -13
  80. package/dist/components/Header/index.d.ts.map +0 -1
  81. package/dist/components/Header/index.js +0 -40
  82. package/dist/components/Header/index.js.map +0 -1
  83. package/dist/components/Icon/index.d.ts +0 -13
  84. package/dist/components/Icon/index.d.ts.map +0 -1
  85. package/dist/components/Icon/index.js +0 -72
  86. package/dist/components/Icon/index.js.map +0 -1
  87. package/dist/components/Input/index.d.ts +0 -33
  88. package/dist/components/Input/index.d.ts.map +0 -1
  89. package/dist/components/Input/index.js +0 -115
  90. package/dist/components/Input/index.js.map +0 -1
  91. package/dist/components/InputClearButton/index.d.ts +0 -10
  92. package/dist/components/InputClearButton/index.d.ts.map +0 -1
  93. package/dist/components/InputClearButton/index.js +0 -49
  94. package/dist/components/InputClearButton/index.js.map +0 -1
  95. package/dist/components/InternalPopover/index.d.ts +0 -7
  96. package/dist/components/InternalPopover/index.d.ts.map +0 -1
  97. package/dist/components/InternalPopover/index.js +0 -128
  98. package/dist/components/InternalPopover/index.js.map +0 -1
  99. package/dist/components/Layout/content.d.ts +0 -8
  100. package/dist/components/Layout/content.d.ts.map +0 -1
  101. package/dist/components/Layout/content.js +0 -41
  102. package/dist/components/Layout/content.js.map +0 -1
  103. package/dist/components/Layout/index.d.ts +0 -8
  104. package/dist/components/Layout/index.d.ts.map +0 -1
  105. package/dist/components/Layout/index.js +0 -65
  106. package/dist/components/Layout/index.js.map +0 -1
  107. package/dist/components/Menu/divider.d.ts +0 -7
  108. package/dist/components/Menu/divider.d.ts.map +0 -1
  109. package/dist/components/Menu/divider.js +0 -49
  110. package/dist/components/Menu/divider.js.map +0 -1
  111. package/dist/components/Menu/index.d.ts +0 -16
  112. package/dist/components/Menu/index.d.ts.map +0 -1
  113. package/dist/components/Menu/index.js +0 -87
  114. package/dist/components/Menu/index.js.map +0 -1
  115. package/dist/components/Menu/item.d.ts +0 -31
  116. package/dist/components/Menu/item.d.ts.map +0 -1
  117. package/dist/components/Menu/item.js +0 -118
  118. package/dist/components/Menu/item.js.map +0 -1
  119. package/dist/components/Message/index.d.ts +0 -25
  120. package/dist/components/Message/index.d.ts.map +0 -1
  121. package/dist/components/Message/index.js +0 -51
  122. package/dist/components/Message/index.js.map +0 -1
  123. package/dist/components/Modal/actions.d.ts +0 -6
  124. package/dist/components/Modal/actions.d.ts.map +0 -1
  125. package/dist/components/Modal/actions.js +0 -49
  126. package/dist/components/Modal/actions.js.map +0 -1
  127. package/dist/components/Modal/content.d.ts +0 -6
  128. package/dist/components/Modal/content.d.ts.map +0 -1
  129. package/dist/components/Modal/content.js +0 -25
  130. package/dist/components/Modal/content.js.map +0 -1
  131. package/dist/components/Modal/index.d.ts +0 -24
  132. package/dist/components/Modal/index.d.ts.map +0 -1
  133. package/dist/components/Modal/index.js +0 -118
  134. package/dist/components/Modal/index.js.map +0 -1
  135. package/dist/components/Navbar/divider.d.ts +0 -9
  136. package/dist/components/Navbar/divider.d.ts.map +0 -1
  137. package/dist/components/Navbar/divider.js +0 -47
  138. package/dist/components/Navbar/divider.js.map +0 -1
  139. package/dist/components/Navbar/group.d.ts +0 -15
  140. package/dist/components/Navbar/group.d.ts.map +0 -1
  141. package/dist/components/Navbar/group.js +0 -71
  142. package/dist/components/Navbar/group.js.map +0 -1
  143. package/dist/components/Navbar/index.d.ts +0 -16
  144. package/dist/components/Navbar/index.d.ts.map +0 -1
  145. package/dist/components/Navbar/index.js +0 -82
  146. package/dist/components/Navbar/index.js.map +0 -1
  147. package/dist/components/Navbar/item.d.ts +0 -16
  148. package/dist/components/Navbar/item.d.ts.map +0 -1
  149. package/dist/components/Navbar/item.js +0 -77
  150. package/dist/components/Navbar/item.js.map +0 -1
  151. package/dist/components/Notifications/index.d.ts +0 -12
  152. package/dist/components/Notifications/index.d.ts.map +0 -1
  153. package/dist/components/Notifications/index.js +0 -56
  154. package/dist/components/Notifications/index.js.map +0 -1
  155. package/dist/components/Notifications/notification.d.ts +0 -43
  156. package/dist/components/Notifications/notification.d.ts.map +0 -1
  157. package/dist/components/Notifications/notification.js +0 -136
  158. package/dist/components/Notifications/notification.js.map +0 -1
  159. package/dist/components/Panel/index.d.ts +0 -38
  160. package/dist/components/Panel/index.d.ts.map +0 -1
  161. package/dist/components/Panel/index.js +0 -141
  162. package/dist/components/Panel/index.js.map +0 -1
  163. package/dist/components/Panel/panel.screenshot.d.ts +0 -3
  164. package/dist/components/Panel/panel.screenshot.d.ts.map +0 -1
  165. package/dist/components/Panel/panel.screenshot.js +0 -30
  166. package/dist/components/Panel/panel.screenshot.js.map +0 -1
  167. package/dist/components/Paragraph/index.d.ts +0 -8
  168. package/dist/components/Paragraph/index.d.ts.map +0 -1
  169. package/dist/components/Paragraph/index.js +0 -60
  170. package/dist/components/Paragraph/index.js.map +0 -1
  171. package/dist/components/Popover/index.d.ts +0 -16
  172. package/dist/components/Popover/index.d.ts.map +0 -1
  173. package/dist/components/Popover/index.js +0 -55
  174. package/dist/components/Popover/index.js.map +0 -1
  175. package/dist/components/RadioGroup/index.d.ts +0 -17
  176. package/dist/components/RadioGroup/index.d.ts.map +0 -1
  177. package/dist/components/RadioGroup/index.js +0 -48
  178. package/dist/components/RadioGroup/index.js.map +0 -1
  179. package/dist/components/Sidebar/index.d.ts +0 -60
  180. package/dist/components/Sidebar/index.d.ts.map +0 -1
  181. package/dist/components/Sidebar/index.js +0 -261
  182. package/dist/components/Sidebar/index.js.map +0 -1
  183. package/dist/components/Sidebar/item.d.ts +0 -36
  184. package/dist/components/Sidebar/item.d.ts.map +0 -1
  185. package/dist/components/Sidebar/item.js +0 -106
  186. package/dist/components/Sidebar/item.js.map +0 -1
  187. package/dist/components/Table/body.d.ts +0 -10
  188. package/dist/components/Table/body.d.ts.map +0 -1
  189. package/dist/components/Table/body.js +0 -44
  190. package/dist/components/Table/body.js.map +0 -1
  191. package/dist/components/Table/header.d.ts +0 -29
  192. package/dist/components/Table/header.d.ts.map +0 -1
  193. package/dist/components/Table/header.js +0 -102
  194. package/dist/components/Table/header.js.map +0 -1
  195. package/dist/components/Table/headerCell.d.ts +0 -18
  196. package/dist/components/Table/headerCell.d.ts.map +0 -1
  197. package/dist/components/Table/headerCell.js +0 -88
  198. package/dist/components/Table/headerCell.js.map +0 -1
  199. package/dist/components/Table/helpers.d.ts +0 -8
  200. package/dist/components/Table/helpers.d.ts.map +0 -1
  201. package/dist/components/Table/helpers.js +0 -41
  202. package/dist/components/Table/helpers.js.map +0 -1
  203. package/dist/components/Table/index.d.ts +0 -74
  204. package/dist/components/Table/index.d.ts.map +0 -1
  205. package/dist/components/Table/index.js +0 -161
  206. package/dist/components/Table/index.js.map +0 -1
  207. package/dist/components/Table/row.d.ts +0 -58
  208. package/dist/components/Table/row.d.ts.map +0 -1
  209. package/dist/components/Table/row.js +0 -200
  210. package/dist/components/Table/row.js.map +0 -1
  211. package/dist/components/Tabs/content.d.ts +0 -8
  212. package/dist/components/Tabs/content.d.ts.map +0 -1
  213. package/dist/components/Tabs/content.js +0 -41
  214. package/dist/components/Tabs/content.js.map +0 -1
  215. package/dist/components/Tabs/index.d.ts +0 -36
  216. package/dist/components/Tabs/index.d.ts.map +0 -1
  217. package/dist/components/Tabs/index.js +0 -79
  218. package/dist/components/Tabs/index.js.map +0 -1
  219. package/dist/components/Tabs/item.d.ts +0 -21
  220. package/dist/components/Tabs/item.d.ts.map +0 -1
  221. package/dist/components/Tabs/item.js +0 -86
  222. package/dist/components/Tabs/item.js.map +0 -1
  223. package/dist/components/Tabs/list.d.ts +0 -16
  224. package/dist/components/Tabs/list.d.ts.map +0 -1
  225. package/dist/components/Tabs/list.js +0 -175
  226. package/dist/components/Tabs/list.js.map +0 -1
  227. package/dist/components/Tag/group.d.ts +0 -10
  228. package/dist/components/Tag/group.d.ts.map +0 -1
  229. package/dist/components/Tag/group.js +0 -50
  230. package/dist/components/Tag/group.js.map +0 -1
  231. package/dist/components/Tag/index.d.ts +0 -36
  232. package/dist/components/Tag/index.d.ts.map +0 -1
  233. package/dist/components/Tag/index.js +0 -132
  234. package/dist/components/Tag/index.js.map +0 -1
  235. package/dist/components/Textarea/index.d.ts +0 -26
  236. package/dist/components/Textarea/index.d.ts.map +0 -1
  237. package/dist/components/Textarea/index.js +0 -85
  238. package/dist/components/Textarea/index.js.map +0 -1
  239. package/dist/components/TimeAgo/index.d.ts +0 -4
  240. package/dist/components/TimeAgo/index.d.ts.map +0 -1
  241. package/dist/components/TimeAgo/index.js +0 -21
  242. package/dist/components/TimeAgo/index.js.map +0 -1
  243. package/dist/components/Tree/index.d.ts +0 -16
  244. package/dist/components/Tree/index.d.ts.map +0 -1
  245. package/dist/components/Tree/index.js +0 -151
  246. package/dist/components/Tree/index.js.map +0 -1
  247. package/dist/constants/animations.d.ts +0 -5
  248. package/dist/constants/animations.d.ts.map +0 -1
  249. package/dist/constants/animations.js +0 -8
  250. package/dist/constants/animations.js.map +0 -1
  251. package/dist/constants/colors.d.ts +0 -10
  252. package/dist/constants/colors.d.ts.map +0 -1
  253. package/dist/constants/colors.js +0 -13
  254. package/dist/constants/colors.js.map +0 -1
  255. package/dist/constants/sizes.d.ts +0 -59
  256. package/dist/constants/sizes.d.ts.map +0 -1
  257. package/dist/constants/sizes.js +0 -60
  258. package/dist/constants/sizes.js.map +0 -1
  259. package/dist/constants/theme.d.ts +0 -74
  260. package/dist/constants/theme.d.ts.map +0 -1
  261. package/dist/constants/theme.js +0 -20
  262. package/dist/constants/theme.js.map +0 -1
  263. package/dist/containers/PopoverProvider.d.ts +0 -12
  264. package/dist/containers/PopoverProvider.d.ts.map +0 -1
  265. package/dist/containers/PopoverProvider.js +0 -56
  266. package/dist/containers/PopoverProvider.js.map +0 -1
  267. package/dist/containers/ReqoreProvider.d.ts +0 -40
  268. package/dist/containers/ReqoreProvider.d.ts.map +0 -1
  269. package/dist/containers/ReqoreProvider.js +0 -117
  270. package/dist/containers/ReqoreProvider.js.map +0 -1
  271. package/dist/containers/ThemeProvider.d.ts +0 -8
  272. package/dist/containers/ThemeProvider.d.ts.map +0 -1
  273. package/dist/containers/ThemeProvider.js +0 -27
  274. package/dist/containers/ThemeProvider.js.map +0 -1
  275. package/dist/containers/UIProvider.d.ts +0 -13
  276. package/dist/containers/UIProvider.d.ts.map +0 -1
  277. package/dist/containers/UIProvider.js +0 -43
  278. package/dist/containers/UIProvider.js.map +0 -1
  279. package/dist/context/PopoverContext.d.ts +0 -11
  280. package/dist/context/PopoverContext.d.ts.map +0 -1
  281. package/dist/context/PopoverContext.js +0 -5
  282. package/dist/context/PopoverContext.js.map +0 -1
  283. package/dist/context/ReqoreContext.d.ts +0 -15
  284. package/dist/context/ReqoreContext.d.ts.map +0 -1
  285. package/dist/context/ReqoreContext.js +0 -10
  286. package/dist/context/ReqoreContext.js.map +0 -1
  287. package/dist/context/ThemeContext.d.ts +0 -5
  288. package/dist/context/ThemeContext.d.ts.map +0 -1
  289. package/dist/context/ThemeContext.js +0 -5
  290. package/dist/context/ThemeContext.js.map +0 -1
  291. package/dist/helpers/animations.d.ts +0 -2
  292. package/dist/helpers/animations.d.ts.map +0 -1
  293. package/dist/helpers/animations.js +0 -11
  294. package/dist/helpers/animations.js.map +0 -1
  295. package/dist/helpers/colors.d.ts +0 -13
  296. package/dist/helpers/colors.d.ts.map +0 -1
  297. package/dist/helpers/colors.js +0 -100
  298. package/dist/helpers/colors.js.map +0 -1
  299. package/dist/helpers/sidebar.d.ts +0 -4
  300. package/dist/helpers/sidebar.d.ts.map +0 -1
  301. package/dist/helpers/sidebar.js +0 -90
  302. package/dist/helpers/sidebar.js.map +0 -1
  303. package/dist/helpers/time.d.ts +0 -8
  304. package/dist/helpers/time.d.ts.map +0 -1
  305. package/dist/helpers/time.js +0 -25
  306. package/dist/helpers/time.js.map +0 -1
  307. package/dist/helpers/utils.d.ts +0 -4
  308. package/dist/helpers/utils.d.ts.map +0 -1
  309. package/dist/helpers/utils.js +0 -82
  310. package/dist/helpers/utils.js.map +0 -1
  311. package/dist/hooks/useCombinedRefs.d.ts +0 -3
  312. package/dist/hooks/useCombinedRefs.d.ts.map +0 -1
  313. package/dist/hooks/useCombinedRefs.js +0 -29
  314. package/dist/hooks/useCombinedRefs.js.map +0 -1
  315. package/dist/hooks/useLatestZIndex.d.ts +0 -3
  316. package/dist/hooks/useLatestZIndex.d.ts.map +0 -1
  317. package/dist/hooks/useLatestZIndex.js +0 -11
  318. package/dist/hooks/useLatestZIndex.js.map +0 -1
  319. package/dist/hooks/useOutsideClick.d.ts +0 -4
  320. package/dist/hooks/useOutsideClick.d.ts.map +0 -1
  321. package/dist/hooks/useOutsideClick.js +0 -24
  322. package/dist/hooks/useOutsideClick.js.map +0 -1
  323. package/dist/hooks/usePopover.d.ts +0 -17
  324. package/dist/hooks/usePopover.d.ts.map +0 -1
  325. package/dist/hooks/usePopover.js +0 -77
  326. package/dist/hooks/usePopover.js.map +0 -1
  327. package/dist/hooks/useShareForwardedRef.d.ts +0 -3
  328. package/dist/hooks/useShareForwardedRef.d.ts.map +0 -1
  329. package/dist/hooks/useShareForwardedRef.js +0 -25
  330. package/dist/hooks/useShareForwardedRef.js.map +0 -1
  331. package/dist/hooks/useTheme.d.ts +0 -3
  332. package/dist/hooks/useTheme.d.ts.map +0 -1
  333. package/dist/hooks/useTheme.js +0 -21
  334. package/dist/hooks/useTheme.js.map +0 -1
  335. package/dist/index.d.ts +0 -52
  336. package/dist/index.d.ts.map +0 -1
  337. package/dist/index.js +0 -123
  338. package/dist/index.js.map +0 -1
  339. package/dist/types/global.d.ts +0 -8
  340. package/dist/types/global.d.ts.map +0 -1
  341. package/dist/types/global.js +0 -3
  342. package/dist/types/global.js.map +0 -1
  343. package/dist/types/icons.d.ts +0 -2
  344. package/dist/types/icons.d.ts.map +0 -1
  345. package/dist/types/icons.js +0 -3
  346. package/dist/types/icons.js.map +0 -1
  347. package/dist/types/icons____.d.ts +0 -2
  348. package/dist/types/icons____.d.ts.map +0 -1
  349. package/dist/types/icons____.js +0 -6
  350. package/dist/types/icons____.js.map +0 -1
package/tests.json CHANGED
@@ -1 +1 @@
1
- {"numFailedTestSuites":0,"numFailedTests":0,"numPassedTestSuites":23,"numPassedTests":89,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":23,"numTotalTests":89,"openHandles":[],"snapshot":{"added":0,"didUpdate":false,"failure":false,"filesAdded":0,"filesRemoved":0,"filesRemovedList":[],"filesUnmatched":0,"filesUpdated":0,"matched":0,"total":0,"unchecked":0,"uncheckedKeysByFile":[],"unmatched":0,"updated":0},"startTime":1640867040782,"success":true,"testResults":[{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Table /> properly","location":null,"status":"passed","title":"Renders basic <Table /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Table /> with grouped columns properly","location":null,"status":"passed","title":"Renders <Table /> with grouped columns properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Table /> with custom content","location":null,"status":"passed","title":"Renders <Table /> with custom content"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Table /> with predefined content","location":null,"status":"passed","title":"Renders <Table /> with predefined content"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Sorting on <Table /> works properly","location":null,"status":"passed","title":"Sorting on <Table /> works properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Rows on <Table /> can be selected","location":null,"status":"passed","title":"Rows on <Table /> can be selected"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Rows on <Table /> cannot be selected if _selectId is missing","location":null,"status":"passed","title":"Rows on <Table /> cannot be selected if _selectId is missing"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Rows on <Table /> are all selected/deselected when clicking on header","location":null,"status":"passed","title":"Rows on <Table /> are all selected/deselected when clicking on header"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Cells on <Table /> are interactive","location":null,"status":"passed","title":"Cells on <Table /> are interactive"}],"endTime":1640867055415,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/table.test.tsx","startTime":1640867041340,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders full <Tabs /> properly","location":null,"status":"passed","title":"Renders full <Tabs /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders shortened <Tabs /> properly","location":null,"status":"passed","title":"Renders shortened <Tabs /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Default active tab can be specified","location":null,"status":"passed","title":"Default active tab can be specified"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Changes tab and runs callback","location":null,"status":"passed","title":"Changes tab and runs callback"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Does not change tab and run callback when disabled","location":null,"status":"passed","title":"Does not change tab and run callback when disabled"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Changes tab programatically and runs callback","location":null,"status":"passed","title":"Changes tab programatically and runs callback"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Closable tab can be closed if not disabled","location":null,"status":"passed","title":"Closable tab can be closed if not disabled"}],"endTime":1640867056663,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/tabs.test.tsx","startTime":1640867055439,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders sidebar","location":null,"status":"passed","title":"Renders sidebar"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Sidebar can be collapsed","location":null,"status":"passed","title":"Sidebar can be collapsed"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Can open submenu manually","location":null,"status":"passed","title":"Can open submenu manually"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Submenu opens automatically if path matches","location":null,"status":"passed","title":"Submenu opens automatically if path matches"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Bookmarks can be added and removed","location":null,"status":"passed","title":"Bookmarks can be added and removed"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Bookmarks clicks are not propagated through","location":null,"status":"passed","title":"Bookmarks clicks are not propagated through"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders item as <p> element with onClick","location":null,"status":"passed","title":"Renders item as <p> element with onClick"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders floating sidebar with item as <p> element with onClick, closes on item click","location":null,"status":"passed","title":"Renders floating sidebar with item as <p> element with onClick, closes on item click"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders custom item at the top","location":null,"status":"passed","title":"Renders custom item at the top"}],"endTime":1640867058095,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/sidebar.test.tsx","startTime":1640867056688,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Adds notifications and dismisses them automatically","location":null,"status":"passed","title":"Adds notifications and dismisses them automatically"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Adds a notification and updates it","location":null,"status":"passed","title":"Adds a notification and updates it"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Notification has a click event","location":null,"status":"passed","title":"Notification has a click event"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Notification has a close event","location":null,"status":"passed","title":"Notification has a close event"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Notification has a finish event","location":null,"status":"passed","title":"Notification has a finish event"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Maximum of 5 notifications is shown at once","location":null,"status":"passed","title":"Maximum of 5 notifications is shown at once"}],"endTime":1640867059207,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/notifications.test.tsx","startTime":1640867058108,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Dropdown /> properly","location":null,"status":"passed","title":"Renders <Dropdown /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders disabled <Dropdown /> when children are empty","location":null,"status":"passed","title":"Renders disabled <Dropdown /> when children are empty"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Dropdown /> with custom component and custom handler","location":null,"status":"passed","title":"Renders <Dropdown /> with custom component and custom handler"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders filterable <Dropdown /> and filters items correctly","location":null,"status":"passed","title":"Renders filterable <Dropdown /> and filters items correctly"}],"endTime":1640867060532,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/dropdown.test.tsx","startTime":1640867059227,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> properly","location":null,"status":"passed","title":"Renders <Button /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with size properly","location":null,"status":"passed","title":"Renders <Button /> with size properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with icon properly","location":null,"status":"passed","title":"Renders <Button /> with icon properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with intent properly","location":null,"status":"passed","title":"Renders <Button /> with intent properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with right icon properly","location":null,"status":"passed","title":"Renders <Button /> with right icon properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with icon and right icon properly","location":null,"status":"passed","title":"Renders <Button /> with icon and right icon properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with onClick function","location":null,"status":"passed","title":"Renders <Button /> with onClick function"}],"endTime":1640867061434,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/button.test.tsx","startTime":1640867060545,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Tag /> properly","location":null,"status":"passed","title":"Renders <Tag /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Tag /> group properly","location":null,"status":"passed","title":"Renders <Tag /> group properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Tag /> without remove button if disabled","location":null,"status":"passed","title":"Renders <Tag /> without remove button if disabled"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Fires onClick and onRemoveClick <Tag /> events","location":null,"status":"passed","title":"Fires onClick and onRemoveClick <Tag /> events"}],"endTime":1640867062087,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/tag.test.tsx","startTime":1640867061445,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Modal /> properly","location":null,"status":"passed","title":"Renders basic <Modal /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Does not renders <Modal /> if its not open","location":null,"status":"passed","title":"Does not renders <Modal /> if its not open"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Modal /> with custom dimensions","location":null,"status":"passed","title":"Renders <Modal /> with custom dimensions"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders confirmation <Modal /> ","location":null,"status":"passed","title":"Renders confirmation <Modal /> "}],"endTime":1640867063068,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/modal.test.tsx","startTime":1640867062098,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Does not render <Drawer /> if not open","location":null,"status":"passed","title":"Does not render <Drawer /> if not open"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders opened <Drawer /> properly","location":null,"status":"passed","title":"Renders opened <Drawer /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders hidable <Drawer /> properly","location":null,"status":"passed","title":"Renders hidable <Drawer /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders closable <Drawer /> properly","location":null,"status":"passed","title":"Renders closable <Drawer /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Drawer /> with interactive backdrop","location":null,"status":"passed","title":"Renders <Drawer /> with interactive backdrop"}],"endTime":1640867063847,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/drawer.test.tsx","startTime":1640867063080,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Panel /> properly","location":null,"status":"passed","title":"Renders basic <Panel /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Panel /> with title properly","location":null,"status":"passed","title":"Renders basic <Panel /> with title properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Panel /> that is collapsed by default and can be expanded","location":null,"status":"passed","title":"Renders basic <Panel /> that is collapsed by default and can be expanded"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders closable <Panel /> properly","location":null,"status":"passed","title":"Renders closable <Panel /> properly"}],"endTime":1640867064450,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/panel.test.tsx","startTime":1640867063858,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Tree /> properly","location":null,"status":"passed","title":"Renders basic <Tree /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows types for <Tree /> properly","location":null,"status":"passed","title":"Shows types for <Tree /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows textarea for <Tree /> properly","location":null,"status":"passed","title":"Shows textarea for <Tree /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"<Tree /> items can be expanded and collapsed","location":null,"status":"passed","title":"<Tree /> items can be expanded and collapsed"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Tree /> with clickable items","location":null,"status":"passed","title":"Renders <Tree /> with clickable items"}],"endTime":1640867065709,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/tree.test.tsx","startTime":1640867064468,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows popover on hover, hides on leave","location":null,"status":"passed","title":"Shows popover on hover, hides on leave"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows popover on click, hides only on click away","location":null,"status":"passed","title":"Shows popover on click, hides only on click away"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows custom content","location":null,"status":"passed","title":"Shows custom content"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Runs callback function","location":null,"status":"passed","title":"Runs callback function"}],"endTime":1640867066299,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/popover.test.tsx","startTime":1640867065721,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Menu /> properly","location":null,"status":"passed","title":"Renders <Menu /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"<Menu /> item can be clicked","location":null,"status":"passed","title":"<Menu /> item can be clicked"},{"ancestorTitles":[],"failureMessages":[],"fullName":"<Menu /> item has right clickable button","location":null,"status":"passed","title":"<Menu /> item has right clickable button"}],"endTime":1640867066792,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/menu.test.tsx","startTime":1640867066310,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Input /> properly","location":null,"status":"passed","title":"Renders <Input /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Input /> with clear button properly","location":null,"status":"passed","title":"Renders <Input /> with clear button properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Disabled <Input /> cannot be cleared","location":null,"status":"passed","title":"Disabled <Input /> cannot be cleared"}],"endTime":1640867067445,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/input.test.tsx","startTime":1640867066814,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders full <Breadcrumbs /> properly","location":null,"status":"passed","title":"Renders full <Breadcrumbs /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders shortened <Breadcrumbs /> properly","location":null,"status":"passed","title":"Renders shortened <Breadcrumbs /> properly"}],"endTime":1640867068058,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/breadcrumbs.test.tsx","startTime":1640867067456,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <TextArea /> properly","location":null,"status":"passed","title":"Renders <TextArea /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <TextArea /> with clear button properly","location":null,"status":"passed","title":"Renders <TextArea /> with clear button properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Disabled <TextArea /> cannot be cleared","location":null,"status":"passed","title":"Disabled <TextArea /> cannot be cleared"}],"endTime":1640867068713,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/textarea.test.tsx","startTime":1640867068085,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Message /> properly","location":null,"status":"passed","title":"Renders <Message /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Runs onFinish on message after duration","location":null,"status":"passed","title":"Runs onFinish on message after duration"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Runs onClose when closed","location":null,"status":"passed","title":"Runs onClose when closed"}],"endTime":1640867069285,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/messages.test.tsx","startTime":1640867068735,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Checkbox /> properly","location":null,"status":"passed","title":"Renders <Checkbox /> properly"}],"endTime":1640867069780,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/radiogroup.test.tsx","startTime":1640867069304,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders Layout properly","location":null,"status":"passed","title":"Renders Layout properly"}],"endTime":1640867070275,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/layout.test.tsx","startTime":1640867069792,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Icon /> properly","location":null,"status":"passed","title":"Renders <Icon /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders empty <Icon /> if icon does not exist","location":null,"status":"passed","title":"Renders empty <Icon /> if icon does not exist"}],"endTime":1640867070822,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/icon.test.tsx","startTime":1640867070286,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders Navbar properly","location":null,"status":"passed","title":"Renders Navbar properly"}],"endTime":1640867071668,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/navbar.test.tsx","startTime":1640867071084,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Checkbox /> properly","location":null,"status":"passed","title":"Renders <Checkbox /> properly"}],"endTime":1640867072210,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/checkbox.test.tsx","startTime":1640867071680,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <TimeAgo /> data properly","location":null,"status":"passed","title":"Renders <TimeAgo /> data properly"}],"endTime":1640867072622,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/timeAgo.test.tsx","startTime":1640867072220,"status":"passed","summary":""}],"wasInterrupted":false}
1
+ {"numFailedTestSuites":0,"numFailedTests":0,"numPassedTestSuites":23,"numPassedTests":90,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":23,"numTotalTests":90,"openHandles":[],"snapshot":{"added":0,"didUpdate":false,"failure":false,"filesAdded":0,"filesRemoved":0,"filesRemovedList":[],"filesUnmatched":0,"filesUpdated":0,"matched":0,"total":0,"unchecked":0,"uncheckedKeysByFile":[],"unmatched":0,"updated":0},"startTime":1662037163466,"success":true,"testResults":[{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Table /> properly","location":null,"status":"passed","title":"Renders basic <Table /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Table /> with grouped columns properly","location":null,"status":"passed","title":"Renders <Table /> with grouped columns properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Table /> with custom content","location":null,"status":"passed","title":"Renders <Table /> with custom content"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Table /> with predefined content","location":null,"status":"passed","title":"Renders <Table /> with predefined content"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Sorting on <Table /> works properly","location":null,"status":"passed","title":"Sorting on <Table /> works properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Rows on <Table /> can be selected","location":null,"status":"passed","title":"Rows on <Table /> can be selected"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Rows on <Table /> cannot be selected if _selectId is missing","location":null,"status":"passed","title":"Rows on <Table /> cannot be selected if _selectId is missing"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Rows on <Table /> are all selected/deselected when clicking on header","location":null,"status":"passed","title":"Rows on <Table /> are all selected/deselected when clicking on header"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Cells on <Table /> are interactive","location":null,"status":"passed","title":"Cells on <Table /> are interactive"}],"endTime":1662037179055,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/table.test.tsx","startTime":1662037164070,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders full <Tabs /> properly","location":null,"status":"passed","title":"Renders full <Tabs /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders shortened <Tabs /> properly","location":null,"status":"passed","title":"Renders shortened <Tabs /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Default active tab can be specified","location":null,"status":"passed","title":"Default active tab can be specified"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Changes tab and runs callback","location":null,"status":"passed","title":"Changes tab and runs callback"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Does not change tab and run callback when disabled","location":null,"status":"passed","title":"Does not change tab and run callback when disabled"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Changes tab programatically and runs callback","location":null,"status":"passed","title":"Changes tab programatically and runs callback"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Closable tab can be closed if not disabled","location":null,"status":"passed","title":"Closable tab can be closed if not disabled"}],"endTime":1662037180711,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/tabs.test.tsx","startTime":1662037179084,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders sidebar","location":null,"status":"passed","title":"Renders sidebar"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Sidebar can be collapsed","location":null,"status":"passed","title":"Sidebar can be collapsed"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Can open submenu manually","location":null,"status":"passed","title":"Can open submenu manually"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Submenu opens automatically if path matches","location":null,"status":"passed","title":"Submenu opens automatically if path matches"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Bookmarks can be added and removed","location":null,"status":"passed","title":"Bookmarks can be added and removed"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Bookmarks clicks are not propagated through","location":null,"status":"passed","title":"Bookmarks clicks are not propagated through"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders item as <p> element with onClick","location":null,"status":"passed","title":"Renders item as <p> element with onClick"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders floating sidebar with item as <p> element with onClick, closes on item click","location":null,"status":"passed","title":"Renders floating sidebar with item as <p> element with onClick, closes on item click"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders custom item at the top","location":null,"status":"passed","title":"Renders custom item at the top"}],"endTime":1662037182276,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/sidebar.test.tsx","startTime":1662037180732,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Dropdown /> properly","location":null,"status":"passed","title":"Renders <Dropdown /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders disabled <Dropdown /> when children are empty","location":null,"status":"passed","title":"Renders disabled <Dropdown /> when children are empty"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Dropdown /> with custom component and custom handler","location":null,"status":"passed","title":"Renders <Dropdown /> with custom component and custom handler"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Dropdown /> is opened by default","location":null,"status":"passed","title":"Renders <Dropdown /> is opened by default"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders filterable <Dropdown /> and filters items correctly","location":null,"status":"passed","title":"Renders filterable <Dropdown /> and filters items correctly"}],"endTime":1662037183986,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/dropdown.test.tsx","startTime":1662037182290,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Adds notifications and dismisses them automatically","location":null,"status":"passed","title":"Adds notifications and dismisses them automatically"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Adds a notification and updates it","location":null,"status":"passed","title":"Adds a notification and updates it"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Notification has a click event","location":null,"status":"passed","title":"Notification has a click event"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Notification has a close event","location":null,"status":"passed","title":"Notification has a close event"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Notification has a finish event","location":null,"status":"passed","title":"Notification has a finish event"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Maximum of 5 notifications is shown at once","location":null,"status":"passed","title":"Maximum of 5 notifications is shown at once"}],"endTime":1662037185196,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/notifications.test.tsx","startTime":1662037184002,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> properly","location":null,"status":"passed","title":"Renders <Button /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with size properly","location":null,"status":"passed","title":"Renders <Button /> with size properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with icon properly","location":null,"status":"passed","title":"Renders <Button /> with icon properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with intent properly","location":null,"status":"passed","title":"Renders <Button /> with intent properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with right icon properly","location":null,"status":"passed","title":"Renders <Button /> with right icon properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with icon and right icon properly","location":null,"status":"passed","title":"Renders <Button /> with icon and right icon properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with onClick function","location":null,"status":"passed","title":"Renders <Button /> with onClick function"}],"endTime":1662037186363,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/button.test.tsx","startTime":1662037185220,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Tag /> properly","location":null,"status":"passed","title":"Renders <Tag /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Tag /> group properly","location":null,"status":"passed","title":"Renders <Tag /> group properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Tag /> without remove button if disabled","location":null,"status":"passed","title":"Renders <Tag /> without remove button if disabled"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Fires onClick and onRemoveClick <Tag /> events","location":null,"status":"passed","title":"Fires onClick and onRemoveClick <Tag /> events"}],"endTime":1662037187257,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/tag.test.tsx","startTime":1662037186380,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Modal /> properly","location":null,"status":"passed","title":"Renders basic <Modal /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Does not renders <Modal /> if its not open","location":null,"status":"passed","title":"Does not renders <Modal /> if its not open"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Modal /> with custom dimensions","location":null,"status":"passed","title":"Renders <Modal /> with custom dimensions"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders confirmation <Modal /> ","location":null,"status":"passed","title":"Renders confirmation <Modal /> "}],"endTime":1662037188338,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/modal.test.tsx","startTime":1662037187270,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Does not render <Drawer /> if not open","location":null,"status":"passed","title":"Does not render <Drawer /> if not open"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders opened <Drawer /> properly","location":null,"status":"passed","title":"Renders opened <Drawer /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders hidable <Drawer /> properly","location":null,"status":"passed","title":"Renders hidable <Drawer /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders closable <Drawer /> properly","location":null,"status":"passed","title":"Renders closable <Drawer /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Drawer /> with interactive backdrop","location":null,"status":"passed","title":"Renders <Drawer /> with interactive backdrop"}],"endTime":1662037189294,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/drawer.test.tsx","startTime":1662037188349,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Panel /> properly","location":null,"status":"passed","title":"Renders basic <Panel /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Panel /> with title properly","location":null,"status":"passed","title":"Renders basic <Panel /> with title properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Panel /> that is collapsed by default and can be expanded","location":null,"status":"passed","title":"Renders basic <Panel /> that is collapsed by default and can be expanded"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders closable <Panel /> properly","location":null,"status":"passed","title":"Renders closable <Panel /> properly"}],"endTime":1662037190028,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/panel.test.tsx","startTime":1662037189305,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Tree /> properly","location":null,"status":"passed","title":"Renders basic <Tree /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows types for <Tree /> properly","location":null,"status":"passed","title":"Shows types for <Tree /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows textarea for <Tree /> properly","location":null,"status":"passed","title":"Shows textarea for <Tree /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"<Tree /> items can be expanded and collapsed","location":null,"status":"passed","title":"<Tree /> items can be expanded and collapsed"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Tree /> with clickable items","location":null,"status":"passed","title":"Renders <Tree /> with clickable items"}],"endTime":1662037191503,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/tree.test.tsx","startTime":1662037190048,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows popover on hover, hides on leave","location":null,"status":"passed","title":"Shows popover on hover, hides on leave"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows popover on click, hides only on click away","location":null,"status":"passed","title":"Shows popover on click, hides only on click away"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows custom content","location":null,"status":"passed","title":"Shows custom content"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Runs callback function","location":null,"status":"passed","title":"Runs callback function"}],"endTime":1662037192256,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/popover.test.tsx","startTime":1662037191526,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Menu /> properly","location":null,"status":"passed","title":"Renders <Menu /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"<Menu /> item can be clicked","location":null,"status":"passed","title":"<Menu /> item can be clicked"},{"ancestorTitles":[],"failureMessages":[],"fullName":"<Menu /> item has right clickable button","location":null,"status":"passed","title":"<Menu /> item has right clickable button"}],"endTime":1662037192883,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/menu.test.tsx","startTime":1662037192268,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Input /> properly","location":null,"status":"passed","title":"Renders <Input /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Input /> with clear button properly","location":null,"status":"passed","title":"Renders <Input /> with clear button properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Disabled <Input /> cannot be cleared","location":null,"status":"passed","title":"Disabled <Input /> cannot be cleared"}],"endTime":1662037193782,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/input.test.tsx","startTime":1662037192905,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders full <Breadcrumbs /> properly","location":null,"status":"passed","title":"Renders full <Breadcrumbs /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders shortened <Breadcrumbs /> properly","location":null,"status":"passed","title":"Renders shortened <Breadcrumbs /> properly"}],"endTime":1662037194436,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/breadcrumbs.test.tsx","startTime":1662037193793,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <TextArea /> properly","location":null,"status":"passed","title":"Renders <TextArea /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <TextArea /> with clear button properly","location":null,"status":"passed","title":"Renders <TextArea /> with clear button properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Disabled <TextArea /> cannot be cleared","location":null,"status":"passed","title":"Disabled <TextArea /> cannot be cleared"}],"endTime":1662037195138,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/textarea.test.tsx","startTime":1662037194448,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Message /> properly","location":null,"status":"passed","title":"Renders <Message /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Runs onFinish on message after duration","location":null,"status":"passed","title":"Runs onFinish on message after duration"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Runs onClose when closed","location":null,"status":"passed","title":"Runs onClose when closed"}],"endTime":1662037195841,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/messages.test.tsx","startTime":1662037195150,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Checkbox /> properly","location":null,"status":"passed","title":"Renders <Checkbox /> properly"}],"endTime":1662037196432,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/radiogroup.test.tsx","startTime":1662037195862,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders Layout properly","location":null,"status":"passed","title":"Renders Layout properly"}],"endTime":1662037197091,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/layout.test.tsx","startTime":1662037196454,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Icon /> properly","location":null,"status":"passed","title":"Renders <Icon /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders empty <Icon /> if icon does not exist","location":null,"status":"passed","title":"Renders empty <Icon /> if icon does not exist"}],"endTime":1662037198552,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/icon.test.tsx","startTime":1662037197103,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders Navbar properly","location":null,"status":"passed","title":"Renders Navbar properly"}],"endTime":1662037199213,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/navbar.test.tsx","startTime":1662037198569,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Checkbox /> properly","location":null,"status":"passed","title":"Renders <Checkbox /> properly"}],"endTime":1662037199899,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/checkbox.test.tsx","startTime":1662037199236,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <TimeAgo /> data properly","location":null,"status":"passed","title":"Renders <TimeAgo /> data properly"}],"endTime":1662037200478,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/timeAgo.test.tsx","startTime":1662037199910,"status":"passed","summary":""}],"wasInterrupted":false}
@@ -1,16 +0,0 @@
1
- # See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.163.1/containers/javascript-node/.devcontainer/base.Dockerfile
2
-
3
- # [Choice] Node.js version: 14, 12, 10
4
- ARG VARIANT="14-buster"
5
- FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT}
6
-
7
- # [Optional] Uncomment this section to install additional OS packages.
8
- # RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
9
- # && apt-get -y install --no-install-recommends <your-package-list-here>
10
-
11
- # [Optional] Uncomment if you want to install an additional version of node using nvm
12
- # ARG EXTRA_NODE_VERSION=10
13
- # RUN su node -c "source /usr/local/share/nvm/nvm.sh && nvm install ${EXTRA_NODE_VERSION}"
14
-
15
- # [Optional] Uncomment if you want to install more global node modules
16
- # RUN su node -c "npm install -g <your-package-list-here>"
@@ -1,31 +0,0 @@
1
- // For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
2
- // https://github.com/microsoft/vscode-dev-containers/tree/v0.163.1/containers/javascript-node
3
- {
4
- "name": "Node.js",
5
- "build": {
6
- "dockerfile": "Dockerfile",
7
- // Update 'VARIANT' to pick a Node version: 10, 12, 14
8
- "args": { "VARIANT": "14" }
9
- },
10
-
11
- // Set *default* container specific settings.json values on container create.
12
- "settings": {
13
- "terminal.integrated.shell.linux": "/bin/bash"
14
- },
15
-
16
- // Add the IDs of extensions you want installed when the container is created.
17
- "extensions": [
18
- "dbaeumer.vscode-eslint",
19
- "esbenp.prettier-vscode",
20
- "jpoissonnier.vscode-styled-components"
21
- ],
22
-
23
- // Use 'forwardPorts' to make a list of ports inside the container available locally.
24
- "forwardPorts": [6006],
25
-
26
- // Use 'postCreateCommand' to run commands after the container is created.
27
- // "postCreateCommand": "yarn install",
28
-
29
- // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
30
- "remoteUser": "node"
31
- }
@@ -1,16 +0,0 @@
1
- import {
2
- ReqoreContent,
3
- ReqoreLayoutContent,
4
- ReqoreUIProvider,
5
- } from '../src/index';
6
- import './styles.css';
7
-
8
- export const Wrapper = ({ children }) => (
9
- <ReqoreUIProvider>
10
- <ReqoreLayoutContent>
11
- <ReqoreContent style={{ width: '100%', height: '100%', padding: '20px' }}>
12
- {children}
13
- </ReqoreContent>
14
- </ReqoreLayoutContent>
15
- </ReqoreUIProvider>
16
- );
@@ -1,5 +0,0 @@
1
- html,
2
- body,
3
- #root {
4
- height: 100%;
5
- }
@@ -1,31 +0,0 @@
1
- import React from 'react';
2
- import { TSizes } from '../../constants/sizes';
3
- import { IReqoreBreadcrumbsTheme, IReqoreIntent } from '../../constants/theme';
4
- import { IReqoreIconName } from '../../types/icons';
5
- import { IReqoreTabsListItem } from '../Tabs';
6
- export interface IReqoreBreadcrumbItem {
7
- tooltip?: JSX.Element | string;
8
- label?: string;
9
- icon?: IReqoreIconName;
10
- active?: boolean;
11
- as?: any;
12
- props?: React.HTMLAttributes<any>;
13
- withTabs?: {
14
- tabs: IReqoreTabsListItem[];
15
- onTabChange: (tabId: string | number) => any;
16
- activeTab: string;
17
- activeTabIntent?: IReqoreIntent;
18
- };
19
- customTheme?: IReqoreBreadcrumbsTheme;
20
- }
21
- export interface IReqoreBreadcrumbsProps extends React.HTMLAttributes<HTMLDivElement> {
22
- items: IReqoreBreadcrumbItem[];
23
- rightElement?: JSX.Element;
24
- _testWidth?: number;
25
- customTheme?: IReqoreBreadcrumbsTheme;
26
- size?: TSizes;
27
- flat?: boolean;
28
- }
29
- declare const ReqoreBreadcrumbs: React.FC<IReqoreBreadcrumbsProps>;
30
- export default ReqoreBreadcrumbs;
31
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Breadcrumbs/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAIvC,OAAO,EAKL,MAAM,EACP,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,uBAAuB,EAAE,aAAa,EAAgB,MAAM,uBAAuB,CAAC;AAG7F,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAIpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAI9C,MAAM,WAAW,qBAAqB;IACpC,OAAO,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,MAAM,CAAC;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,EAAE,CAAC,EAAE,GAAG,CAAC;IACT,KAAK,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;IAClC,QAAQ,CAAC,EAAE;QACT,IAAI,EAAE,mBAAmB,EAAE,CAAC;QAC5B,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,GAAG,CAAC;QAC7C,SAAS,EAAE,MAAM,CAAC;QAClB,eAAe,CAAC,EAAE,aAAa,CAAC;KACjC,CAAC;IACF,WAAW,CAAC,EAAE,uBAAuB,CAAC;CACvC;AAED,MAAM,WAAW,uBAAwB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACnF,KAAK,EAAE,qBAAqB,EAAE,CAAC;IAC/B,YAAY,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IAE3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,uBAAuB,CAAC;IACtC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAsFD,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAoHxD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -1,148 +0,0 @@
1
- "use strict";
2
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
- return cooked;
5
- };
6
- var __assign = (this && this.__assign) || function () {
7
- __assign = Object.assign || function(t) {
8
- for (var s, i = 1, n = arguments.length; i < n; i++) {
9
- s = arguments[i];
10
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
11
- t[p] = s[p];
12
- }
13
- return t;
14
- };
15
- return __assign.apply(this, arguments);
16
- };
17
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
18
- if (k2 === undefined) k2 = k;
19
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
20
- }) : (function(o, m, k, k2) {
21
- if (k2 === undefined) k2 = k;
22
- o[k2] = m[k];
23
- }));
24
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
- Object.defineProperty(o, "default", { enumerable: true, value: v });
26
- }) : function(o, v) {
27
- o["default"] = v;
28
- });
29
- var __importStar = (this && this.__importStar) || function (mod) {
30
- if (mod && mod.__esModule) return mod;
31
- var result = {};
32
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
- __setModuleDefault(result, mod);
34
- return result;
35
- };
36
- var __rest = (this && this.__rest) || function (s, e) {
37
- var t = {};
38
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
39
- t[p] = s[p];
40
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
41
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
42
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
43
- t[p[i]] = s[p[i]];
44
- }
45
- return t;
46
- };
47
- var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
48
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
49
- if (ar || !(i in from)) {
50
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
51
- ar[i] = from[i];
52
- }
53
- }
54
- return to.concat(ar || Array.prototype.slice.call(from));
55
- };
56
- var __importDefault = (this && this.__importDefault) || function (mod) {
57
- return (mod && mod.__esModule) ? mod : { "default": mod };
58
- };
59
- exports.__esModule = true;
60
- var react_1 = require("react");
61
- var jsx_runtime_1 = require("react/jsx-runtime");
62
- var lodash_1 = require("lodash");
63
- var react_2 = __importStar(require("react"));
64
- var react_use_1 = require("react-use");
65
- var styled_components_1 = __importStar(require("styled-components"));
66
- var __1 = require("../..");
67
- var sizes_1 = require("../../constants/sizes");
68
- var colors_1 = require("../../helpers/colors");
69
- var useTheme_1 = require("../../hooks/useTheme");
70
- var Icon_1 = __importDefault(require("../Icon"));
71
- var Menu_1 = __importDefault(require("../Menu"));
72
- var item_1 = __importDefault(require("../Menu/item"));
73
- var list_1 = __importStar(require("../Tabs/list"));
74
- var item_2 = __importDefault(require("./item"));
75
- var StyledReqoreBreadcrumbs = styled_components_1["default"].div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (_a) {
76
- var _b, _c, _d;
77
- var theme = _a.theme, flat = _a.flat, size = _a.size;
78
- return (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n height: ", "px;\n margin: ", "px 0;\n display: flex;\n padding: 0 ", "px;\n justify-content: space-between;\n border-bottom: ", ";\n background-color: ", ";\n\n > div {\n height: 100%;\n display: flex;\n align-items: center;\n\n > * {\n color: ", ";\n }\n\n ", " {\n flex: 1;\n border-bottom: 0;\n }\n\n &:first-child {\n overflow: hidden;\n flex: 1;\n }\n }\n "], ["\n width: 100%;\n height: ", "px;\n margin: ", "px 0;\n display: flex;\n padding: 0 ", "px;\n justify-content: space-between;\n border-bottom: ", ";\n background-color: ", ";\n\n > div {\n height: 100%;\n display: flex;\n align-items: center;\n\n > * {\n color: ", ";\n }\n\n ", " {\n flex: 1;\n border-bottom: 0;\n }\n\n &:first-child {\n overflow: hidden;\n flex: 1;\n }\n }\n "])), sizes_1.TABS_SIZE_TO_PX[size], sizes_1.MARGIN_FROM_SIZE[size], sizes_1.PADDING_FROM_SIZE[size], flat ? 0 : "1px solid " + (0, colors_1.changeLightness)(theme.main, 0.05), function (_a) {
79
- var _b;
80
- var theme = _a.theme;
81
- return ((_b = theme.breadcrumbs) === null || _b === void 0 ? void 0 : _b.main) || 'transparent';
82
- }, ((_c = (_b = theme.breadcrumbs) === null || _b === void 0 ? void 0 : _b.item) === null || _c === void 0 ? void 0 : _c.color) ||
83
- (((_d = theme.breadcrumbs) === null || _d === void 0 ? void 0 : _d.main)
84
- ? (0, colors_1.getReadableColorFrom)(theme.breadcrumbs.main, true)
85
- : (0, colors_1.getReadableColor)(theme, undefined, undefined, true)), list_1.StyledReqoreTabsList);
86
- });
87
- var getBreadcrumbsLength = function (items) {
88
- return items.reduce(function (len, item) {
89
- if ((0, lodash_1.isArray)(item)) {
90
- return len + 70;
91
- }
92
- if (item.withTabs) {
93
- return len + (0, list_1.getTabsLength)(item.withTabs.tabs, 'width', item.withTabs.activeTab);
94
- }
95
- return len + 27 + item.label.length * 10 + 35;
96
- }, 0);
97
- };
98
- var getTransformedItems = function (items, width) {
99
- if (!width) {
100
- return items;
101
- }
102
- var stop = false;
103
- var newItems = __spreadArray([], items, true);
104
- while (getBreadcrumbsLength(newItems) > width && !stop) {
105
- if ((0, lodash_1.isArray)(newItems[1])) {
106
- newItems[1].push(newItems[2]);
107
- newItems[2] = undefined;
108
- }
109
- else {
110
- var secondItem = newItems[1];
111
- newItems[1] = [secondItem];
112
- }
113
- newItems = newItems.filter(function (i) { return i; });
114
- if (!newItems[2] || newItems[2].withTabs) {
115
- stop = true;
116
- }
117
- }
118
- return newItems;
119
- };
120
- var ReqoreBreadcrumbs = function (_a) {
121
- var items = _a.items, rightElement = _a.rightElement, _testWidth = _a._testWidth, customTheme = _a.customTheme, flat = _a.flat, _b = _a.size, size = _b === void 0 ? 'normal' : _b, rest = __rest(_a, ["items", "rightElement", "_testWidth", "customTheme", "flat", "size"]);
122
- var _c = (0, react_use_1.useMeasure)(), ref = _c[0], width = _c[1].width;
123
- var theme = (0, useTheme_1.useReqoreTheme)('breadcrumbs', customTheme);
124
- var transformedItems = (0, react_2.useMemo)(function () { return getTransformedItems(items, _testWidth || width); }, [items, width, _testWidth]);
125
- var renderItem = function (item, index) {
126
- var _a;
127
- if ((0, lodash_1.isArray)(item)) {
128
- return ((0, jsx_runtime_1.jsxs)(react_2["default"].Fragment, { children: [(0, jsx_runtime_1.jsx)(Icon_1["default"], { icon: 'ArrowRightSLine', size: sizes_1.TEXT_FROM_SIZE[size] + "px" }, 'icon' + index), (0, jsx_runtime_1.jsx)(__1.ReqorePopover, { component: item_2["default"], componentProps: {
129
- icon: 'MoreFill',
130
- tooltip: 'Show more...',
131
- interactive: true
132
- }, handler: 'click', content: (0, jsx_runtime_1.jsx)(Menu_1["default"], { children: item.map(function (_a) {
133
- var icon = _a.icon, label = _a.label, as = _a.as, tooltip = _a.tooltip, props = _a.props;
134
- return ((0, jsx_runtime_1.jsx)(__1.ReqorePopover, __assign({ component: item_1["default"], componentProps: __assign({ icon: icon, as: as }, props), placement: 'right', isReqoreComponent: true, content: tooltip }, { children: label }), index + label));
135
- }) }, void 0) }, index)] }, index));
136
- }
137
- if (item.withTabs) {
138
- return ((0, jsx_runtime_1.jsxs)(react_2["default"].Fragment, { children: [(0, jsx_runtime_1.jsx)(Icon_1["default"], { icon: 'ArrowRightSLine', size: sizes_1.TEXT_FROM_SIZE[size] + "px", margin: 'both' }, 'icon' + index), (0, jsx_runtime_1.jsx)(list_1["default"], { tabs: item.withTabs.tabs, onTabChange: item.withTabs.onTabChange, activeTab: item.withTabs.activeTab, activeTabIntent: item.withTabs.activeTabIntent, parentBackground: (_a = theme.breadcrumbs) === null || _a === void 0 ? void 0 : _a.main, flat: flat, size: size }, void 0)] }, index));
139
- }
140
- return ((0, jsx_runtime_1.jsxs)(react_2["default"].Fragment, { children: [index !== 0 && ((0, jsx_runtime_1.jsx)(Icon_1["default"], { icon: 'ArrowRightSLine', size: sizes_1.TEXT_FROM_SIZE[size] + "px", margin: 'both' }, 'icon' + index)), (0, react_1.createElement)(item_2["default"], __assign({}, item, { key: index, customTheme: customTheme, size: size }))] }, index));
141
- };
142
- return ((0, jsx_runtime_1.jsxs)(StyledReqoreBreadcrumbs, __assign({}, rest, { className: (rest.className || '') + " reqore-breadcrumbs-wrapper", ref: ref, flat: flat, theme: theme, size: size }, { children: [(0, jsx_runtime_1.jsx)("div", { children: transformedItems.map(function (item, index) {
143
- return renderItem(item, index);
144
- }) }, 'reqore-breadcrumbs-left-wrapper'), rightElement && (0, jsx_runtime_1.jsx)("div", { children: rightElement }, void 0)] }), void 0));
145
- };
146
- exports["default"] = ReqoreBreadcrumbs;
147
- var templateObject_1, templateObject_2;
148
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Breadcrumbs/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iCAAiC;AACjC,6CAAuC;AACvC,uCAAuC;AACvC,qEAAgD;AAChD,2BAAsC;AACtC,+CAM+B;AAE/B,+CAA+F;AAC/F,iDAAsD;AAEtD,iDAAiC;AACjC,iDAAiC;AACjC,sDAA0C;AAE1C,mDAAmF;AACnF,gDAA2E;AAgC3E,IAAM,uBAAuB,GAAG,8BAAM,CAAC,GAAG,+EAAoB,MAC1D,EAiCD,IACF,KAlCG,UAAC,EAAyC;;QAAvC,KAAK,WAAA,EAAE,IAAI,UAAA,EAAE,IAAI,UAAA;IAA2B,WAAA,uBAAG,gjBAAA,kCAExC,EAAqB,mBACrB,EAAsB,4CAEnB,EAAuB,+DAEnB,EAA2D,2BACxD,EACsB,yHAQ7B,EAG+C,sBAGxD,EAAoB,oJAUzB,KA/BW,uBAAe,CAAC,IAAI,CAAC,EACrB,wBAAgB,CAAC,IAAI,CAAC,EAEnB,yBAAiB,CAAC,IAAI,CAAC,EAEnB,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,eAAa,IAAA,wBAAe,EAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAG,EACxD,UAAC,EAAkC;;YAAhC,KAAK,WAAA;QAC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eAAe,EAAE,IAAI,CAAC,QAAQ,CAAC,eAAe,EAC9C,gBAAgB,EAAE,MAAA,KAAK,CAAC,WAAW,0CAAE,IAAI,EACzC,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,IAAI,WACV,KAfiB,KAAK,CAgBT,CAClB,CAAC;SACH;QAED,OAAO,CACL,wBAAC,kBAAK,CAAC,QAAQ,eACZ,KAAK,KAAK,CAAC,IAAI,CACd,uBAAC,iBAAU,IACT,IAAI,EAAC,iBAAiB,EACtB,IAAI,EAAK,sBAAc,CAAC,IAAI,CAAC,OAAI,EAEjC,MAAM,EAAC,MAAM,IADR,MAAM,GAAG,KAAK,CAEnB,CACH,EACD,2BAAC,iBAAqB,eAAK,IAAI,IAAE,GAAG,EAAE,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,IAAI,EAAE,IAAI,IAAI,KATlE,KAAK,CAUT,CAClB,CAAC;IACJ,CAAC,CAAC;IAEF,OAAO,CACL,wBAAC,uBAAuB,eAClB,IAAI,IACR,SAAS,EAAE,CAAG,IAAI,CAAC,SAAS,IAAI,EAAE,iCAA6B,EAC/D,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,IAAI,iBAEV,0CACG,gBAAgB,CAAC,GAAG,CACnB,UAAC,IAAqD,EAAE,KAAa;oBACnE,OAAA,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC;gBAAvB,CAAuB,CAC1B,IAJM,iCAAiC,CAKpC,EACL,YAAY,IAAI,0CAAM,YAAY,WAAO,aAClB,CAC3B,CAAC;AACJ,CAAC,CAAC;AAEF,qBAAe,iBAAiB,CAAC"}
@@ -1,14 +0,0 @@
1
- /// <reference types="react" />
2
- import { IReqoreBreadcrumbItem } from '.';
3
- import { TSizes } from '../../constants/sizes';
4
- import { IReqoreTheme } from '../../constants/theme';
5
- export interface IReqoreBreadcrumbItemProps extends IReqoreBreadcrumbItem {
6
- interactive?: boolean;
7
- size?: TSizes;
8
- }
9
- export interface IReqoreBreadcrumbItemStyle extends IReqoreBreadcrumbItemProps {
10
- theme: IReqoreTheme;
11
- }
12
- declare const ReqoreBreadcrumbsItem: ({ tooltip, label, props, icon, active, as, interactive, customTheme, size, }: IReqoreBreadcrumbItemProps) => JSX.Element;
13
- export default ReqoreBreadcrumbsItem;
14
- //# sourceMappingURL=item.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"item.d.ts","sourceRoot":"","sources":["../../../src/components/Breadcrumbs/item.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,GAAG,CAAC;AAC1C,OAAO,EAAqC,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAClF,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAMrD,MAAM,WAAW,0BAA2B,SAAQ,qBAAqB;IACvE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,0BAA2B,SAAQ,0BAA0B;IAC5E,KAAK,EAAE,YAAY,CAAC;CACrB;AAkED,QAAA,MAAM,qBAAqB,iFAUxB,0BAA0B,gBA0B5B,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -1,76 +0,0 @@
1
- "use strict";
2
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
- return cooked;
5
- };
6
- var __assign = (this && this.__assign) || function () {
7
- __assign = Object.assign || function(t) {
8
- for (var s, i = 1, n = arguments.length; i < n; i++) {
9
- s = arguments[i];
10
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
11
- t[p] = s[p];
12
- }
13
- return t;
14
- };
15
- return __assign.apply(this, arguments);
16
- };
17
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
18
- if (k2 === undefined) k2 = k;
19
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
20
- }) : (function(o, m, k, k2) {
21
- if (k2 === undefined) k2 = k;
22
- o[k2] = m[k];
23
- }));
24
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
- Object.defineProperty(o, "default", { enumerable: true, value: v });
26
- }) : function(o, v) {
27
- o["default"] = v;
28
- });
29
- var __importStar = (this && this.__importStar) || function (mod) {
30
- if (mod && mod.__esModule) return mod;
31
- var result = {};
32
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
- __setModuleDefault(result, mod);
34
- return result;
35
- };
36
- var __importDefault = (this && this.__importDefault) || function (mod) {
37
- return (mod && mod.__esModule) ? mod : { "default": mod };
38
- };
39
- exports.__esModule = true;
40
- var jsx_runtime_1 = require("react/jsx-runtime");
41
- var react_1 = require("react");
42
- var styled_components_1 = __importStar(require("styled-components"));
43
- var sizes_1 = require("../../constants/sizes");
44
- var colors_1 = require("../../helpers/colors");
45
- var usePopover_1 = __importDefault(require("../../hooks/usePopover"));
46
- var useTheme_1 = require("../../hooks/useTheme");
47
- var Icon_1 = __importDefault(require("../Icon"));
48
- var StyledBreadcrumbItem = styled_components_1["default"].div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n ", "\n\n a {\n text-decoration: none;\n\n &:hover {\n text-decoration: underline;\n }\n }\n"], ["\n ", "\n\n a {\n text-decoration: none;\n\n &:hover {\n text-decoration: underline;\n }\n }\n"])), function (_a) {
49
- var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
50
- var theme = _a.theme, active = _a.active, interactive = _a.interactive, size = _a.size;
51
- var textColor = ((_c = (_b = theme.breadcrumbs) === null || _b === void 0 ? void 0 : _b.item) === null || _c === void 0 ? void 0 : _c.color) ||
52
- (((_d = theme.breadcrumbs) === null || _d === void 0 ? void 0 : _d.main)
53
- ? (0, colors_1.getReadableColorFrom)(theme.breadcrumbs.main, true)
54
- : (0, colors_1.getReadableColor)(theme, undefined, undefined, true));
55
- return (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n height: 100%;\n justify-content: space-evenly;\n align-items: center;\n padding: 0 ", "px;\n transition: background-color 0.15s ease-out;\n font-size: ", "px;\n font-weight: 450;\n border-bottom: 2px solid transparent;\n\n * {\n color: ", ";\n }\n\n ", "\n\n ", "\n\n a:hover {\n color: ", ";\n }\n "], ["\n display: flex;\n height: 100%;\n justify-content: space-evenly;\n align-items: center;\n padding: 0 ", "px;\n transition: background-color 0.15s ease-out;\n font-size: ", "px;\n font-weight: 450;\n border-bottom: 2px solid transparent;\n\n * {\n color: ", ";\n }\n\n ", "\n\n ", "\n\n a:hover {\n color: ", ";\n }\n "])), sizes_1.PADDING_FROM_SIZE[size], sizes_1.TEXT_FROM_SIZE[size], textColor, active && (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n * {\n font-weight: 600;\n color: ", ";\n }\n "], ["\n * {\n font-weight: 600;\n color: ", ";\n }\n "])), ((_f = (_e = theme.breadcrumbs) === null || _e === void 0 ? void 0 : _e.item) === null || _f === void 0 ? void 0 : _f.activeColor) ||
56
- (((_g = theme.breadcrumbs) === null || _g === void 0 ? void 0 : _g.main)
57
- ? (0, colors_1.getReadableColorFrom)(theme.breadcrumbs.main, true)
58
- : (0, colors_1.getReadableColor)(theme, undefined, undefined))), interactive && (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n cursor: pointer;\n &:hover {\n color: ", ";\n background-color: ", ";\n }\n "], ["\n cursor: pointer;\n &:hover {\n color: ", ";\n background-color: ", ";\n }\n "])), ((_j = (_h = theme.breadcrumbs) === null || _h === void 0 ? void 0 : _h.item) === null || _j === void 0 ? void 0 : _j.hoverColor) ||
59
- (((_k = theme.breadcrumbs) === null || _k === void 0 ? void 0 : _k.main)
60
- ? (0, colors_1.getReadableColorFrom)(theme.breadcrumbs.main)
61
- : (0, colors_1.getReadableColor)(theme, undefined, undefined)), (0, colors_1.changeLightness)(((_l = theme.breadcrumbs) === null || _l === void 0 ? void 0 : _l.main) || theme.main, 0.05)), ((_o = (_m = theme.breadcrumbs) === null || _m === void 0 ? void 0 : _m.item) === null || _o === void 0 ? void 0 : _o.hoverColor) ||
62
- (((_p = theme.breadcrumbs) === null || _p === void 0 ? void 0 : _p.main)
63
- ? (0, colors_1.getReadableColorFrom)((_q = theme.breadcrumbs) === null || _q === void 0 ? void 0 : _q.main)
64
- : (0, colors_1.getReadableColor)(theme, undefined, undefined)));
65
- });
66
- var ReqoreBreadcrumbsItem = function (_a) {
67
- var tooltip = _a.tooltip, label = _a.label, props = _a.props, icon = _a.icon, active = _a.active, as = _a.as, interactive = _a.interactive, customTheme = _a.customTheme, size = _a.size;
68
- var _b = (0, react_1.useState)(null), ref = _b[0], setRef = _b[1];
69
- var Element = as || 'span';
70
- var theme = (0, useTheme_1.useReqoreTheme)('breadcrumbs', customTheme);
71
- (0, usePopover_1["default"])({ targetElement: ref, content: tooltip, show: !!tooltip });
72
- return ((0, jsx_runtime_1.jsxs)(StyledBreadcrumbItem, __assign({ ref: setRef, active: active, interactive: interactive || !!(props === null || props === void 0 ? void 0 : props.onClick), className: 'reqore-breadcrumbs-item', theme: theme, size: size }, { children: [icon && ((0, jsx_runtime_1.jsx)(Icon_1["default"], { icon: icon, size: sizes_1.TEXT_FROM_SIZE[size] + "px", margin: label ? 'right' : undefined }, void 0)), label && (0, jsx_runtime_1.jsx)(Element, __assign({}, props, { children: label }), void 0)] }), void 0));
73
- };
74
- exports["default"] = ReqoreBreadcrumbsItem;
75
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
76
- //# sourceMappingURL=item.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"item.js","sourceRoot":"","sources":["../../../src/components/Breadcrumbs/item.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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O,EAAE,CAAC,CAAC;IAEtE,OAAO,CACL,wBAAC,oBAAoB,aACnB,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,WAAW,IAAI,CAAC,CAAC,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,OAAO,CAAA,EAC5C,SAAS,EAAC,yBAAyB,EACnC,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,IAAI,iBAET,IAAI,IAAI,CACP,uBAAC,iBAAU,IACT,IAAI,EAAE,IAAI,EACV,IAAI,EAAK,sBAAc,CAAC,IAAI,CAAC,OAAI,EACjC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,WACnC,CACH,EACA,KAAK,IAAI,uBAAC,OAAO,eAAK,KAAK,cAAG,KAAK,YAAW,aAC1B,CACxB,CAAC;AACJ,CAAC,CAAC;AAEF,qBAAe,qBAAqB,CAAC"}
@@ -1,30 +0,0 @@
1
- import { Placement } from '@popperjs/core';
2
- import React from 'react';
3
- import { TSizes } from '../../constants/sizes';
4
- import { IReqoreIntent, IReqoreTheme } from '../../constants/theme';
5
- import { IReqoreIconName } from '../../types/icons';
6
- export interface IReqoreButtonProps extends React.HTMLAttributes<HTMLButtonElement> {
7
- icon?: IReqoreIconName;
8
- size?: TSizes;
9
- minimal?: boolean;
10
- disabled?: boolean;
11
- tooltip?: string;
12
- tooltipPlacement?: Placement;
13
- fluid?: boolean;
14
- fixed?: boolean;
15
- intent?: IReqoreIntent;
16
- active?: boolean;
17
- flat?: boolean;
18
- rightIcon?: IReqoreIconName;
19
- color?: string;
20
- }
21
- export interface IReqoreButtonStyle extends Omit<IReqoreButtonProps, 'intent'> {
22
- theme: IReqoreTheme;
23
- }
24
- export declare const StyledActiveContent: any;
25
- export declare const StyledInActiveContent: any;
26
- export declare const StyledInvisibleContent: any;
27
- export declare const StyledButton: any;
28
- declare const ReqoreButton: React.ForwardRefExoticComponent<IReqoreButtonProps & React.RefAttributes<unknown>>;
29
- export default ReqoreButton;
30
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,OAAO,KAAyC,MAAM,OAAO,CAAC;AAE9D,OAAO,EAKL,MAAM,EACP,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAKpE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,MAAM,WAAW,kBAAmB,SAAQ,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC;IACjF,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAC7B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,kBAAkB,EAAE,QAAQ,CAAC;IAC5E,KAAK,EAAE,YAAY,CAAC;CACrB;AAeD,eAAO,MAAM,mBAAmB,KAe/B,CAAC;AAEF,eAAO,MAAM,qBAAqB,KAajC,CAAC;AAEF,eAAO,MAAM,sBAAsB,KAUlC,CAAC;AAEF,eAAO,MAAM,YAAY,KAuHxB,CAAC;AAEF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