@jetbrains/ring-ui 5.0.0-beta.9 → 5.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (409) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/components/alert/alert.css +1 -1
  3. package/components/alert-service/alert-service.js +1 -1
  4. package/components/analytics/analytics__ga-plugin.d.ts +1 -1
  5. package/components/analytics/analytics__ga-plugin.js +12 -3
  6. package/components/auth/auth__core.js +5 -1
  7. package/components/auth-dialog-service/auth-dialog-service.js +1 -1
  8. package/components/avatar/avatar.d.ts +1 -0
  9. package/components/avatar/fallback-avatar.js +2 -2
  10. package/components/button/button.css +2 -2
  11. package/components/button/button.d.ts +2 -1
  12. package/components/button-group/button-group.css +4 -2
  13. package/components/checkbox/checkbox.css +8 -12
  14. package/components/checkbox/checkbox.js +1 -1
  15. package/components/checkbox-ng/checkbox-ng.js +1 -1
  16. package/components/confirm-service/confirm-service.js +1 -1
  17. package/components/data-list/data-list.d.ts +4 -8
  18. package/components/date-picker/date-picker.css +1 -0
  19. package/components/date-picker/date-popup.js +0 -1
  20. package/components/dialog/dialog.d.ts +1 -1
  21. package/components/dropdown/dropdown.d.ts +2 -2
  22. package/components/global/angular-component-factory.js +1 -1
  23. package/components/global/promise-with-timeout.d.ts +2 -1
  24. package/components/global/promise-with-timeout.js +5 -2
  25. package/components/global/react-render-adapter.d.ts +29 -0
  26. package/components/global/react-render-adapter.js +36 -0
  27. package/components/global/rerender-hoc.d.ts +5 -9
  28. package/components/global/rerender-hoc.js +4 -2
  29. package/components/global/theme.js +11 -4
  30. package/components/global/variables.css +0 -1
  31. package/components/global/variables.d.ts +0 -1
  32. package/components/global/variables_dark.css +0 -1
  33. package/components/header/profile.d.ts +3 -3
  34. package/components/input/input.css +1 -1
  35. package/components/input/input.d.ts +3 -1
  36. package/components/input/input.js +1 -1
  37. package/components/island/adaptive-island-hoc.d.ts +4 -8
  38. package/components/island/content.d.ts +33 -2
  39. package/components/island/content.js +5 -4
  40. package/components/island/island.d.ts +4 -8
  41. package/components/link/clickableLink.d.ts +1 -1
  42. package/components/link/link.d.ts +14 -22
  43. package/components/link/link.js +2 -2
  44. package/components/list/consts.d.ts +3 -1
  45. package/components/list/list.css +1 -0
  46. package/components/list/list.d.ts +2 -0
  47. package/components/list/list.js +12 -13
  48. package/components/list/list__link.js +2 -2
  49. package/components/login-dialog/service.js +1 -1
  50. package/components/message/message.css +12 -26
  51. package/components/message/message.js +27 -14
  52. package/components/popup/popup.d.ts +7 -1
  53. package/components/popup/popup.js +4 -3
  54. package/components/popup/popup.target.d.ts +1 -1
  55. package/components/popup/position.d.ts +1 -1
  56. package/components/popup/position.js +2 -2
  57. package/components/popup-menu/popup-menu.d.ts +1 -0
  58. package/components/query-assist/query-assist.d.ts +5 -9
  59. package/components/query-assist/query-assist.js +2 -2
  60. package/components/radio/radio.d.ts +1 -1
  61. package/components/select/select.css +4 -1
  62. package/components/select/select.d.ts +12 -14
  63. package/components/select/select.js +20 -17
  64. package/components/select/select__popup.d.ts +4 -1
  65. package/components/select/select__popup.js +4 -3
  66. package/components/select-ng/select-ng.js +16 -5
  67. package/components/select-ng/select-ng__lazy.js +19 -8
  68. package/components/select-ng/select-ng__lazy.test.js +3 -1
  69. package/components/shortcuts/shortcuts-hoc.d.ts +4 -8
  70. package/components/shortcuts/shortcuts.d.ts +1 -1
  71. package/components/tab-trap/tab-trap.d.ts +1 -1
  72. package/components/table/disable-hover-hoc.d.ts +4 -8
  73. package/components/table/header.d.ts +8 -1
  74. package/components/table/row-with-focus-sensor.d.ts +4 -4
  75. package/components/table/row-with-focus-sensor.js +4 -4
  76. package/components/table/row.d.ts +1 -0
  77. package/components/table/smart-table.d.ts +1 -0
  78. package/components/table/smart-table.js +7 -3
  79. package/components/table/table.d.ts +4 -8
  80. package/components/tabs/collapsible-more.js +2 -2
  81. package/components/tabs/collapsible-tabs.d.ts +2 -2
  82. package/components/tabs/collapsible-tabs.js +1 -1
  83. package/components/tabs/custom-item.d.ts +1 -1
  84. package/components/tabs/dumb-tabs.d.ts +2 -2
  85. package/components/tabs/smart-tabs.d.ts +4 -4
  86. package/components/tabs/smart-tabs.js +9 -3
  87. package/components/tabs/tab-link.d.ts +1 -1
  88. package/components/tabs/tab.d.ts +1 -1
  89. package/components/tabs/tabs.css +10 -1
  90. package/components/tag/tag.css +1 -1
  91. package/components/tag/tag.js +1 -2
  92. package/components/tags-input/tags-input.d.ts +4 -8
  93. package/components/tags-list/tags-list.d.ts +1 -1
  94. package/components/tooltip-ng/tooltip-ng.js +13 -10
  95. package/components/user-agreement/service.d.ts +14 -62
  96. package/components/user-agreement/service.js +1 -1
  97. package/dist/_helpers/anchor.js +1 -1
  98. package/dist/_helpers/badge.js +1 -1
  99. package/dist/_helpers/button-group.js +1 -1
  100. package/dist/_helpers/button-set.js +1 -1
  101. package/dist/_helpers/button-toolbar.js +1 -1
  102. package/dist/_helpers/button__classes.js +2 -2
  103. package/dist/_helpers/card.js +1 -1
  104. package/dist/_helpers/checkbox.js +1 -1
  105. package/dist/_helpers/date-picker.js +1 -1
  106. package/dist/_helpers/dialog__body-scroll-preventer.js +3 -2
  107. package/dist/_helpers/error-message.js +1 -1
  108. package/dist/_helpers/footer.js +1 -1
  109. package/dist/_helpers/grid.js +1 -1
  110. package/dist/_helpers/group.js +1 -1
  111. package/dist/_helpers/header.js +1 -1
  112. package/dist/_helpers/icon.js +1 -1
  113. package/dist/_helpers/input.js +1 -1
  114. package/dist/_helpers/island.js +1 -1
  115. package/dist/_helpers/link.js +1 -1
  116. package/dist/_helpers/list.js +1 -1
  117. package/dist/_helpers/loader-inline.js +1 -1
  118. package/dist/_helpers/loader-screen.js +1 -1
  119. package/dist/_helpers/panel.js +1 -1
  120. package/dist/_helpers/query-assist__suggestions.js +1 -1
  121. package/dist/_helpers/radio.js +1 -1
  122. package/dist/_helpers/select__filter.js +2 -1
  123. package/dist/_helpers/services-link.js +2 -2
  124. package/dist/_helpers/sidebar.js +3 -2
  125. package/dist/_helpers/table.js +1 -1
  126. package/dist/_helpers/tabs.js +1 -1
  127. package/dist/_helpers/theme.js +12 -7
  128. package/dist/_helpers/title.js +2 -1
  129. package/dist/alert/alert.js +15 -3
  130. package/dist/alert/container.js +1 -1
  131. package/dist/alert-service/alert-service.js +14 -1
  132. package/dist/analytics/analytics.js +4 -3
  133. package/dist/analytics/analytics__custom-plugin.js +2 -1
  134. package/dist/analytics/analytics__fus-plugin.js +1 -0
  135. package/dist/analytics/analytics__ga-plugin.d.ts +1 -1
  136. package/dist/analytics/analytics__ga-plugin.js +16 -7
  137. package/dist/analytics/analytics__plugin-utils.js +4 -3
  138. package/dist/analytics-ng/analytics-ng.js +3 -2
  139. package/dist/auth/auth.js +13 -0
  140. package/dist/auth/auth__core.js +29 -12
  141. package/dist/auth/background-flow.js +2 -1
  142. package/dist/auth/down-notification.js +14 -1
  143. package/dist/auth/iframe-flow.js +3 -0
  144. package/dist/auth/landing.js +17 -4
  145. package/dist/auth/request-builder.js +1 -0
  146. package/dist/auth/response-parser.js +1 -0
  147. package/dist/auth/storage.js +13 -0
  148. package/dist/auth/token-validator.js +2 -0
  149. package/dist/auth/window-flow.js +2 -1
  150. package/dist/auth-dialog/auth-dialog.js +4 -2
  151. package/dist/auth-dialog-service/auth-dialog-service.js +4 -1
  152. package/dist/auth-ng/auth-ng.js +14 -1
  153. package/dist/autofocus-ng/autofocus-ng.js +1 -0
  154. package/dist/avatar/avatar-example-datauri.js +1 -23
  155. package/dist/avatar/avatar.d.ts +1 -0
  156. package/dist/avatar/avatar.js +5 -3
  157. package/dist/avatar/fallback-avatar.js +6 -5
  158. package/dist/avatar-editor-ng/avatar-editor-ng.js +13 -0
  159. package/dist/avatar-editor-ng/avatar-editor-ng__template.js +1 -28
  160. package/dist/avatar-ng/avatar-ng.js +3 -0
  161. package/dist/badge/badge.js +1 -0
  162. package/dist/badge-ng/badge-ng.js +2 -0
  163. package/dist/breadcrumb-ng/breadcrumb-ng.js +4 -28
  164. package/dist/button/button.d.ts +2 -1
  165. package/dist/button/button.js +2 -0
  166. package/dist/button-group-ng/button-group-ng.js +2 -1
  167. package/dist/button-ng/button-ng.js +5 -11
  168. package/dist/button-set-ng/button-set-ng.js +1 -1
  169. package/dist/button-toolbar-ng/button-toolbar-ng.js +1 -0
  170. package/dist/caret/caret.js +2 -0
  171. package/dist/checkbox/checkbox.js +3 -1
  172. package/dist/checkbox-ng/checkbox-ng.js +4 -21
  173. package/dist/code/code.js +4 -3
  174. package/dist/confirm/confirm.js +3 -1
  175. package/dist/confirm-ng/confirm-ng.js +3 -0
  176. package/dist/confirm-service/confirm-service.js +4 -1
  177. package/dist/content-layout/content-layout.js +1 -0
  178. package/dist/content-layout/sidebar.js +1 -0
  179. package/dist/data-list/data-list.d.ts +4 -8
  180. package/dist/data-list/data-list.js +3 -1
  181. package/dist/data-list/data-list.mock.js +1 -0
  182. package/dist/data-list/item.js +3 -1
  183. package/dist/data-list/selection.js +1 -0
  184. package/dist/data-list/title.js +3 -1
  185. package/dist/data-list-ng/data-list-ng.js +4 -1
  186. package/dist/date-picker/consts.js +1 -1
  187. package/dist/date-picker/date-input.js +4 -2
  188. package/dist/date-picker/date-picker.js +10 -8
  189. package/dist/date-picker/date-popup.js +4 -3
  190. package/dist/date-picker/day.js +1 -0
  191. package/dist/date-picker/month-names.js +1 -0
  192. package/dist/date-picker/month-slider.js +1 -0
  193. package/dist/date-picker/month.js +1 -0
  194. package/dist/date-picker/months.js +1 -0
  195. package/dist/date-picker/years.js +1 -0
  196. package/dist/dialog/dialog.d.ts +1 -1
  197. package/dist/dialog/dialog.js +2 -0
  198. package/dist/dialog/dialog__body-scroll-preventer.js +1 -0
  199. package/dist/dialog-ng/dialog-ng.js +7 -4
  200. package/dist/dialog-ng/dialog-ng__template.js +1 -70
  201. package/dist/docked-panel-ng/docked-panel-ng.js +2 -1
  202. package/dist/dropdown/anchor.js +2 -0
  203. package/dist/dropdown/dropdown.d.ts +2 -2
  204. package/dist/dropdown/dropdown.js +2 -0
  205. package/dist/dropdown-menu/dropdown-menu.js +4 -2
  206. package/dist/error-bubble/error-bubble.js +3 -1
  207. package/dist/error-message/error-message.js +3 -1
  208. package/dist/error-message-ng/error-message-ng.js +3 -21
  209. package/dist/footer/footer.js +1 -0
  210. package/dist/footer-ng/footer-ng.js +3 -14
  211. package/dist/form-ng/form-ng.js +2 -4
  212. package/dist/global/angular-component-factory.js +8 -6
  213. package/dist/global/create-stateful-context.js +3 -2
  214. package/dist/global/data-tests.js +2 -0
  215. package/dist/global/dom.js +1 -0
  216. package/dist/global/focus-sensor-hoc.js +1 -0
  217. package/dist/global/fuzzy-highlight.js +1 -1
  218. package/dist/global/inject-styles.js +5 -7
  219. package/dist/global/listeners.js +1 -0
  220. package/dist/global/memoize.js +2 -0
  221. package/dist/global/normalize-indent.js +2 -0
  222. package/dist/global/promise-with-timeout.d.ts +2 -1
  223. package/dist/global/promise-with-timeout.js +6 -2
  224. package/dist/global/react-dom-renderer.js +1 -0
  225. package/dist/global/react-render-adapter.d.ts +29 -0
  226. package/dist/global/react-render-adapter.js +41 -0
  227. package/dist/global/rerender-hoc.d.ts +5 -9
  228. package/dist/global/rerender-hoc.js +7 -3
  229. package/dist/global/theme.js +15 -0
  230. package/dist/global/trivial-template-tag.js +2 -0
  231. package/dist/global/url.js +3 -1
  232. package/dist/global/variables.d.ts +0 -1
  233. package/dist/grid/col.js +2 -1
  234. package/dist/grid/grid.js +1 -0
  235. package/dist/grid/row.js +1 -1
  236. package/dist/group-ng/group-ng.js +1 -1
  237. package/dist/header/header.js +18 -14
  238. package/dist/header/logo.js +2 -0
  239. package/dist/header/profile.d.ts +3 -3
  240. package/dist/header/profile.js +3 -1
  241. package/dist/header/services-link.js +1 -0
  242. package/dist/header/services.js +2 -0
  243. package/dist/header/smart-profile.js +17 -13
  244. package/dist/header/smart-services.js +14 -11
  245. package/dist/header/tray-icon.js +2 -0
  246. package/dist/heading/heading.js +3 -3
  247. package/dist/http/http.js +4 -2
  248. package/dist/http/http.mock.js +2 -0
  249. package/dist/hub-source/hub-source.js +1 -1
  250. package/dist/hub-source/hub-source__user.js +4 -2
  251. package/dist/hub-source/hub-source__users-groups.js +3 -2
  252. package/dist/icon/icon.js +3 -3
  253. package/dist/icon/icon__svg.js +2 -0
  254. package/dist/icon/index.js +2 -0
  255. package/dist/icon-ng/icon-ng.js +7 -5
  256. package/dist/input/input.d.ts +3 -1
  257. package/dist/input/input.js +5 -3
  258. package/dist/input-ng/input-ng.js +6 -59
  259. package/dist/island/adaptive-island-hoc.d.ts +4 -8
  260. package/dist/island/adaptive-island-hoc.js +4 -3
  261. package/dist/island/content.d.ts +33 -2
  262. package/dist/island/content.js +8 -4
  263. package/dist/island/header.js +3 -2
  264. package/dist/island/island.d.ts +4 -8
  265. package/dist/island/island.js +1 -0
  266. package/dist/island-ng/island-content-ng.js +2 -16
  267. package/dist/island-ng/island-header-ng.js +2 -8
  268. package/dist/island-ng/island-ng-class-fixer.js +2 -0
  269. package/dist/island-ng/island-ng.js +2 -8
  270. package/dist/link/clickableLink.d.ts +1 -1
  271. package/dist/link/clickableLink.js +1 -0
  272. package/dist/link/link.d.ts +14 -22
  273. package/dist/link/link.js +5 -4
  274. package/dist/link-ng/link-ng.js +1 -4
  275. package/dist/list/consts.d.ts +3 -1
  276. package/dist/list/list.d.ts +2 -0
  277. package/dist/list/list.js +30 -23
  278. package/dist/list/list__custom.js +1 -0
  279. package/dist/list/list__item.js +6 -4
  280. package/dist/list/list__link.js +3 -1
  281. package/dist/list/list__users-groups-source.js +4 -2
  282. package/dist/loader/loader.js +1 -0
  283. package/dist/loader/loader__core.js +5 -4
  284. package/dist/loader-inline/loader-inline.js +1 -0
  285. package/dist/loader-inline-ng/loader-inline-ng.js +1 -1
  286. package/dist/loader-ng/loader-ng.js +1 -0
  287. package/dist/loader-screen/loader-screen.js +1 -0
  288. package/dist/loader-screen-ng/loader-screen-ng.js +2 -6
  289. package/dist/login-dialog/login-dialog.js +3 -1
  290. package/dist/login-dialog/service.js +4 -1
  291. package/dist/markdown/code.js +1 -0
  292. package/dist/markdown/link.js +1 -0
  293. package/dist/markdown/markdown.js +2 -1
  294. package/dist/message/message.js +39 -33
  295. package/dist/old-browsers-message/old-browsers-message.js +2 -1
  296. package/dist/old-browsers-message/old-browsers-message__stop.js +1 -0
  297. package/dist/old-browsers-message/white-list.js +1 -0
  298. package/dist/pager/pager.js +7 -4
  299. package/dist/pager-ng/pager-ng.js +5 -2
  300. package/dist/panel-ng/panel-ng.js +1 -0
  301. package/dist/permissions/permissions.js +1 -1
  302. package/dist/permissions-ng/permissions-ng.js +14 -1
  303. package/dist/place-under-ng/place-under-ng.js +3 -2
  304. package/dist/popup/popup.d.ts +7 -1
  305. package/dist/popup/popup.js +11 -7
  306. package/dist/popup/popup.target.d.ts +1 -1
  307. package/dist/popup/position.d.ts +1 -1
  308. package/dist/popup/position.js +3 -2
  309. package/dist/popup-menu/popup-menu.d.ts +1 -0
  310. package/dist/popup-menu/popup-menu.js +3 -1
  311. package/dist/progress-bar/progress-bar.js +3 -2
  312. package/dist/progress-bar-ng/progress-bar-ng.js +2 -0
  313. package/dist/promised-click-ng/promised-click-ng.js +2 -0
  314. package/dist/proxy-attrs/proxy-attrs.js +5 -3
  315. package/dist/query-assist/query-assist.d.ts +5 -9
  316. package/dist/query-assist/query-assist.js +9 -5
  317. package/dist/query-assist/query-assist__suggestions.js +3 -1
  318. package/dist/query-assist-ng/query-assist-ng.js +7 -3
  319. package/dist/radio/radio.d.ts +1 -1
  320. package/dist/radio/radio.js +1 -0
  321. package/dist/radio/radio__item.js +1 -0
  322. package/dist/radio-ng/radio-ng.js +2 -18
  323. package/dist/save-field-ng/save-field-ng.js +3 -1
  324. package/dist/save-field-ng/save-field-ng__template.js +1 -32
  325. package/dist/select/select.d.ts +12 -14
  326. package/dist/select/select.js +33 -22
  327. package/dist/select/select__filter.js +4 -2
  328. package/dist/select/select__popup.d.ts +4 -1
  329. package/dist/select/select__popup.js +9 -4
  330. package/dist/select-ng/select-ng.js +23 -8
  331. package/dist/select-ng/select-ng__lazy.js +30 -12
  332. package/dist/select-ng/select-ng__options.js +2 -2
  333. package/dist/shortcuts/shortcuts-hoc.d.ts +4 -8
  334. package/dist/shortcuts/shortcuts-hoc.js +4 -3
  335. package/dist/shortcuts/shortcuts.d.ts +1 -1
  336. package/dist/shortcuts-hint-ng/shortcuts-hint-ng.js +3 -0
  337. package/dist/shortcuts-hint-ng/shortcuts-hint-ng__template.js +1 -48
  338. package/dist/shortcuts-ng/shortcuts-ng.js +4 -3
  339. package/dist/sidebar-ng/sidebar-ng.js +2 -0
  340. package/dist/sidebar-ng/sidebar-ng__button-template.js +1 -18
  341. package/dist/sidebar-ng/sidebar-ng__template.js +1 -10
  342. package/dist/storage/storage.js +13 -0
  343. package/dist/storage/storage__fallback.js +4 -3
  344. package/dist/storage/storage__local.js +13 -0
  345. package/dist/style.css +1 -1
  346. package/dist/tab-trap/tab-trap.d.ts +1 -1
  347. package/dist/tab-trap/tab-trap.js +2 -1
  348. package/dist/table/cell.js +1 -0
  349. package/dist/table/disable-hover-hoc.d.ts +4 -8
  350. package/dist/table/disable-hover-hoc.js +4 -3
  351. package/dist/table/header-cell.js +2 -0
  352. package/dist/table/header.d.ts +8 -1
  353. package/dist/table/header.js +3 -1
  354. package/dist/table/multitable.js +1 -0
  355. package/dist/table/row-with-focus-sensor.d.ts +4 -4
  356. package/dist/table/row-with-focus-sensor.js +15 -5
  357. package/dist/table/row.d.ts +1 -0
  358. package/dist/table/row.js +4 -2
  359. package/dist/table/selection-adapter.js +2 -0
  360. package/dist/table/selection-shortcuts-hoc.js +1 -0
  361. package/dist/table/selection.js +1 -0
  362. package/dist/table/smart-table.d.ts +1 -0
  363. package/dist/table/smart-table.js +13 -7
  364. package/dist/table/table.d.ts +4 -8
  365. package/dist/table/table.js +3 -1
  366. package/dist/table-legacy-ng/table-legacy-ng.js +13 -47
  367. package/dist/table-legacy-ng/table-legacy-ng__pager.js +6 -9
  368. package/dist/table-legacy-ng/table-legacy-ng__toolbar.js +2 -1
  369. package/dist/table-ng/smart-table-ng.js +4 -1
  370. package/dist/table-ng/table-ng.js +4 -1
  371. package/dist/tabs/collapsible-more.js +4 -2
  372. package/dist/tabs/collapsible-tab.js +1 -0
  373. package/dist/tabs/collapsible-tabs.d.ts +2 -2
  374. package/dist/tabs/collapsible-tabs.js +3 -1
  375. package/dist/tabs/custom-item.d.ts +1 -1
  376. package/dist/tabs/dumb-tabs.d.ts +2 -2
  377. package/dist/tabs/dumb-tabs.js +3 -1
  378. package/dist/tabs/smart-tabs.d.ts +4 -4
  379. package/dist/tabs/smart-tabs.js +10 -6
  380. package/dist/tabs/tab-link.d.ts +1 -1
  381. package/dist/tabs/tab-link.js +1 -0
  382. package/dist/tabs/tab.d.ts +1 -1
  383. package/dist/tabs/tab.js +1 -0
  384. package/dist/tabs/tabs.js +3 -1
  385. package/dist/tabs-ng/tabs-ng.js +1 -0
  386. package/dist/tabs-ng/tabs-ng__template.js +1 -38
  387. package/dist/tag/tag.js +4 -3
  388. package/dist/tags-input/tags-input.d.ts +4 -8
  389. package/dist/tags-input/tags-input.js +6 -3
  390. package/dist/tags-input-ng/tags-input-ng.js +5 -2
  391. package/dist/tags-list/tags-list.d.ts +1 -1
  392. package/dist/tags-list/tags-list.js +3 -1
  393. package/dist/template-ng/template-ng.js +1 -0
  394. package/dist/text/text.js +1 -1
  395. package/dist/theme-ng/theme-ng.js +1 -0
  396. package/dist/toggle/toggle.js +2 -1
  397. package/dist/toggle-ng/toggle-ng.js +2 -0
  398. package/dist/tooltip/tooltip.js +3 -1
  399. package/dist/tooltip-ng/tooltip-ng.js +12 -6
  400. package/dist/user-agreement/service.d.ts +14 -62
  401. package/dist/user-agreement/service.js +14 -8
  402. package/dist/user-agreement/toolbox.eula.js +1 -160
  403. package/dist/user-agreement/user-agreement.js +3 -1
  404. package/dist/user-card/card.js +2 -0
  405. package/dist/user-card/smart-user-card-tooltip.js +2 -0
  406. package/dist/user-card/tooltip.js +2 -0
  407. package/dist/user-card/user-card.js +2 -0
  408. package/dist/user-card-ng/user-card-ng.js +3 -0
  409. package/package.json +74 -66
