@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
@@ -0,0 +1,38 @@
1
+ ---
2
+ name: Bug report
3
+ about: Create a report to help us improve
4
+ title: "[BUG] "
5
+ labels: bug
6
+ assignees: Foxhoundn
7
+
8
+ ---
9
+
10
+ **Describe the bug**
11
+ A clear and concise description of what the bug is.
12
+
13
+ **To Reproduce**
14
+ Steps to reproduce the behavior:
15
+ 1. Go to '...'
16
+ 2. Click on '....'
17
+ 3. Scroll down to '....'
18
+ 4. See error
19
+
20
+ **Expected behavior**
21
+ A clear and concise description of what you expected to happen.
22
+
23
+ **Screenshots**
24
+ If applicable, add screenshots to help explain your problem.
25
+
26
+ **Desktop (please complete the following information):**
27
+ - OS: [e.g. iOS]
28
+ - Browser [e.g. chrome, safari]
29
+ - Version [e.g. 22]
30
+
31
+ **Smartphone (please complete the following information):**
32
+ - Device: [e.g. iPhone6]
33
+ - OS: [e.g. iOS8.1]
34
+ - Browser [e.g. stock browser, safari]
35
+ - Version [e.g. 22]
36
+
37
+ **Additional context**
38
+ Add any other context about the problem here.
@@ -0,0 +1,20 @@
1
+ ---
2
+ name: Feature request
3
+ about: Suggest an idea for this project
4
+ title: "[ENHANCEMENT] "
5
+ labels: enhancement
6
+ assignees: Foxhoundn
7
+
8
+ ---
9
+
10
+ **Is your feature request related to a problem? Please describe.**
11
+ A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12
+
13
+ **Describe the solution you'd like**
14
+ A clear and concise description of what you want to happen.
15
+
16
+ **Describe alternatives you've considered**
17
+ A clear and concise description of any alternative solutions or features you've considered.
18
+
19
+ **Additional context**
20
+ Add any other context or screenshots about the feature request here.
@@ -0,0 +1,20 @@
1
+ ---
2
+ name: New component
3
+ about: New component suggestion
4
+ title: "[NEW COMPONENT]"
5
+ labels: enhancement
6
+ assignees: Foxhoundn
7
+
8
+ ---
9
+
10
+ **Component name**
11
+ What should the component be named? Use self-describing name
12
+
13
+ **Component purpose**
14
+ Describe thoroughly the purpose of the suggested / proposed component.
15
+
16
+ **Component reference**
17
+ Is there another library already using this kind of the component?
18
+
19
+ **Screenshot / Draft of the component**
20
+ Add visual representation of the component if there is any
@@ -0,0 +1,38 @@
1
+ ---
2
+ name: Visual bug report
3
+ about: Create a report to help us improve
4
+ title: "[VISUAL BUG]"
5
+ labels: bug
6
+ assignees: Foxhoundn
7
+
8
+ ---
9
+
10
+ **Describe the bug**
11
+ A clear and concise description of what the bug is.
12
+
13
+ **To Reproduce**
14
+ Steps to reproduce the behavior:
15
+ 1. Go to '...'
16
+ 2. Click on '....'
17
+ 3. Scroll down to '....'
18
+ 4. See error
19
+
20
+ **Expected behavior**
21
+ A clear and concise description of what you expected to happen.
22
+
23
+ **Screenshots**
24
+ If applicable, add screenshots to help explain your problem.
25
+
26
+ **Desktop (please complete the following information):**
27
+ - OS: [e.g. iOS]
28
+ - Browser [e.g. chrome, safari]
29
+ - Version [e.g. 22]
30
+
31
+ **Smartphone (please complete the following information):**
32
+ - Device: [e.g. iPhone6]
33
+ - OS: [e.g. iOS8.1]
34
+ - Browser [e.g. stock browser, safari]
35
+ - Version [e.g. 22]
36
+
37
+ **Additional context**
38
+ Add any other context about the problem here.
@@ -21,7 +21,7 @@ jobs:
21
21
  # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
22
22
  - uses: actions/checkout@v2
23
23
  with:
24
- fetch-depth: 0
24
+ fetch-depth: 0
25
25
  - uses: actions/setup-node@v1
26
26
  with:
27
27
  node-version: 14.16.0
@@ -34,12 +34,12 @@ jobs:
34
34
  yarn cache clean
