@qoretechnologies/reqore 0.19.11 → 0.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (347) hide show
  1. package/.github/workflows/beta_release.yml +5 -0
  2. package/.github/workflows/tests.yml +4 -4
  3. package/.gitpod.yml +7 -2
  4. package/.vscode/settings.json +21 -3
  5. package/__tests__/drawer.test.tsx +8 -9
  6. package/__tests__/dropdown.test.tsx +55 -13
  7. package/__tests__/modal.test.tsx +4 -7
  8. package/__tests__/tabs.test.tsx +4 -4
  9. package/dist/tests.json +1 -0
  10. package/package.json +15 -12
  11. package/tests.json +1 -0
  12. package/.devcontainer/Dockerfile +0 -16
  13. package/.devcontainer/devcontainer.json +0 -31
  14. package/__reactpreview__/Wrapper.tsx +0 -16
  15. package/__reactpreview__/styles.css +0 -5
  16. package/dist/components/Breadcrumbs/index.d.ts +0 -31
  17. package/dist/components/Breadcrumbs/index.d.ts.map +0 -1
  18. package/dist/components/Breadcrumbs/index.js +0 -148
  19. package/dist/components/Breadcrumbs/index.js.map +0 -1
  20. package/dist/components/Breadcrumbs/item.d.ts +0 -14
  21. package/dist/components/Breadcrumbs/item.d.ts.map +0 -1
  22. package/dist/components/Breadcrumbs/item.js +0 -76
  23. package/dist/components/Breadcrumbs/item.js.map +0 -1
  24. package/dist/components/Button/index.d.ts +0 -30
  25. package/dist/components/Button/index.d.ts.map +0 -1
  26. package/dist/components/Button/index.js +0 -165
  27. package/dist/components/Button/index.js.map +0 -1
  28. package/dist/components/Checkbox/index.d.ts +0 -26
  29. package/dist/components/Checkbox/index.d.ts.map +0 -1
  30. package/dist/components/Checkbox/index.js +0 -108
  31. package/dist/components/Checkbox/index.js.map +0 -1
  32. package/dist/components/Columns/column.d.ts +0 -5
  33. package/dist/components/Columns/column.d.ts.map +0 -1
  34. package/dist/components/Columns/column.js +0 -33
  35. package/dist/components/Columns/column.js.map +0 -1
  36. package/dist/components/Columns/index.d.ts +0 -17
  37. package/dist/components/Columns/index.d.ts.map +0 -1
  38. package/dist/components/Columns/index.js +0 -65
  39. package/dist/components/Columns/index.js.map +0 -1
  40. package/dist/components/Comment/index.d.ts +0 -24
  41. package/dist/components/Comment/index.d.ts.map +0 -1
  42. package/dist/components/Comment/index.js +0 -71
  43. package/dist/components/Comment/index.js.map +0 -1
  44. package/dist/components/CommentFeed/index.d.ts +0 -7
  45. package/dist/components/CommentFeed/index.d.ts.map +0 -1
  46. package/dist/components/CommentFeed/index.js +0 -49
  47. package/dist/components/CommentFeed/index.js.map +0 -1
  48. package/dist/components/Content/index.d.ts +0 -11
  49. package/dist/components/Content/index.d.ts.map +0 -1
  50. package/dist/components/Content/index.js +0 -66
  51. package/dist/components/Content/index.js.map +0 -1
  52. package/dist/components/Content/wrapper.d.ts +0 -11
  53. package/dist/components/Content/wrapper.d.ts.map +0 -1
  54. package/dist/components/Content/wrapper.js +0 -43
  55. package/dist/components/Content/wrapper.js.map +0 -1
  56. package/dist/components/ControlGroup/index.d.ts +0 -17
  57. package/dist/components/ControlGroup/index.d.ts.map +0 -1
  58. package/dist/components/ControlGroup/index.js +0 -86
  59. package/dist/components/ControlGroup/index.js.map +0 -1
  60. package/dist/components/Drawer/index.d.ts +0 -36
  61. package/dist/components/Drawer/index.d.ts.map +0 -1
  62. package/dist/components/Drawer/index.js +0 -217
  63. package/dist/components/Drawer/index.js.map +0 -1
  64. package/dist/components/Dropdown/index.d.ts +0 -24
  65. package/dist/components/Dropdown/index.d.ts.map +0 -1
  66. package/dist/components/Dropdown/index.js +0 -38
  67. package/dist/components/Dropdown/index.js.map +0 -1
  68. package/dist/components/Dropdown/item.d.ts +0 -10
  69. package/dist/components/Dropdown/item.d.ts.map +0 -1
  70. package/dist/components/Dropdown/item.js +0 -35
  71. package/dist/components/Dropdown/item.js.map +0 -1
  72. package/dist/components/Dropdown/list.d.ts +0 -14
  73. package/dist/components/Dropdown/list.d.ts.map +0 -1
  74. package/dist/components/Dropdown/list.js +0 -47
  75. package/dist/components/Dropdown/list.js.map +0 -1
  76. package/dist/components/Header/index.d.ts +0 -13
  77. package/dist/components/Header/index.d.ts.map +0 -1
  78. package/dist/components/Header/index.js +0 -40
  79. package/dist/components/Header/index.js.map +0 -1
  80. package/dist/components/Icon/index.d.ts +0 -13
  81. package/dist/components/Icon/index.d.ts.map +0 -1
  82. package/dist/components/Icon/index.js +0 -72
  83. package/dist/components/Icon/index.js.map +0 -1
  84. package/dist/components/Input/index.d.ts +0 -33
  85. package/dist/components/Input/index.d.ts.map +0 -1
  86. package/dist/components/Input/index.js +0 -115
  87. package/dist/components/Input/index.js.map +0 -1
  88. package/dist/components/InputClearButton/index.d.ts +0 -10
  89. package/dist/components/InputClearButton/index.d.ts.map +0 -1
  90. package/dist/components/InputClearButton/index.js +0 -49
  91. package/dist/components/InputClearButton/index.js.map +0 -1
  92. package/dist/components/InternalPopover/index.d.ts +0 -7
  93. package/dist/components/InternalPopover/index.d.ts.map +0 -1
  94. package/dist/components/InternalPopover/index.js +0 -128
  95. package/dist/components/InternalPopover/index.js.map +0 -1
  96. package/dist/components/Layout/content.d.ts +0 -8
  97. package/dist/components/Layout/content.d.ts.map +0 -1
  98. package/dist/components/Layout/content.js +0 -41
  99. package/dist/components/Layout/content.js.map +0 -1
  100. package/dist/components/Layout/index.d.ts +0 -8
  101. package/dist/components/Layout/index.d.ts.map +0 -1
  102. package/dist/components/Layout/index.js +0 -65
  103. package/dist/components/Layout/index.js.map +0 -1
  104. package/dist/components/Menu/divider.d.ts +0 -7
  105. package/dist/components/Menu/divider.d.ts.map +0 -1
  106. package/dist/components/Menu/divider.js +0 -49
  107. package/dist/components/Menu/divider.js.map +0 -1
  108. package/dist/components/Menu/index.d.ts +0 -16
  109. package/dist/components/Menu/index.d.ts.map +0 -1
  110. package/dist/components/Menu/index.js +0 -87
  111. package/dist/components/Menu/index.js.map +0 -1
  112. package/dist/components/Menu/item.d.ts +0 -31
  113. package/dist/components/Menu/item.d.ts.map +0 -1
  114. package/dist/components/Menu/item.js +0 -118
  115. package/dist/components/Menu/item.js.map +0 -1
  116. package/dist/components/Message/index.d.ts +0 -25
  117. package/dist/components/Message/index.d.ts.map +0 -1
  118. package/dist/components/Message/index.js +0 -51
  119. package/dist/components/Message/index.js.map +0 -1
  120. package/dist/components/Modal/actions.d.ts +0 -6
  121. package/dist/components/Modal/actions.d.ts.map +0 -1
  122. package/dist/components/Modal/actions.js +0 -49
  123. package/dist/components/Modal/actions.js.map +0 -1
  124. package/dist/components/Modal/content.d.ts +0 -6
  125. package/dist/components/Modal/content.d.ts.map +0 -1
  126. package/dist/components/Modal/content.js +0 -25
  127. package/dist/components/Modal/content.js.map +0 -1
  128. package/dist/components/Modal/index.d.ts +0 -24
  129. package/dist/components/Modal/index.d.ts.map +0 -1
  130. package/dist/components/Modal/index.js +0 -118
  131. package/dist/components/Modal/index.js.map +0 -1
  132. package/dist/components/Navbar/divider.d.ts +0 -9
  133. package/dist/components/Navbar/divider.d.ts.map +0 -1
  134. package/dist/components/Navbar/divider.js +0 -47
  135. package/dist/components/Navbar/divider.js.map +0 -1
  136. package/dist/components/Navbar/group.d.ts +0 -15
  137. package/dist/components/Navbar/group.d.ts.map +0 -1
  138. package/dist/components/Navbar/group.js +0 -71
  139. package/dist/components/Navbar/group.js.map +0 -1
  140. package/dist/components/Navbar/index.d.ts +0 -16
  141. package/dist/components/Navbar/index.d.ts.map +0 -1
  142. package/dist/components/Navbar/index.js +0 -82
  143. package/dist/components/Navbar/index.js.map +0 -1
  144. package/dist/components/Navbar/item.d.ts +0 -16
  145. package/dist/components/Navbar/item.d.ts.map +0 -1
  146. package/dist/components/Navbar/item.js +0 -77
  147. package/dist/components/Navbar/item.js.map +0 -1
  148. package/dist/components/Notifications/index.d.ts +0 -12
  149. package/dist/components/Notifications/index.d.ts.map +0 -1
  150. package/dist/components/Notifications/index.js +0 -56
  151. package/dist/components/Notifications/index.js.map +0 -1
  152. package/dist/components/Notifications/notification.d.ts +0 -43
  153. package/dist/components/Notifications/notification.d.ts.map +0 -1
  154. package/dist/components/Notifications/notification.js +0 -136
  155. package/dist/components/Notifications/notification.js.map +0 -1
  156. package/dist/components/Panel/index.d.ts +0 -38
  157. package/dist/components/Panel/index.d.ts.map +0 -1
  158. package/dist/components/Panel/index.js +0 -141
  159. package/dist/components/Panel/index.js.map +0 -1
  160. package/dist/components/Panel/panel.screenshot.d.ts +0 -3
  161. package/dist/components/Panel/panel.screenshot.d.ts.map +0 -1
  162. package/dist/components/Panel/panel.screenshot.js +0 -30
  163. package/dist/components/Panel/panel.screenshot.js.map +0 -1
  164. package/dist/components/Paragraph/index.d.ts +0 -8
  165. package/dist/components/Paragraph/index.d.ts.map +0 -1
  166. package/dist/components/Paragraph/index.js +0 -60
  167. package/dist/components/Paragraph/index.js.map +0 -1
  168. package/dist/components/Popover/index.d.ts +0 -16
  169. package/dist/components/Popover/index.d.ts.map +0 -1
  170. package/dist/components/Popover/index.js +0 -55
  171. package/dist/components/Popover/index.js.map +0 -1
  172. package/dist/components/RadioGroup/index.d.ts +0 -17
  173. package/dist/components/RadioGroup/index.d.ts.map +0 -1
  174. package/dist/components/RadioGroup/index.js +0 -48
  175. package/dist/components/RadioGroup/index.js.map +0 -1
  176. package/dist/components/Sidebar/index.d.ts +0 -60
  177. package/dist/components/Sidebar/index.d.ts.map +0 -1
  178. package/dist/components/Sidebar/index.js +0 -261
  179. package/dist/components/Sidebar/index.js.map +0 -1
  180. package/dist/components/Sidebar/item.d.ts +0 -36
  181. package/dist/components/Sidebar/item.d.ts.map +0 -1
  182. package/dist/components/Sidebar/item.js +0 -106
  183. package/dist/components/Sidebar/item.js.map +0 -1
  184. package/dist/components/Table/body.d.ts +0 -10
  185. package/dist/components/Table/body.d.ts.map +0 -1
  186. package/dist/components/Table/body.js +0 -44
  187. package/dist/components/Table/body.js.map +0 -1
  188. package/dist/components/Table/header.d.ts +0 -29
  189. package/dist/components/Table/header.d.ts.map +0 -1
  190. package/dist/components/Table/header.js +0 -102
  191. package/dist/components/Table/header.js.map +0 -1
  192. package/dist/components/Table/headerCell.d.ts +0 -18
  193. package/dist/components/Table/headerCell.d.ts.map +0 -1
  194. package/dist/components/Table/headerCell.js +0 -88
  195. package/dist/components/Table/headerCell.js.map +0 -1
  196. package/dist/components/Table/helpers.d.ts +0 -8
  197. package/dist/components/Table/helpers.d.ts.map +0 -1
  198. package/dist/components/Table/helpers.js +0 -41
  199. package/dist/components/Table/helpers.js.map +0 -1
  200. package/dist/components/Table/index.d.ts +0 -74
  201. package/dist/components/Table/index.d.ts.map +0 -1
  202. package/dist/components/Table/index.js +0 -161
  203. package/dist/components/Table/index.js.map +0 -1
  204. package/dist/components/Table/row.d.ts +0 -58
  205. package/dist/components/Table/row.d.ts.map +0 -1
  206. package/dist/components/Table/row.js +0 -200
  207. package/dist/components/Table/row.js.map +0 -1
  208. package/dist/components/Tabs/content.d.ts +0 -8
  209. package/dist/components/Tabs/content.d.ts.map +0 -1
  210. package/dist/components/Tabs/content.js +0 -41
  211. package/dist/components/Tabs/content.js.map +0 -1
  212. package/dist/components/Tabs/index.d.ts +0 -36
  213. package/dist/components/Tabs/index.d.ts.map +0 -1
  214. package/dist/components/Tabs/index.js +0 -79
  215. package/dist/components/Tabs/index.js.map +0 -1
  216. package/dist/components/Tabs/item.d.ts +0 -21
  217. package/dist/components/Tabs/item.d.ts.map +0 -1
  218. package/dist/components/Tabs/item.js +0 -86
  219. package/dist/components/Tabs/item.js.map +0 -1
  220. package/dist/components/Tabs/list.d.ts +0 -16
  221. package/dist/components/Tabs/list.d.ts.map +0 -1
  222. package/dist/components/Tabs/list.js +0 -175
  223. package/dist/components/Tabs/list.js.map +0 -1
  224. package/dist/components/Tag/group.d.ts +0 -10
  225. package/dist/components/Tag/group.d.ts.map +0 -1
  226. package/dist/components/Tag/group.js +0 -50
  227. package/dist/components/Tag/group.js.map +0 -1
  228. package/dist/components/Tag/index.d.ts +0 -36
  229. package/dist/components/Tag/index.d.ts.map +0 -1
  230. package/dist/components/Tag/index.js +0 -132
  231. package/dist/components/Tag/index.js.map +0 -1
  232. package/dist/components/Textarea/index.d.ts +0 -26
  233. package/dist/components/Textarea/index.d.ts.map +0 -1
  234. package/dist/components/Textarea/index.js +0 -85
  235. package/dist/components/Textarea/index.js.map +0 -1
  236. package/dist/components/TimeAgo/index.d.ts +0 -4
  237. package/dist/components/TimeAgo/index.d.ts.map +0 -1
  238. package/dist/components/TimeAgo/index.js +0 -21
  239. package/dist/components/TimeAgo/index.js.map +0 -1
  240. package/dist/components/Tree/index.d.ts +0 -16
  241. package/dist/components/Tree/index.d.ts.map +0 -1
  242. package/dist/components/Tree/index.js +0 -151
  243. package/dist/components/Tree/index.js.map +0 -1
  244. package/dist/constants/animations.d.ts +0 -5
  245. package/dist/constants/animations.d.ts.map +0 -1
  246. package/dist/constants/animations.js +0 -8
  247. package/dist/constants/animations.js.map +0 -1
  248. package/dist/constants/colors.d.ts +0 -10
  249. package/dist/constants/colors.d.ts.map +0 -1
  250. package/dist/constants/colors.js +0 -13
  251. package/dist/constants/colors.js.map +0 -1
  252. package/dist/constants/sizes.d.ts +0 -59
  253. package/dist/constants/sizes.d.ts.map +0 -1
  254. package/dist/constants/sizes.js +0 -60
  255. package/dist/constants/sizes.js.map +0 -1
  256. package/dist/constants/theme.d.ts +0 -74
  257. package/dist/constants/theme.d.ts.map +0 -1
  258. package/dist/constants/theme.js +0 -20
  259. package/dist/constants/theme.js.map +0 -1
  260. package/dist/containers/PopoverProvider.d.ts +0 -12
  261. package/dist/containers/PopoverProvider.d.ts.map +0 -1
  262. package/dist/containers/PopoverProvider.js +0 -56
  263. package/dist/containers/PopoverProvider.js.map +0 -1
  264. package/dist/containers/ReqoreProvider.d.ts +0 -40
  265. package/dist/containers/ReqoreProvider.d.ts.map +0 -1
  266. package/dist/containers/ReqoreProvider.js +0 -117
  267. package/dist/containers/ReqoreProvider.js.map +0 -1
  268. package/dist/containers/ThemeProvider.d.ts +0 -8
  269. package/dist/containers/ThemeProvider.d.ts.map +0 -1
  270. package/dist/containers/ThemeProvider.js +0 -27
  271. package/dist/containers/ThemeProvider.js.map +0 -1
  272. package/dist/containers/UIProvider.d.ts +0 -13
  273. package/dist/containers/UIProvider.d.ts.map +0 -1
  274. package/dist/containers/UIProvider.js +0 -43
  275. package/dist/containers/UIProvider.js.map +0 -1
  276. package/dist/context/PopoverContext.d.ts +0 -11
  277. package/dist/context/PopoverContext.d.ts.map +0 -1
  278. package/dist/context/PopoverContext.js +0 -5
  279. package/dist/context/PopoverContext.js.map +0 -1
  280. package/dist/context/ReqoreContext.d.ts +0 -15
  281. package/dist/context/ReqoreContext.d.ts.map +0 -1
  282. package/dist/context/ReqoreContext.js +0 -10
  283. package/dist/context/ReqoreContext.js.map +0 -1
  284. package/dist/context/ThemeContext.d.ts +0 -5
  285. package/dist/context/ThemeContext.d.ts.map +0 -1
  286. package/dist/context/ThemeContext.js +0 -5
  287. package/dist/context/ThemeContext.js.map +0 -1
  288. package/dist/helpers/animations.d.ts +0 -2
  289. package/dist/helpers/animations.d.ts.map +0 -1
  290. package/dist/helpers/animations.js +0 -11
  291. package/dist/helpers/animations.js.map +0 -1
  292. package/dist/helpers/colors.d.ts +0 -13
  293. package/dist/helpers/colors.d.ts.map +0 -1
  294. package/dist/helpers/colors.js +0 -100
  295. package/dist/helpers/colors.js.map +0 -1
  296. package/dist/helpers/sidebar.d.ts +0 -4
  297. package/dist/helpers/sidebar.d.ts.map +0 -1
  298. package/dist/helpers/sidebar.js +0 -90
  299. package/dist/helpers/sidebar.js.map +0 -1
  300. package/dist/helpers/time.d.ts +0 -8
  301. package/dist/helpers/time.d.ts.map +0 -1
  302. package/dist/helpers/time.js +0 -25
  303. package/dist/helpers/time.js.map +0 -1
  304. package/dist/helpers/utils.d.ts +0 -4
  305. package/dist/helpers/utils.d.ts.map +0 -1
  306. package/dist/helpers/utils.js +0 -82
  307. package/dist/helpers/utils.js.map +0 -1
  308. package/dist/hooks/useCombinedRefs.d.ts +0 -3
  309. package/dist/hooks/useCombinedRefs.d.ts.map +0 -1
  310. package/dist/hooks/useCombinedRefs.js +0 -29
  311. package/dist/hooks/useCombinedRefs.js.map +0 -1
  312. package/dist/hooks/useLatestZIndex.d.ts +0 -3
  313. package/dist/hooks/useLatestZIndex.d.ts.map +0 -1
  314. package/dist/hooks/useLatestZIndex.js +0 -11
  315. package/dist/hooks/useLatestZIndex.js.map +0 -1
  316. package/dist/hooks/useOutsideClick.d.ts +0 -4
  317. package/dist/hooks/useOutsideClick.d.ts.map +0 -1
  318. package/dist/hooks/useOutsideClick.js +0 -24
  319. package/dist/hooks/useOutsideClick.js.map +0 -1
  320. package/dist/hooks/usePopover.d.ts +0 -17
  321. package/dist/hooks/usePopover.d.ts.map +0 -1
  322. package/dist/hooks/usePopover.js +0 -77
  323. package/dist/hooks/usePopover.js.map +0 -1
  324. package/dist/hooks/useShareForwardedRef.d.ts +0 -3
  325. package/dist/hooks/useShareForwardedRef.d.ts.map +0 -1
  326. package/dist/hooks/useShareForwardedRef.js +0 -25
  327. package/dist/hooks/useShareForwardedRef.js.map +0 -1
  328. package/dist/hooks/useTheme.d.ts +0 -3
  329. package/dist/hooks/useTheme.d.ts.map +0 -1
  330. package/dist/hooks/useTheme.js +0 -21
  331. package/dist/hooks/useTheme.js.map +0 -1
  332. package/dist/index.d.ts +0 -52
  333. package/dist/index.d.ts.map +0 -1
  334. package/dist/index.js +0 -123
  335. package/dist/index.js.map +0 -1
  336. package/dist/types/global.d.ts +0 -8
  337. package/dist/types/global.d.ts.map +0 -1
  338. package/dist/types/global.js +0 -3
  339. package/dist/types/global.js.map +0 -1
  340. package/dist/types/icons.d.ts +0 -2
  341. package/dist/types/icons.d.ts.map +0 -1
  342. package/dist/types/icons.js +0 -3
  343. package/dist/types/icons.js.map +0 -1
  344. package/dist/types/icons____.d.ts +0 -2
  345. package/dist/types/icons____.d.ts.map +0 -1
  346. package/dist/types/icons____.js +0 -6
  347. package/dist/types/icons____.js.map +0 -1