@@ -1,3 +1,3 @@
1
- var modules_607b0772 = {"link":"link_rui_3526","hover":"hover_rui_3526","inner":"inner_rui_3526","active":"active_rui_3526","compatibilityUnderlineMode":"compatibilityUnderlineMode_rui_3526","pseudo":"pseudo_rui_3526","text":"text_rui_3526","inherit":"inherit_rui_3526"};
1
+ var modules_607b0772 = {"link":"link_rui_d382","hover":"hover_rui_d382","inner":"inner_rui_d382","active":"active_rui_d382","compatibilityUnderlineMode":"compatibilityUnderlineMode_rui_d382","pseudo":"pseudo_rui_d382","text":"text_rui_d382","inherit":"inherit_rui_d382"};
2
2
 
3
3
  export { modules_607b0772 as m };
@@ -1,3 +1,3 @@
1
- var modules_3b67a421 = {"unit":"8px","listSpacing":"8px","list":"list_rui_a642","simpleInner":"simpleInner_rui_a642","scrolling":"scrolling_rui_a642","separator":"separator_rui_a642","separator_first":"separator_first_rui_a642","item":"item_rui_a642","itemContainer":"itemContainer_rui_a642","compact":"compact_rui_a642","error":"error_rui_a642","add":"add_rui_a642","top":"top_rui_a642","left":"left_rui_a642","label":"label_rui_a642","description":"description_rui_a642","right":"right_rui_a642","details":"details_rui_a642","padded":"padded_rui_a642","hint":"hint_rui_a642","action":"action_rui_a642","actionLink":"actionLink_rui_a642","hover":"hover_rui_a642","icon":"icon_rui_a642","highlight":"highlight_rui_a642","service":"service_rui_a642","glyph":"glyph_rui_a642","avatar":"avatar_rui_a642 glyph_rui_a642","rightGlyph":"rightGlyph_rui_a642 glyph_rui_a642","checkboxContainer":"checkboxContainer_rui_a642","title":"title_rui_a642","title_first":"title_first_rui_a642","text":"text_rui_a642","fade":"fade_rui_a642","disabled":"disabled_rui_a642"};
1
+ var modules_3b67a421 = {"unit":"8px","listSpacing":"8px","list":"list_rui_93ef","simpleInner":"simpleInner_rui_93ef","scrolling":"scrolling_rui_93ef","separator":"separator_rui_93ef","separator_first":"separator_first_rui_93ef","item":"item_rui_93ef","itemContainer":"itemContainer_rui_93ef","compact":"compact_rui_93ef","error":"error_rui_93ef","add":"add_rui_93ef","top":"top_rui_93ef","left":"left_rui_93ef","label":"label_rui_93ef","description":"description_rui_93ef","right":"right_rui_93ef","details":"details_rui_93ef","padded":"padded_rui_93ef","hint":"hint_rui_93ef","action":"action_rui_93ef","actionLink":"actionLink_rui_93ef","hover":"hover_rui_93ef","icon":"icon_rui_93ef","highlight":"highlight_rui_93ef","service":"service_rui_93ef","glyph":"glyph_rui_93ef","avatar":"avatar_rui_93ef glyph_rui_93ef","rightGlyph":"rightGlyph_rui_93ef glyph_rui_93ef","checkboxContainer":"checkboxContainer_rui_93ef","title":"title_rui_93ef","title_first":"title_first_rui_93ef","text":"text_rui_93ef","fade":"fade_rui_93ef","disabled":"disabled_rui_93ef"};
2
2
 