35
35
  rm -rf node_modules
36
36
  yarn install
37
- - name: Build test
38
- id: build_test
39
- run: yarn build:test
40
37
  - name: Running tests
41
38
  id: tests
42
39
  run: yarn test:ci
40
+ - name: Build test
41
+ id: build_test
42
+ run: yarn build:test
43
43
  - name: Publish to Chromatic
44
44
  id: chromatic_publish
45
45
  uses: chromaui/action@v1
package/.gitpod.yml CHANGED
@@ -1,3 +1,8 @@
1
1
  tasks:
2
- - init: "yarn install"
3
- - command: "yarn storybook"
2
+ - init: 'yarn install'
3
+ - command: 'yarn storybook'
4
+ ports:
5
+ - port: 6007
6
+ visibility: public
7
+ name: Storybook
8
+ onOpen: open-browser
@@ -1,5 +1,23 @@
1
1
  {
2
- "editor.cursorBlinking": "phase",
3
- "editor.cursorStyle": "underline",
4
- "typescript.tsdk": "node_modules/typescript/lib"
2
+ "docwriter.hotkey.mac": "⌥ + .",
3
+ "workbench.colorCustomizations": {
4
+ "activityBar.activeBackground": "#721288",
5
+ "activityBar.background": "#721288",
6
+ "activityBar.foreground": "#e7e7e7",
7
+ "activityBar.inactiveForeground": "#e7e7e799",
8
+ "activityBarBadge.background": "#000000",
9
+ "activityBarBadge.foreground": "#e7e7e7",
10
+ "commandCenter.border": "#e7e7e799",
11
+ "sash.hoverBorder": "#721288",
12
+ "statusBar.background": "#4c0c5b",
13
+ "statusBar.foreground": "#e7e7e7",
14
+ "statusBarItem.hoverBackground": "#721288",
15
+ "statusBarItem.remoteBackground": "#4c0c5b",
16
+ "statusBarItem.remoteForeground": "#e7e7e7",
17
+ "titleBar.activeBackground": "#4c0c5b",
18
+ "titleBar.activeForeground": "#e7e7e7",
19
+ "titleBar.inactiveBackground": "#4c0c5b99",
20
+ "titleBar.inactiveForeground": "#e7e7e799"
21
+ },
22
+ "peacock.remoteColor": "#4c0c5b"
5
23
  }
@@ -46,18 +46,17 @@ test('Renders hidable <Drawer /> properly', () => {
46
46
  );
47
47
 
48
48
  expect(document.querySelectorAll('.reqore-drawer').length).toBe(0);
49
- expect(document.querySelectorAll('.reqore-drawer-hide').length).toBe(1);
50
- expect(document.querySelectorAll('.reqore-drawer-close').length).toBe(0);
49
+ expect(document.querySelectorAll('.reqore-drawer-hide-button').length).toBe(1);
50
+ expect(document.querySelectorAll('.reqore-drawer-close-button').length).toBe(0);
51
51
 
52
- fireEvent.click(document.querySelector('.reqore-drawer-hide'));
52
+ fireEvent.click(document.querySelector('.reqore-drawer-hide-button')!);
53
53
 
54
54
  expect(fn).toHaveBeenCalledWith(false);
55
55
  expect(document.querySelectorAll('.reqore-drawer').length).toBe(1);
56
56
 
57
- fireEvent.click(document.querySelector('.reqore-drawer-hide'));
57
+ fireEvent.click(document.querySelector('.reqore-drawer-hide-button')!);
58
58
 
59
59
  expect(fn).toHaveBeenLastCalledWith(true);
60
- expect(document.querySelectorAll('.reqore-drawer').length).toBe(0);
61
60
  expect(fn).toHaveBeenCalledTimes(2);
62
61
  });
63
62
 
@@ -77,9 +76,9 @@ test('Renders closable <Drawer /> properly', () => {
77
76
  );
78
77
 
79
78
  expect(document.querySelectorAll('.reqore-drawer').length).toBe(1);
80
- expect(document.querySelectorAll('.reqore-drawer-close').length).toBe(1);
79
+ expect(document.querySelectorAll('.reqore-drawer-close-button').length).toBe(1);
81
80
 
82
- fireEvent.click(document.querySelector('.reqore-drawer-close'));
81
+ fireEvent.click(document.querySelector('.reqore-drawer-close-button')!);
83
82
 
84
83
  expect(fn).toHaveBeenCalled();
85
84
  });
