@hazelcast/ui 1.3.3-next.9 → 2.0.1-canary.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 (850) hide show
  1. package/README.md +223 -6
  2. package/lib/components/Alert.d.ts +33 -0
  3. package/lib/components/Alert.js +51 -0
  4. package/lib/components/Alert.js.map +1 -0
  5. package/lib/components/Alert.module.scss +141 -0
  6. package/lib/components/AppHeader/AppHeader.d.ts +16 -0
  7. package/lib/components/AppHeader/AppHeader.js +17 -0
  8. package/lib/components/AppHeader/AppHeader.js.map +1 -0
  9. package/lib/components/AppHeader/AppHeader.module.scss +29 -0
  10. package/lib/components/AppHeader/AppHeaderLogo/AppHeaderLogo.d.ts +12 -0
  11. package/lib/components/AppHeader/AppHeaderLogo/AppHeaderLogo.js +7 -0
  12. package/lib/components/AppHeader/AppHeaderLogo/AppHeaderLogo.js.map +1 -0
  13. package/lib/components/AppHeader/AppHeaderLogo/AppHeaderLogo.module.scss +29 -0
  14. package/lib/components/AppHeader/AppHeaderLogo/index.js.map +1 -0
  15. package/lib/components/AppHeader/AppHeaderMenu/AppHeaderMenu.d.ts +8 -0
  16. package/lib/components/AppHeader/AppHeaderMenu/AppHeaderMenu.js +15 -0
  17. package/lib/components/AppHeader/AppHeaderMenu/AppHeaderMenu.js.map +1 -0
  18. package/lib/components/AppHeader/AppHeaderMenu/AppHeaderMenu.module.scss +20 -0
  19. package/lib/components/AppHeader/AppHeaderMenu/index.js.map +1 -0
  20. package/lib/components/AppHeader/EnvironmentBadge/EnvironmentBadge.d.ts +5 -0
  21. package/lib/components/AppHeader/EnvironmentBadge/EnvironmentBadge.js.map +1 -0
  22. package/lib/components/AppHeader/EnvironmentBadge/EnvironmentBadge.module.scss +13 -0
  23. package/lib/components/AppHeader/EnvironmentBadge/index.js.map +1 -0
  24. package/lib/components/AppHeader/SelectCluster/SelectCluster.js.map +1 -0
  25. package/lib/components/AppHeader/SelectCluster/SelectCluster.module.scss +101 -0
  26. package/lib/components/AppHeader/SelectCluster/index.js.map +1 -0
  27. package/lib/components/AppHeader/index.js.map +1 -0
  28. package/lib/components/AppSidebar/AppSidebar.d.ts +11 -0
  29. package/lib/components/AppSidebar/AppSidebar.js +31 -0
  30. package/lib/components/AppSidebar/AppSidebar.js.map +1 -0
  31. package/lib/components/AppSidebar/AppSidebar.module.scss +66 -0
  32. package/lib/components/AppSidebar/AppSidebarFavoriteButton/AppSidebarFavoriteButton.d.ts +6 -0
  33. package/lib/components/AppSidebar/AppSidebarFavoriteButton/AppSidebarFavoriteButton.js.map +1 -0
  34. package/lib/components/AppSidebar/AppSidebarFavoriteButton/AppSidebarFavoriteButton.module.scss +16 -0
  35. package/lib/components/AppSidebar/AppSidebarFavoriteButton/index.js.map +1 -0
  36. package/lib/components/AppSidebar/AppSidebarFavorites/AppSidebarFavorites.d.ts +7 -0
  37. package/lib/components/AppSidebar/AppSidebarFavorites/AppSidebarFavorites.js.map +1 -0
  38. package/lib/components/AppSidebar/AppSidebarFavorites/AppSidebarFavorites.module.scss +13 -0
  39. package/lib/components/AppSidebar/AppSidebarFavorites/index.js.map +1 -0
  40. package/lib/components/AppSidebar/AppSidebarItem/AppSidebarItem.d.ts +28 -0
  41. package/lib/components/AppSidebar/AppSidebarItem/AppSidebarItem.js +23 -0
  42. package/lib/components/AppSidebar/AppSidebarItem/AppSidebarItem.js.map +1 -0
  43. package/lib/components/AppSidebar/AppSidebarItem/AppSidebarItem.module.scss +92 -0
  44. package/lib/components/AppSidebar/AppSidebarItem/index.js.map +1 -0
  45. package/lib/components/AppSidebar/AppSidebarMenuItemCounter/AppSidebarMenuItemCounter.d.ts +6 -0
  46. package/lib/components/AppSidebar/AppSidebarMenuItemCounter/AppSidebarMenuItemCounter.js.map +1 -0
  47. package/lib/components/AppSidebar/AppSidebarMenuItemCounter/AppSidebarMenuItemCounter.module.scss +24 -0
  48. package/lib/components/AppSidebar/AppSidebarMenuItemCounter/index.js.map +1 -0
  49. package/lib/components/AppSidebar/AppSidebarSection/AppSidebarSection.d.ts +13 -0
  50. package/lib/components/AppSidebar/AppSidebarSection/AppSidebarSection.js +15 -0
  51. package/lib/components/AppSidebar/AppSidebarSection/AppSidebarSection.js.map +1 -0
  52. package/lib/components/AppSidebar/AppSidebarSection/AppSidebarSection.module.scss +58 -0
  53. package/lib/components/AppSidebar/AppSidebarSection/AppSidebarSectionExpandable.d.ts +12 -0
  54. package/lib/components/AppSidebar/AppSidebarSection/AppSidebarSectionExpandable.js +54 -0
  55. package/lib/components/AppSidebar/AppSidebarSection/AppSidebarSectionExpandable.js.map +1 -0
  56. package/lib/components/AppSidebar/AppSidebarSection/appSidebarSectionContext.d.ts +1 -0
  57. package/lib/components/AppSidebar/AppSidebarSection/appSidebarSectionContext.js.map +1 -0
  58. package/lib/components/AppSidebar/AppSidebarSection/index.js.map +1 -0
  59. package/lib/components/AppSidebar/appSidebarContext.d.ts +9 -0
  60. package/lib/components/AppSidebar/appSidebarContext.js.map +1 -0
  61. package/lib/components/AppSidebar/index.js.map +1 -0
  62. package/lib/components/AutocompleteField.js +166 -0
  63. package/lib/components/AutocompleteField.js.map +1 -0
  64. package/lib/components/AutocompleteField.module.scss +164 -0
  65. package/lib/components/AutocompleteFieldFormik.d.ts +9 -0
  66. package/lib/components/AutocompleteFieldFormik.js +19 -0
  67. package/lib/components/AutocompleteFieldFormik.js.map +1 -0
  68. package/lib/components/Badge.js +44 -0
  69. package/lib/components/Badge.js.map +1 -0
  70. package/lib/components/Badge.module.scss +55 -0
  71. package/lib/components/Button.d.ts +97 -0
  72. package/lib/components/Button.js +64 -0
  73. package/lib/components/Button.js.map +1 -0
  74. package/lib/components/Button.module.scss +329 -0
  75. package/lib/components/Calendar/Calendar.d.ts +17 -0
  76. package/lib/components/Calendar/Calendar.js +38 -0
  77. package/lib/components/Calendar/Calendar.js.map +1 -0
  78. package/lib/components/Calendar/Calendar.module.scss +185 -0
  79. package/lib/components/Calendar/CalendarRange.js.map +1 -0
  80. package/lib/components/Calendar/CalendarRange.module.scss +21 -0
  81. package/lib/components/Calendar/components/CalendarHeader.js +13 -0
  82. package/lib/components/Calendar/components/CalendarHeader.js.map +1 -0
  83. package/lib/components/Calendar/components/CalendarInput.d.ts +16 -0
  84. package/lib/components/Calendar/components/CalendarInput.js +12 -0
  85. package/lib/components/Calendar/components/CalendarInput.js.map +1 -0
  86. package/lib/components/Calendar/components/CalendarTime.d.ts +10 -0
  87. package/lib/components/Calendar/components/CalendarTime.js +69 -0
  88. package/lib/components/Calendar/components/CalendarTime.js.map +1 -0
  89. package/lib/components/Calendar/components/CalendarTime.module.scss +72 -0
  90. package/lib/components/Calendar/helpers/consts.js.map +1 -0
  91. package/lib/components/Card.d.ts +26 -0
  92. package/lib/components/Card.js +21 -0
  93. package/lib/components/Card.js.map +1 -0
  94. package/lib/components/Card.module.scss +92 -0
  95. package/lib/components/Carousel.d.ts +26 -0
  96. package/lib/components/Carousel.js +28 -0
  97. package/lib/components/Carousel.js.map +1 -0
  98. package/lib/components/Carousel.module.scss +43 -0
  99. package/lib/components/CenteredLoader.d.ts +5 -0
  100. package/lib/components/CenteredLoader.js.map +1 -0
  101. package/lib/components/CenteredLoader.module.scss +11 -0
  102. package/lib/components/Checkbox.d.ts +35 -0
  103. package/lib/components/Checkbox.js +38 -0
  104. package/lib/components/Checkbox.js.map +1 -0
  105. package/lib/components/Checkbox.module.scss +106 -0
  106. package/lib/components/CheckboxFormik.d.ts +10 -0
  107. package/lib/components/CheckboxFormik.js +17 -0
  108. package/lib/components/CheckboxFormik.js.map +1 -0
  109. package/lib/components/CircularProgressBar.js.map +1 -0
  110. package/lib/components/CircularProgressBar.module.scss +37 -0
  111. package/lib/components/ContextMenu.js +61 -0
  112. package/lib/components/ContextMenu.js.map +1 -0
  113. package/lib/components/ContextMenu.module.scss +37 -0
  114. package/lib/components/Dialog.js +40 -0
  115. package/lib/components/Dialog.js.map +1 -0
  116. package/lib/components/Dialog.module.scss +62 -0
  117. package/lib/components/EmptyState.d.ts +52 -0
  118. package/lib/components/EmptyState.js.map +1 -0
  119. package/lib/components/EmptyState.module.scss +87 -0
  120. package/lib/components/Error.d.ts +13 -0
  121. package/lib/components/Error.js +8 -0
  122. package/lib/components/Error.js.map +1 -0
  123. package/lib/components/Error.module.scss +12 -0
  124. package/lib/components/FieldHeader.d.ts +24 -0
  125. package/lib/components/FieldHeader.js.map +1 -0
  126. package/lib/components/FieldHeader.module.scss +20 -0
  127. package/lib/components/Help.d.ts +15 -0
  128. package/lib/components/Help.js +14 -0
  129. package/lib/components/Help.js.map +1 -0
  130. package/lib/components/Help.module.scss +9 -0
  131. package/lib/components/Icon.d.ts +30 -0
  132. package/lib/components/Icon.js +27 -0
  133. package/lib/components/Icon.js.map +1 -0
  134. package/lib/components/Icon.module.scss +33 -0
  135. package/lib/components/IconButton.d.ts +49 -0
  136. package/lib/components/IconButton.js +25 -0
  137. package/lib/components/IconButton.js.map +1 -0
  138. package/lib/components/IconButton.module.scss +59 -0
  139. package/lib/components/InteractiveList.d.ts +38 -0
  140. package/lib/components/InteractiveList.js +47 -0
  141. package/lib/components/InteractiveList.js.map +1 -0
  142. package/lib/components/InteractiveList.module.scss +72 -0
  143. package/lib/components/InteractiveListFormik.d.ts +22 -0
  144. package/lib/components/InteractiveListFormik.js +96 -0
  145. package/lib/components/InteractiveListFormik.js.map +1 -0
  146. package/lib/components/Label.d.ts +9 -0
  147. package/lib/components/Label.js +5 -0
  148. package/lib/components/Label.js.map +1 -0
  149. package/lib/components/Label.module.scss +12 -0
  150. package/lib/components/Link.d.ts +53 -0
  151. package/lib/components/Link.js +45 -0
  152. package/lib/components/Link.js.map +1 -0
  153. package/lib/components/Link.module.scss +64 -0
  154. package/lib/components/Loader.d.ts +12 -0
  155. package/lib/components/Loader.js +26 -0
  156. package/lib/components/Loader.js.map +1 -0
  157. package/lib/components/Loader.module.scss +74 -0
  158. package/lib/components/Modal.d.ts +26 -0
  159. package/lib/components/Modal.js +41 -0
  160. package/lib/components/Modal.js.map +1 -0
  161. package/lib/components/Modal.module.scss +109 -0
  162. package/lib/components/Notification.js.map +1 -0
  163. package/lib/components/Notification.module.scss +97 -0
  164. package/lib/components/NumberBadge.js.map +1 -0
  165. package/lib/components/NumberBadge.module.scss +13 -0
  166. package/lib/components/NumberField.d.ts +33 -0
  167. package/lib/components/NumberField.js +141 -0
  168. package/lib/components/NumberField.js.map +1 -0
  169. package/lib/components/NumberField.module.scss +76 -0
  170. package/lib/components/NumberFieldFormik.d.ts +10 -0
  171. package/lib/components/NumberFieldFormik.js +52 -0
  172. package/lib/components/NumberFieldFormik.js.map +1 -0
  173. package/lib/components/Overlay.d.ts +23 -0
  174. package/lib/components/Overlay.js.map +1 -0
  175. package/lib/components/Overlay.module.scss +108 -0
  176. package/lib/components/Pagination.js +106 -0
  177. package/lib/components/Pagination.js.map +1 -0
  178. package/lib/components/Pagination.module.scss +117 -0
  179. package/lib/components/PasswordField.d.ts +29 -0
  180. package/lib/components/PasswordField.js +26 -0
  181. package/lib/components/PasswordField.js.map +1 -0
  182. package/lib/components/PasswordField.module.scss +26 -0
  183. package/lib/components/PasswordFieldFormik.d.ts +10 -0
  184. package/lib/components/PasswordFieldFormik.js +17 -0
  185. package/lib/components/PasswordFieldFormik.js.map +1 -0
  186. package/lib/components/Popover.d.ts +23 -0
  187. package/lib/components/Popover.js +120 -0
  188. package/lib/components/Popover.js.map +1 -0
  189. package/lib/components/Popover.module.scss +12 -0
  190. package/lib/components/Radio.d.ts +26 -0
  191. package/lib/components/Radio.js +34 -0
  192. package/lib/components/Radio.js.map +1 -0
  193. package/lib/components/Radio.module.scss +112 -0
  194. package/lib/components/RadioFormik.js.map +1 -0
  195. package/lib/components/RadioGroup.d.ts +21 -0
  196. package/lib/components/RadioGroup.js +24 -0
  197. package/lib/components/RadioGroup.js.map +1 -0
  198. package/lib/components/RadioGroup.module.scss +21 -0
  199. package/lib/components/RadioGroupContext.d.ts +6 -0
  200. package/lib/components/RadioGroupContext.js.map +1 -0
  201. package/lib/components/RadioGroupFormik.d.ts +10 -0
  202. package/lib/components/RadioGroupFormik.js +17 -0
  203. package/lib/components/RadioGroupFormik.js.map +1 -0
  204. package/lib/components/SegmentedControl.d.ts +18 -0
  205. package/lib/components/SegmentedControl.js.map +1 -0
  206. package/lib/components/SegmentedControl.module.scss +81 -0
  207. package/lib/components/SegmentedControlFormik.d.ts +9 -0
  208. package/lib/components/SegmentedControlFormik.js +13 -0
  209. package/lib/components/SegmentedControlFormik.js.map +1 -0
  210. package/lib/components/Select/CheckableSelectField.d.ts +40 -0
  211. package/lib/components/Select/CheckableSelectField.js +78 -0
  212. package/lib/components/Select/CheckableSelectField.js.map +1 -0
  213. package/lib/components/Select/CheckableSelectField.module.scss +100 -0
  214. package/lib/components/Select/CheckableSelectFieldFormik.d.ts +10 -0
  215. package/lib/components/Select/CheckableSelectFieldFormik.js +19 -0
  216. package/lib/components/Select/CheckableSelectFieldFormik.js.map +1 -0
  217. package/lib/components/Select/Common.js +54 -0
  218. package/lib/components/Select/Common.js.map +1 -0
  219. package/lib/components/Select/Common.module.scss +69 -0
  220. package/lib/components/Select/MultiSelectField.d.ts +28 -0
  221. package/lib/components/Select/MultiSelectField.js +113 -0
  222. package/lib/components/Select/MultiSelectField.js.map +1 -0
  223. package/lib/components/Select/MultiSelectField.module.scss +72 -0
  224. package/lib/components/Select/MultiSelectFieldFormik.d.ts +11 -0
  225. package/lib/components/Select/MultiSelectFieldFormik.js +19 -0
  226. package/lib/components/Select/MultiSelectFieldFormik.js.map +1 -0
  227. package/lib/components/Select/SelectField.d.ts +43 -0
  228. package/lib/components/Select/SelectField.js +102 -0
  229. package/lib/components/Select/SelectField.js.map +1 -0
  230. package/lib/components/Select/SelectField.module.scss +194 -0
  231. package/lib/components/Select/SelectFieldFormik.d.ts +10 -0
  232. package/lib/components/Select/SelectFieldFormik.js +19 -0
  233. package/lib/components/Select/SelectFieldFormik.js.map +1 -0
  234. package/lib/components/Select/helpers.d.ts +12 -0
  235. package/lib/components/Select/helpers.js +29 -0
  236. package/lib/components/Select/helpers.js.map +1 -0
  237. package/lib/components/Select/index.js.map +1 -0
  238. package/lib/components/SimpleTable.d.ts +11 -0
  239. package/lib/components/SimpleTable.js.map +1 -0
  240. package/lib/components/SimpleTable.module.scss +28 -0
  241. package/lib/components/Slider.d.ts +59 -0
  242. package/lib/components/Slider.js +205 -0
  243. package/lib/components/Slider.js.map +1 -0
  244. package/lib/components/Slider.module.scss +277 -0
  245. package/lib/components/SliderFormik.d.ts +9 -0
  246. package/lib/components/SliderFormik.js +14 -0
  247. package/lib/components/SliderFormik.js.map +1 -0
  248. package/lib/components/Table/Cell.d.ts +27 -0
  249. package/lib/components/Table/Cell.js +60 -0
  250. package/lib/components/Table/Cell.js.map +1 -0
  251. package/lib/components/Table/Cell.module.scss +61 -0
  252. package/lib/components/Table/CellWrapper.d.ts +11 -0
  253. package/lib/components/Table/CellWrapper.js +29 -0
  254. package/lib/components/Table/CellWrapper.js.map +1 -0
  255. package/lib/components/Table/EnhancedRenderers.d.ts +21 -0
  256. package/lib/components/Table/EnhancedRenderers.js +13 -0
  257. package/lib/components/Table/EnhancedRenderers.js.map +1 -0
  258. package/lib/components/Table/Header.d.ts +25 -0
  259. package/lib/components/Table/Header.js +94 -0
  260. package/lib/components/Table/Header.js.map +1 -0
  261. package/lib/components/Table/Header.module.scss +128 -0
  262. package/lib/components/Table/Row.d.ts +19 -0
  263. package/lib/components/Table/Row.js +24 -0
  264. package/lib/components/Table/Row.js.map +1 -0
  265. package/lib/components/Table/Row.module.scss +59 -0
  266. package/lib/components/Table/Table.d.ts +85 -0
  267. package/lib/components/Table/Table.js +259 -0
  268. package/lib/components/Table/Table.js.map +1 -0
  269. package/lib/components/Table/Table.module.scss +31 -0
  270. package/lib/components/Table/TableContent.d.ts +26 -0
  271. package/lib/components/Table/TableContent.js +58 -0
  272. package/lib/components/Table/TableContent.js.map +1 -0
  273. package/lib/components/Table/constants.js.map +1 -0
  274. package/lib/components/Table/features/columnsSelection/CellCopyablePopover.d.ts +8 -0
  275. package/lib/components/Table/features/columnsSelection/CellCopyablePopover.js +13 -0
  276. package/lib/components/Table/features/columnsSelection/CellCopyablePopover.js.map +1 -0
  277. package/lib/components/Table/features/columnsSelection/CellCopyablePopover.module.scss +12 -0
  278. package/lib/components/Table/features/columnsSelection/ContextMenu/ContextMenu.d.ts +6 -0
  279. package/lib/components/Table/features/columnsSelection/ContextMenu/ContextMenu.js.map +1 -0
  280. package/lib/components/Table/features/columnsSelection/ContextMenu/index.js.map +1 -0
  281. package/lib/components/Table/features/columnsSelection/columnsSelection.d.ts +18 -0
  282. package/lib/components/Table/features/columnsSelection/columnsSelection.js +71 -0
  283. package/lib/components/Table/features/columnsSelection/columnsSelection.js.map +1 -0
  284. package/lib/components/Table/features/columnsSelection/helpers.js.map +1 -0
  285. package/lib/components/Table/features/columnsSelection/index.js.map +1 -0
  286. package/lib/components/Table/helpers.d.ts +2 -0
  287. package/lib/components/Table/helpers.js +10 -0
  288. package/lib/components/Table/helpers.js.map +1 -0
  289. package/lib/components/Table/tableTypes.d.ts +80 -0
  290. package/lib/components/Table/tableTypes.js +2 -0
  291. package/lib/components/Table/tableTypes.js.map +1 -0
  292. package/lib/components/Table/useTrackTableState.d.ts +3 -0
  293. package/lib/components/Table/useTrackTableState.js +30 -0
  294. package/lib/components/Table/useTrackTableState.js.map +1 -0
  295. package/lib/components/Table/utils.d.ts +16 -0
  296. package/lib/components/Table/utils.js +121 -0
  297. package/lib/components/Table/utils.js.map +1 -0
  298. package/lib/components/Tabs/Tab.d.ts +33 -0
  299. package/lib/components/Tabs/Tab.js +39 -0
  300. package/lib/components/Tabs/Tab.js.map +1 -0
  301. package/lib/components/Tabs/Tab.module.scss +58 -0
  302. package/lib/components/Tabs/TabContext.js.map +1 -0
  303. package/lib/components/Tabs/TabList.js +58 -0
  304. package/lib/components/Tabs/TabList.js.map +1 -0
  305. package/lib/components/Tabs/TabPanel.d.ts +14 -0
  306. package/lib/components/Tabs/TabPanel.js +17 -0
  307. package/lib/components/Tabs/TabPanel.js.map +1 -0
  308. package/lib/components/Tabs/index.js.map +1 -0
  309. package/lib/components/Terminal.d.ts +25 -0
  310. package/lib/components/Terminal.js +113 -0
  311. package/lib/components/Terminal.js.map +1 -0
  312. package/lib/components/Terminal.module.scss +109 -0
  313. package/lib/components/TextArea.d.ts +19 -0
  314. package/lib/components/TextArea.js +31 -0
  315. package/lib/components/TextArea.js.map +1 -0
  316. package/lib/components/TextArea.module.scss +144 -0
  317. package/lib/components/TextAreaFormik.d.ts +9 -0
  318. package/lib/components/TextAreaFormik.js.map +1 -0
  319. package/lib/components/TextField.d.ts +50 -0
  320. package/lib/components/TextField.js +65 -0
  321. package/lib/components/TextField.js.map +1 -0
  322. package/lib/components/TextField.module.scss +209 -0
  323. package/lib/components/TextFieldFormik.d.ts +11 -0
  324. package/lib/components/TextFieldFormik.js +23 -0
  325. package/lib/components/TextFieldFormik.js.map +1 -0
  326. package/lib/components/TimeField.d.ts +17 -0
  327. package/lib/components/TimeField.js +15 -0
  328. package/lib/components/TimeField.js.map +1 -0
  329. package/lib/components/TimeFieldFormik.d.ts +9 -0
  330. package/lib/components/TimeFieldFormik.js.map +1 -0
  331. package/lib/components/Toast.d.ts +29 -0
  332. package/lib/components/Toast.js +56 -0
  333. package/lib/components/Toast.js.map +1 -0
  334. package/lib/components/Toast.module.scss +53 -0
  335. package/lib/components/Toggle.d.ts +21 -0
  336. package/lib/components/Toggle.js +22 -0
  337. package/lib/components/Toggle.js.map +1 -0
  338. package/lib/components/Toggle.module.scss +175 -0
  339. package/lib/components/ToggleFormik.d.ts +9 -0
  340. package/lib/components/ToggleFormik.js +12 -0
  341. package/lib/components/ToggleFormik.js.map +1 -0
  342. package/lib/components/Tooltip.d.ts +42 -0
  343. package/lib/components/Tooltip.js +139 -0
  344. package/lib/components/Tooltip.js.map +1 -0
  345. package/lib/components/Tooltip.module.scss +175 -0
  346. package/lib/components/TruncatedText.d.ts +15 -0
  347. package/lib/components/TruncatedText.js +23 -0
  348. package/lib/components/TruncatedText.js.map +1 -0
  349. package/lib/components/TruncatedText.module.scss +9 -0
  350. package/lib/helpers/array.d.ts +5 -0
  351. package/lib/helpers/array.js +19 -0
  352. package/lib/helpers/array.js.map +1 -0
  353. package/lib/helpers/escapeHtml.d.ts +1 -0
  354. package/lib/helpers/escapeHtml.js +7 -0
  355. package/lib/helpers/escapeHtml.js.map +1 -0
  356. package/lib/helpers/forms.d.ts +1 -0
  357. package/lib/helpers/forms.js +16 -0
  358. package/lib/helpers/forms.js.map +1 -0
  359. package/lib/helpers/math.d.ts +1 -0
  360. package/lib/helpers/math.js +7 -0
  361. package/lib/helpers/math.js.map +1 -0
  362. package/lib/helpers/types.d.ts +35 -0
  363. package/lib/helpers/types.js +2 -0
  364. package/lib/helpers/types.js.map +1 -0
  365. package/lib/hooks/index.d.ts +1 -0
  366. package/lib/hooks/index.js +1 -0
  367. package/lib/hooks/index.js.map +1 -1
  368. package/lib/hooks/useCloseOnResize.js.map +1 -1
  369. package/lib/hooks/useDeepEqual.js +0 -1
  370. package/lib/hooks/useDeepEqual.js.map +1 -1
  371. package/lib/hooks/useDimensions.js.map +1 -1
  372. package/lib/hooks/useOnClickOutside.d.ts +1 -1
  373. package/lib/hooks/useOnClickOutside.js +7 -1
  374. package/lib/hooks/useOnClickOutside.js.map +1 -1
  375. package/lib/hooks/usePagination.js +1 -1
  376. package/lib/hooks/usePagination.js.map +1 -1
  377. package/lib/hooks/usePersistedState.d.ts +2 -0
  378. package/lib/hooks/usePersistedState.js +35 -0
  379. package/lib/hooks/usePersistedState.js.map +1 -0
  380. package/lib/hooks/useResizeAware.d.ts +3 -0
  381. package/lib/hooks/useResizeAware.js +25 -0
  382. package/lib/hooks/useResizeAware.js.map +1 -0
  383. package/lib/icons/Cluster.d.ts +2 -0
  384. package/lib/icons/Cluster.js +7 -0
  385. package/lib/icons/Cluster.js.map +1 -0
  386. package/lib/icons/Compare.d.ts +7 -0
  387. package/lib/icons/Compare.js +7 -0
  388. package/lib/icons/Compare.js.map +1 -0
  389. package/lib/icons/Compute.d.ts +2 -0
  390. package/lib/icons/Compute.js +7 -0
  391. package/lib/icons/Compute.js.map +1 -0
  392. package/lib/icons/Folder.d.ts +2 -0
  393. package/lib/icons/Folder.js +4 -0
  394. package/lib/icons/Folder.js.map +1 -0
  395. package/lib/icons/PlusCircle.d.ts +2 -0
  396. package/lib/icons/PlusCircle.js +6 -0
  397. package/lib/icons/PlusCircle.js.map +1 -0
  398. package/lib/icons/Streaming.d.ts +2 -0
  399. package/lib/icons/Streaming.js +8 -0
  400. package/lib/icons/Streaming.js.map +1 -0
  401. package/lib/index.d.ts +70 -53
  402. package/lib/index.js +73 -53
  403. package/lib/index.js.map +1 -1
  404. package/lib/services/logger.d.ts +13 -0
  405. package/lib/services/logger.js +84 -0
  406. package/lib/services/logger.js.map +1 -0
  407. package/lib/services/time.d.ts +7 -0
  408. package/lib/services/time.js +17 -0
  409. package/lib/services/time.js.map +1 -0
  410. package/lib/test-helpers/render.d.ts +10 -0
  411. package/lib/test-helpers/render.js +24 -0
  412. package/lib/test-helpers/render.js.map +1 -0
  413. package/lib/test-helpers/time.d.ts +1 -0
  414. package/lib/test-helpers/time.js +2 -0
  415. package/lib/test-helpers/time.js.map +1 -0
  416. package/lib/test-helpers/utils.d.ts +5 -0
  417. package/lib/test-helpers/utils.js +11 -0
  418. package/lib/test-helpers/utils.js.map +1 -0
  419. package/lib/types.d.ts +6 -0
  420. package/lib/types.js +2 -0
  421. package/lib/types.js.map +1 -0
  422. package/lib/utils/formik.js.map +1 -1
  423. package/lib/utils/portal.js.map +1 -1
  424. package/package.json +130 -94
  425. package/styles/constants/_colors.scss +36 -16
  426. package/styles/constants/_typography.scss +0 -7
  427. package/styles/helpers/_gradients.scss +39 -6
  428. package/styles/typography/fonts/UbuntuMono-Bold.woff2 +0 -0
  429. package/styles/typography/fonts/UbuntuMono-BoldItalic.woff2 +0 -0
  430. package/styles/typography/fonts/UbuntuMono-Italic.woff2 +0 -0
  431. package/styles/typography/fonts/UbuntuMono-Regular.woff2 +0 -0
  432. package/styles/typography/ubuntu-mono.css +31 -0
  433. package/lib/Alert.d.ts +0 -33
  434. package/lib/Alert.js +0 -51
  435. package/lib/Alert.js.map +0 -1
  436. package/lib/Alert.module.scss +0 -140
  437. package/lib/AppHeader/AppHeader.d.ts +0 -14
  438. package/lib/AppHeader/AppHeader.js +0 -15
  439. package/lib/AppHeader/AppHeader.js.map +0 -1
  440. package/lib/AppHeader/AppHeader.module.scss +0 -25
  441. package/lib/AppHeader/AppHeaderLogo/AppHeaderLogo.d.ts +0 -12
  442. package/lib/AppHeader/AppHeaderLogo/AppHeaderLogo.js +0 -7
  443. package/lib/AppHeader/AppHeaderLogo/AppHeaderLogo.js.map +0 -1
  444. package/lib/AppHeader/AppHeaderLogo/AppHeaderLogo.module.scss +0 -29
  445. package/lib/AppHeader/AppHeaderLogo/index.js.map +0 -1
  446. package/lib/AppHeader/AppHeaderMenu/AppHeaderMenu.d.ts +0 -7
  447. package/lib/AppHeader/AppHeaderMenu/AppHeaderMenu.js +0 -14
  448. package/lib/AppHeader/AppHeaderMenu/AppHeaderMenu.js.map +0 -1
  449. package/lib/AppHeader/AppHeaderMenu/AppHeaderMenu.module.scss +0 -11
  450. package/lib/AppHeader/AppHeaderMenu/index.js.map +0 -1
  451. package/lib/AppHeader/EnvironmentBadge/EnvironmentBadge.d.ts +0 -5
  452. package/lib/AppHeader/EnvironmentBadge/EnvironmentBadge.js.map +0 -1
  453. package/lib/AppHeader/EnvironmentBadge/EnvironmentBadge.module.scss +0 -13
  454. package/lib/AppHeader/EnvironmentBadge/index.js.map +0 -1
  455. package/lib/AppHeader/SelectCluster/SelectCluster.js.map +0 -1
  456. package/lib/AppHeader/SelectCluster/SelectCluster.module.scss +0 -99
  457. package/lib/AppHeader/SelectCluster/index.js.map +0 -1
  458. package/lib/AppHeader/index.js.map +0 -1
  459. package/lib/AppSidebar/AppSidebar.d.ts +0 -10
  460. package/lib/AppSidebar/AppSidebar.js +0 -31
  461. package/lib/AppSidebar/AppSidebar.js.map +0 -1
  462. package/lib/AppSidebar/AppSidebar.module.scss +0 -64
  463. package/lib/AppSidebar/AppSidebarFavoriteButton/AppSidebarFavoriteButton.d.ts +0 -6
  464. package/lib/AppSidebar/AppSidebarFavoriteButton/AppSidebarFavoriteButton.js.map +0 -1
  465. package/lib/AppSidebar/AppSidebarFavoriteButton/AppSidebarFavoriteButton.module.scss +0 -16
  466. package/lib/AppSidebar/AppSidebarFavoriteButton/index.js.map +0 -1
  467. package/lib/AppSidebar/AppSidebarFavorites/AppSidebarFavorites.d.ts +0 -7
  468. package/lib/AppSidebar/AppSidebarFavorites/AppSidebarFavorites.js.map +0 -1
  469. package/lib/AppSidebar/AppSidebarFavorites/AppSidebarFavorites.module.scss +0 -12
  470. package/lib/AppSidebar/AppSidebarFavorites/index.js.map +0 -1
  471. package/lib/AppSidebar/AppSidebarItem/AppSidebarItem.d.ts +0 -30
  472. package/lib/AppSidebar/AppSidebarItem/AppSidebarItem.js +0 -25
  473. package/lib/AppSidebar/AppSidebarItem/AppSidebarItem.js.map +0 -1
  474. package/lib/AppSidebar/AppSidebarItem/AppSidebarItem.module.scss +0 -86
  475. package/lib/AppSidebar/AppSidebarItem/index.js.map +0 -1
  476. package/lib/AppSidebar/AppSidebarMenuItemCounter/AppSidebarMenuItemCounter.d.ts +0 -6
  477. package/lib/AppSidebar/AppSidebarMenuItemCounter/AppSidebarMenuItemCounter.js.map +0 -1
  478. package/lib/AppSidebar/AppSidebarMenuItemCounter/AppSidebarMenuItemCounter.module.scss +0 -24
  479. package/lib/AppSidebar/AppSidebarMenuItemCounter/index.js.map +0 -1
  480. package/lib/AppSidebar/AppSidebarSection/AppSidebarSection.d.ts +0 -12
  481. package/lib/AppSidebar/AppSidebarSection/AppSidebarSection.js +0 -15
  482. package/lib/AppSidebar/AppSidebarSection/AppSidebarSection.js.map +0 -1
  483. package/lib/AppSidebar/AppSidebarSection/AppSidebarSection.module.scss +0 -55
  484. package/lib/AppSidebar/AppSidebarSection/AppSidebarSectionExpandable.d.ts +0 -11
  485. package/lib/AppSidebar/AppSidebarSection/AppSidebarSectionExpandable.js +0 -45
  486. package/lib/AppSidebar/AppSidebarSection/AppSidebarSectionExpandable.js.map +0 -1
  487. package/lib/AppSidebar/AppSidebarSection/appSidebarSectionContext.d.ts +0 -2
  488. package/lib/AppSidebar/AppSidebarSection/appSidebarSectionContext.js.map +0 -1
  489. package/lib/AppSidebar/AppSidebarSection/index.js.map +0 -1
  490. package/lib/AppSidebar/appSidebarContext.d.ts +0 -10
  491. package/lib/AppSidebar/appSidebarContext.js.map +0 -1
  492. package/lib/AppSidebar/index.js.map +0 -1
  493. package/lib/AutocompleteField.js +0 -169
  494. package/lib/AutocompleteField.js.map +0 -1
  495. package/lib/AutocompleteField.module.scss +0 -164
  496. package/lib/AutocompleteFieldFormik.d.ts +0 -9
  497. package/lib/AutocompleteFieldFormik.js +0 -19
  498. package/lib/AutocompleteFieldFormik.js.map +0 -1
  499. package/lib/Badge.js +0 -44
  500. package/lib/Badge.js.map +0 -1
  501. package/lib/Badge.module.scss +0 -55
  502. package/lib/Button.d.ts +0 -100
  503. package/lib/Button.js +0 -93
  504. package/lib/Button.js.map +0 -1
  505. package/lib/Button.module.scss +0 -328
  506. package/lib/Calendar/Calendar.d.ts +0 -16
  507. package/lib/Calendar/Calendar.js +0 -41
  508. package/lib/Calendar/Calendar.js.map +0 -1
  509. package/lib/Calendar/Calendar.module.scss +0 -185
  510. package/lib/Calendar/CalendarRange.js.map +0 -1
  511. package/lib/Calendar/CalendarRange.module.scss +0 -21
  512. package/lib/Calendar/components/CalendarHeader.js +0 -13
  513. package/lib/Calendar/components/CalendarHeader.js.map +0 -1
  514. package/lib/Calendar/components/CalendarInput.d.ts +0 -15
  515. package/lib/Calendar/components/CalendarInput.js +0 -12
  516. package/lib/Calendar/components/CalendarInput.js.map +0 -1
  517. package/lib/Calendar/components/CalendarTime.d.ts +0 -9
  518. package/lib/Calendar/components/CalendarTime.js +0 -69
  519. package/lib/Calendar/components/CalendarTime.js.map +0 -1
  520. package/lib/Calendar/components/CalendarTime.module.scss +0 -72
  521. package/lib/Calendar/helpers/consts.js.map +0 -1
  522. package/lib/Card.d.ts +0 -24
  523. package/lib/Card.js +0 -20
  524. package/lib/Card.js.map +0 -1
  525. package/lib/Card.module.scss +0 -59
  526. package/lib/Carousel.d.ts +0 -26
  527. package/lib/Carousel.js +0 -28
  528. package/lib/Carousel.js.map +0 -1
  529. package/lib/Carousel.module.scss +0 -43
  530. package/lib/CenteredLoader.d.ts +0 -5
  531. package/lib/CenteredLoader.js.map +0 -1
  532. package/lib/CenteredLoader.module.scss +0 -11
  533. package/lib/Checkbox.d.ts +0 -35
  534. package/lib/Checkbox.js +0 -38
  535. package/lib/Checkbox.js.map +0 -1
  536. package/lib/Checkbox.module.scss +0 -106
  537. package/lib/CheckboxFormik.d.ts +0 -10
  538. package/lib/CheckboxFormik.js +0 -17
  539. package/lib/CheckboxFormik.js.map +0 -1
  540. package/lib/CircularProgressBar.js.map +0 -1
  541. package/lib/CircularProgressBar.module.scss +0 -37
  542. package/lib/ContextMenu.js +0 -61
  543. package/lib/ContextMenu.js.map +0 -1
  544. package/lib/ContextMenu.module.scss +0 -37
  545. package/lib/Dialog.js +0 -36
  546. package/lib/Dialog.js.map +0 -1
  547. package/lib/Dialog.module.scss +0 -62
  548. package/lib/EmptyState.d.ts +0 -52
  549. package/lib/EmptyState.js.map +0 -1
  550. package/lib/EmptyState.module.scss +0 -87
  551. package/lib/Error.d.ts +0 -12
  552. package/lib/Error.js +0 -8
  553. package/lib/Error.js.map +0 -1
  554. package/lib/Error.module.scss +0 -12
  555. package/lib/FieldHeader.d.ts +0 -24
  556. package/lib/FieldHeader.js.map +0 -1
  557. package/lib/FieldHeader.module.scss +0 -20
  558. package/lib/Help.d.ts +0 -14
  559. package/lib/Help.js +0 -14
  560. package/lib/Help.js.map +0 -1
  561. package/lib/Help.module.scss +0 -9
  562. package/lib/Icon.d.ts +0 -29
  563. package/lib/Icon.js +0 -27
  564. package/lib/Icon.js.map +0 -1
  565. package/lib/Icon.module.scss +0 -33
  566. package/lib/IconButton.d.ts +0 -49
  567. package/lib/IconButton.js +0 -25
  568. package/lib/IconButton.js.map +0 -1
  569. package/lib/IconButton.module.scss +0 -59
  570. package/lib/InteractiveList.d.ts +0 -38
  571. package/lib/InteractiveList.js +0 -49
  572. package/lib/InteractiveList.js.map +0 -1
  573. package/lib/InteractiveList.module.scss +0 -72
  574. package/lib/InteractiveListFormik.d.ts +0 -22
  575. package/lib/InteractiveListFormik.js +0 -96
  576. package/lib/InteractiveListFormik.js.map +0 -1
  577. package/lib/Label.d.ts +0 -8
  578. package/lib/Label.js +0 -5
  579. package/lib/Label.js.map +0 -1
  580. package/lib/Label.module.scss +0 -12
  581. package/lib/Link.d.ts +0 -53
  582. package/lib/Link.js +0 -44
  583. package/lib/Link.js.map +0 -1
  584. package/lib/Link.module.scss +0 -63
  585. package/lib/Loader.d.ts +0 -11
  586. package/lib/Loader.js +0 -26
  587. package/lib/Loader.js.map +0 -1
  588. package/lib/Loader.module.scss +0 -74
  589. package/lib/Modal.d.ts +0 -26
  590. package/lib/Modal.js +0 -41
  591. package/lib/Modal.js.map +0 -1
  592. package/lib/Modal.module.scss +0 -108
  593. package/lib/Notification.js.map +0 -1
  594. package/lib/Notification.module.scss +0 -97
  595. package/lib/NumberBadge.js.map +0 -1
  596. package/lib/NumberBadge.module.scss +0 -13
  597. package/lib/NumberField.d.ts +0 -33
  598. package/lib/NumberField.js +0 -143
  599. package/lib/NumberField.js.map +0 -1
  600. package/lib/NumberField.module.scss +0 -76
  601. package/lib/NumberFieldFormik.d.ts +0 -10
  602. package/lib/NumberFieldFormik.js +0 -54
  603. package/lib/NumberFieldFormik.js.map +0 -1
  604. package/lib/Overlay.d.ts +0 -23
  605. package/lib/Overlay.js.map +0 -1
  606. package/lib/Overlay.module.scss +0 -107
  607. package/lib/Pagination.js +0 -106
  608. package/lib/Pagination.js.map +0 -1
  609. package/lib/Pagination.module.scss +0 -117
  610. package/lib/PasswordField.d.ts +0 -29
  611. package/lib/PasswordField.js +0 -26
  612. package/lib/PasswordField.js.map +0 -1
  613. package/lib/PasswordField.module.scss +0 -26
  614. package/lib/PasswordFieldFormik.d.ts +0 -10
  615. package/lib/PasswordFieldFormik.js +0 -17
  616. package/lib/PasswordFieldFormik.js.map +0 -1
  617. package/lib/Popover.d.ts +0 -23
  618. package/lib/Popover.js +0 -93
  619. package/lib/Popover.js.map +0 -1
  620. package/lib/Popover.module.scss +0 -12
  621. package/lib/Radio.d.ts +0 -26
  622. package/lib/Radio.js +0 -34
  623. package/lib/Radio.js.map +0 -1
  624. package/lib/Radio.module.scss +0 -112
  625. package/lib/RadioFormik.js.map +0 -1
  626. package/lib/RadioGroup.d.ts +0 -21
  627. package/lib/RadioGroup.js +0 -24
  628. package/lib/RadioGroup.js.map +0 -1
  629. package/lib/RadioGroup.module.scss +0 -21
  630. package/lib/RadioGroupContext.d.ts +0 -6
  631. package/lib/RadioGroupContext.js.map +0 -1
  632. package/lib/RadioGroupFormik.d.ts +0 -10
  633. package/lib/RadioGroupFormik.js +0 -17
  634. package/lib/RadioGroupFormik.js.map +0 -1
  635. package/lib/SegmentedControl.d.ts +0 -18
  636. package/lib/SegmentedControl.js.map +0 -1
  637. package/lib/SegmentedControl.module.scss +0 -81
  638. package/lib/SegmentedControlFormik.d.ts +0 -9
  639. package/lib/SegmentedControlFormik.js +0 -13
  640. package/lib/SegmentedControlFormik.js.map +0 -1
  641. package/lib/Select/CheckableSelectField.d.ts +0 -40
  642. package/lib/Select/CheckableSelectField.js +0 -78
  643. package/lib/Select/CheckableSelectField.js.map +0 -1
  644. package/lib/Select/CheckableSelectField.module.scss +0 -100
  645. package/lib/Select/CheckableSelectFieldFormik.d.ts +0 -10
  646. package/lib/Select/CheckableSelectFieldFormik.js +0 -19
  647. package/lib/Select/CheckableSelectFieldFormik.js.map +0 -1
  648. package/lib/Select/Common.js +0 -57
  649. package/lib/Select/Common.js.map +0 -1
  650. package/lib/Select/Common.module.scss +0 -69
  651. package/lib/Select/MultiSelectField.d.ts +0 -28
  652. package/lib/Select/MultiSelectField.js +0 -111
  653. package/lib/Select/MultiSelectField.js.map +0 -1
  654. package/lib/Select/MultiSelectField.module.scss +0 -72
  655. package/lib/Select/MultiSelectFieldFormik.d.ts +0 -10
  656. package/lib/Select/MultiSelectFieldFormik.js +0 -19
  657. package/lib/Select/MultiSelectFieldFormik.js.map +0 -1
  658. package/lib/Select/SelectField.d.ts +0 -43
  659. package/lib/Select/SelectField.js +0 -98
  660. package/lib/Select/SelectField.js.map +0 -1
  661. package/lib/Select/SelectField.module.scss +0 -194
  662. package/lib/Select/SelectFieldFormik.d.ts +0 -10
  663. package/lib/Select/SelectFieldFormik.js +0 -19
  664. package/lib/Select/SelectFieldFormik.js.map +0 -1
  665. package/lib/Select/helpers.d.ts +0 -12
  666. package/lib/Select/helpers.js +0 -29
  667. package/lib/Select/helpers.js.map +0 -1
  668. package/lib/Select/index.js.map +0 -1
  669. package/lib/SimpleTable.d.ts +0 -11
  670. package/lib/SimpleTable.js.map +0 -1
  671. package/lib/SimpleTable.module.scss +0 -28
  672. package/lib/Slider.d.ts +0 -59
  673. package/lib/Slider.js +0 -205
  674. package/lib/Slider.js.map +0 -1
  675. package/lib/Slider.module.scss +0 -277
  676. package/lib/SliderFormik.d.ts +0 -9
  677. package/lib/SliderFormik.js +0 -14
  678. package/lib/SliderFormik.js.map +0 -1
  679. package/lib/Table/Cell.d.ts +0 -25
  680. package/lib/Table/Cell.js +0 -59
  681. package/lib/Table/Cell.js.map +0 -1
  682. package/lib/Table/Cell.module.scss +0 -52
  683. package/lib/Table/CellWrapper.d.ts +0 -11
  684. package/lib/Table/CellWrapper.js +0 -29
  685. package/lib/Table/CellWrapper.js.map +0 -1
  686. package/lib/Table/EnhancedRenderers.d.ts +0 -23
  687. package/lib/Table/EnhancedRenderers.js +0 -16
  688. package/lib/Table/EnhancedRenderers.js.map +0 -1
  689. package/lib/Table/Header.d.ts +0 -21
  690. package/lib/Table/Header.js +0 -83
  691. package/lib/Table/Header.js.map +0 -1
  692. package/lib/Table/Header.module.scss +0 -123
  693. package/lib/Table/Row.d.ts +0 -17
  694. package/lib/Table/Row.js +0 -25
  695. package/lib/Table/Row.js.map +0 -1
  696. package/lib/Table/Row.module.scss +0 -56
  697. package/lib/Table/Table.d.ts +0 -100
  698. package/lib/Table/Table.js +0 -261
  699. package/lib/Table/Table.js.map +0 -1
  700. package/lib/Table/Table.module.scss +0 -25
  701. package/lib/Table/TableContent.d.ts +0 -26
  702. package/lib/Table/TableContent.js +0 -53
  703. package/lib/Table/TableContent.js.map +0 -1
  704. package/lib/Table/constants.js.map +0 -1
  705. package/lib/Table/features/columnsSelection/CellCopyablePopover.d.ts +0 -8
  706. package/lib/Table/features/columnsSelection/CellCopyablePopover.js +0 -13
  707. package/lib/Table/features/columnsSelection/CellCopyablePopover.js.map +0 -1
  708. package/lib/Table/features/columnsSelection/CellCopyablePopover.module.scss +0 -12
  709. package/lib/Table/features/columnsSelection/ContextMenu/ContextMenu.d.ts +0 -6
  710. package/lib/Table/features/columnsSelection/ContextMenu/ContextMenu.js.map +0 -1
  711. package/lib/Table/features/columnsSelection/ContextMenu/index.js.map +0 -1
  712. package/lib/Table/features/columnsSelection/columnsSelection.d.ts +0 -19
  713. package/lib/Table/features/columnsSelection/columnsSelection.js +0 -71
  714. package/lib/Table/features/columnsSelection/columnsSelection.js.map +0 -1
  715. package/lib/Table/features/columnsSelection/helpers.js.map +0 -1
  716. package/lib/Table/features/columnsSelection/index.js.map +0 -1
  717. package/lib/Tabs/Tab.d.ts +0 -51
  718. package/lib/Tabs/Tab.js +0 -53
  719. package/lib/Tabs/Tab.js.map +0 -1
  720. package/lib/Tabs/Tab.module.scss +0 -62
  721. package/lib/Tabs/TabContext.js.map +0 -1
  722. package/lib/Tabs/TabList.js +0 -60
  723. package/lib/Tabs/TabList.js.map +0 -1
  724. package/lib/Tabs/TabPanel.d.ts +0 -13
  725. package/lib/Tabs/TabPanel.js +0 -17
  726. package/lib/Tabs/TabPanel.js.map +0 -1
  727. package/lib/Tabs/index.js.map +0 -1
  728. package/lib/Terminal.d.ts +0 -25
  729. package/lib/Terminal.js +0 -114
  730. package/lib/Terminal.js.map +0 -1
  731. package/lib/Terminal.module.scss +0 -109
  732. package/lib/TextArea.d.ts +0 -19
  733. package/lib/TextArea.js +0 -35
  734. package/lib/TextArea.js.map +0 -1
  735. package/lib/TextArea.module.scss +0 -144
  736. package/lib/TextAreaFormik.d.ts +0 -9
  737. package/lib/TextAreaFormik.js.map +0 -1
  738. package/lib/TextField.d.ts +0 -49
  739. package/lib/TextField.js +0 -65
  740. package/lib/TextField.js.map +0 -1
  741. package/lib/TextField.module.scss +0 -209
  742. package/lib/TextFieldFormik.d.ts +0 -11
  743. package/lib/TextFieldFormik.js +0 -23
  744. package/lib/TextFieldFormik.js.map +0 -1
  745. package/lib/TimeField.d.ts +0 -17
  746. package/lib/TimeField.js +0 -15
  747. package/lib/TimeField.js.map +0 -1
  748. package/lib/TimeFieldFormik.d.ts +0 -9
  749. package/lib/TimeFieldFormik.js.map +0 -1
  750. package/lib/Toast.d.ts +0 -28
  751. package/lib/Toast.js +0 -56
  752. package/lib/Toast.js.map +0 -1
  753. package/lib/Toast.module.scss +0 -53
  754. package/lib/Toggle.d.ts +0 -21
  755. package/lib/Toggle.js +0 -22
  756. package/lib/Toggle.js.map +0 -1
  757. package/lib/Toggle.module.scss +0 -175
  758. package/lib/ToggleFormik.d.ts +0 -9
  759. package/lib/ToggleFormik.js +0 -12
  760. package/lib/ToggleFormik.js.map +0 -1
  761. package/lib/Tooltip.d.ts +0 -41
  762. package/lib/Tooltip.js +0 -140
  763. package/lib/Tooltip.js.map +0 -1
  764. package/lib/Tooltip.module.scss +0 -167
  765. package/lib/TruncatedText.d.ts +0 -13
  766. package/lib/TruncatedText.js +0 -23
  767. package/lib/TruncatedText.js.map +0 -1
  768. package/lib/TruncatedText.module.scss +0 -9
  769. package/lib/utils/test.d.ts +0 -3
  770. package/lib/utils/test.js +0 -8
  771. package/lib/utils/test.js.map +0 -1
  772. /package/lib/{AppHeader → components/AppHeader}/AppHeaderLogo/index.d.ts +0 -0
  773. /package/lib/{AppHeader → components/AppHeader}/AppHeaderLogo/index.js +0 -0
  774. /package/lib/{AppHeader → components/AppHeader}/AppHeaderMenu/index.d.ts +0 -0
  775. /package/lib/{AppHeader → components/AppHeader}/AppHeaderMenu/index.js +0 -0
  776. /package/lib/{AppHeader → components/AppHeader}/EnvironmentBadge/EnvironmentBadge.js +0 -0
  777. /package/lib/{AppHeader → components/AppHeader}/EnvironmentBadge/index.d.ts +0 -0
  778. /package/lib/{AppHeader → components/AppHeader}/EnvironmentBadge/index.js +0 -0
  779. /package/lib/{AppHeader → components/AppHeader}/SelectCluster/SelectCluster.d.ts +0 -0
  780. /package/lib/{AppHeader → components/AppHeader}/SelectCluster/SelectCluster.js +0 -0
  781. /package/lib/{AppHeader → components/AppHeader}/SelectCluster/index.d.ts +0 -0
  782. /package/lib/{AppHeader → components/AppHeader}/SelectCluster/index.js +0 -0
  783. /package/lib/{AppHeader → components/AppHeader}/index.d.ts +0 -0
  784. /package/lib/{AppHeader → components/AppHeader}/index.js +0 -0
  785. /package/lib/{AppSidebar → components/AppSidebar}/AppSidebarFavoriteButton/AppSidebarFavoriteButton.js +0 -0
  786. /package/lib/{AppSidebar → components/AppSidebar}/AppSidebarFavoriteButton/index.d.ts +0 -0
  787. /package/lib/{AppSidebar → components/AppSidebar}/AppSidebarFavoriteButton/index.js +0 -0
  788. /package/lib/{AppSidebar → components/AppSidebar}/AppSidebarFavorites/AppSidebarFavorites.js +0 -0
  789. /package/lib/{AppSidebar → components/AppSidebar}/AppSidebarFavorites/index.d.ts +0 -0
  790. /package/lib/{AppSidebar → components/AppSidebar}/AppSidebarFavorites/index.js +0 -0
  791. /package/lib/{AppSidebar → components/AppSidebar}/AppSidebarItem/index.d.ts +0 -0
  792. /package/lib/{AppSidebar → components/AppSidebar}/AppSidebarItem/index.js +0 -0
  793. /package/lib/{AppSidebar → components/AppSidebar}/AppSidebarMenuItemCounter/AppSidebarMenuItemCounter.js +0 -0
  794. /package/lib/{AppSidebar → components/AppSidebar}/AppSidebarMenuItemCounter/index.d.ts +0 -0
  795. /package/lib/{AppSidebar → components/AppSidebar}/AppSidebarMenuItemCounter/index.js +0 -0
  796. /package/lib/{AppSidebar → components/AppSidebar}/AppSidebarSection/appSidebarSectionContext.js +0 -0
  797. /package/lib/{AppSidebar → components/AppSidebar}/AppSidebarSection/index.d.ts +0 -0
  798. /package/lib/{AppSidebar → components/AppSidebar}/AppSidebarSection/index.js +0 -0
  799. /package/lib/{AppSidebar → components/AppSidebar}/appSidebarContext.js +0 -0
  800. /package/lib/{AppSidebar → components/AppSidebar}/index.d.ts +0 -0
  801. /package/lib/{AppSidebar → components/AppSidebar}/index.js +0 -0
  802. /package/lib/{AutocompleteField.d.ts → components/AutocompleteField.d.ts} +0 -0
  803. /package/lib/{Badge.d.ts → components/Badge.d.ts} +0 -0
  804. /package/lib/{Calendar → components/Calendar}/CalendarRange.d.ts +0 -0
  805. /package/lib/{Calendar → components/Calendar}/CalendarRange.js +0 -0
  806. /package/lib/{Calendar → components/Calendar}/components/CalendarHeader.d.ts +0 -0
  807. /package/lib/{Calendar → components/Calendar}/helpers/consts.d.ts +0 -0
  808. /package/lib/{Calendar → components/Calendar}/helpers/consts.js +0 -0
  809. /package/lib/{CenteredLoader.js → components/CenteredLoader.js} +0 -0
  810. /package/lib/{CircularProgressBar.d.ts → components/CircularProgressBar.d.ts} +0 -0
  811. /package/lib/{CircularProgressBar.js → components/CircularProgressBar.js} +0 -0
  812. /package/lib/{ContextMenu.d.ts → components/ContextMenu.d.ts} +0 -0
  813. /package/lib/{Dialog.d.ts → components/Dialog.d.ts} +0 -0
  814. /package/lib/{EmptyState.js → components/EmptyState.js} +0 -0
  815. /package/lib/{FieldHeader.js → components/FieldHeader.js} +0 -0
  816. /package/lib/{Notification.d.ts → components/Notification.d.ts} +0 -0
  817. /package/lib/{Notification.js → components/Notification.js} +0 -0
  818. /package/lib/{NumberBadge.d.ts → components/NumberBadge.d.ts} +0 -0
  819. /package/lib/{NumberBadge.js → components/NumberBadge.js} +0 -0
  820. /package/lib/{Overlay.js → components/Overlay.js} +0 -0
  821. /package/lib/{Pagination.d.ts → components/Pagination.d.ts} +0 -0
  822. /package/lib/{RadioFormik.d.ts → components/RadioFormik.d.ts} +0 -0
  823. /package/lib/{RadioFormik.js → components/RadioFormik.js} +0 -0
  824. /package/lib/{RadioGroupContext.js → components/RadioGroupContext.js} +0 -0
  825. /package/lib/{SegmentedControl.js → components/SegmentedControl.js} +0 -0
  826. /package/lib/{Select → components/Select}/Common.d.ts +0 -0
  827. /package/lib/{Select → components/Select}/index.d.ts +0 -0
  828. /package/lib/{Select → components/Select}/index.js +0 -0
  829. /package/lib/{SimpleTable.js → components/SimpleTable.js} +0 -0
  830. /package/lib/{Table → components/Table}/TableContent.module.scss +0 -0
  831. /package/lib/{Table → components/Table}/constants.d.ts +0 -0
  832. /package/lib/{Table → components/Table}/constants.js +0 -0
  833. /package/lib/{Table → components/Table}/features/columnsSelection/ContextMenu/ContextMenu.js +0 -0
  834. /package/lib/{Table → components/Table}/features/columnsSelection/ContextMenu/ContextMenu.module.scss +0 -0
  835. /package/lib/{Table → components/Table}/features/columnsSelection/ContextMenu/index.d.ts +0 -0
  836. /package/lib/{Table → components/Table}/features/columnsSelection/ContextMenu/index.js +0 -0
  837. /package/lib/{Table → components/Table}/features/columnsSelection/helpers.d.ts +0 -0
  838. /package/lib/{Table → components/Table}/features/columnsSelection/helpers.js +0 -0
  839. /package/lib/{Table → components/Table}/features/columnsSelection/index.d.ts +0 -0
  840. /package/lib/{Table → components/Table}/features/columnsSelection/index.js +0 -0
  841. /package/lib/{Tabs → components/Tabs}/TabContext.d.ts +0 -0
  842. /package/lib/{Tabs → components/Tabs}/TabContext.js +0 -0
  843. /package/lib/{Tabs → components/Tabs}/TabList.d.ts +0 -0
  844. /package/lib/{Tabs → components/Tabs}/TabList.module.scss +0 -0
  845. /package/lib/{Tabs → components/Tabs}/TabPanel.module.scss +0 -0
  846. /package/lib/{Tabs → components/Tabs}/index.d.ts +0 -0
  847. /package/lib/{Tabs → components/Tabs}/index.js +0 -0
  848. /package/lib/{TextAreaFormik.js → components/TextAreaFormik.js} +0 -0
  849. /package/lib/{TimeField.module.scss → components/TimeField.module.scss} +0 -0
  850. /package/lib/{TimeFieldFormik.js → components/TimeFieldFormik.js} +0 -0