3
3
  export { modules_3b67a421 as m };
@@ -1,3 +1,3 @@
1
- var modules_e49a3529 = {"dark":"dark_rui_bd73","unit":"8px","loader":"loader_rui_91ce","spin":"spin_rui_91ce","pulse":"pulse_rui_91ce","children":"children_rui_91ce"};
1
+ var modules_e49a3529 = {"dark":"dark_rui_eb55","unit":"8px","loader":"loader_rui_e6f2","spin":"spin_rui_e6f2","pulse":"pulse_rui_e6f2","children":"children_rui_e6f2"};
2
2
 
3
3
  export { modules_e49a3529 as m };
@@ -1,3 +1,3 @@
1
- var modules_122a82e9 = {"loaderScreen":"loaderScreen_rui_dc0c","loader":"loader_rui_dc0c","loaderWithoutSpacing":"loaderWithoutSpacing_rui_dc0c"};
1
+ var modules_122a82e9 = {"loaderScreen":"loaderScreen_rui_c963","loader":"loader_rui_c963","loaderWithoutSpacing":"loaderWithoutSpacing_rui_c963"};
2
2
 
3
3
  export { modules_122a82e9 as m };
@@ -1,3 +1,3 @@
1
- var modules_cf670408 = {"unit":"8px","panel":"panel_rui_6094 panel_rui_5386"};
1
+ var modules_cf670408 = {"unit":"8px","panel":"panel_rui_1067 panel_rui_381e"};
2
2
 