@@ -100,10 +99,10 @@ test('Renders <Drawer /> with interactive backdrop', () => {
100
99
  );
101
100
 
102
101
  expect(document.querySelectorAll('.reqore-drawer').length).toBe(1);
103
- expect(document.querySelectorAll('.reqore-drawer-close').length).toBe(1);
102
+ expect(document.querySelectorAll('.reqore-drawer-close-button').length).toBe(1);
104
103
  expect(document.querySelectorAll('.reqore-drawer-backdrop').length).toBe(1);
105
104
 
106
- fireEvent.click(document.querySelector('.reqore-drawer-backdrop'));
105
+ fireEvent.click(document.querySelector('.reqore-drawer-backdrop')!);
107
106
 
108
107
  expect(fn).toHaveBeenCalled();
109
108
  });
@@ -39,11 +39,9 @@ test('Renders <Dropdown /> properly', () => {
39
39
  );
40
40
  });
41
41
 
42
- fireEvent.click(document.querySelector('.reqore-button'));
42
+ fireEvent.click(document.querySelector('.reqore-button')!);
43
43
 
44
- expect(
45
- document.querySelector('.reqore-button').getAttribute('disabled')
46
- ).toBe(null);
44
+ expect(document.querySelector('.reqore-button')?.getAttribute('disabled')).toBe(null);
47
45
  expect(document.querySelectorAll('.reqore-button').length).toBe(1);
48
46
  expect(document.querySelectorAll('.reqore-popover-content').length).toBe(1);
49
47
  expect(document.querySelectorAll('.reqore-menu-item').length).toBe(3);
@@ -62,11 +60,9 @@ test('Renders disabled <Dropdown /> when children are empty', () => {
62
60
  );
63
61
  });
64
62
 
65
- fireEvent.click(document.querySelector('.reqore-button'));
63
+ fireEvent.click(document.querySelector('.reqore-button')!);
66
64
 
67
- expect(
68
- document.querySelector('.reqore-button').getAttribute('disabled')
69
- ).toBe('');
65
+ expect(document.querySelector('.reqore-button')?.getAttribute('disabled')).toBe('');
70
66
  });
71
67
 
