@jetbrains/ring-ui-built 6.0.35 → 6.0.36

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 (333) hide show
  1. package/components/_helpers/_rollupPluginBabelHelpers.js +1 -10
  2. package/components/_helpers/anchor.js +9 -6
  3. package/components/_helpers/caption.js +5 -4
  4. package/components/_helpers/card.js +65 -49
  5. package/components/_helpers/icon__svg.js +4 -3
  6. package/components/_helpers/input.js +45 -36
  7. package/components/_helpers/query-assist__suggestions.js +18 -14
  8. package/components/_helpers/select__filter.js +22 -17
  9. package/components/_helpers/services-link.js +14 -12
  10. package/components/_helpers/sidebar.js +20 -16
  11. package/components/_helpers/tab-link.js +21 -13
  12. package/components/_helpers/theme.js +18 -11
  13. package/components/_helpers/title.js +20 -16
  14. package/components/alert/alert.d.ts +2 -1
  15. package/components/alert/alert.js +20 -17
  16. package/components/alert/container.d.ts +2 -2
  17. package/components/alert/container.js +14 -11
  18. package/components/alert-service/alert-service.d.ts +2 -2
  19. package/components/alert-service/alert-service.js +14 -14
  20. package/components/analytics/analytics.js +1 -1
  21. package/components/analytics/analytics__custom-plugin.js +1 -1
  22. package/components/auth/auth.js +1 -0
  23. package/components/auth/auth__core.js +3 -2
  24. package/components/auth/background-flow.js +1 -1
  25. package/components/auth/down-notification.d.ts +1 -1
  26. package/components/auth/down-notification.js +21 -14
  27. package/components/auth/iframe-flow.js +7 -5
  28. package/components/auth/request-builder.js +1 -1
  29. package/components/auth/response-parser.js +1 -1
  30. package/components/auth/storage.js +3 -2
  31. package/components/auth/token-validator.js +1 -1
  32. package/components/auth/window-flow.js +1 -1
  33. package/components/auth-dialog/auth-dialog.d.ts +2 -2
  34. package/components/auth-dialog/auth-dialog.js +42 -32
  35. package/components/auth-dialog-service/auth-dialog-service.js +6 -7
  36. package/components/avatar/avatar.d.ts +2 -2
  37. package/components/avatar/avatar.js +29 -28
  38. package/components/avatar/fallback-avatar.d.ts +2 -2
  39. package/components/avatar/fallback-avatar.js +50 -37
  40. package/components/badge/badge.d.ts +2 -2
  41. package/components/badge/badge.js +7 -8
  42. package/components/breadcrumbs/breadcrumbs.d.ts +6 -0
  43. package/components/breadcrumbs/breadcrumbs.js +27 -0
  44. package/components/button/button.d.ts +2 -1
  45. package/components/button/button.js +26 -25
  46. package/components/button-group/button-group.d.ts +4 -2
  47. package/components/button-group/button-group.js +19 -10
  48. package/components/button-group/caption.d.ts +2 -2
  49. package/components/button-group/caption.js +1 -0
  50. package/components/button-set/button-set.d.ts +2 -2
  51. package/components/button-set/button-set.js +7 -8
  52. package/components/button-toolbar/button-toolbar.d.ts +2 -2
  53. package/components/button-toolbar/button-toolbar.js +4 -6
  54. package/components/caret/caret.js +1 -1
  55. package/components/checkbox/checkbox.d.ts +3 -2
  56. package/components/checkbox/checkbox.js +33 -28
  57. package/components/clipboard/clipboard.js +3 -2
  58. package/components/code/code.d.ts +3 -3
  59. package/components/code/code.js +14 -11
  60. package/components/collapse/collapse-content.d.ts +2 -1
  61. package/components/collapse/collapse-content.js +13 -10
  62. package/components/collapse/collapse-control.d.ts +1 -1
  63. package/components/collapse/collapse-control.js +10 -11
  64. package/components/collapse/collapse.d.ts +2 -1
  65. package/components/collapse/collapse.js +16 -16
  66. package/components/confirm/confirm.d.ts +2 -1
  67. package/components/confirm/confirm.js +29 -21
  68. package/components/confirm-service/confirm-service.js +6 -4
  69. package/components/content-layout/content-layout.d.ts +2 -2
  70. package/components/content-layout/content-layout.js +12 -12
  71. package/components/content-layout/sidebar.d.ts +2 -2
  72. package/components/content-layout/sidebar.js +1 -0
  73. package/components/contenteditable/contenteditable.d.ts +3 -3
  74. package/components/contenteditable/contenteditable.js +5 -7
  75. package/components/control-help/control-help.d.ts +4 -0
  76. package/components/control-help/control-help.js +16 -0
  77. package/components/control-label/control-label.d.ts +2 -1
  78. package/components/control-label/control-label.js +7 -4
  79. package/components/data-list/data-list.d.ts +11 -11
  80. package/components/data-list/data-list.js +44 -40
  81. package/components/data-list/data-list.mock.d.ts +2 -2
  82. package/components/data-list/data-list.mock.js +165 -73
  83. package/components/data-list/item.d.ts +3 -3
  84. package/components/data-list/item.js +49 -40
  85. package/components/data-list/selection.js +1 -1
  86. package/components/data-list/title.d.ts +3 -3
  87. package/components/data-list/title.js +2 -0
  88. package/components/date-picker/date-input.d.ts +1 -1
  89. package/components/date-picker/date-input.js +5 -3
  90. package/components/date-picker/date-picker.d.ts +2 -1
  91. package/components/date-picker/date-picker.js +43 -34
  92. package/components/date-picker/date-popup.d.ts +2 -1
  93. package/components/date-picker/date-popup.js +51 -45
  94. package/components/date-picker/day.d.ts +2 -2
  95. package/components/date-picker/day.js +11 -8
  96. package/components/date-picker/month-names.d.ts +2 -2
  97. package/components/date-picker/month-names.js +27 -25
  98. package/components/date-picker/month-slider.d.ts +2 -2
  99. package/components/date-picker/month-slider.js +15 -13
  100. package/components/date-picker/month.d.ts +2 -2
  101. package/components/date-picker/month.js +18 -15
  102. package/components/date-picker/months.d.ts +2 -2
  103. package/components/date-picker/months.js +18 -15
  104. package/components/date-picker/weekdays.d.ts +2 -2
  105. package/components/date-picker/weekdays.js +14 -13
  106. package/components/date-picker/years.d.ts +3 -3
  107. package/components/date-picker/years.js +19 -17
  108. package/components/dialog/dialog.d.ts +2 -1
  109. package/components/dialog/dialog.js +48 -45
  110. package/components/dropdown/anchor.d.ts +3 -3
  111. package/components/dropdown/anchor.js +1 -0
  112. package/components/dropdown/dropdown.d.ts +2 -1
  113. package/components/dropdown/dropdown.js +12 -12
  114. package/components/dropdown-menu/dropdown-menu.d.ts +3 -3
  115. package/components/dropdown-menu/dropdown-menu.js +41 -29
  116. package/components/editable-heading/editable-heading.d.ts +2 -1
  117. package/components/editable-heading/editable-heading.js +74 -58
  118. package/components/error-bubble/error-bubble.d.ts +2 -2
  119. package/components/error-bubble/error-bubble.js +20 -19
  120. package/components/error-message/error-message.d.ts +2 -2
  121. package/components/error-message/error-message.js +22 -20
  122. package/components/footer/footer.d.ts +2 -2
  123. package/components/footer/footer.js +31 -27
  124. package/components/form/form.js +1 -1
  125. package/components/global/create-stateful-context.d.ts +5 -5
  126. package/components/global/create-stateful-context.js +10 -7
  127. package/components/global/data-tests.js +1 -1
  128. package/components/global/dom.js +1 -1
  129. package/components/global/focus-sensor-hoc.js +4 -3
  130. package/components/global/fuzzy-highlight.js +1 -1
  131. package/components/global/get-event-key.d.ts +1 -1
  132. package/components/global/inject-styles.js +1 -1
  133. package/components/global/listeners.js +1 -1
  134. package/components/global/normalize-indent.js +1 -1
  135. package/components/global/react-dom-renderer.d.ts +2 -2
  136. package/components/global/react-dom-renderer.js +4 -3
  137. package/components/global/rerender-hoc.d.ts +2 -2
  138. package/components/global/rerender-hoc.js +5 -4
  139. package/components/global/theme.d.ts +3 -3
  140. package/components/global/theme.js +1 -0
  141. package/components/global/trivial-template-tag.js +1 -1
  142. package/components/grid/col.d.ts +2 -2
  143. package/components/grid/col.js +7 -5
  144. package/components/grid/grid.d.ts +2 -2
  145. package/components/grid/grid.js +7 -8
  146. package/components/grid/row.d.ts +2 -2
  147. package/components/grid/row.js +7 -5
  148. package/components/group/group.d.ts +2 -2
  149. package/components/group/group.js +7 -8
  150. package/components/header/header.d.ts +2 -2
  151. package/components/header/header.js +12 -14
  152. package/components/header/logo.d.ts +2 -2
  153. package/components/header/logo.js +7 -5
  154. package/components/header/profile.d.ts +4 -3
  155. package/components/header/profile.js +40 -29
  156. package/components/header/services-link.d.ts +2 -2
  157. package/components/header/services-link.js +1 -0
  158. package/components/header/services.d.ts +2 -2
  159. package/components/header/services.js +31 -31
  160. package/components/header/smart-profile.d.ts +2 -2
  161. package/components/header/smart-profile.js +5 -3
  162. package/components/header/smart-services.d.ts +2 -2
  163. package/components/header/smart-services.js +4 -3
  164. package/components/header/tray-icon.d.ts +2 -2
  165. package/components/header/tray-icon.js +4 -3
  166. package/components/header/tray.d.ts +2 -2
  167. package/components/header/tray.js +11 -8
  168. package/components/heading/heading.d.ts +6 -6
  169. package/components/heading/heading.js +8 -9
  170. package/components/http/http.js +1 -1
  171. package/components/http/http.mock.js +1 -1
  172. package/components/hub-source/hub-source.js +1 -1
  173. package/components/hub-source/hub-source__user.js +1 -1
  174. package/components/hub-source/hub-source__users-groups.js +1 -1
  175. package/components/i18n/i18n-context.d.ts +1 -1
  176. package/components/i18n/i18n-context.js +7 -4
  177. package/components/icon/icon.d.ts +2 -2
  178. package/components/icon/icon.js +12 -10
  179. package/components/icon/icon__svg.d.ts +3 -3
  180. package/components/icon/icon__svg.js +1 -0
  181. package/components/icon/index.js +1 -0
  182. package/components/input/input.d.ts +3 -2
  183. package/components/input/input.js +2 -0
  184. package/components/island/adaptive-island-hoc.d.ts +11 -11
  185. package/components/island/adaptive-island-hoc.js +10 -7
  186. package/components/island/content.d.ts +3 -3
  187. package/components/island/content.js +29 -23
  188. package/components/island/header.d.ts +2 -2
  189. package/components/island/header.js +18 -13
  190. package/components/island/island.d.ts +10 -10
  191. package/components/island/island.js +7 -8
  192. package/components/island-legacy/content-legacy.d.ts +2 -2
  193. package/components/island-legacy/content-legacy.js +7 -5
  194. package/components/island-legacy/header-legacy.d.ts +2 -2
  195. package/components/island-legacy/header-legacy.js +10 -7
  196. package/components/island-legacy/island-legacy.d.ts +2 -2
  197. package/components/island-legacy/island-legacy.js +7 -5
  198. package/components/link/clickableLink.d.ts +2 -1
  199. package/components/link/clickableLink.js +8 -6
  200. package/components/link/link.d.ts +15 -15
  201. package/components/link/link.js +12 -9
  202. package/components/list/consts.d.ts +2 -1
  203. package/components/list/list.d.ts +10 -10
  204. package/components/list/list.js +109 -95
  205. package/components/list/list__custom.d.ts +2 -1
  206. package/components/list/list__custom.js +7 -5
  207. package/components/list/list__hint.d.ts +2 -2
  208. package/components/list/list__hint.js +7 -9
  209. package/components/list/list__item.d.ts +2 -2
  210. package/components/list/list__item.js +73 -65
  211. package/components/list/list__link.d.ts +2 -2
  212. package/components/list/list__link.js +8 -10
  213. package/components/list/list__separator.d.ts +2 -2
  214. package/components/list/list__separator.js +7 -5
  215. package/components/list/list__title.d.ts +2 -2
  216. package/components/list/list__title.js +15 -11
  217. package/components/list/list__users-groups-source.js +3 -1
  218. package/components/loader/loader.d.ts +2 -2
  219. package/components/loader/loader.js +5 -10
  220. package/components/loader/loader__core.js +1 -1
  221. package/components/loader-inline/loader-inline.d.ts +2 -2
  222. package/components/loader-inline/loader-inline.js +10 -9
  223. package/components/loader-screen/loader-screen.d.ts +2 -2
  224. package/components/loader-screen/loader-screen.js +10 -11
  225. package/components/login-dialog/login-dialog.d.ts +2 -2
  226. package/components/login-dialog/login-dialog.js +21 -16
  227. package/components/login-dialog/service.js +6 -4
  228. package/components/markdown/markdown.d.ts +2 -2
  229. package/components/markdown/markdown.js +7 -8
  230. package/components/message/message.d.ts +2 -2
  231. package/components/message/message.js +50 -41
  232. package/components/old-browsers-message/white-list.js +1 -1
  233. package/components/pager/pager.d.ts +2 -1
  234. package/components/pager/pager.js +71 -53
  235. package/components/panel/panel.d.ts +2 -2
  236. package/components/panel/panel.js +7 -8
  237. package/components/permissions/permissions.js +1 -1
  238. package/components/permissions/permissions__cache.js +1 -1
  239. package/components/popup/popup.d.ts +2 -1
  240. package/components/popup/popup.js +46 -39
  241. package/components/popup/popup.target.d.ts +3 -3
  242. package/components/popup/popup.target.js +11 -8
  243. package/components/popup-menu/popup-menu.d.ts +2 -2
  244. package/components/popup-menu/popup-menu.js +13 -9
  245. package/components/progress-bar/progress-bar.d.ts +2 -2
  246. package/components/progress-bar/progress-bar.js +17 -18
  247. package/components/query-assist/query-assist.d.ts +3 -2
  248. package/components/query-assist/query-assist.js +122 -109
  249. package/components/query-assist/query-assist__suggestions.d.ts +2 -2
  250. package/components/query-assist/query-assist__suggestions.js +3 -1
  251. package/components/radio/radio.d.ts +3 -3
  252. package/components/radio/radio.js +8 -8
  253. package/components/radio/radio__item.d.ts +9 -6
  254. package/components/radio/radio__item.js +46 -37
  255. package/components/select/select.d.ts +5 -2
  256. package/components/select/select.js +201 -180
  257. package/components/select/select__filter.d.ts +2 -2
  258. package/components/select/select__filter.js +2 -0
  259. package/components/select/select__popup.d.ts +6 -4
  260. package/components/select/select__popup.js +101 -84
  261. package/components/shortcuts/core.d.ts +0 -1
  262. package/components/shortcuts/core.js +1 -1
  263. package/components/shortcuts/shortcuts-hoc.d.ts +8 -8
  264. package/components/shortcuts/shortcuts-hoc.js +10 -8
  265. package/components/shortcuts/shortcuts.js +1 -1
  266. package/components/slider/slider.d.ts +2 -1
  267. package/components/slider/slider.js +78 -78
  268. package/components/slider/slider.utils.js +1 -1
  269. package/components/storage/storage.js +2 -1
  270. package/components/storage/storage__fallback.js +1 -1
  271. package/components/storage/storage__local.js +3 -2
  272. package/components/style.css +1 -1
  273. package/components/tab-trap/tab-trap.d.ts +2 -1
  274. package/components/tab-trap/tab-trap.js +25 -20
  275. package/components/table/cell.d.ts +2 -2
  276. package/components/table/cell.js +7 -5
  277. package/components/table/disable-hover-hoc.d.ts +9 -9
  278. package/components/table/disable-hover-hoc.js +4 -3
  279. package/components/table/header-cell.d.ts +2 -2
  280. package/components/table/header-cell.js +17 -13
  281. package/components/table/header.d.ts +3 -3
  282. package/components/table/header.js +34 -26
  283. package/components/table/multitable.d.ts +2 -2
  284. package/components/table/multitable.js +12 -10
  285. package/components/table/row-with-focus-sensor.d.ts +3 -3
  286. package/components/table/row-with-focus-sensor.js +5 -3
  287. package/components/table/row.d.ts +2 -1
  288. package/components/table/row.js +50 -44
  289. package/components/table/selection-adapter.js +1 -1
  290. package/components/table/selection-shortcuts-hoc.js +4 -3
  291. package/components/table/selection.js +1 -1
  292. package/components/table/smart-table.d.ts +44 -44
  293. package/components/table/smart-table.js +5 -3
  294. package/components/table/table.d.ts +2 -1
  295. package/components/table/table.js +55 -45
  296. package/components/tabs/collapsible-more.d.ts +4 -4
  297. package/components/tabs/collapsible-more.js +37 -30
  298. package/components/tabs/collapsible-tab.d.ts +2 -1
  299. package/components/tabs/collapsible-tab.js +6 -6
  300. package/components/tabs/collapsible-tabs.d.ts +4 -4
  301. package/components/tabs/collapsible-tabs.js +51 -46
  302. package/components/tabs/dumb-tabs.d.ts +2 -1
  303. package/components/tabs/dumb-tabs.js +24 -18
  304. package/components/tabs/smart-tabs.d.ts +2 -2
  305. package/components/tabs/smart-tabs.js +8 -4
  306. package/components/tabs/tab-link.d.ts +3 -3
  307. package/components/tabs/tab-link.js +1 -0
  308. package/components/tabs/tab.d.ts +2 -2
  309. package/components/tabs/tab.js +7 -5
  310. package/components/tabs/tabs.js +2 -0
  311. package/components/tag/tag.d.ts +2 -1
  312. package/components/tag/tag.js +31 -28
  313. package/components/tags-input/tags-input.d.ts +3 -2
  314. package/components/tags-input/tags-input.js +52 -47
  315. package/components/tags-list/tags-list.d.ts +2 -1
  316. package/components/tags-list/tags-list.js +8 -5
  317. package/components/text/text.d.ts +2 -2
  318. package/components/text/text.js +7 -4
  319. package/components/toggle/toggle.d.ts +2 -2
  320. package/components/toggle/toggle.js +25 -20
  321. package/components/tooltip/tooltip.d.ts +2 -1
  322. package/components/tooltip/tooltip.js +26 -21
  323. package/components/user-agreement/service.js +20 -12
  324. package/components/user-agreement/user-agreement.d.ts +2 -2
  325. package/components/user-agreement/user-agreement.js +56 -39
  326. package/components/user-card/card.d.ts +2 -1
  327. package/components/user-card/card.js +1 -0
  328. package/components/user-card/smart-user-card-tooltip.d.ts +3 -3
  329. package/components/user-card/smart-user-card-tooltip.js +11 -7
  330. package/components/user-card/tooltip.d.ts +3 -3
  331. package/components/user-card/tooltip.js +15 -11
  332. package/components/user-card/user-card.js +1 -0
  333. package/package.json +5 -5