3
3
  export { modules_cf670408 as m };
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import List from '../list/list.js';
3
3
 
4
- var modules_da7ab055 = {"dark":"dark_rui_bd73","unit":"8px","overInputZIndex":"2","inputGap":"24px","queryAssist":"queryAssist_rui_e8a0 font_rui_750f","input":"input_rui_e8a0","placeholder":"placeholder_rui_e8a0 resetButton_rui_750f","letter-text":"letterText_rui_e8a0","letterDefault":"letterDefault_rui_e8a0","letter-field-name":"letterFieldName_rui_e8a0","letter-field-value":"letterFieldValue_rui_e8a0","letter-operator":"letterOperator_rui_e8a0","letter-error":"letterError_rui_e8a0","iconInner":"iconInner_rui_e8a0","highlight":"highlight_rui_e8a0","service":"service_rui_e8a0","icon":"icon_rui_e8a0","loader":"loader_rui_e8a0","actions":"actions_rui_e8a0","24px":"_24px_rui_e8a0","inputGap2":"inputGap2_rui_e8a0","inputLeftGap":"inputLeftGap_rui_e8a0","inputDisabled":"inputDisabled_rui_e8a0","placeholderSpaced":"placeholderSpaced_rui_e8a0","letter":"letter_rui_e8a0","loaderOnTheRight":"loaderOnTheRight_rui_e8a0"};
4
+ var modules_da7ab055 = {"dark":"dark_rui_eb55","unit":"8px","overInputZIndex":"2","inputGap":"24px","queryAssist":"queryAssist_rui_d22e font_rui_8bff","input":"input_rui_d22e","placeholder":"placeholder_rui_d22e resetButton_rui_8bff","letter-text":"letter-text_rui_d22e","letterDefault":"letterDefault_rui_d22e","letter-field-name":"letter-field-name_rui_d22e","letter-field-value":"letter-field-value_rui_d22e","letter-operator":"letter-operator_rui_d22e","letter-error":"letter-error_rui_d22e","iconInner":"iconInner_rui_d22e","highlight":"highlight_rui_d22e","service":"service_rui_d22e","icon":"icon_rui_d22e","loader":"loader_rui_d22e","actions":"actions_rui_d22e","24px":"24px_rui_d22e","inputGap2":"inputGap2_rui_d22e","inputLeftGap":"inputLeftGap_rui_d22e","inputDisabled":"inputDisabled_rui_d22e","placeholderSpaced":"placeholderSpaced_rui_d22e","letter":"letter_rui_d22e","loaderOnTheRight":"loaderOnTheRight_rui_d22e"};
5
5
 
6
6
  const ICON_ID_LENGTH = 44;