@@ -33,7 +33,12 @@ jobs:
33
33
  - name: Installing modules
34
34
  id: install_modules
35
35
  run: |
36
+ yarn cache clean
37
+ rm -rf node_modules
36
38
  yarn install
39
+ - name: Running tests
40
+ id: tests
41
+ run: yarn test:ci
37
42
  - name: Build
38
43
  id: build
39
44
  run: ./node_modules/.bin/tsc
@@ -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": 1662020321599, "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": 1662020337060, "message": "", "name": "/home/runner/work/reqore/reqore/__tests__/table.test.tsx", "startTime": 1662020322179, "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": 1662020338707, "message": "", "name": "/home/runner/work/reqore/reqore/__tests__/tabs.test.tsx", "startTime": 1662020337084, "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": 1662020340378, "message": "", "name": "/home/runner/work/reqore/reqore/__tests__/sidebar.test.tsx", "startTime": 1662020338728, "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": 1662020342123, "message": "", "name": "/home/runner/work/reqore/reqore/__tests__/dropdown.test.tsx", "startTime": 1662020340403, "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": 1662020343384, "message": "", "name": "/home/runner/work/reqore/reqore/__tests__/notifications.test.tsx", "startTime": 1662020342140, "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": 1662020344804, "message": "", "name": "/home/runner/work/reqore/reqore/__tests__/button.test.tsx", "startTime": 1662020343398, "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": 1662020345888, "message": "", "name": "/home/runner/work/reqore/reqore/__tests__/tag.test.tsx", "startTime": 1662020344823, "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": 1662020347010, "message": "", "name": "/home/runner/work/reqore/reqore/__tests__/modal.test.tsx", "startTime": 1662020345901, "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": 1662020348001, "message": "", "name": "/home/runner/work/reqore/reqore/__tests__/drawer.test.tsx", "startTime": 1662020347021, "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": 1662020348752, "message": "", "name": "/home/runner/work/reqore/reqore/__tests__/panel.test.tsx", "startTime": 1662020348014, "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": 1662020350265, "message": "", "name": "/home/runner/work/reqore/reqore/__tests__/tree.test.tsx", "startTime": 1662020348771, "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": 1662020351034, "message": "", "name": "/home/runner/work/reqore/reqore/__tests__/popover.test.tsx", "startTime": 1662020350285, "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": 1662020351652, "message": "", "name": "/home/runner/work/reqore/reqore/__tests__/menu.test.tsx", "startTime": 1662020351045, "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": 1662020352457, "message": "", "name": "/home/runner/work/reqore/reqore/__tests__/input.test.tsx", "startTime": 1662020351676, "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": 1662020353123, "message": "", "name": "/home/runner/work/reqore/reqore/__tests__/breadcrumbs.test.tsx", "startTime": 1662020352469, "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": 1662020353912, "message": "", "name": "/home/runner/work/reqore/reqore/__tests__/textarea.test.tsx", "startTime": 1662020353137, "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": 1662020354751, "message": "", "name": "/home/runner/work/reqore/reqore/__tests__/messages.test.tsx", "startTime": 1662020353939, "status": "passed", "summary": "" }, { "assertionResults": [{ "ancestorTitles": [], "failureMessages": [], "fullName": "Renders <Checkbox /> properly", "location": null, "status": "passed", "title": "Renders <Checkbox /> properly" }], "endTime": 1662020355343, "message": "", "name": "/home/runner/work/reqore/reqore/__tests__/radiogroup.test.tsx", "startTime": 1662020354776, "status": "passed", "summary": "" }, { "assertionResults": [{ "ancestorTitles": [], "failureMessages": [], "fullName": "Renders Layout properly", "location": null, "status": "passed", "title": "Renders Layout properly" }], "endTime": 1662020355959, "message": "", "name": "/home/runner/work/reqore/reqore/__tests__/layout.test.tsx", "startTime": 1662020355367, "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": 1662020356899, "message": "", "name": "/home/runner/work/reqore/reqore/__tests__/icon.test.tsx", "startTime": 1662020355970, "status": "passed", "summary": "" }, { "assertionResults": [{ "ancestorTitles": [], "failureMessages": [], "fullName": "Renders Navbar properly", "location": null, "status": "passed", "title": "Renders Navbar properly" }], "endTime": 1662020357463, "message": "", "name": "/home/runner/work/reqore/reqore/__tests__/navbar.test.tsx", "startTime": 1662020356920, "status": "passed", "summary": "" }, { "assertionResults": [{ "ancestorTitles": [], "failureMessages": [], "fullName": "Renders <Checkbox /> properly", "location": null, "status": "passed", "title": "Renders <Checkbox /> properly" }], "endTime": 1662020358068, "message": "", "name": "/home/runner/work/reqore/reqore/__tests__/checkbox.test.tsx", "startTime": 1662020357485, "status": "passed", "summary": "" }, { "assertionResults": [{ "ancestorTitles": [], "failureMessages": [], "fullName": "Renders <TimeAgo /> data properly", "location": null, "status": "passed", "title": "Renders <TimeAgo /> data properly" }], "endTime": 1662020358605, "message": "", "name": "/home/runner/work/reqore/reqore/__tests__/timeAgo.test.tsx", "startTime": 1662020358080, "status": "passed", "summary": "" }], "wasInterrupted": false }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@qoretechnologies/reqore",
3
- "version": "0.19.11",
4
- "description": "ReQore is a UI library of components for Qorus connected apps",
3
+ "version": "0.20.0",
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": {
package/tests.json ADDED
@@ -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":1662020321599,"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":1662020337060,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/table.test.tsx","startTime":1662020322179,"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":1662020338707,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/tabs.test.tsx","startTime":1662020337084,"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":1662020340378,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/sidebar.test.tsx","startTime":1662020338728,"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":1662020342123,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/dropdown.test.tsx","startTime":1662020340403,"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":1662020343384,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/notifications.test.tsx","startTime":1662020342140,"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":1662020344804,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/button.test.tsx","startTime":1662020343398,"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":1662020345888,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/tag.test.tsx","startTime":1662020344823,"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":1662020347010,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/modal.test.tsx","startTime":1662020345901,"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":1662020348001,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/drawer.test.tsx","startTime":1662020347021,"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":1662020348752,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/panel.test.tsx","startTime":1662020348014,"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":1662020350265,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/tree.test.tsx","startTime":1662020348771,"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":1662020351034,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/popover.test.tsx","startTime":1662020350285,"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":1662020351652,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/menu.test.tsx","startTime":1662020351045,"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":1662020352457,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/input.test.tsx","startTime":1662020351676,"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":1662020353123,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/breadcrumbs.test.tsx","startTime":1662020352469,"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":1662020353912,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/textarea.test.tsx","startTime":1662020353137,"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":1662020354751,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/messages.test.tsx","startTime":1662020353939,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Checkbox /> properly","location":null,"status":"passed","title":"Renders <Checkbox /> properly"}],"endTime":1662020355343,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/radiogroup.test.tsx","startTime":1662020354776,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders Layout properly","location":null,"status":"passed","title":"Renders Layout properly"}],"endTime":1662020355959,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/layout.test.tsx","startTime":1662020355367,"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":1662020356899,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/icon.test.tsx","startTime":1662020355970,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders Navbar properly","location":null,"status":"passed","title":"Renders Navbar properly"}],"endTime":1662020357463,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/navbar.test.tsx","startTime":1662020356920,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Checkbox /> properly","location":null,"status":"passed","title":"Renders <Checkbox /> properly"}],"endTime":1662020358068,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/checkbox.test.tsx","startTime":1662020357485,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <TimeAgo /> data properly","location":null,"status":"passed","title":"Renders <TimeAgo /> data properly"}],"endTime":1662020358605,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/timeAgo.test.tsx","startTime":1662020358080,"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