72
68
  test('Renders <Dropdown /> with custom component and custom handler', () => {
@@ -106,7 +102,53 @@ test('Renders <Dropdown /> with custom component and custom handler', () => {
106
102
  );
107
103
  });
108
104
 
109
- fireEvent.focus(document.querySelector('.reqore-input'));
105
+ const component = document.querySelector('.reqore-input');
106
+
107
+ if (component) {
108
+ fireEvent.focus(component);
109
+ }
110
+
111
+ expect(document.querySelectorAll('.reqore-popover-content').length).toBe(1);
112
+ expect(document.querySelectorAll('.reqore-menu-item').length).toBe(3);
113
+ });
114
+
115
+ test('Renders <Dropdown /> is opened by default', () => {
116
+ act(() => {
117
+ render(
118
+ <ReqoreUIProvider>
119
+ <ReqoreLayoutContent>
120
+ <ReqoreContent>
121
+ <ReqoreDropdown
122
+ component={ReqoreInput}
123
+ handler='focus'
124
+ isDefaultOpen
125
+ useTargetWidth
126
+ componentProps={{
127
+ width: 500,
128
+ placeholder: 'Focus me to see some crazy stuff',
129
+ }}
130
+ items={[
131
+ {
132
+ selected: true,
133
+ label: 'Hello',
134
+ icon: 'SunCloudyLine',
135
+ },
136
+ {
137
+ label: 'How are ya',
138
+ icon: 'BatteryChargeFill',
139
+ },
140
+ {
141
+ disabled: true,
142
+ label: 'i aM diSAblEd',
143
+ icon: 'StopCircleLine',
144
+ },
145
+ ]}
146
+ />
147
+ </ReqoreContent>
148
+ </ReqoreLayoutContent>
149
+ </ReqoreUIProvider>
150
+ );
151
+ });
110
152
 
111
153
  expect(document.querySelectorAll('.reqore-popover-content').length).toBe(1);
112
154
  expect(document.querySelectorAll('.reqore-menu-item').length).toBe(3);
@@ -143,21 +185,21 @@ test('Renders filterable <Dropdown /> and filters items correctly', () => {
143
185
  );
144
186
  });
145
187
 
146
- fireEvent.click(document.querySelector('.reqore-button'));
147
- fireEvent.change(document.querySelector('.reqore-input'), {
188
+ fireEvent.click(document.querySelector('.reqore-button')!);
189
+ fireEvent.change(document.querySelector('.reqore-input')!, {
148
190
  target: { value: 'how' },
149
191
  });
150
192
 
151
193
  expect(document.querySelectorAll('.reqore-popover-content').length).toBe(1);
152
194
  expect(document.querySelectorAll('.reqore-menu-item').length).toBe(1);
153
195
 
154
- fireEvent.change(document.querySelector('.reqore-input'), {
196
+ fireEvent.change(document.querySelector('.reqore-input')!, {
155
197
  target: { value: '' },
156
198
  });
157
199
 
158
200
  expect(document.querySelectorAll('.reqore-menu-item').length).toBe(3);
159
201
 
160
- fireEvent.change(document.querySelector('.reqore-input'), {
202
+ fireEvent.change(document.querySelector('.reqore-input')!, {
161
203
  target: { value: 'asfd' },
162
204
  });
163
205
 
@@ -24,7 +24,6 @@ test('Renders basic <Modal /> properly', () => {
24
24
  );
25
25
 
26
26
  expect(document.querySelectorAll('.reqore-modal').length).toBe(1);
27
- expect(document.querySelectorAll('.reqore-modal-content').length).toBe(1);
28
27
  });
29
28
 
30
29
  test('Does not renders <Modal /> if its not open', () => {
@@ -41,7 +40,6 @@ test('Does not renders <Modal /> if its not open', () => {
41
40
  );
42
41
 
43
42
  expect(document.querySelectorAll('.reqore-modal').length).toBe(0);
44
- expect(document.querySelectorAll('.reqore-modal-content').length).toBe(0);
45
43
  });
46
44
 
47
45
  test('Renders <Modal /> with custom dimensions', () => {
@@ -58,7 +56,6 @@ test('Renders <Modal /> with custom dimensions', () => {
58
56
  );
59
57
 
60
58
  expect(document.querySelectorAll('.reqore-modal').length).toBe(0);
61
- expect(document.querySelectorAll('.reqore-modal-content').length).toBe(0);
62
59
  });
63
60
 
64
61
  const ConfirmButton = ({ confirmFn, cancelFn }) => {
@@ -118,22 +115,22 @@ test('Renders confirmation <Modal /> ', () => {
118
115
  );
119
116
  });
120
117
 
121
- fireEvent.click(document.getElementById('custom-confirm'));
118
+ fireEvent.click(document.getElementById('custom-confirm')!);
122
119
  fireEvent.click(screen.getAllByText('Yep')[0]);
123
120
 
124
121
  expect(confirmFn).toHaveBeenCalled();
125
122
 
126
- fireEvent.click(document.getElementById('confirm'));
123
+ fireEvent.click(document.getElementById('confirm')!);
127
124
  fireEvent.click(screen.getAllByText('Confirm')[0]);
128
125
 
129
126
  expect(confirmFn).toHaveBeenCalledTimes(2);
130
127
 
131
- fireEvent.click(document.getElementById('custom-confirm'));
128
+ fireEvent.click(document.getElementById('custom-confirm')!);
132
129
  fireEvent.click(screen.getAllByText('Cancel')[0]);
133
130
 
134
131
  expect(cancelFn).toHaveBeenCalled();
135
132
 
136
- fireEvent.click(document.getElementById('confirm'));
133
+ fireEvent.click(document.getElementById('confirm')!);
137
134
  fireEvent.click(screen.getAllByText('Cancel')[0]);
138
135
 
139
136
  expect(cancelFn).toHaveBeenCalledTimes(2);
@@ -60,8 +60,8 @@ test('Renders shortened <Tabs /> properly', () => {
60
60
  );
61
61
  });
62
62
 
63
- expect(document.querySelectorAll('.reqore-tabs-list-item').length).toBe(2);
64
- expect(document.querySelectorAll('.reqore-tabs-list .reqore-popover-wrapper').length).toBe(1);
63
+ expect(document.querySelectorAll('.reqore-tabs-list-item').length).toBe(3);
64
+ expect(document.querySelectorAll('.reqore-tabs-list-item-menu').length).toBe(1);
65
65
  });
66
66
 
67
67
  test('Default active tab can be specified', () => {
@@ -125,7 +125,7 @@ test('Changes tab and runs callback', () => {
125
125
 
126
126
  expect(screen.getByText('Tab 3 content')).toBeTruthy();
127
127
  expect(cb).toHaveBeenCalledWith('tab3');
128
- expect(document.querySelectorAll('.reqore-tabs-list-item__active').length).toBe(1);
128
+ expect(document.querySelectorAll('.reqore-tabs-list-item-active').length).toBe(1);
129
129
  });
130
130
 
131
131
  test('Does not change tab and run callback when disabled', () => {
@@ -160,7 +160,7 @@ test('Does not change tab and run callback when disabled', () => {
160
160
 
161
161
  expect(screen.getByText('Tab 1 content')).toBeTruthy();
162
162
  expect(cb).not.toHaveBeenCalled();
163
- expect(document.querySelectorAll('.reqore-tabs-list-item__active').length).toBe(1);
163
+ expect(document.querySelectorAll('.reqore-tabs-list-item-active').length).toBe(1);
164
164
  });
165
165
 
166
166
  test('Changes tab programatically and runs callback', () => {
@@ -0,0 +1 @@
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 }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@qoretechnologies/reqore",
3
- "version": "0.19.12",
4
- "description": "ReQore is a UI library of components for Qorus connected apps",
3
+ "version": "0.20.1",
4
+ "description": "ReQore is a highly theme-able and modular UI library for React",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "scripts": {
@@ -10,7 +10,7 @@
10
10
  "test:ci": "./node_modules/.bin/jest --silent --json --outputFile=tests.json",
11
11
  "build": "./node_modules/typescript/bin/tsc",
12
12
  "build:test": "./node_modules/typescript/bin/tsc --noEmit",
13
- "storybook": "start-storybook -p 6006 --no-dll",
13
+ "storybook": "start-storybook -p 6007 --no-dll",
14
14
  "build-storybook": "build-storybook"
15
15
  },
16
16
  "repository": {
@@ -34,13 +34,16 @@
34
34
  "@babel/preset-env": "^7.12.11",
35
35
  "@babel/preset-react": "^7.12.10",
36
36
  "@babel/preset-typescript": "^7.12.7",
37
- "@reactpreview/config": "^0.2.3",
38
- "@storybook/addon-actions": "^6.4.9",
39
- "@storybook/addon-essentials": "^6.4.9",
40
- "@storybook/addon-jest": "^6.4.9",
41
- "@storybook/addon-links": "^6.4.9",
42
- "@storybook/addon-storysource": "^6.4.9",
43
- "@storybook/react": "^6.4.9",
37
+ "@storybook/addon-actions": "^6.5.9",
38
+ "@storybook/addon-essentials": "^6.5.9",
39
+ "@storybook/addon-interactions": "^6.5.9",
40
+ "@storybook/addon-jest": "^6.5.9",
41
+ "@storybook/addon-links": "^6.5.9",
42
+ "@storybook/addon-storyshots": "^6.5.9",
43
+ "@storybook/addon-storysource": "^6.5.9",
44
+ "@storybook/jest": "^0.0.10",
45
+ "@storybook/react": "^6.5.9",
46
+ "@storybook/testing-library": "^0.0.13",
44
47
  "@testing-library/react": "^11.2.2",
45
48
  "@types/jest": "^26.0.19",
46
49
  "@types/lodash": "^4.14.166",
@@ -58,11 +61,11 @@
58
61
  "react-dom": "^17.0.2",
59
62
  "react-test-renderer": "^17.0.2",
60
63
  "storybook-addon-outline": "^1.4.2",
61
- "storybook-dark-mode": "^1.0.8",
64
+ "storybook-dark-mode": "^1.1.0",
62
65
  "styled-components": "^5.2.1",
63
66
  "ts-jest": "^26.4.4",
64
67
  "ts-node": "^9.1.1",
65
- "typescript": "^4.4.1-rc",
68
+ "typescript": "^4.7.3",
66
69
  "viteshot": "^0.3.1"
67
70
  },
68
71
  "peerDependencies": {