7
7
  class QueryAssistSuggestions {
@@ -1,3 +1,3 @@
1
- var modules_df92307a = {"unit":"8px","radio-size":"16px","radio":"radio_rui_0c89","circle":"circle_rui_0c89","input":"input_rui_0c89","focus":"focus_rui_0c89","label":"label_rui_0c89"};
1
+ var modules_df92307a = {"unit":"8px","radio-size":"16px","radio":"radio_rui_370b","circle":"circle_rui_370b","input":"input_rui_370b","focus":"focus_rui_370b","label":"label_rui_370b"};
2
2
 
3
3
  export { modules_df92307a as m };
@@ -1,4 +1,5 @@
1
1
  import { _ as _defineProperty, a as _extends } from './_rollupPluginBabelHelpers.js';
2
+ import 'core-js/modules/web.dom-collections.iterator.js';
2
3
  import React, { Component } from 'react';
3
4
  import PropTypes from 'prop-types';
4
5
  import classNames from 'classnames';
@@ -7,7 +8,7 @@ import sniffr from '../global/sniffer.js';
7
8
  import { ActiveItemContext } from '../list/list.js';
8
9
  import { ControlsHeight } from '../global/controls-height.js';
9
10
 
10
- var modules_b607bec2 = {"unit":"8px","filterWithTags":"filterWithTags_rui_a68b","filterWrapper":"filterWrapper_rui_a68b","filterWithTagsFocused":"filterWithTagsFocused_rui_a68b","filter":"filter_rui_a68b","filterIcon":"filterIcon_rui_a68b","bottomLine":"bottomLine_rui_a68b","message":"message_rui_a68b","selectAll":"selectAll_rui_a68b"};
11
+ var modules_b607bec2 = {"unit":"8px","filterWithTags":"filterWithTags_rui_531d","filterWrapper":"filterWrapper_rui_531d","filterWithTagsFocused":"filterWithTagsFocused_rui_531d","filter":"filter_rui_531d","filterIcon":"filterIcon_rui_531d","bottomLine":"bottomLine_rui_531d","message":"message_rui_531d","selectAll":"selectAll_rui_531d"};
11
12
 
12
13
  function noop() {}
13
14
 
@@ -3,7 +3,7 @@ import React, { PureComponent } from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import Link from '../link/link.js';
5
5
 
6
- var modules_74a7bf8b = {"unit":"8px","services":"services_rui_6e8a","active":"active_rui_6e8a","item":"item_rui_6e8a","itemLogo":"itemLogo_rui_6e8a","activeItem":"activeItem_rui_6e8a item_rui_6e8a active_rui_6e8a","line":"line_rui_6e8a","itemStacked":"itemStacked_rui_6e8a","activeItemStacked":"activeItemStacked_rui_6e8a itemStacked_rui_6e8a active_rui_6e8a"};
6
+ var modules_74a7bf8b = {"unit":"8px","services":"services_rui_e0d5","active":"active_rui_e0d5","item":"item_rui_e0d5","itemLogo":"itemLogo_rui_e0d5","activeItem":"activeItem_rui_e0d5 item_rui_e0d5 active_rui_e0d5","line":"line_rui_e0d5","itemStacked":"itemStacked_rui_e0d5","activeItemStacked":"activeItemStacked_rui_e0d5 itemStacked_rui_e0d5 active_rui_e0d5"};
7
7
 
8
8
  class ServicesLink extends PureComponent {
9
9
  render() {
@@ -18,7 +18,7 @@ class ServicesLink extends PureComponent {
18
18
  key: "icon",
19
19
  className: modules_74a7bf8b.itemLogo,
20
20
  style: {
21
- backgroundImage: `url(${service.iconUrl})`
21
+ backgroundImage: "url(".concat(service.iconUrl, ")")
22
22
  }
23
23
  }), /*#__PURE__*/React.createElement("div", {
24
24
  key: "text"
@@ -1,10 +1,11 @@
1
1
  import { _ as _defineProperty, a as _extends } from './_rollupPluginBabelHelpers.js';
2
+ import 'core-js/modules/web.dom-collections.iterator.js';
2
3
  import React, { Component } from 'react';
3
4
  import PropTypes from 'prop-types';
4
5
  import classNames from 'classnames';
5
6
  import { Waypoint } from 'react-waypoint';
6
7
 
7
- var modules_b8a9dd4f = {"unit":"8px","extra-small-screen-media":"(max-width:639px)","small-screen-media":"(min-width:640px) and (max-width:959px)","sidebarWidth":"240px","contentLayout":"contentLayout_rui_a0ae","contentLayoutContent":"contentLayoutContent_rui_a0ae","sidebarContainer":"sidebarContainer_rui_a0ae","sidebarContainerRight":"sidebarContainerRight_rui_a0ae","sidebar":"sidebar_rui_a0ae","sidebarRight":"sidebarRight_rui_a0ae","sidebarFixedTop":"sidebarFixedTop_rui_a0ae","sidebarFixedBottom":"sidebarFixedBottom_rui_a0ae","bottomMarker":"bottomMarker_rui_a0ae","contentLayoutResponsive":"contentLayoutResponsive_rui_a0ae"};
8
+ var modules_b8a9dd4f = {"unit":"8px","extra-small-screen-media":"(max-width: 639px)","small-screen-media":"(min-width: 640px) and (max-width: 959px)","sidebarWidth":"240px","contentLayout":"contentLayout_rui_8468","contentLayoutContent":"contentLayoutContent_rui_8468","sidebarContainer":"sidebarContainer_rui_8468","sidebarContainerRight":"sidebarContainerRight_rui_8468","sidebar":"sidebar_rui_8468","sidebarRight":"sidebarRight_rui_8468","sidebarFixedTop":"sidebarFixedTop_rui_8468","sidebarFixedBottom":"sidebarFixedBottom_rui_8468","bottomMarker":"bottomMarker_rui_8468","contentLayoutResponsive":"contentLayoutResponsive_rui_8468"};
8
9
 
9
10
  const ABOVE = 'above';
10
11
  const INSIDE = 'inside';
@@ -95,7 +96,7 @@ class Sidebar extends Component {
95
96
  [fixedClassName !== null && fixedClassName !== void 0 ? fixedClassName : '']: shouldFixateTop || shouldFixateBottom
96
97
  });
97
98
  const style = {
98
- maxHeight: shouldFixateBottom && sidebarVisibleHeight ? `${sidebarVisibleHeight}px` : undefined
99
+ maxHeight: shouldFixateBottom && sidebarVisibleHeight ? "".concat(sidebarVisibleHeight, "px") : undefined
99
100
  };
100
101
  return /*#__PURE__*/React.createElement("aside", {
101
102
  className: containerClasses,
@@ -1,3 +1,3 @@
1
- var modules_1db4bbca = {"unit":"8px","height":"32px","compensate":"2px","compensated":"30px","top":"-3px","row":"row_rui_b10b","dragHandle":"dragHandle_rui_b10b","tableWrapper":"tableWrapper_rui_b10b","table":"table_rui_b10b","userSelectNone":"userSelectNone_rui_b10b","headerCell":"headerCell_rui_b10b fontSmallerLower_rui_750f fontSmaller_rui_750f fontLower_rui_750f font_rui_750f","headerCellSorted":"headerCellSorted_rui_b10b","headerCellSortable":"headerCellSortable_rui_b10b","sorter":"sorter_rui_b10b","sortedUp":"sortedUp_rui_b10b","icon":"icon_rui_b10b","caption":"caption_rui_b10b","tableHead":"tableHead_rui_b10b","subHeaderFixed":"subHeaderFixed_rui_b10b","subHeader":"subHeader_rui_b10b","disabledHover":"disabledHover_rui_b10b","rowSelected":"rowSelected_rui_b10b","rowFocused":"rowFocused_rui_b10b","cell":"cell_rui_b10b ellipsis_rui_750f","loadingOverlay":"loadingOverlay_rui_b10b","cellUnlimited":"cellUnlimited_rui_b10b","cellRight":"cellRight_rui_b10b","metaColumn":"metaColumn_rui_b10b","headerMetaColumn":"headerMetaColumn_rui_b10b","visibleDragHandle":"visibleDragHandle_rui_b10b","rowCollapseExpandButton":"rowCollapseExpandButton_rui_b10b","draggingRow":"draggingRow_rui_b10b","tableMessage":"tableMessage_rui_b10b"};
1
+ var modules_1db4bbca = {"unit":"8px","height":"32px","compensate":"2px","compensated":"30px","top":"-3px","row":"row_rui_23fe","dragHandle":"dragHandle_rui_23fe","tableWrapper":"tableWrapper_rui_23fe","table":"table_rui_23fe","userSelectNone":"userSelectNone_rui_23fe","headerCell":"headerCell_rui_23fe font-smaller-lower_rui_8bff font-smaller_rui_8bff font-lower_rui_8bff font_rui_8bff","headerCellSorted":"headerCellSorted_rui_23fe","headerCellSortable":"headerCellSortable_rui_23fe","sorter":"sorter_rui_23fe","sortedUp":"sortedUp_rui_23fe","icon":"icon_rui_23fe","caption":"caption_rui_23fe","tableHead":"tableHead_rui_23fe","subHeaderFixed":"subHeaderFixed_rui_23fe","subHeader":"subHeader_rui_23fe","disabledHover":"disabledHover_rui_23fe","rowSelected":"rowSelected_rui_23fe","rowFocused":"rowFocused_rui_23fe","cell":"cell_rui_23fe ellipsis_rui_8bff","loadingOverlay":"loadingOverlay_rui_23fe","cellUnlimited":"cellUnlimited_rui_23fe","cellRight":"cellRight_rui_23fe","metaColumn":"metaColumn_rui_23fe","headerMetaColumn":"headerMetaColumn_rui_23fe","visibleDragHandle":"visibleDragHandle_rui_23fe","rowCollapseExpandButton":"rowCollapseExpandButton_rui_23fe","draggingRow":"draggingRow_rui_23fe","tableMessage":"tableMessage_rui_23fe"};
2
2
 
3
3
  export { modules_1db4bbca as m };
@@ -1,3 +1,3 @@
1
- var modules_02138f4a = {"unit":"8px","line-shadow":"inset 0 -1px 0 0","selected-line-shadow":"inset 0 -2px 0 0","tabs":"tabs_rui_dd23 font_rui_750f","titles":"titles_rui_dd23","title":"title_rui_dd23 font_rui_750f","selected":"selected_rui_dd23","collapsed":"collapsed_rui_dd23","titleLegacy":"titleLegacy_rui_dd23","visible":"visible_rui_dd23","container":"container_rui_dd23","hidden":"hidden_rui_dd23","hiddenBold":"hiddenBold_rui_dd23","hiddenRegular":"hiddenRegular_rui_dd23","tabCounter":"tabCounter_rui_dd23","autoCollapseContainer":"autoCollapseContainer_rui_dd23","autoCollapse":"autoCollapse_rui_dd23","rendered":"rendered_rui_dd23","adjusted":"adjusted_rui_dd23","measure":"measure_rui_dd23","morePopup":"morePopup_rui_dd23","chevron":"chevron_rui_dd23","morePopupBeforeEnd":"morePopupBeforeEnd_rui_dd23"};
1
+ var modules_02138f4a = {"dark":"dark_rui_eb55","unit":"8px","line-shadow":"inset 0 -1px 0 0","selected-line-shadow":"inset 0 -2px 0 0","tabs":"tabs_rui_aa34 font_rui_8bff","titles":"titles_rui_aa34","title":"title_rui_aa34 font_rui_8bff","selected":"selected_rui_aa34","collapsed":"collapsed_rui_aa34","titleLegacy":"titleLegacy_rui_aa34","visible":"visible_rui_aa34","container":"container_rui_aa34","hidden":"hidden_rui_aa34","hiddenBold":"hiddenBold_rui_aa34","hiddenRegular":"hiddenRegular_rui_aa34","tabCounter":"tabCounter_rui_aa34","autoCollapseContainer":"autoCollapseContainer_rui_aa34","autoCollapse":"autoCollapse_rui_aa34","rendered":"rendered_rui_aa34","adjusted":"adjusted_rui_aa34","measure":"measure_rui_aa34","morePopup":"morePopup_rui_aa34","chevron":"chevron_rui_aa34","morePopupBeforeEnd":"morePopupBeforeEnd_rui_aa34"};
2
2
 
3
3
  export { modules_02138f4a as m };
@@ -1,10 +1,13 @@
1
1
  import { a as _extends } from './_rollupPluginBabelHelpers.js';
2
- import React, { useState, useEffect, forwardRef, useMemo } from 'react';
2
+ import 'core-js/modules/web.dom-collections.iterator.js';
3
+ import React, { useState, useEffect, forwardRef, useMemo, useContext } from 'react';
3
4
  import classNames from 'classnames';
4
- import { PopupTarget } from '../popup/popup.target.js';
5
+ import { createPortal } from 'react-dom';
6
+ import { PopupTargetContext, PopupTarget } from '../popup/popup.target.js';
7
+ import { getPopupContainer } from '../popup/popup.js';
5
8
  import getUID from '../global/get-uid.js';
6
9
 
7
- var modules_59717246 = {"dark":"dark_rui_bd73"};
10
+ var modules_59717246 = {"dark":"dark_rui_eb55"};
8
11
 
9
12
  var Theme;
10
13
 
@@ -36,14 +39,16 @@ const ThemeProvider = /*#__PURE__*/forwardRef(function ThemeProvider(_ref, ref)
36
39
  const systemTheme = useTheme();
37
40
  const resolvedTheme = theme === Theme.AUTO ? systemTheme : theme;
38
41
  const id = useMemo(() => getUID('popups-with-theme-'), []);
42
+ const themeClasses = classNames({
43
+ [modules_59717246.dark]: resolvedTheme === Theme.DARK
44
+ });
45
+ const parentTarget = useContext(PopupTargetContext);
39
46
  return /*#__PURE__*/React.createElement("div", _extends({
40
47
  ref: ref,
41
- className: classNames(className, {
42
- [modules_59717246.dark]: resolvedTheme === Theme.DARK
43
- })
48
+ className: classNames(className, themeClasses)
44
49
  }, restProps), passToPopups ? /*#__PURE__*/React.createElement(PopupTarget, {
45
50
  id: id
46
- }, target => /*#__PURE__*/React.createElement(React.Fragment, null, children, target)) : children);
51
+ }, target => /*#__PURE__*/React.createElement(React.Fragment, null, children, /*#__PURE__*/createPortal(target, parentTarget && getPopupContainer(parentTarget) || document.body))) : children);
47
52
  });
48
53
  var Theme$1 = Theme;
49
54
 
@@ -1,4 +1,5 @@
1
1
  import { _ as _defineProperty } from './_rollupPluginBabelHelpers.js';
2
+ import 'core-js/modules/web.dom-collections.iterator.js';
2
3
  import React, { PureComponent } from 'react';
3
4
  import PropTypes from 'prop-types';
4
5
  import classNames from 'classnames';
@@ -7,7 +8,7 @@ import Checkbox from '../checkbox/checkbox.js';
7
8
  import getUID from '../global/get-uid.js';
8
9
  import { refObject } from '../global/prop-types.js';
9
10
 
10
- var modules_09d014b4 = {"unit":"8px","height":"32px","compensate":"2px","dataListWrapper":"dataListWrapper_rui_e686","dataList":"dataList_rui_e686","itemContent":"itemContent_rui_e686","title":"title_rui_e686","disabledHover":"disabledHover_rui_e686","titleSelected":"titleSelected_rui_e686","titleFocused":"titleFocused_rui_e686","showMore":"showMore_rui_e686","boxes":"boxes_rui_e686","checkboxBox":"checkboxBox_rui_e686","collapseButton":"collapseButton_rui_e686","collapseIcon":"collapseIcon_rui_e686","loadingOverlay":"loadingOverlay_rui_e686","showMoreLoader":"showMoreLoader_rui_e686"};
11
+ var modules_09d014b4 = {"unit":"8px","height":"32px","compensate":"2px","dataListWrapper":"dataListWrapper_rui_9f76","dataList":"dataList_rui_9f76","itemContent":"itemContent_rui_9f76","title":"title_rui_9f76","disabledHover":"disabledHover_rui_9f76","titleSelected":"titleSelected_rui_9f76","titleFocused":"titleFocused_rui_9f76","showMore":"showMore_rui_9f76","boxes":"boxes_rui_9f76","checkboxBox":"checkboxBox_rui_9f76","collapseButton":"collapseButton_rui_9f76","collapseIcon":"collapseIcon_rui_9f76","loadingOverlay":"loadingOverlay_rui_9f76","showMoreLoader":"showMoreLoader_rui_9f76"};
11
12
 
12
13
  class Title extends PureComponent {
13
14
  constructor() {
@@ -1,4 +1,5 @@
1
1
  import { _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
2
+ import 'core-js/modules/web.dom-collections.iterator.js';
2
3
  import React, { PureComponent } from 'react';
3
4
  import classNames from 'classnames';
4
5
  import PropTypes from 'prop-types';
@@ -17,6 +18,7 @@ import { Color } from '../icon/icon__constants.js';
17
18
  import 'util-deprecate';
18
19
  import '../_helpers/icon.js';
19
20
  import '../icon/icon__svg.js';
21
+ import 'core-js/modules/es.string.replace.js';
20
22
  import '../global/memoize.js';
21
23
  import '../_helpers/loader-inline.js';
22
24
  import 'focus-visible';
@@ -24,11 +26,21 @@ import '@jetbrains/icons/chevron-10px';
24
26
  import '../link/clickableLink.js';
25
27
  import '../global/controls-height.js';
26
28
  import '../_helpers/button__classes.js';
29
+ import 'react-dom';
27
30
  import '../popup/popup.target.js';
31
+ import '../popup/popup.js';
28
32
  import '../global/get-uid.js';
29
- import 'react-dom';
30
-
31
- var modules_e02b3280 = {"link":"link_rui_3591","unit":"8px","animation-duration":".3s","animation-easing":"ease-out","alert":"alert_rui_d0d3","alertInline":"alertInline_rui_d0d3","error":"error_rui_d0d3","icon":"icon_rui_d0d3","caption":"caption_rui_d0d3","withCloseButton":"withCloseButton_rui_d0d3","badge":"badge_rui_d0d3","loader":"loader_rui_d0d3","close":"close_rui_d0d3","animationOpen":"animationOpen_rui_d0d3","show":"show_rui_d0d3","animationClosing":"animationClosing_rui_d0d3","animationShaking":"animationShaking_rui_d0d3","shaking":"shaking_rui_d0d3"};
33
+ import '../global/schedule-raf.js';
34
+ import '../shortcuts/shortcuts.js';
35
+ import '../shortcuts/core.js';
36
+ import 'combokeys';
37
+ import '../global/sniffer.js';
38
+ import 'sniffr';
39
+ import '../tab-trap/tab-trap.js';
40
+ import '../popup/position.js';
41
+ import '../popup/popup.consts.js';
42
+
43
+ var modules_e02b3280 = {"link":"link_rui_d382","unit":"8px","animation-duration":"300ms","animation-easing":"ease-out","alert":"alert_rui_2b32","alertInline":"alertInline_rui_2b32","error":"error_rui_2b32","icon":"icon_rui_2b32","caption":"caption_rui_2b32","withCloseButton":"withCloseButton_rui_2b32","badge":"badge_rui_2b32","loader":"loader_rui_2b32","close":"close_rui_2b32","animationOpen":"animationOpen_rui_2b32","show":"show_rui_2b32","animationClosing":"animationClosing_rui_2b32","animationShaking":"animationShaking_rui_2b32","shaking":"shaking_rui_2b32"};
32
44
 
33
45
  const ANIMATION_TIME = 500;
34
46
  /**
@@ -4,7 +4,7 @@ import { createPortal } from 'react-dom';
4
4
  import classNames from 'classnames';
5
5
  import PropTypes from 'prop-types';
6
6
 
7
- var modules_fc8df42d = {"unit":"8px","alertContainer":"alertContainer_rui_bb3b","alertInContainer":"alertInContainer_rui_bb3b alert_rui_4dea"};
7
+ var modules_fc8df42d = {"unit":"8px","alertContainer":"alertContainer_rui_a9a3","alertInContainer":"alertInContainer_rui_a9a3 alert_rui_2b32"};
8
8
 
9
9
  class Alerts extends PureComponent {
10
10
  render() {
@@ -1,9 +1,11 @@
1
1
  import { _ as _defineProperty, a as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
2
+ import 'core-js/modules/web.dom-collections.iterator.js';
2
3
  import React from 'react';
3
- import { render } from 'react-dom';
4
+ import { render } from '../global/react-render-adapter.js';
4
5
  import getUID from '../global/get-uid.js';
5
6
  import Alert, { ANIMATION_TIME } from '../alert/alert.js';
6
7
  import Alerts from '../alert/container.js';
8
+ import 'react-dom';
7
9
  import 'classnames';
8
10
  import 'prop-types';
9
11
  import '@jetbrains/icons/exception';
@@ -15,6 +17,7 @@ import 'util-deprecate';
15
17
  import '../icon/icon__constants.js';
16
18
  import '../_helpers/icon.js';
17
19
  import '../icon/icon__svg.js';
20
+ import 'core-js/modules/es.string.replace.js';
18
21
  import '../global/memoize.js';
19
22
  import '../loader-inline/loader-inline.js';
20
23
  import '../global/data-tests.js';
@@ -28,6 +31,16 @@ import '../global/controls-height.js';
28
31
  import '../_helpers/button__classes.js';
29
32
  import '../_helpers/theme.js';
30
33
  import '../popup/popup.target.js';
34
+ import '../popup/popup.js';
35
+ import '../global/schedule-raf.js';
36
+ import '../shortcuts/shortcuts.js';
37
+ import '../shortcuts/core.js';
38
+ import 'combokeys';
39
+ import '../global/sniffer.js';
40
+ import 'sniffr';
41
+ import '../tab-trap/tab-trap.js';
42
+ import '../popup/position.js';
43
+ import '../popup/popup.consts.js';
31
44
 
32
45
  /**
33
46
  * @name Alert Service
@@ -1,4 +1,5 @@
1
1
  import { _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
2
+ import 'core-js/modules/es.string.replace.js';
2
3
 
3
4
  /**
4
5
  * @name Analytics
@@ -58,7 +59,7 @@ class Analytics {
58
59
 
59
60
  trackShortcutEvent(category, action, additionalData) {
60
61
  this.trackEvent(category, action, additionalData);
61
- this.trackEvent('ring-shortcut', `${category}$${action}`, additionalData);
62
+ this.trackEvent('ring-shortcut', "".concat(category, "$").concat(action), additionalData);
62
63
  }
63
64
 
64
65
  trackEntityProperties(entityName, entity, propertiesNames, additionalData) {
@@ -83,7 +84,7 @@ class Analytics {
83
84
  value = value.toLowerCase().replace(/[._]+/g, '-');
84
85
  }
85
86
 
86
- const resultAction = `${keys.join('-')}__${value}`;
87
+ const resultAction = "".concat(keys.join('-'), "__").concat(value);
87
88
  this.trackEvent(entityName, resultAction, additionalData);
88
89
  }
89
90
  }
@@ -98,7 +99,7 @@ class Analytics {
98
99
 
99
100
  for (key in additionalData) {
100
101
  if (additionalData.hasOwnProperty(key)) {
101
- suffix += `__${key}$${additionalData[key]}`;
102
+ suffix += "__".concat(key, "$").concat(additionalData[key]);
102
103
  }
103
104
  }
104
105
 
@@ -1,5 +1,6 @@
1
1
  import { _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
2
2
  import AnalyticsPluginUtils from './analytics__plugin-utils.js';
3
+ import 'core-js/modules/es.string.replace.js';
3
4
  import '../global/sniffer.js';
4
5
  import 'sniffr';
5
6
 
@@ -121,7 +122,7 @@ class AnalyticsCustomPlugin {
121
122
  if (this._lastPageViewTime) {
122
123
  const duration = AnalyticsPluginUtils.getPageViewDurationPresentation(currentTime - this._lastPageViewTime);
123
124
 
124
- this._processEvent(`ring-pageview-duration_${this._lastPagePath}`, duration);
125
+ this._processEvent("ring-pageview-duration_".concat(this._lastPagePath), duration);
125
126
  }
126
127
  }
127
128
 
@@ -1,4 +1,5 @@
1
1
  import { _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
2
+ import 'core-js/modules/es.string.replace.js';
2
3
  import AnalyticsPluginUtils from './analytics__plugin-utils.js';
3
4
  import '../global/sniffer.js';
4
5
  import 'sniffr';
@@ -10,7 +10,7 @@ declare global {
10
10
  * @constructor
11
11
  */
12
12
  export default class AnalyticsGAPlugin implements AnalyticsPlugin {
13
- constructor(gaId?: string | undefined, isDevelopment?: boolean | undefined, domain?: string);
13
+ constructor(gaId?: string | undefined, isDevelopment?: boolean | undefined, domain?: string, cookielessUserIdentifier?: string | undefined);
14
14
  trackEvent(category: string, action: string): void;
15
15
  trackPageView(path: string): void;
16
16
  get serializeAdditionalInfo(): boolean;
@@ -4,7 +4,7 @@
4
4
  * @constructor
5
5
  */
6
6
  class AnalyticsGAPlugin {
7
- constructor(gaId, isDevelopment, domain) {
7
+ constructor(gaId, isDevelopment, domain, cookielessUserIdentifier) {
8
8
  if (!gaId && !isDevelopment) {
9
9
  return;
10
10
  }
@@ -37,13 +37,22 @@ class AnalyticsGAPlugin {
37
37
  const key = gaId || 'UA-57284711-1';
38
38
  /* global ga */
39
39
 
40
- const gaCookieParams = domain ? {
41
- cookieDomain: domain
42
- } : {};
43
- ga('create', key, !gaId ? {
44
- cookieDomain: 'none'
45
- } : gaCookieParams);
40
+ if (cookielessUserIdentifier) {
41
+ ga('create', key, {
42
+ storage: 'none',
43
+ clientId: cookielessUserIdentifier
44
+ });
45
+ } else {
46
+ const gaCookieParams = domain ? {
47
+ cookieDomain: domain
48
+ } : {};
49
+ ga('create', key, !gaId ? {
50
+ cookieDomain: 'none'
51
+ } : gaCookieParams);
52
+ }
53
+
46
54
  ga('set', 'anonymizeIp', true);
55
+ ga('set', 'location', domain || '/');
47
56
  ga('set', 'allowAdFeatures', false);
48
57
  }
49
58
 
@@ -1,3 +1,4 @@
1
+ import 'core-js/modules/es.string.replace.js';
1
2
  import sniffr from '../global/sniffer.js';
2
3
  import 'sniffr';
3
4
 
@@ -42,7 +43,7 @@ const AnalyticsPluginUtils = {
42
43
 
43
44
  let roundedDuration = Math.floor(Math.pow(2, Math.floor(Math.log2(duration)) + 1));
44
45
  roundedDuration = roundedDuration > 0 ? roundedDuration : 1;
45
- return `less-than-${roundedDuration}-sec`;
46
+ return "less-than-".concat(roundedDuration, "-sec");
46
47
  },
47
48
  getScreenWidthPresentation: () => {
48
49
  /**
@@ -53,7 +54,7 @@ const AnalyticsPluginUtils = {
53
54
 
54
55
  for (let i = 1; i < sizes.length; ++i) {
55
56
  if (window.innerWidth < sizes[i]) {
56
- return `[${sizes[i - 1]}px;${sizes[i]}px)`;
57
+ return "[".concat(sizes[i - 1], "px;").concat(sizes[i], "px)");
57
58
  }
58
59
  }
59
60
 
@@ -64,7 +65,7 @@ const AnalyticsPluginUtils = {
64
65
  const name = AnalyticsPluginUtils.npeSaveLowerCase(sniffr.browser.name || 'unknown');
65
66
  const majorVersion = sniffr.browser.version[0];
66
67
  const version = majorVersion || 'unknown';
67
- return `${name}$${version}`;
68
+ return "".concat(name, "$").concat(version);
68
69
  },
69
70
  getDevicePixelRatioPresentation: () => {
70
71
  if (!window.devicePixelRatio || !window.devicePixelRatio.toFixed) {
@@ -4,6 +4,7 @@ import AnalyticsGAPlugin from '../analytics/analytics__ga-plugin.js';
4
4
  import AnalyticsFUSPlugin from '../analytics/analytics__fus-plugin.js';
5
5
  import AnalyticsCustomPlugin from '../analytics/analytics__custom-plugin.js';
6
6
  import '../_helpers/_rollupPluginBabelHelpers.js';
7
+ import 'core-js/modules/es.string.replace.js';
7
8
  import '../analytics/analytics__plugin-utils.js';
8
9
  import '../global/sniffer.js';
9
10
  import 'sniffr';
@@ -36,9 +37,9 @@ angularModule.provider('analytics', function provider() {
36
37
  try {
37
38
  const plugin = $injector.get(configPlugins[i]);
38
39
  loadedPlugins.push(plugin);
39
- $log.debug(`analytics: loaded plugin ${configPlugins[i]}`);
40
+ $log.debug("analytics: loaded plugin ".concat(configPlugins[i]));
40
41
  } catch (err) {
41
- $log.debug(`analytics: unable to load factory ${configPlugins[i]}`);
42
+ $log.debug("analytics: unable to load factory ".concat(configPlugins[i]));
42
43
  }
43
44
  } else {
44
45
  loadedPlugins.push(configPlugins[i]);
package/dist/auth/auth.js CHANGED
@@ -4,11 +4,14 @@ import Auth from './auth__core.js';
4
4
  export { DEFAULT_BACKGROUND_TIMEOUT, DEFAULT_EXPIRES_TIMEOUT, DOMAIN_USER_CHANGED_EVENT, LOGOUT_EVENT, LOGOUT_POSTPONED_EVENT, USER_CHANGED_EVENT, USER_CHANGE_POSTPONED_EVENT, default } from './auth__core.js';
5
5
  import '../_helpers/_rollupPluginBabelHelpers.js';
6
6
  import './response-parser.js';
7
+ import 'core-js/modules/es.string.replace.js';
7
8
  import 'es6-error';
8
9
  import '../global/url.js';
9
10
  import 'react';
10
11
  import 'prop-types';
11
12
  import '../alert-service/alert-service.js';
13
+ import 'core-js/modules/web.dom-collections.iterator.js';
14
+ import '../global/react-render-adapter.js';
12
15
  import 'react-dom';
13
16
  import '../global/get-uid.js';
14
17
  import '../alert/alert.js';
@@ -35,6 +38,16 @@ import '../global/controls-height.js';
35
38
  import '../_helpers/button__classes.js';
36
39
  import '../_helpers/theme.js';
37
40
  import '../popup/popup.target.js';
41
+ import '../popup/popup.js';
42
+ import '../global/schedule-raf.js';
43
+ import '../shortcuts/shortcuts.js';
44
+ import '../shortcuts/core.js';
45
+ import 'combokeys';
46
+ import '../global/sniffer.js';
47
+ import 'sniffr';
48
+ import '../tab-trap/tab-trap.js';
49
+ import '../popup/position.js';
50
+ import '../popup/popup.consts.js';
38
51
  import '../alert/container.js';
39
52
  import '../link/link.js';
40
53
  import '../_helpers/link.js';
@@ -1,4 +1,6 @@
1
1
  import { _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
2
+ import 'core-js/modules/web.dom-collections.iterator.js';
3
+ import 'core-js/modules/es.string.replace.js';
2
4
  import { getAbsoluteBaseURL, fixUrl } from '../global/url.js';
3
5
  import Listeners from '../global/listeners.js';
4
6
  import HTTP from '../http/http.js';
@@ -13,6 +15,7 @@ import '../storage/storage.js';
13
15
  import '../storage/storage__local.js';
14
16
  import '../alert-service/alert-service.js';
15
17
  import 'react';
18
+ import '../global/react-render-adapter.js';
16
19
  import 'react-dom';
17
20
  import '../global/get-uid.js';
18
21
  import '../alert/alert.js';
@@ -40,6 +43,16 @@ import '../global/controls-height.js';
40
43
  import '../_helpers/button__classes.js';
41
44
  import '../_helpers/theme.js';
42
45
  import '../popup/popup.target.js';
46
+ import '../popup/popup.js';
47
+ import '../global/schedule-raf.js';
48
+ import '../shortcuts/shortcuts.js';
49
+ import '../shortcuts/core.js';
50
+ import 'combokeys';
51
+ import '../global/sniffer.js';
52
+ import 'sniffr';
53
+ import '../tab-trap/tab-trap.js';
54
+ import '../popup/position.js';
55
+ import '../popup/popup.consts.js';
43
56
  import '../alert/container.js';
44
57
  import '../storage/storage__fallback.js';
45
58
  import 'deep-equal';
@@ -145,7 +158,7 @@ class Auth {
145
158
  const unsupportedParams = ['redirect_uri', 'request_credentials', 'client_id'].filter(param => config.hasOwnProperty(param));
146
159
 
147
160
  if (unsupportedParams.length !== 0) {
148
- throw new Error(`The following parameters are no longer supported: ${unsupportedParams.join(', ')}. Please change them from snake_case to camelCase.`);
161
+ throw new Error("The following parameters are no longer supported: ".concat(unsupportedParams.join(', '), ". Please change them from snake_case to camelCase."));
149
162
  }
150
163
 
151
164
  config.userFields = config.userFields || [];
@@ -176,10 +189,10 @@ class Auth {
176
189
  }
177
190
 
178
191
  this._storage = new AuthStorage({
179
- messagePrefix: `${clientId}-message-`,
180
- stateKeyPrefix: `${clientId}-states-`,
181
- tokenKey: `${clientId}-token`,
182
- userKey: `${clientId}-user-`
192
+ messagePrefix: "".concat(clientId, "-message-"),
193
+ stateKeyPrefix: "".concat(clientId, "-states-"),
194
+ tokenKey: "".concat(clientId, "-token"),
195
+ userKey: "".concat(clientId, "-user-")
183
196
  });
184
197
  this._domainStorage = new AuthStorage({
185
198
  messagePrefix: 'domain-message-'
@@ -364,7 +377,7 @@ class Auth {
364
377
  // Check if there is a valid token
365
378
  await ((_this$_tokenValidator = this._tokenValidator) === null || _this$_tokenValidator === void 0 ? void 0 : _this$_tokenValidator.validateToken()); // Checking if there is a message left by another app on this domain
366
379
 
367
- const message = await this._domainStorage._messagesStorage.get(`domain-message-${DOMAIN_USER_CHANGED_EVENT}`);
380
+ const message = await this._domainStorage._messagesStorage.get("domain-message-".concat(DOMAIN_USER_CHANGED_EVENT));
368
381
 
369
382
  if (message) {
370
383
  var _this$user;
@@ -571,7 +584,7 @@ class Auth {
571
584
  const {
572
585
  serviceName,
573
586
  iconUrl: serviceImage
574
- } = (await this.http.get(`oauth2/interactive/login/settings?client_id=${this.config.clientId}`)) || {};
587
+ } = (await this.http.get("oauth2/interactive/login/settings?client_id=".concat(this.config.clientId))) || {};
575
588
  this.setCurrentService({
576
589
  serviceImage,
577
590
  serviceName
@@ -823,7 +836,7 @@ class Auth {
823
836
  // https://www.jetbrains.com/help/youtrack/devportal/OAuth-2.0-Errors.html
824
837
  if ('code' in error && error.code && typeof error.code === 'object' && 'code' in error.code && typeof error.code.code === 'string') {
825
838
  const readableCode = error.code.code.split('_').join(' ');
826
- return `Authorization error: ${readableCode}`;
839
+ return "Authorization error: ".concat(readableCode);
827
840
  }
828
841
  } catch {// noop
829
842
  }
@@ -1039,11 +1052,15 @@ class Auth {
1039
1052
  }
1040
1053
 
1041
1054
  _checkBackendsAreUp() {
1055
+ const abortCtrl = new AbortController();
1042
1056
  const {
1043
1057
  backendCheckTimeout
1044
1058
  } = this.config;
1045
- return Promise.all([promiseWithTimeout(this.http.fetch('settings/public?fields=id'), backendCheckTimeout, {
1046
- error: new Error('The authorization server is taking too long to respond. Please try again later.')
1059
+ return Promise.all([promiseWithTimeout(this.http.fetch('settings/public?fields=id', {
1060
+ signal: abortCtrl.signal
1061
+ }), backendCheckTimeout, {
1062
+ error: new Error('The authorization server is taking too long to respond. Please try again later.'),
1063
+ onTimeout: () => abortCtrl.abort()
1047
1064
  }), this.config.checkBackendIsUp()]).catch(err => {
1048
1065
  if (err instanceof TypeError) {
1049
1066
  throw new TypeError('Could not connect to the server due to network error. Please check your connection and try again.');
@@ -1118,8 +1135,8 @@ class Auth {
1118
1135
  // NB! URL to redirect is formed manually because baseURI could be messed up,
1119
1136
  // in which case it's not obvious where redirect will lead.
1120
1137
  const cleanedUrl = [window.location.pathname, window.location.search].join('');
1121
- const hashIfExist = hash ? `#${hash}` : '';
1122
- history.replaceState(undefined, '', `${cleanedUrl}${hashIfExist}`);
1138
+ const hashIfExist = hash ? "#".concat(hash) : '';
1139
+ history.replaceState(undefined, '', "".concat(cleanedUrl).concat(hashIfExist));
1123
1140
  } else {
1124
1141
  window.location.hash = hash;
1125
1142
  }
@@ -1,5 +1,6 @@
1
1
  import { _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
2
2
  import AuthResponseParser from './response-parser.js';
3
+ import 'core-js/modules/es.string.replace.js';
3
4
  import 'es6-error';
4
5
  import '../global/url.js';
5
6
 
@@ -43,7 +44,7 @@ class BackgroundFlow {
43
44
 
44
45
 
45
46
  _redirectFrame(iframe, url) {
46
- iframe.src = `${url}&rnd=${Math.random()}`;
47
+ iframe.src = "".concat(url, "&rnd=").concat(Math.random());
47
48
  }
48
49
  /**
49
50
  * Refreshes the access token in an iframe.