package/README.md CHANGED
@@ -1,13 +1,230 @@
1
- # `@hazelcast/ui`
1
+ # Hazelcast Hive
2
2
 
3
- Hazelcast design system components. Available live at https://master--5f80b6aa3ceb290022dfea61.chromatic.com/
3
+ ![](./hive.png)
4
+
5
+ Design system built with A11Y in mind. Developed as a [Lerna](https://lerna.js.org/) monorepo with shared frontend libraries for a variety of Hazelcast product offerings.
6
+ **Design system is available live at URL**: https://5f80b6aa3ceb290022dfea61-tultjjrhhk.chromatic.com/?path=/story/getting-started-intro--page
4
7
 
5
8
  <!-- START doctoc generated TOC please keep comment here to allow auto update -->
6
9
  <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
7
10
 
8
- **Table of Contents** _generated with [DocToc](https://github.com/thlorenz/doctoc)_
9
-
10
- - [`@hazelcast/ui`](#hazelcastui)
11
- - [Usage](#usage)
11
+ - [Installation](#installation)
12
+ - [Usage](#usage)
13
+ - [Global CSS](#global-css)
14
+ - [SSR](#ssr)
15
+ - [Stable IDs](#stable-ids)
16
+ - [Project structure](#project-structure)
17
+ - [Automated visual regression testing](#automated-visual-regression-testing)
18
+ - [How-to](#how-to)
19
+ - [Install PnpM](#install-pnpm)
20
+ - [Setup](#setup)
21
+ - [Under the hood](#under-the-hood)
22
+ - [Deploy](#deploy)
23
+ - [Add a new shared dependency](#add-a-new-shared-dependency)
24
+ - [Add a new local dependency (for one package only)](#add-a-new-local-dependency-for-one-package-only)
25
+ - [Make changes to several packages and test it](#make-changes-to-several-packages-and-test-it)
26
+ - [Run storybook for development](#run-storybook-for-development)
27
+ - [Run linting](#run-linting)
28
+ - [Run unit tests](#run-unit-tests)
29
+ - [Run visual regression tests](#run-visual-regression-tests)
30
+ - [Approve the updated for visual regression test screenshots](#approve-the-updated-for-visual-regression-test-screenshots)
31
+ - [Run all checks at once](#run-all-checks-at-once)
32
+ - [Releasing a new version](#releasing-a-new-version)
12
33
 
13
34
  <!-- END doctoc generated TOC please keep comment here to allow auto update -->
35
+
36
+ ## Installation
37
+
38
+ 1. `npm i @hazelcast/ui` (`npm i @hazelcast/ui@next` - canary version) - set of Hive UI components
39
+ 2. `npm i @hazelcast/services` (`npm i @hazelcast/services@next` - canary version) - Hive services
40
+ 3. `npm i @hazelcast/helpers` (`npm i @hazelcast/helpers@next` - canary version) - Hiver helpers
41
+ 4. `npm i -D @hazelcast/test-helpers` (`npm i -D @hazelcast/test-helpers@next` - canary version) - Hive test helpers
42
+
43
+ ## Usage
44
+
45
+ Be aware, that we compile our TypeScript code to the modern `ES2018` JavaScript. To run it in legacy environment, please, configure webpack or any other bundler accordingly.
46
+ Moreover, we do not do anything about styles (`scss` in our case). We just import them as modules. Please, configure webpack or any other bundler to handle them.
47
+
48
+ The latest version of the design system is accessible at https://master--5f80b6aa3ceb290022dfea61.chromatic.com/.
49
+
50
+ ## Global CSS
51
+
52
+ This library is used from Next.js projects.
53
+ Individual projects should transpile @hazelcast/ui.
54
+ However, Next.js still [forbids](https://github.com/vercel/next.js/blob/master/errors/css-global.md) to import files with .css / .scss extension unless they're in \_app.tsx
55
+
56
+ So please make sure to import the following global styles in your projects if you need them.
57
+
58
+ ```typescript
59
+ import '@hazelcast/ui/styles/datepicker.scss'
60
+ ```
61
+
62
+ or
63
+
64
+ ```typescript
65
+ import '@hazelcast/ui/styles/datepicker.module.scss'
66
+ ```
67
+
68
+ if you need a CSS modules version
69
+
70
+ ## SSR
71
+
72
+ ### Stable IDs
73
+
74
+ We use [`react-uid`](https://github.com/thearnica/react-uid) to generate stable IDs. you'll need `UIDReset` and `UIDFork` (optionally) to properly handle SSR. See the [README](https://github.com/thearnica/react-uid#code-splitting).
75
+
76
+ ## Project structure
77
+
78
+ `packages` contains a list of published packages:
79
+
80
+ - `helpers` (full name `@hazelcast/helpers`)
81
+ - `services` (full name `@hazelcast/services`)
82
+ - `test-helpers` (full name `@hazelcast/test-helpers`)
83
+ - `ui` (full name `@hazelcast/ui`)
84
+
85
+ ### Automated visual regression testing
86
+
87
+ Uses stories from [Storybook](https://storybook.js.org/) as test cases. In other words, any story is going to result in a set of screenshots. Moreover, any story is required to have an associated set of screenshots. Based on [Loki](https://loki.js.org/), which uses headless Chrome to render the screenshots in Docker.
88
+
89
+ ## How-to
90
+
91
+ ### Install [PnpM](https://pnpm.io/installation)
92
+
93
+ ```
94
+ npm install -g pnpm
95
+ ```
96
+
97
+ ### Setup
98
+
99
+ ```
100
+ pnpm i
101
+ ```
102
+
103
+ #### Under the hood
104
+
105
+ It runs a regular `pnpm install` and executes a `postinstall` hook. In that hook it runs:
106
+
107
+ - `pnpm run compile`
108
+ Our child packages are written in TypeScript. To import them from `node_modules` in other packages they must be compiled to JavaScript first.
109
+
110
+ ### Deploy
111
+
112
+ Every commit to `master` is automatically deployed new canary version of the package (`@hazelcast/xxx@next`) by [Hazelcast Jenkins](http://jenkins.hazelcast.com/view/Frontend%20Shared/job/frontend-shared-master/).
113
+
114
+ ### Add a new shared dependency
115
+
116
+ In the root folder run
117
+
118
+ ```
119
+ pnpm add [-D] dependency-name
120
+ ```
121
+
122
+ ### Add a new local dependency (for one package only)
123
+
124
+ In the root folder run (replace @hazelcast/ui with @hazelcast/helpers, @hazelcast/test-helpers or @hazelcast/services if needed)
125
+
126
+ ```
127
+ pnpm add --filter @hazelcast/ui dependency-name
128
+ ```
129
+
130
+ ### Make changes to several packages and test it
131
+
132
+ When Lerna does the bootstrapping, it creates symlinks to the local packages other packages depend on. In our case, `@hazelcast/ui` depends on `@hazelcast/helpers`. Lerna is going to create a symlink `./packages/ui/node_modules/@hazelcast/helpers` that points to `./packages/helpers`. When we change our TypeScript code, the associated compiled JavaScript is not updated automatically. So if we change something in `@hazelcast/helpers` and we want to test how it works in `@hazelcast/ui`, we need to compile our changes in `@hazelcast/helpers`. To do that we have two options:
133
+
134
+ 1. Compile all packages with `pnpm run compile` in the root directory
135
+ 2. Compile a specific package, e.g. `cd packages/helpers && pnpm run compile`
136
+
137
+ Now we can use the updated code in `@hazelcast/ui`.
138
+
139
+ ### Run storybook for development
140
+
141
+ In the root directory
142
+
143
+ ```
144
+ pnpm start
145
+ ```
146
+
147
+ ### Run linting
148
+
149
+ In the root directory
150
+
151
+ ```
152
+ pnpm run lint
153
+ ```
154
+
155
+ ### Run unit tests
156
+
157
+ In the root directory
158
+
159
+ ```
160
+ pnpm test
161
+ ```
162
+
163
+ ### Run visual regression tests
164
+
165
+ In the root directory
166
+
167
+ ```
168
+ pnpm run build-storybook
169
+ pnpm run test:visual
170
+ ```
171
+
172
+ ### Approve the updated for visual regression test screenshots
173
+
174
+ Say, we have changed something in our components.
175
+ First we need to run the visual regression tests to make sure that the change affected how the component is displayed.
176
+
177
+ ```
178
+ pnpm run build-storybook
179
+ pnpm run test:visual
180
+ ```
181
+
182
+ Now, if the test suite failed, we need to go to `packages/ui/.loki` and manually review the screenshots in the `current` folder and the diff in the `difference` folder. If we like what we see, we need to run `pnpm run test:visual:approve` in the `packages/ui` folder. It will update the reference screenshots.
183
+
184
+ ### Run all checks at once
185
+
186
+ ```
187
+ pnpm run verify-all
188
+ ```
189
+
190
+ If you PR passes this check locally, it is almost guaranteed to pass it on the CI.
191
+
192
+ ## Releasing a new version
193
+
194
+ Assuming you're on latest master and the build is alright (`pnpm run build` runs without errors).
195
+
196
+ 1. First we create a release branch for the next version locally (in this case v1.1.0):
197
+
198
+ ```
199
+ git checkout -b release/v1.1.0
200
+ ```
201
+
202
+ We push this new branch to Github:
203
+
204
+ ```
205
+ git push -u origin release/v1.1.0
206
+ ```
207
+
208
+ 2. Then we run:
209
+
210
+ ```
211
+ pnpm exec lerna version 1.1.0
212
+ ```
213
+
214
+ This updates the package versions (in package.json, package-lock.json), creates a commit with necessary tags and pushes to Github automatically.
215
+
216
+ At this point you should create a pull request and merge the new version branch (v1.1.0) to master.
217
+
218
+ 3. Now, after merging this pull request, we have the latest version available on GitHub. And it will be automatically published to npm with the required tags and releases;
219
+
220
+ Wait for a few seconds/minutes (depends on how busy npm is at the time), and you should see the latest version we just released in the list returned by:
221
+
222
+ ```
223
+ pnpm view @hazelcast/ui versions
224
+ ```
225
+
226
+ If something went wrong and npm did not create a new release, then you can manually inform it about our new release:
227
+
228
+ ```
229
+ pnpm exec lerna publish from-git
230
+ ```
@@ -0,0 +1,33 @@
1
+ import React, { FC, ReactNode } from 'react';
2
+ import { PartialRequired } from '../../src';
3
+ import { LinkProps } from './Link';
4
+ import { ToastType } from './Toast';
5
+ import { IconProps } from './Icon';
6
+ type AlertAccessibleActionButtonIconProps = {
7
+ icon: IconProps['icon'];
8
+ ariaLabel: string;
9
+ } | {
10
+ icon?: never;
11
+ ariaLabel?: never;
12
+ };
13
+ export type AlertActionButton = {
14
+ text: string;
15
+ onClick: (e: React.MouseEvent<HTMLButtonElement>) => void;
16
+ } & AlertAccessibleActionButtonIconProps;
17
+ export type AlertActionLink = {
18
+ text: string;
19
+ } & Omit<PartialRequired<LinkProps, 'href'>, 'children' | 'size'>;
20
+ export type AlertAction = AlertActionButton | AlertActionLink;
21
+ export type AlertProps = {
22
+ type: ToastType;
23
+ title?: ReactNode;
24
+ content?: ReactNode;
25
+ actions?: AlertAction[];
26
+ className?: string;
27
+ titleClassName?: string;
28
+ bodyClassName?: string;
29
+ dismissableByEscKey?: boolean;
30
+ closeToast?: (e?: React.MouseEvent<HTMLButtonElement | HTMLAnchorElement>) => void;
31
+ };
32
+ export declare const Alert: FC<AlertProps>;
33
+ export {};
@@ -0,0 +1,51 @@
1
+ import React, { useCallback } from 'react';
2
+ import cn from 'classnames';
3
+ import { ChevronRight, X } from 'react-feather';
4
+ import useKey from 'react-use/lib/useKey';
5
+ import { escKeyFilterPredicate } from '../utils/keyboard';
6
+ import { Link } from './Link';
7
+ import { Button } from './Button';
8
+ import { ToastIcon } from './Toast';
9
+ import { Icon } from './Icon';
10
+ import { IconButton } from './IconButton';
11
+ import styles from './Alert.module.scss';
12
+ const isAlertActionButton = (action) => action.onClick !== undefined;
13
+ export const Alert = ({ type, title, content, actions, className, dismissableByEscKey = true, closeToast, titleClassName, bodyClassName, }) => {
14
+ const { icon, ariaLabel } = ToastIcon[type];
15
+ const closeByEsc = useCallback((nativeEvent) => {
16
+ if (dismissableByEscKey) {
17
+ closeToast === null || closeToast === void 0 ? void 0 : closeToast();
18
+ nativeEvent.stopImmediatePropagation();
19
+ }
20
+ }, [closeToast, dismissableByEscKey]);
21
+ useKey(escKeyFilterPredicate, closeByEsc, { options: { once: true } }, [closeByEsc, dismissableByEscKey]);
22
+ return (React.createElement("div", { "data-test": "alert", className: cn(styles.alert, {
23
+ [styles.success]: type === 'success',
24
+ [styles.info]: type === 'info',
25
+ [styles.warning]: type === 'warning',
26
+ [styles.critical]: type === 'critical',
27
+ }, className) },
28
+ React.createElement(Icon, { "data-test": "alert-icon", ariaLabel: ariaLabel, icon: icon, className: styles.icon }),
29
+ React.createElement("div", { className: styles.rightSide },
30
+ React.createElement("div", { className: styles.header },
31
+ title && (React.createElement("div", { "data-test": "alert-title", className: cn(styles.title, titleClassName) }, title)),
32
+ !!closeToast && React.createElement(IconButton, { "data-test": "alert-close", kind: "transparent", ariaLabel: "Close icon", icon: X, onClick: closeToast })),
33
+ React.createElement("div", { "data-test": "alert-body", className: cn(styles.body, bodyClassName) },
34
+ content && React.createElement("div", { "data-test": "alert-content" }, content),
35
+ (actions === null || actions === void 0 ? void 0 : actions.length) ? (React.createElement("div", { "data-test": "alert-actions", className: styles.actions }, actions.map((action, aI) => {
36
+ if (isAlertActionButton(action)) {
37
+ const { text, icon, ariaLabel, onClick } = action;
38
+ const iconLeftProps = icon && ariaLabel
39
+ ? {
40
+ iconLeft: icon,
41
+ iconLeftAriaLabel: ariaLabel,
42
+ iconLeftClassName: styles.actionButtonIcon,
43
+ }
44
+ : {};
45
+ return (React.createElement(Button, { key: aI, variant: "text", capitalize: false, className: cn(styles.action, styles.actionButton), bodyClassName: styles.actionButtonBody, onClick: onClick, ...iconLeftProps }, text));
46
+ }
47
+ const { text, href, ...props } = action;
48
+ return (React.createElement(Link, { key: aI, href: href, icon: ChevronRight, ariaLabel: "Icon chevron right", className: styles.action, size: "small", ...props }, text));
49
+ }))) : null))));
50
+ };
51
+ //# sourceMappingURL=Alert.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Alert.js","sourceRoot":"","sources":["../../src/components/Alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAiB,WAAW,EAAE,MAAM,OAAO,CAAA;AACzD,OAAO,EAAE,MAAM,YAAY,CAAA;AAC3B,OAAO,EAAE,YAAY,EAAE,CAAC,EAAE,MAAM,eAAe,CAAA;AAI/C,OAAO,MAAM,MAAM,sBAAsB,CAAA;AACzC,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAA;AACzD,OAAO,EAAE,IAAI,EAAa,MAAM,QAAQ,CAAA;AACxC,OAAO,EAAE,MAAM,EAAiC,MAAM,UAAU,CAAA;AAChE,OAAO,EAAE,SAAS,EAAa,MAAM,SAAS,CAAA;AAC9C,OAAO,EAAE,IAAI,EAAa,MAAM,QAAQ,CAAA;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,OAAO,MAAM,MAAM,qBAAqB,CAAA;AA4BxC,MAAM,mBAAmB,GAAG,CAAC,MAAmB,EAA+B,EAAE,CAAE,MAA4B,CAAC,OAAO,KAAK,SAAS,CAAA;AAcrI,MAAM,CAAC,MAAM,KAAK,G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AI,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAA;oBAEvC,OAAO,CACL,oBAAC,IAAI,IACH,GAAG,EAAE,EAAE,EACP,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,YAAY,EAClB,SAAS,EAAC,oBAAoB,EAC9B,SAAS,EAAE,MAAM,CAAC,MAAM,EACxB,IAAI,EAAC,OAAO,KACR,KAAK,IAER,IAAI,CACA,CACR,CAAA;gBACH,CAAC,CAAC,CACE,CACP,CAAC,CAAC,CAAC,IAAI,CACJ,CACF,CACF,CACP,CAAA;AACH,CAAC,CAAA"}
@@ -0,0 +1,141 @@
1
+ @use '../../styles/constants' as c;
2
+ @use '../../styles/helpers' as h;
3
+
4
+ // TODO: potential max-height
5
+ .alert {
6
+ display: inline-flex;
7
+ padding: c.$grid * 2.5;
8
+ width: c.$alertWidth;
9
+ border-left: 5px solid transparent;
10
+
11
+ .icon {
12
+ flex-shrink: 0;
13
+ margin-right: c.$grid * 2.5;
14
+ }
15
+
16
+ .rightSide {
17
+ flex-grow: 1;
18
+ display: flex;
19
+ flex-direction: column;
20
+ justify-content: center;
21
+ }
22
+
23
+ .header {
24
+ display: flex;
25
+ flex-direction: row;
26
+ align-items: center;
27
+
28
+ .title {
29
+ flex: 1 0 auto;
30
+ margin-right: c.$grid * 8.5;
31
+
32
+ @include c.typographyBodyNormal('bold');
33
+ @include h.overflowEllipsis;
34
+ }
35
+ }
36
+
37
+ /* Theme - Success */
38
+ &.success {
39
+ color: c.$colorText;
40
+ border-color: c.$colorSuccess;
41
+ background-color: c.$colorSuccessLight;
42
+
43
+ .icon {
44
+ color: c.$colorText;
45
+ }
46
+
47
+ .actions {
48
+ .action {
49
+ color: c.$colorText;
50
+ }
51
+ }
52
+ }
53
+
54
+ /* Theme - Info */
55
+ &.info {
56
+ color: c.$colorText;
57
+ border-color: c.$colorInfo;
58
+ background-color: c.$colorInfoLight;
59
+
60
+ .icon {
61
+ color: c.$colorText;
62
+ }
63
+
64
+ .actions {
65
+ .action {
66
+ color: c.$colorText;
67
+ }
68
+ }
69
+ }
70
+
71
+ /* Theme - Warning */
72
+ &.warning {
73
+ color: c.$colorText;
74
+ border-color: c.$colorWarning;
75
+ background-color: c.$colorWarningLight;
76
+
77
+ .icon {
78
+ color: c.$colorText;
79
+ }
80
+
81
+ .actions {
82
+ .action {
83
+ color: c.$colorText;
84
+ }
85
+ }
86
+ }
87
+
88
+ /* Theme - Critical */
89
+ &.critical {
90
+ color: c.$colorText;
91
+ border-color: c.$colorError;
92
+ background-color: c.$colorErrorLight;
93
+
94
+ .icon {
95
+ color: c.$colorText;
96
+ }
97
+
98
+ .actions {
99
+ .action {
100
+ color: c.$colorText;
101
+ }
102
+ }
103
+ }
104
+
105
+ .body {
106
+ padding-right: c.$grid * 8.5;
107
+
108
+ @include c.typographyBodySmall;
109
+
110
+ .actions {
111
+ display: flex;
112
+ margin: c.$grid * 3 0 c.$grid;
113
+
114
+ .action {
115
+ &:not(:last-child) {
116
+ margin-right: c.$grid * 6;
117
+ }
118
+ }
119
+
120
+ .actionButton {
121
+ height: auto;
122
+
123
+ @include c.typographyBodySmall;
124
+
125
+ &:hover,
126
+ &.hover {
127
+ /* doiuse-disable text-decoration */
128
+ text-decoration: underline solid;
129
+ }
130
+
131
+ .actionButtonBody {
132
+ padding: 0;
133
+ }
134
+
135
+ .actionButtonIcon {
136
+ margin-right: c.$grid * 1.5;
137
+ }
138
+ }
139
+ }
140
+ }
141
+ }
@@ -0,0 +1,16 @@
1
+ import React, { ReactNode } from 'react';
2
+ import { DataTestProp } from '../../../src';
3
+ import { AppHeaderMenuProps } from './AppHeaderMenu';
4
+ import { AppHeaderLogoProps } from './AppHeaderLogo';
5
+ import { SelectClusterProps } from './SelectCluster';
6
+ export interface AppHeaderProps extends DataTestProp {
7
+ name: ReactNode;
8
+ className?: string;
9
+ children?: ReactNode;
10
+ asideContent?: ReactNode;
11
+ environment?: 'production';
12
+ logoProps: AppHeaderLogoProps;
13
+ clusterSelectProps?: SelectClusterProps;
14
+ menuContent?: AppHeaderMenuProps['children'];
15
+ }
16
+ export declare const AppHeader: ({ name, className, children, environment, clusterSelectProps, logoProps, menuContent, asideContent, "data-test": dataTest, }: AppHeaderProps) => React.JSX.Element;
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import cls from 'classnames';
3
+ import { EnvironmentBadge } from './EnvironmentBadge';
4
+ import { AppHeaderMenu } from './AppHeaderMenu';
5
+ import { AppHeaderLogo } from './AppHeaderLogo';
6
+ import { SelectCluster } from './SelectCluster';
7
+ import styles from './AppHeader.module.scss';
8
+ export const AppHeader = ({ name, className, children, environment, clusterSelectProps, logoProps, menuContent, asideContent, 'data-test': dataTest = 'app-header', }) => (React.createElement("header", { "data-test": dataTest, className: cls(styles.root, className) },
9
+ React.createElement(AppHeaderLogo, { ...logoProps }),
10
+ React.createElement("span", { className: styles.name }, name),
11
+ clusterSelectProps && React.createElement(SelectCluster, { ...clusterSelectProps }),
12
+ children,
13
+ environment && React.createElement(EnvironmentBadge, { environment: environment }),
14
+ React.createElement("div", { className: styles.aside },
15
+ asideContent,
16
+ menuContent && React.createElement(AppHeaderMenu, { separator: !!asideContent }, menuContent))));
17
+ //# sourceMappingURL=AppHeader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AppHeader.js","sourceRoot":"","sources":["../../../src/components/AppHeader/AppHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAA;AACxC,OAAO,GAAG,MAAM,YAAY,CAAA;AAG5B,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,EAAE,aAAa,EAAsB,MAAM,iBAAiB,CAAA;AACnE,OAAO,EAAE,aAAa,EAAsB,MAAM,iBAAiB,CAAA;AACnE,OAAO,EAAE,aAAa,EAAsB,MAAM,iBAAiB,CAAA;AAEnE,OAAO,MAAM,MAAM,yBAAyB,CAAA;AAa5C,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,EACxB,IAAI,EACJ,SAAS,EACT,QAAQ,EACR,WAAW,EACX,kBAAkB,EAClB,SAAS,EACT,WAAW,EACX,YAAY,EACZ,WAAW,EAAE,QAAQ,GAAG,YAAY,GACrB,EAAE,EAAE,CAAC,CACpB,6CAAmB,QAAQ,EAAE,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE,SAAS,CAAC;IACjE,oBAAC,aAAa,OAAK,SAAS,GAAI;IAChC,8BAAM,SAAS,EAAE,MAAM,CAAC,IAAI,IAAG,IAAI,CAAQ;IAC1C,kBAAkB,IAAI,oBAAC,aAAa,OAAK,kBAAkB,GAAI;IAC/D,QAAQ;IACR,WAAW,IAAI,oBAAC,gBAAgB,IAAC,WAAW,EAAE,WAAW,GAAI;IAC9D,6BAAK,SAAS,EAAE,MAAM,CAAC,KAAK;QACzB,YAAY;QACZ,WAAW,IAAI,oBAAC,aAAa,IAAC,SAAS,EAAE,CAAC,CAAC,YAAY,IAAG,WAAW,CAAiB,CACnF,CACC,CACV,CAAA"}
@@ -0,0 +1,29 @@
1
+ @use '../../../styles/constants' as c;
2
+
3
+ .root {
4
+ background: c.$colorBrandSecondary;
5
+ color: c.$colorNeutralLighter;
6
+ display: flex;
7
+ align-items: center;
8
+ height: 59px;
9
+ box-sizing: border-box;
10
+ flex-direction: row;
11
+ font-size: c.$fontSizeBodySmall;
12
+ width: 100%;
13
+ padding: 0 c.$grid * 5;
14
+ overflow-x: auto;
15
+ flex-shrink: 0;
16
+ gap: c.$grid * 7.5;
17
+ }
18
+
19
+ .name {
20
+ color: c.$colorBrandPrimary;
21
+ font-weight: 600;
22
+ }
23
+
24
+ .aside {
25
+ display: flex;
26
+ align-items: center;
27
+ margin-left: auto;
28
+ gap: c.$grid * 4;
29
+ }
@@ -0,0 +1,12 @@
1
+ import React, { ComponentType, HTMLAttributes, ImgHTMLAttributes, ReactNode } from 'react';
2
+ import { DataTestProp } from '../../../../src';
3
+ export interface LinkProps extends DataTestProp {
4
+ className?: string;
5
+ children: ReactNode;
6
+ }
7
+ export interface AppHeaderLogoProps {
8
+ wrapperProps?: HTMLAttributes<HTMLDivElement>;
9
+ imgProps?: ImgHTMLAttributes<HTMLImageElement>;
10
+ LinkComponent: ComponentType<LinkProps>;
11
+ }
12
+ export declare const AppHeaderLogo: ({ imgProps, wrapperProps, LinkComponent }: AppHeaderLogoProps) => React.JSX.Element;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import cls from 'classnames';
3
+ import styles from './AppHeaderLogo.module.scss';
4
+ export const AppHeaderLogo = ({ imgProps, wrapperProps, LinkComponent }) => (React.createElement("div", { ...wrapperProps, className: cls(styles.root, wrapperProps === null || wrapperProps === void 0 ? void 0 : wrapperProps.className) },
5
+ React.createElement(LinkComponent, { className: styles.link, "data-test": "logo-link" },
6
+ React.createElement("img", { alt: "Home", src: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTU1IiBoZWlnaHQ9IjIwIiB2aWV3Qm94PSIwIDAgMTU1IDIwIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNOTQuNDkwOSAzLjQzNzYxQzk1LjUxNTEgMi45MTkwOSA5Ni42MjY5IDIuNjU1MzUgOTcuNzk2NyAyLjY1NTM1Qzk5LjA0NjQgMi42NTUzNSAxMDAuMjMzIDIuOTQ4NTQgMTAxLjMzNiAzLjUzNDkyQzEwMS42MDQgMy42NTc4MyAxMDEuODI1IDMuNzE2NzIgMTAyLjAxMyAzLjcxNjcyQzEwMi4zMjQgMy43MTY3MiAxMDIuNTg0IDMuNTg5OTcgMTAyLjc2MyAzLjM1MDU1QzEwMi45MjkgMy4xMjkwNiAxMDMuMDE0IDIuODY0MDQgMTAzLjAxNCAyLjU2MDYxQzEwMy4wMTQgMS45OTM0MyAxMDIuNzgyIDEuNTU1NTcgMTAyLjMyMyAxLjI1ODU0QzEwMS42ODcgMC44NTc4MDMgMTAwLjk2IDAuNTQ0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NTIuNzI1IDIuOTEyNzQgMTUzLjMxIDIuMzMyNzYgMTUzLjMxIDEuNjE1NzlDMTUzLjMxIDAuODk4ODI1IDE1Mi43MjYgMC4zMTg4NDggMTUyLjAwNSAwLjMxODg0OFYwLjMyMDEyOFoiIGZpbGw9IiNGMEY2RkYiLz4KPC9zdmc+Cg==", ...imgProps }))));
7
+ //# sourceMappingURL=AppHeaderLogo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AppHeaderLogo.js","sourceRoot":"","sources":["../../../../src/components/AppHeader/AppHeaderLogo/AppHeaderLogo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsE,MAAM,OAAO,CAAA;AAC1F,OAAO,GAAG,MAAM,YAAY,CAAA;AAG5B,OAAO,MAAM,MAAM,6BAA6B,CAAA;AAahD,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,EAAE,QAAQ,EAAE,YAAY,EAAE,aAAa,EAAsB,EAAE,EAAE,CAAC,CAC9F,gCAAS,YAAY,EAAE,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,SAAS,CAAC;IACzE,oBAAC,aAAa,IAAC,SAAS,EAAE,MAAM,CAAC,IAAI,eAAY,WAAW;QAC1D,6BACE,GAAG,EAAC,MAAM,EACV,GAAG,EAAC,g7RAAg7R,KACh7R,QAAQ,GACZ,CACY,CACZ,CACP,CAAA"}
@@ -0,0 +1,29 @@
1
+ @use '../../../../styles/helpers' as h;
2
+
3
+ .root {
4
+ flex: 0 0 auto;
5
+ display: flex;
6
+ justify-content: center;
7
+ align-items: center;
8
+ height: 20px;
9
+ overflow: hidden;
10
+
11
+ .link {
12
+ width: 100%;
13
+ height: 100%;
14
+ max-height: 100%;
15
+
16
+ &:focus {
17
+ outline: none;
18
+
19
+ @include h.outlineSimple;
20
+ }
21
+
22
+ img {
23
+ height: auto;
24
+ width: auto;
25
+ max-width: 100%;
26
+ max-height: 100%;
27
+ }
28
+ }
29
+ }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/AppHeader/AppHeaderLogo/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA"}
@@ -0,0 +1,8 @@
1
+ import React, { ReactNode } from 'react';
2
+ export interface AppHeaderMenuProps {
3
+ separator?: boolean;
4
+ children: (props: {
5
+ onClose: () => void;
6
+ }) => ReactNode;
7
+ }
8
+ export declare const AppHeaderMenu: ({ separator, children }: AppHeaderMenuProps) => React.JSX.Element;
@@ -0,0 +1,15 @@
1
+ import React, { useState } from 'react';
2
+ import { Menu as MenuIcon } from 'react-feather';
3
+ import cn from 'classnames';
4
+ import { Button } from '../../Button';
5
+ import { Popover } from '../../Popover';
6
+ import { useOpenCloseState } from '../../../hooks';
7
+ import styles from './AppHeaderMenu.module.scss';
8
+ export const AppHeaderMenu = ({ separator, children }) => {
9
+ const [anchorElement, setAnchorElement] = useState();
10
+ const { isOpen, toggle, close } = useOpenCloseState();
11
+ return (React.createElement("div", { className: cn(styles.root, { [styles.separator]: separator }) },
12
+ React.createElement(Button, { variant: "text", color: "light", iconSize: "medium", onClick: toggle, capitalize: false, iconRight: MenuIcon, ref: setAnchorElement, "data-test": "app-header-menu-toggle", iconRightAriaLabel: "menu icon", className: styles.toggleButton }, "Menu"),
13
+ React.createElement(Popover, { open: isOpen, anchorElement: anchorElement, onClose: close, className: styles.content }, children({ onClose: close }))));
14
+ };
15
+ //# sourceMappingURL=AppHeaderMenu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AppHeaderMenu.js","sourceRoot":"","sources":["../../../../src/components/AppHeader/AppHeaderMenu/AppHeaderMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAa,QAAQ,EAAE,MAAM,OAAO,CAAA;AAClD,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,eAAe,CAAA;AAChD,OAAO,EAAE,MAAM,YAAY,CAAA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