@@ -111,15 +111,6 @@ function _defineProperty(e, r, t) {
111
111
  writable: !0
112
112
  }) : e[r] = t, e;
113
113
  }
114
- function _extends() {
115
- return _extends = Object.assign ? Object.assign.bind() : function (n) {
116
- for (var e = 1; e < arguments.length; e++) {
117
- var t = arguments[e];
118
- for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
119
- }
120
- return n;
121
- }, _extends.apply(null, arguments);
122
- }
123
114
  function _get() {
124
115
  return _get = "undefined" != typeof Reflect && Reflect.get ? Reflect.get.bind() : function (e, t, r) {
125
116
  var p = _superPropBase(e, t);
@@ -574,4 +565,4 @@ function _unsupportedIterableToArray(r, a) {
574
565
  }
575
566
  }
576
567
 
577
- export { _defineProperty as _, _inherits as a, _createClass as b, _objectWithoutProperties as c, _objectSpread2 as d, _extends as e, _classCallCheck as f, _callSuper as g, _asyncToGenerator as h, _regeneratorRuntime as i, _slicedToArray as j, _toConsumableArray as k, _createForOfIteratorHelper as l, _get as m, _getPrototypeOf as n, _toPropertyKey as o };
568
+ export { _defineProperty as _, _inherits as a, _createClass as b, _objectWithoutProperties as c, _objectSpread2 as d, _classCallCheck as e, _callSuper as f, _asyncToGenerator as g, _regeneratorRuntime as h, _slicedToArray as i, _toConsumableArray as j, _createForOfIteratorHelper as k, _get as l, _getPrototypeOf as m, _toPropertyKey as n };
@@ -1,10 +1,11 @@
1
- import { c as _objectWithoutProperties, e as _extends } from './_rollupPluginBabelHelpers.js';
2
- import React, { memo } from 'react';
1
+ import { c as _objectWithoutProperties, d as _objectSpread2 } from './_rollupPluginBabelHelpers.js';
2
+ import { memo } from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import chevronDown from '@jetbrains/icons/chevron-10px';
5
5
  import classNames from 'classnames';
6
6
  import Icon from '../icon/icon.js';
7
7
  import { Button } from '../button/button.js';
8
+ import { jsxs, jsx } from 'react/jsx-runtime';
8
9
 
9
10
  var modules_d9414203 = {"light":"light_rui_2ac4","dropdown":"dropdown_rui_8ec5","anchor":"anchor_rui_8ec5","chevron":"chevron_rui_8ec5"};
10
11
 
@@ -13,13 +14,15 @@ var Anchor = function Anchor(_ref) {
13
14
  var children = _ref.children,
14
15
  className = _ref.className,
15
16
  restProps = _objectWithoutProperties(_ref, _excluded);
16
- return /*#__PURE__*/React.createElement(Button, _extends({
17
+ return /*#__PURE__*/jsxs(Button, _objectSpread2(_objectSpread2({
17
18
  "data-test-ring-dropdown-anchor": true,
18
19
  text: true,
19
20
  className: classNames(modules_d9414203.anchor, className)
20
- }, restProps), children, /*#__PURE__*/React.createElement(Icon, {
21
- glyph: chevronDown,
22
- className: modules_d9414203.chevron
21
+ }, restProps), {}, {
22
+ children: [children, /*#__PURE__*/jsx(Icon, {
23
+ glyph: chevronDown,
24
+ className: modules_d9414203.chevron
25
+ })]
23
26
  }));
24
27
  };
25
28
  Anchor.propTypes = {
@@ -1,9 +1,10 @@
1
- import { _ as _defineProperty, a as _inherits, b as _createClass, e as _extends, f as _classCallCheck, g as _callSuper } from './_rollupPluginBabelHelpers.js';
2
- import React, { PureComponent } from 'react';
1
+ import { _ as _defineProperty, a as _inherits, b as _createClass, d as _objectSpread2, e as _classCallCheck, f as _callSuper } from './_rollupPluginBabelHelpers.js';
2
+ import { PureComponent } from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import classNames from 'classnames';
5
+ import { jsx } from 'react/jsx-runtime';
5
6
 
6
- var modules_1068e447 = {"button":"button_rui_6ad6","active":"active_rui_6ad6","primary":"primary_rui_6ad6","button-shadow":"i__const_button_shadow_3","buttonGroup":"buttonGroup_rui_f794 common_rui_f794 buttonGroup_rui_5c90","light":"light_rui_2ac4","common":"common_rui_f794","split":"split_rui_f794 common_rui_f794 buttonGroup_rui_5c90","caption":"caption_rui_f794 font_rui_f295"};
7
+ var modules_1068e447 = {"button":"button_rui_6ad6","active":"active_rui_6ad6","primary":"primary_rui_6ad6","button-shadow":"i__const_button_shadow_3","buttonGroup":"buttonGroup_rui_f794 common_rui_f794 buttonGroup_rui_5c90","light":"light_rui_2ac4","common":"common_rui_f794","split":"split_rui_f794 common_rui_f794 buttonGroup_rui_5c90","caption":"caption_rui_f794 font_rui_f295","help":"help_rui_f794"};
7
8
 
8
9
  var Caption = /*#__PURE__*/function (_PureComponent) {
9
10
  function Caption() {
@@ -16,7 +17,7 @@ var Caption = /*#__PURE__*/function (_PureComponent) {
16
17
  value: function render() {
17
18
  var className = this.props.className;
18
19
  var classes = classNames(modules_1068e447.caption, className);
19
- return /*#__PURE__*/React.createElement("span", _extends({}, this.props, {
20
+ return /*#__PURE__*/jsx("span", _objectSpread2(_objectSpread2({}, this.props), {}, {
20
21
  className: classes
21
22
  }));
22
23
  }
@@ -1,6 +1,6 @@
1
- import { _ as _defineProperty, a as _inherits, b as _createClass, c as _objectWithoutProperties, e as _extends, f as _classCallCheck, g as _callSuper } from './_rollupPluginBabelHelpers.js';
1
+ import { _ as _defineProperty, a as _inherits, b as _createClass, c as _objectWithoutProperties, d as _objectSpread2, e as _classCallCheck, f as _callSuper } from './_rollupPluginBabelHelpers.js';
2
2
  import 'core-js/modules/es.array.concat.js';
3
- import React, { PureComponent } from 'react';
3
+ import { PureComponent } from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import classNames from 'classnames';
6
6
  import copyIcon from '@jetbrains/icons/copy';
@@ -10,6 +10,7 @@ import clipboard from '../clipboard/clipboard.js';
10
10
  import { m as modules_6c9187df } from './badge.js';
11
11
  import Icon from '../icon/icon.js';
12
12
  import { I18nContext } from '../i18n/i18n-context.js';
13
+ import { jsx, jsxs } from 'react/jsx-runtime';
13
14
  import { Size as Size$1 } from '../icon/icon__constants.js';
14
15
 
15
16
  var modules_a4196c17 = {"light":"light_rui_2ac4","userCardSpaced":"userCardSpaced_rui_6680","userInformationContainer":"userInformationContainer_rui_6680","userAvatar":"userAvatar_rui_6680","userInformation":"userInformation_rui_6680","userInformationGeneral":"userInformationGeneral_rui_6680","userNameLine":"userNameLine_rui_6680","userName":"userName_rui_6680","userLogin":"userLogin_rui_6680","userEmail":"userEmail_rui_6680","userCopyIcon":"userCopyIcon_rui_6680","userEmailWrapper":"userEmailWrapper_rui_6680","unverifiedLabel":"unverifiedLabel_rui_6680","userNameInfo":"userNameInfo_rui_6680","userActiveStatus":"userActiveStatus_rui_6680","online":"online_rui_6680"};
@@ -56,54 +57,69 @@ var UserCard = /*#__PURE__*/function (_PureComponent) {
56
57
  var translations = this.props.translations;
57
58
  var classes = classNames(className, {});
58
59
  var userActiveStatusClasses = classNames(modules_a4196c17.userActiveStatus, user.online ? modules_a4196c17.online : '');
59
- return /*#__PURE__*/React.createElement("div", _extends({
60
+ return /*#__PURE__*/jsx("div", _objectSpread2(_objectSpread2({
60
61
  className: classes
61
- }, restProps), /*#__PURE__*/React.createElement("div", {
62
- className: modules_a4196c17.userInformationContainer
63
- }, /*#__PURE__*/React.createElement("div", {
64
- className: modules_a4196c17.userAvatar
65
- }, /*#__PURE__*/React.createElement(Avatar, {
66
- size: Size.Size56,
67
- url: user.avatarUrl,
68
- round: true
69
- }), !!avatarInfo && avatarInfo), /*#__PURE__*/React.createElement("div", {
70
- className: modules_a4196c17.userInformation
71
- }, /*#__PURE__*/React.createElement("div", {
72
- className: modules_a4196c17.userInformationGeneral
73
- }, /*#__PURE__*/React.createElement("div", {
74
- className: modules_a4196c17.userNameLine
75
- }, user.href && /*#__PURE__*/React.createElement(Link, {
76
- href: user.href,
77
- className: modules_a4196c17.userName
78
- }, user.name), !user.href && /*#__PURE__*/React.createElement("span", {
79
- className: modules_a4196c17.userName
80
- }, user.name), typeof user.online === 'boolean' && /*#__PURE__*/React.createElement("span", {
81
- className: userActiveStatusClasses,
82
- title: user.online ? (_translations$online = translations === null || translations === void 0 ? void 0 : translations.online) !== null && _translations$online !== void 0 ? _translations$online : translate('online') : (_translations$offline = translations === null || translations === void 0 ? void 0 : translations.offline) !== null && _translations$offline !== void 0 ? _translations$offline : translate('offline')
83
- }), !!info && /*#__PURE__*/React.createElement("span", {
84
- className: modules_a4196c17.userNameInfo
85
- }, info), user.banned && /*#__PURE__*/React.createElement("span", {
86
- className: classNames(modules_6c9187df.badge, modules_6c9187df.invalid),
87
- title: user.banReason
88
- }, (_translations$banned = translations === null || translations === void 0 ? void 0 : translations.banned) !== null && _translations$banned !== void 0 ? _translations$banned : translate('banned'))), /*#__PURE__*/React.createElement("div", {
89
- className: modules_a4196c17.userLogin
90
- }, user.login), user.email && /*#__PURE__*/React.createElement("span", {
91
- className: modules_a4196c17.userEmailWrapper
92
- }, /*#__PURE__*/React.createElement(Link, {
93
- href: "mailto:".concat(user.email),
94
- title: "mailto:".concat(user.email),
95
- target: "_blank",
96
- className: modules_a4196c17.userEmail
97
- }, user.email), user.unverifiedEmail && /*#__PURE__*/React.createElement("span", {
98
- className: modules_a4196c17.unverifiedLabel
99
- }, (_translations$unverif = translations === null || translations === void 0 ? void 0 : translations.unverified) !== null && _translations$unverif !== void 0 ? _translations$unverif : translate('unverified')), /*#__PURE__*/React.createElement(Icon, {
100
- title: (_translations$copyToC = translations === null || translations === void 0 ? void 0 : translations.copyToClipboard) !== null && _translations$copyToC !== void 0 ? _translations$copyToC : translate('copyToClipboard'),
101
- className: modules_a4196c17.userCopyIcon,
102
- onClick: this.copyEmail,
103
- glyph: copyIcon,
104
- size: Size$1.Size14,
105
- suppressSizeWarning: true
106
- }))), children)));
62
+ }, restProps), {}, {
63
+ children: /*#__PURE__*/jsxs("div", {
64
+ className: modules_a4196c17.userInformationContainer,
65
+ children: [/*#__PURE__*/jsxs("div", {
66
+ className: modules_a4196c17.userAvatar,
67
+ children: [/*#__PURE__*/jsx(Avatar, {
68
+ size: Size.Size56,
69
+ url: user.avatarUrl,
70
+ round: true
71
+ }), !!avatarInfo && avatarInfo]
72
+ }), /*#__PURE__*/jsxs("div", {
73
+ className: modules_a4196c17.userInformation,
74
+ children: [/*#__PURE__*/jsxs("div", {
75
+ className: modules_a4196c17.userInformationGeneral,
76
+ children: [/*#__PURE__*/jsxs("div", {
77
+ className: modules_a4196c17.userNameLine,
78
+ children: [user.href && /*#__PURE__*/jsx(Link, {
79
+ href: user.href,
80
+ className: modules_a4196c17.userName,
81
+ children: user.name
82
+ }), !user.href && /*#__PURE__*/jsx("span", {
83
+ className: modules_a4196c17.userName,
84
+ children: user.name
85
+ }), typeof user.online === 'boolean' && /*#__PURE__*/jsx("span", {
86
+ className: userActiveStatusClasses,
87
+ title: user.online ? (_translations$online = translations === null || translations === void 0 ? void 0 : translations.online) !== null && _translations$online !== void 0 ? _translations$online : translate('online') : (_translations$offline = translations === null || translations === void 0 ? void 0 : translations.offline) !== null && _translations$offline !== void 0 ? _translations$offline : translate('offline')
88
+ }), !!info && /*#__PURE__*/jsx("span", {
89
+ className: modules_a4196c17.userNameInfo,
90
+ children: info
91
+ }), user.banned && /*#__PURE__*/jsx("span", {
92
+ className: classNames(modules_6c9187df.badge, modules_6c9187df.invalid),
93
+ title: user.banReason,
94
+ children: (_translations$banned = translations === null || translations === void 0 ? void 0 : translations.banned) !== null && _translations$banned !== void 0 ? _translations$banned : translate('banned')
95
+ })]
96
+ }), /*#__PURE__*/jsx("div", {
97
+ className: modules_a4196c17.userLogin,
98
+ children: user.login
99
+ }), user.email && /*#__PURE__*/jsxs("span", {
100
+ className: modules_a4196c17.userEmailWrapper,
101
+ children: [/*#__PURE__*/jsx(Link, {
102
+ href: "mailto:".concat(user.email),
103
+ title: "mailto:".concat(user.email),
104
+ target: "_blank",
105
+ className: modules_a4196c17.userEmail,
106
+ children: user.email
107
+ }), user.unverifiedEmail && /*#__PURE__*/jsx("span", {
108
+ className: modules_a4196c17.unverifiedLabel,
109
+ children: (_translations$unverif = translations === null || translations === void 0 ? void 0 : translations.unverified) !== null && _translations$unverif !== void 0 ? _translations$unverif : translate('unverified')
110
+ }), /*#__PURE__*/jsx(Icon, {
111
+ title: (_translations$copyToC = translations === null || translations === void 0 ? void 0 : translations.copyToClipboard) !== null && _translations$copyToC !== void 0 ? _translations$copyToC : translate('copyToClipboard'),
112
+ className: modules_a4196c17.userCopyIcon,
113
+ onClick: this.copyEmail,
114
+ glyph: copyIcon,
115
+ size: Size$1.Size14,
116
+ suppressSizeWarning: true
117
+ })]
118
+ })]
119
+ }), children]
120
+ })]
121
+ })
122
+ }));
107
123
  }
108
124
  }]);
109
125
  }(PureComponent);
@@ -1,11 +1,12 @@
1
- import { c as _objectWithoutProperties, e as _extends } from './_rollupPluginBabelHelpers.js';
1
+ import { c as _objectWithoutProperties, d as _objectSpread2 } from './_rollupPluginBabelHelpers.js';
2
2
  import 'core-js/modules/es.regexp.exec.js';
3
3
  import 'core-js/modules/es.string.replace.js';
4
4
  import 'core-js/modules/es.string.starts-with.js';
5
- import React, { memo } from 'react';
5
+ import { memo } from 'react';
6
6
  import classNames from 'classnames';
7
7
  import PropTypes from 'prop-types';
8
8
  import memoize from '../global/memoize.js';
9
+ import { jsx } from 'react/jsx-runtime';
9
10
 
10
11
  var modules_29747b80 = {"light":"light_rui_2ac4","icon":"icon_rui_c997","glyph":"glyph_rui_c997","compatibilityMode":"compatibilityMode_rui_c997","gray":"gray_rui_c997","hover":"hover_rui_c997","green":"green_rui_c997","magenta":"magenta_rui_c997","red":"red_rui_c997","blue":"blue_rui_c997","white":"white_rui_c997","loading":"loading_rui_c997","icon-loading":"icon-loading_rui_c997"};
11
12
 
@@ -58,7 +59,7 @@ function IconSVG(_ref) {
58
59
  var _getSVGFromSource = getSVGFromSource(src),
59
60
  props = _getSVGFromSource.props,
60
61
  html = _getSVGFromSource.html;
61
- return /*#__PURE__*/React.createElement("svg", _extends({}, props, rest, {
62
+ return /*#__PURE__*/jsx("svg", _objectSpread2(_objectSpread2(_objectSpread2({}, props), rest), {}, {
62
63
  className: glyphClasses,
63
64
  dangerouslySetInnerHTML: {
64
65
  __html: html
@@ -1,7 +1,7 @@
1
- import { _ as _defineProperty, a as _inherits, b as _createClass, c as _objectWithoutProperties, e as _extends, f as _classCallCheck, g as _callSuper } from './_rollupPluginBabelHelpers.js';
1
+ import { _ as _defineProperty, a as _inherits, b as _createClass, c as _objectWithoutProperties, d as _objectSpread2, e as _classCallCheck, f as _callSuper } from './_rollupPluginBabelHelpers.js';
2
2
  import 'core-js/modules/es.array.concat.js';
3
3
  import 'core-js/modules/es.object.values.js';
4
- import React, { PureComponent } from 'react';
4
+ import { PureComponent } from 'react';
5
5
  import PropTypes from 'prop-types';
6
6
  import classNames from 'classnames';
7
7
  import closeIcon from '@jetbrains/icons/close-12px';
@@ -13,10 +13,12 @@ import { I18nContext } from '../i18n/i18n-context.js';
13
13
  import composeRefs from '../global/composeRefs.js';
14
14
  import { ControlsHeightContext } from '../global/controls-height.js';
15
15
  import { ControlLabel } from '../control-label/control-label.js';
16
+ import ControlHelp from '../control-help/control-help.js';
17
+ import { jsx, jsxs } from 'react/jsx-runtime';
16
18
 
17
- var modules_88cfaf40 = {"button-shadow":"inset 0 0 0 1px","loaderWidth":"calc(var(--ring-unit)*8)","light":"light_rui_2ac4","heightS":"heightS_rui_1f0c","heightM":"heightM_rui_1f0c","heightL":"heightL_rui_1f0c","button":"button_rui_1f0c","active":"active_rui_1f0c","withIcon":"withIcon_rui_1f0c","icon":"icon_rui_1f0c","primary":"primary_rui_1f0c","loader":"loader_rui_1f0c","loaderBackground":"loaderBackground_rui_1f0c","danger":"danger_rui_1f0c","text":"text_rui_1f0c","content":"content_rui_1f0c","text-loading":"text-loading_rui_1f0c","inline":"inline_rui_1f0c","withNormalIcon":"withNormalIcon_rui_1f0c","withDangerIcon":"withDangerIcon_rui_1f0c","progress":"progress_rui_1f0c","delayed":"delayed_rui_1f0c","short":"short_rui_1f0c","dropdownIcon":"dropdownIcon_rui_1f0c","outerContainer":"outerContainer_rui_1f0c","borderless":"borderless_rui_1f0c","container":"container_rui_1f0c","input":"input_rui_1f0c","error":"error_rui_1f0c","clearable":"clearable_rui_1f0c","clear":"clear_rui_1f0c","empty":"empty_rui_1f0c","errorText":"errorText_rui_1f0c","sizeS":"sizeS_rui_1f0c","sizeM":"sizeM_rui_1f0c","sizeL":"sizeL_rui_1f0c","sizeFULL":"sizeFULL_rui_1f0c"};
19
+ var modules_88cfaf40 = {"button-shadow":"inset 0 0 0 1px","loaderWidth":"calc(var(--ring-unit)*8)","light":"light_rui_2ac4","heightS":"heightS_rui_1f0c","heightM":"heightM_rui_1f0c","heightL":"heightL_rui_1f0c","button":"button_rui_1f0c","active":"active_rui_1f0c","withIcon":"withIcon_rui_1f0c","icon":"icon_rui_1f0c","primary":"primary_rui_1f0c","loader":"loader_rui_1f0c","loaderBackground":"loaderBackground_rui_1f0c","danger":"danger_rui_1f0c","text":"text_rui_1f0c","content":"content_rui_1f0c","text-loading":"text-loading_rui_1f0c","inline":"inline_rui_1f0c","withNormalIcon":"withNormalIcon_rui_1f0c","withDangerIcon":"withDangerIcon_rui_1f0c","progress":"progress_rui_1f0c","delayed":"delayed_rui_1f0c","short":"short_rui_1f0c","dropdownIcon":"dropdownIcon_rui_1f0c","outerContainer":"outerContainer_rui_1f0c","borderless":"borderless_rui_1f0c","container":"container_rui_1f0c","input":"input_rui_1f0c","error":"error_rui_1f0c","clearable":"clearable_rui_1f0c","clear":"clear_rui_1f0c","empty":"empty_rui_1f0c","errorText":"errorText_rui_1f0c","helpText":"helpText_rui_1f0c","sizeS":"sizeS_rui_1f0c","sizeM":"sizeM_rui_1f0c","sizeL":"sizeL_rui_1f0c","sizeFULL":"sizeFULL_rui_1f0c"};
18
20
 
19
- var _excluded = ["size", "active", "multiline", "borderless", "label", "labelType", "error", "className", "inputClassName", "children", "value", "onClear", "disabled", "inputRef", "onChange", "enableShortcuts", "id", "placeholder", "icon", "translations", "height", "afterInput"];
21
+ var _excluded = ["size", "multiline", "borderless", "label", "labelType", "error", "help", "className", "inputClassName", "children", "value", "onClear", "disabled", "inputRef", "onChange", "enableShortcuts", "id", "placeholder", "icon", "translations", "height", "afterInput"];
20
22
  function noop() {}
21
23
  /**
22
24
  * @name Input
@@ -122,12 +124,12 @@ var Input = /*#__PURE__*/function (_PureComponent) {
122
124
  var _this3 = this;
123
125
  var _this$props3 = this.props,
124
126
  size = _this$props3.size,
125
- active = _this$props3.active,
126
127
  multiline = _this$props3.multiline,
127
128
  borderless = _this$props3.borderless,
128
129
  label = _this$props3.label,
129
130
  labelType = _this$props3.labelType,
130
131
  error = _this$props3.error,
132
+ help = _this$props3.help,
131
133
  className = _this$props3.className,
132
134
  inputClassName = _this$props3.inputClassName,
133
135
  children = _this$props3.children,
@@ -149,7 +151,6 @@ var Input = /*#__PURE__*/function (_PureComponent) {
149
151
  var clearable = !!onClear;
150
152
  var classes = classNames(className, modules_88cfaf40.outerContainer, [modules_88cfaf40["size".concat(size)]], [modules_88cfaf40["height".concat(height)]], {
151
153
  'ring-js-shortcuts': enableShortcuts === true,
152
- [modules_88cfaf40.active]: active,
153
154
  [modules_88cfaf40.error]: error != null,
154
155
  [modules_88cfaf40.empty]: empty,
155
156
  [modules_88cfaf40.withIcon]: icon != null,
@@ -168,35 +169,44 @@ var Input = /*#__PURE__*/function (_PureComponent) {
168
169
  'aria-label': typeof label === 'string' && label ? label : placeholder,
169
170
  'data-enabled-shortcuts': Array.isArray(enableShortcuts) ? enableShortcuts.join(',') : null
170
171
  };
171
- return /*#__PURE__*/React.createElement(I18nContext.Consumer, null, function (_ref) {
172
- var _translations$clear;
173
- var translate = _ref.translate;
174
- return /*#__PURE__*/React.createElement("div", {
175
- className: classes,
176
- "data-test": "ring-input"
177
- }, label && /*#__PURE__*/React.createElement(ControlLabel, {
178
- htmlFor: _this3.getId(),
179
- disabled: disabled,
180
- type: labelType
181
- }, label), /*#__PURE__*/React.createElement("div", {
182
- className: modules_88cfaf40.container
183
- }, icon && /*#__PURE__*/React.createElement(Icon, {
184
- glyph: icon,
185
- className: modules_88cfaf40.icon
186
- }), multiline ? /*#__PURE__*/React.createElement("textarea", _extends({
187
- onChange: _this3.handleTextareaChange,
188
- rows: 1
189
- }, commonProps, restProps)) : /*#__PURE__*/React.createElement("input", _extends({
190
- onChange: _this3.handleInputChange
191
- }, commonProps, restProps)), clearable && !disabled && /*#__PURE__*/React.createElement(Button, {
192
- title: (_translations$clear = translations === null || translations === void 0 ? void 0 : translations.clear) !== null && _translations$clear !== void 0 ? _translations$clear : translate('clear'),
193
- "data-test": "ring-input-clear",
194
- className: modules_88cfaf40.clear,
195
- icon: closeIcon,
196
- onClick: _this3.clear
197
- }), afterInput), error && /*#__PURE__*/React.createElement("div", {
198
- className: modules_88cfaf40.errorText
199
- }, error));
172
+ return /*#__PURE__*/jsx(I18nContext.Consumer, {
173
+ children: function children(_ref) {
174
+ var _translations$clear;
175
+ var translate = _ref.translate;
176
+ return /*#__PURE__*/jsxs("div", {
177
+ className: classes,
178
+ "data-test": "ring-input",
179
+ children: [label && /*#__PURE__*/jsx(ControlLabel, {
180
+ htmlFor: _this3.getId(),
181
+ disabled: disabled,
182
+ type: labelType,
183
+ children: label
184
+ }), /*#__PURE__*/jsxs("div", {
185
+ className: modules_88cfaf40.container,
186
+ children: [icon && /*#__PURE__*/jsx(Icon, {
187
+ glyph: icon,
188
+ className: modules_88cfaf40.icon
189
+ }), multiline ? /*#__PURE__*/jsx("textarea", _objectSpread2(_objectSpread2({
190
+ onChange: _this3.handleTextareaChange,
191
+ rows: 1
192
+ }, commonProps), restProps)) : /*#__PURE__*/jsx("input", _objectSpread2(_objectSpread2({
193
+ onChange: _this3.handleInputChange
194
+ }, commonProps), restProps)), clearable && !disabled && /*#__PURE__*/jsx(Button, {
195
+ title: (_translations$clear = translations === null || translations === void 0 ? void 0 : translations.clear) !== null && _translations$clear !== void 0 ? _translations$clear : translate('clear'),
196
+ "data-test": "ring-input-clear",
197
+ className: modules_88cfaf40.clear,
198
+ icon: closeIcon,
199
+ onClick: _this3.clear
200
+ }), afterInput]
201
+ }), error ? /*#__PURE__*/jsx("div", {
202
+ className: modules_88cfaf40.errorText,
203
+ children: error
204
+ }) : help && /*#__PURE__*/jsx(ControlHelp, {
205
+ className: modules_88cfaf40.helpText,
206
+ children: help
207
+ })]
208
+ });
209
+ }
200
210
  });
201
211
  }
202
212
  }]);
@@ -214,7 +224,6 @@ Input.propTypes = {
214
224
  inputClassName: PropTypes.string,
215
225
  size: PropTypes.oneOf(Object.values(Size)).isRequired,
216
226
  label: PropTypes.node,
217
- active: PropTypes.bool,
218
227
  error: PropTypes.string,
219
228
  multiline: PropTypes.bool,
220
229
  onChange: PropTypes.func,
@@ -1,10 +1,10 @@
1
- import { b as _createClass, f as _classCallCheck } from './_rollupPluginBabelHelpers.js';
1
+ import { b as _createClass, e as _classCallCheck } from './_rollupPluginBabelHelpers.js';
2
2
  import 'core-js/modules/es.symbol.js';
3
3
  import 'core-js/modules/es.symbol.description.js';
4
4
  import 'core-js/modules/es.object.to-string.js';
5
5
  import 'core-js/modules/web.dom-collections.for-each.js';
6
- import React from 'react';
7
6
  import List from '../list/list.js';
7
+ import { jsx, jsxs } from 'react/jsx-runtime';
8
8
 
9
9
  var modules_da7ab055 = {"button-shadow":"inset 0 0 0 1px","loaderWidth":"calc(var(--ring-unit)*8)","overInputZIndex":"2","inputGap":"calc(var(--ring-unit)*3)","light":"light_rui_2ac4","heightS":"heightS_rui_0eb8","heightM":"heightM_rui_0eb8","heightL":"heightL_rui_0eb8","button":"button_rui_0eb8","active":"active_rui_0eb8","withIcon":"withIcon_rui_0eb8","icon":"icon_rui_0eb8","primary":"primary_rui_0eb8","loader":"loader_rui_0eb8","loaderBackground":"loaderBackground_rui_0eb8","danger":"danger_rui_0eb8","text":"text_rui_0eb8","content":"content_rui_0eb8","text-loading":"text-loading_rui_0eb8","inline":"inline_rui_0eb8","withNormalIcon":"withNormalIcon_rui_0eb8","withDangerIcon":"withDangerIcon_rui_0eb8","progress":"progress_rui_0eb8","delayed":"delayed_rui_0eb8","short":"short_rui_0eb8","dropdownIcon":"dropdownIcon_rui_0eb8","queryAssist":"queryAssist_rui_0eb8","error":"error_rui_0eb8","queryAssistDisabled":"queryAssistDisabled_rui_0eb8","huge":"huge_rui_0eb8","actions":"actions_rui_0eb8","input":"input_rui_0eb8","letter-text":"letter-text_rui_0eb8","letterDefault":"letterDefault_rui_0eb8","letter-field-name":"letter-field-name_rui_0eb8","letter-field-value":"letter-field-value_rui_0eb8","letter-operator":"letter-operator_rui_0eb8","letter-error":"letter-error_rui_0eb8","highlight":"highlight_rui_0eb8","service":"service_rui_0eb8","placeholder":"placeholder_rui_0eb8 resetButton_rui_f295","hugePlaceholder":"hugePlaceholder_rui_0eb8","letter":"letter_rui_0eb8","rightSearchButton":"rightSearchButton_rui_0eb8","clear":"clear_rui_0eb8","withoutGlass":"withoutGlass_rui_0eb8","loaderActive":"loaderActive_rui_0eb8","loaderOnTheRight":"loaderOnTheRight_rui_0eb8","inputRevertOrder":"inputRevertOrder_rui_0eb8"};
10
10
 
@@ -49,22 +49,26 @@ var QueryAssistSuggestions = /*#__PURE__*/function () {
49
49
  var after = '';
50
50
  if (matchingStart !== matchingEnd) {
51
51
  before = option.substring(0, matchingStart);
52
- wrappedOption = /*#__PURE__*/React.createElement("span", {
53
- className: modules_da7ab055.highlight
54
- }, option.substring(matchingStart, matchingEnd));
52
+ wrappedOption = /*#__PURE__*/jsx("span", {
53
+ className: modules_da7ab055.highlight,
54
+ children: option.substring(matchingStart, matchingEnd)
55
+ });
55
56
  after = option.substring(matchingEnd);
56
57
  } else {
57
58
  wrappedOption = option;
58
59
  }
59
- var wrappedPrefix = prefix && /*#__PURE__*/React.createElement("span", {
60
- className: modules_da7ab055.service
61
- }, prefix);
62
- var wrappedSuffix = suffix && /*#__PURE__*/React.createElement("span", {
63
- className: modules_da7ab055.service
64
- }, suffix);
65
- return /*#__PURE__*/React.createElement("span", {
66
- className: className
67
- }, wrappedPrefix, before, wrappedOption, after, wrappedSuffix);
60
+ var wrappedPrefix = prefix && /*#__PURE__*/jsx("span", {
61
+ className: modules_da7ab055.service,
62
+ children: prefix
63
+ });
64
+ var wrappedSuffix = suffix && /*#__PURE__*/jsx("span", {
65
+ className: modules_da7ab055.service,
66
+ children: suffix
67
+ });
68
+ return /*#__PURE__*/jsxs("span", {
69
+ className: className,
70
+ children: [wrappedPrefix, before, wrappedOption, after, wrappedSuffix]
71
+ });
68
72
  }
69
73
  }, {
70
74
  key: "renderGroupSeparator",
@@ -1,14 +1,15 @@
1
- import { _ as _defineProperty, a as _inherits, b as _createClass, c as _objectWithoutProperties, e as _extends, f as _classCallCheck, g as _callSuper } from './_rollupPluginBabelHelpers.js';
1
+ import { _ as _defineProperty, a as _inherits, b as _createClass, c as _objectWithoutProperties, d as _objectSpread2, e as _classCallCheck, f as _callSuper } from './_rollupPluginBabelHelpers.js';
2
2
  import 'core-js/modules/es.array.concat.js';
3
3
  import 'core-js/modules/es.array.filter.js';
4
4
  import 'core-js/modules/es.object.to-string.js';
5
- import React, { Component } from 'react';
5
+ import { Component } from 'react';
6
6
  import PropTypes from 'prop-types';
7
7
  import classNames from 'classnames';
8
8
  import { I as Input } from './input.js';
9
9
  import sniffr from '../global/sniffer.js';
10
10
  import { ActiveItemContext } from '../list/list.js';
11
11
  import { I18nContext } from '../i18n/i18n-context.js';
12
+ import { jsx } from 'react/jsx-runtime';
12
13
 
13
14
  var modules_b607bec2 = {"filterWithTagsFocused":"filterWithTagsFocused_rui_4b23","light":"light_rui_2ac4","filterWithTags":"filterWithTags_rui_4b23","filterWrapper":"filterWrapper_rui_4b23","filterWithTagsInput":"filterWithTagsInput_rui_4b23","filter":"filter_rui_4b23","popup":"popup_rui_4b23","filterIcon":"filterIcon_rui_4b23","bottomLine":"bottomLine_rui_4b23","bottomLineOverItem":"bottomLineOverItem_rui_4b23","message":"message_rui_4b23","selectAll":"selectAll_rui_4b23"};
14
15
 
@@ -59,21 +60,25 @@ var SelectFilter = /*#__PURE__*/function (_Component) {
59
60
  listId = _this$props.listId,
60
61
  restProps = _objectWithoutProperties(_this$props, _excluded);
61
62
  var classes = classNames(modules_b607bec2.filter, className);
62
- return /*#__PURE__*/React.createElement(ActiveItemContext.ValueContext.Consumer, null, function (activeItemId) {
63
- return /*#__PURE__*/React.createElement(I18nContext.Consumer, null, function (_ref) {
64
- var _restProps$placeholde;
65
- var translate = _ref.translate;
66
- return /*#__PURE__*/React.createElement(Input, _extends({}, restProps, {
67
- placeholder: (_restProps$placeholde = restProps.placeholder) !== null && _restProps$placeholde !== void 0 ? _restProps$placeholde : translate('filterItems'),
68
- "aria-owns": listId,
69
- "aria-activedescendant": activeItemId,
70
- autoComplete: "off",
71
- autoFocus: true,
72
- borderless: true,
73
- inputRef: _this2.inputRef,
74
- className: classes
75
- }));
76
- });
63
+ return /*#__PURE__*/jsx(ActiveItemContext.ValueContext.Consumer, {
64
+ children: function children(activeItemId) {
65
+ return /*#__PURE__*/jsx(I18nContext.Consumer, {
66
+ children: function children(_ref) {
67
+ var _restProps$placeholde;
68
+ var translate = _ref.translate;
69
+ return /*#__PURE__*/jsx(Input, _objectSpread2(_objectSpread2({}, restProps), {}, {
70
+ placeholder: (_restProps$placeholde = restProps.placeholder) !== null && _restProps$placeholde !== void 0 ? _restProps$placeholde : translate('filterItems'),
71
+ "aria-owns": listId,
72
+ "aria-activedescendant": activeItemId,
73
+ autoComplete: "off",
74
+ autoFocus: true,
75
+ borderless: true,
76
+ inputRef: _this2.inputRef,
77
+ className: classes
78
+ }));
79
+ }
80
+ });
81
+ }
77
82
  });
78
83
  }
79
84
  }]);
@@ -1,7 +1,8 @@
1
- import { _ as _defineProperty, a as _inherits, b as _createClass, c as _objectWithoutProperties, e as _extends, f as _classCallCheck, g as _callSuper } from './_rollupPluginBabelHelpers.js';
2
- import React, { PureComponent } from 'react';
1
+ import { _ as _defineProperty, a as _inherits, b as _createClass, c as _objectWithoutProperties, d as _objectSpread2, e as _classCallCheck, f as _callSuper } from './_rollupPluginBabelHelpers.js';
2
+ import { PureComponent } from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import Link from '../link/link.js';
5
+ import { jsx } from 'react/jsx-runtime';
5
6
 
6
7
  var modules_74a7bf8b = {"light":"light_rui_2ac4","services":"services_rui_27f4","active":"active_rui_27f4","item":"item_rui_27f4","itemLogo":"itemLogo_rui_27f4","activeItem":"activeItem_rui_27f4 item_rui_27f4 active_rui_27f4","line":"line_rui_27f4","itemStacked":"itemStacked_rui_27f4","activeItemStacked":"activeItemStacked_rui_27f4 itemStacked_rui_27f4 active_rui_27f4"};
7
8
 
@@ -18,18 +19,19 @@ var ServicesLink = /*#__PURE__*/function (_PureComponent) {
18
19
  var _this$props = this.props,
19
20
  service = _this$props.service,
20
21
  props = _objectWithoutProperties(_this$props, _excluded);
21
- return /*#__PURE__*/React.createElement(Link, _extends({
22
+ return /*#__PURE__*/jsx(Link, _objectSpread2(_objectSpread2({
22
23
  target: "_self",
23
24
  href: service.homeUrl
24
- }, props), service.iconUrl ? [/*#__PURE__*/React.createElement("span", {
25
- key: "icon",
26
- className: modules_74a7bf8b.itemLogo,
27
- style: {
28
- backgroundImage: "url(".concat(service.iconUrl, ")")
29
- }
30
- }), /*#__PURE__*/React.createElement("div", {
31
- key: "text"
32
- }, service.name)] : service.name);
25
+ }, props), {}, {
26
+ children: service.iconUrl ? [/*#__PURE__*/jsx("span", {
27
+ className: modules_74a7bf8b.itemLogo,
28
+ style: {
29
+ backgroundImage: "url(".concat(service.iconUrl, ")")
30
+ }
31
+ }, "icon"), /*#__PURE__*/jsx("div", {
32
+ children: service.name
33
+ }, "text")] : service.name
34
+ }));
33
35
  }
34
36
  }]);
35
37
  }(PureComponent);
@@ -1,9 +1,10 @@
1
- import { _ as _defineProperty, a as _inherits, b as _createClass, c as _objectWithoutProperties, e as _extends, f as _classCallCheck, g as _callSuper } from './_rollupPluginBabelHelpers.js';
1
+ import { _ as _defineProperty, a as _inherits, b as _createClass, c as _objectWithoutProperties, d as _objectSpread2, e as _classCallCheck, f as _callSuper } from './_rollupPluginBabelHelpers.js';
2
2
  import 'core-js/modules/es.array.concat.js';
3
- import React, { Component } from 'react';
3
+ import { Component } from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import classNames from 'classnames';
6
6
  import { Waypoint } from 'react-waypoint';
7
+ import { jsxs, jsx } from 'react/jsx-runtime';
7
8
 
8
9
  var modules_b8a9dd4f = {"extra-small-screen-media":"i__const_extra_small_screen_media_0","small-screen-media":"i__const_small_screen_media_1","sidebarWidth":"calc(var(--ring-unit)*30)","light":"light_rui_2ac4","contentLayout":"contentLayout_rui_6166","contentLayoutContent":"contentLayoutContent_rui_6166","sidebarContainer":"sidebarContainer_rui_6166","sidebarContainerRight":"sidebarContainerRight_rui_6166","sidebar":"sidebar_rui_6166","sidebarRight":"sidebarRight_rui_6166","sidebarFixedTop":"sidebarFixedTop_rui_6166","sidebarFixedBottom":"sidebarFixedBottom_rui_6166","bottomMarker":"bottomMarker_rui_6166","contentLayoutResponsive":"contentLayoutResponsive_rui_6166"};
9
10
 
@@ -91,21 +92,24 @@ var Sidebar = /*#__PURE__*/function (_Component) {
91
92
  var style = {
92
93
  maxHeight: shouldFixateBottom && sidebarVisibleHeight ? "".concat(sidebarVisibleHeight, "px") : undefined
93
94
  };
94
- return /*#__PURE__*/React.createElement("aside", {
95
+ return /*#__PURE__*/jsxs("aside", {
95
96
  className: containerClasses,
96
- ref: this.sidebarRef
97
- }, /*#__PURE__*/React.createElement(Waypoint, {
98
- onEnter: this.handleTopWaypoint,
99
- onLeave: this.handleTopWaypoint
100
- }), /*#__PURE__*/React.createElement("div", _extends({}, restProps, {
101
- style: style,
102
- className: classes
103
- }), children), /*#__PURE__*/React.createElement("div", {
104
- className: modules_b8a9dd4f.bottomMarker
105
- }, /*#__PURE__*/React.createElement(Waypoint, {
106
- onEnter: this.handleBottomWaypoint,
107
- onLeave: this.handleBottomWaypoint
108
- })));
97
+ ref: this.sidebarRef,
98
+ children: [/*#__PURE__*/jsx(Waypoint, {
99
+ onEnter: this.handleTopWaypoint,
100
+ onLeave: this.handleTopWaypoint
101
+ }), /*#__PURE__*/jsx("div", _objectSpread2(_objectSpread2({}, restProps), {}, {
102
+ style: style,
103
+ className: classes,
104
+ children: children
105
+ })), /*#__PURE__*/jsx("div", {
106
+ className: modules_b8a9dd4f.bottomMarker,
107
+ children: /*#__PURE__*/jsx(Waypoint, {
108
+ onEnter: this.handleBottomWaypoint,
109
+ onLeave: this.handleBottomWaypoint
110
+ })
111
+ })]
112
+ });
109
113
  }
110
114
  }]);
111
115
  }(Component);