@jetbrains/ring-ui-built 7.0.0-beta.3 → 7.0.0-beta.4

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 (264) hide show
  1. package/components/_helpers/anchor.js +0 -5
  2. package/components/_helpers/caption.js +1 -5
  3. package/components/_helpers/card.js +0 -28
  4. package/components/_helpers/icon__svg.js +0 -6
  5. package/components/_helpers/input.js +0 -21
  6. package/components/_helpers/select__filter.js +0 -8
  7. package/components/_helpers/services-link.js +1 -11
  8. package/components/_helpers/sidebar.js +0 -9
  9. package/components/_helpers/tab-link.js +0 -6
  10. package/components/_helpers/theme.js +1 -1
  11. package/components/_helpers/title.js +0 -15
  12. package/components/alert/alert.d.ts +7 -24
  13. package/components/alert/alert.js +0 -24
  14. package/components/alert/container.d.ts +0 -5
  15. package/components/alert/container.js +1 -6
  16. package/components/alert-service/alert-service.js +0 -1
  17. package/components/auth/auth.js +0 -1
  18. package/components/auth/auth__core.d.ts +3 -3
  19. package/components/auth/auth__core.js +28 -20
  20. package/components/auth/down-notification.js +0 -9
  21. package/components/auth/iframe-flow.js +0 -1
  22. package/components/auth/storage.js +0 -1
  23. package/components/auth-dialog/auth-dialog.d.ts +0 -18
  24. package/components/auth-dialog/auth-dialog.js +7 -25
  25. package/components/auth-dialog-service/auth-dialog-service.js +4 -5
  26. package/components/avatar/avatar.d.ts +0 -13
  27. package/components/avatar/avatar.js +0 -13
  28. package/components/avatar/fallback-avatar.d.ts +1 -10
  29. package/components/avatar/fallback-avatar.js +0 -6
  30. package/components/badge/badge.d.ts +0 -10
  31. package/components/badge/badge.js +1 -11
  32. package/components/button/button.d.ts +0 -21
  33. package/components/button/button.js +0 -21
  34. package/components/button-group/button-group.d.ts +0 -5
  35. package/components/button-group/button-group.js +1 -6
  36. package/components/button-group/caption.d.ts +0 -4
  37. package/components/button-group/caption.js +0 -1
  38. package/components/button-set/button-set.d.ts +0 -6
  39. package/components/button-set/button-set.js +1 -7
  40. package/components/button-toolbar/button-toolbar.d.ts +0 -6
  41. package/components/button-toolbar/button-toolbar.js +1 -7
  42. package/components/checkbox/checkbox.d.ts +0 -19
  43. package/components/checkbox/checkbox.js +0 -18
  44. package/components/clipboard/clipboard.js +0 -1
  45. package/components/code/code.d.ts +0 -12
  46. package/components/code/code.js +0 -12
  47. package/components/confirm/confirm.d.ts +0 -14
  48. package/components/confirm/confirm.js +10 -24
  49. package/components/confirm-service/confirm-service.js +0 -1
  50. package/components/content-layout/content-layout.d.ts +0 -7
  51. package/components/content-layout/content-layout.js +0 -7
  52. package/components/content-layout/sidebar.d.ts +0 -9
  53. package/components/content-layout/sidebar.js +0 -1
  54. package/components/contenteditable/contenteditable.d.ts +1 -22
  55. package/components/contenteditable/contenteditable.js +1 -16
  56. package/components/control-label/control-label.js +0 -6
  57. package/components/data-list/data-list.d.ts +0 -2
  58. package/components/data-list/data-list.js +2 -23
  59. package/components/data-list/data-list.mock.js +0 -1
  60. package/components/data-list/item.js +0 -26
  61. package/components/data-list/title.d.ts +2 -2
  62. package/components/data-list/title.js +0 -2
  63. package/components/date-picker/consts.d.ts +0 -2
  64. package/components/date-picker/consts.js +1 -3
  65. package/components/date-picker/date-input.d.ts +0 -20
  66. package/components/date-picker/date-input.js +0 -23
  67. package/components/date-picker/date-picker.d.ts +0 -29
  68. package/components/date-picker/date-picker.js +3 -40
  69. package/components/date-picker/date-popup.d.ts +0 -22
  70. package/components/date-picker/date-popup.js +1 -24
  71. package/components/date-picker/day.d.ts +0 -14
  72. package/components/date-picker/day.js +1 -15
  73. package/components/date-picker/month-names.d.ts +1 -11
  74. package/components/date-picker/month-names.js +2 -14
  75. package/components/date-picker/month-slider.d.ts +0 -9
  76. package/components/date-picker/month-slider.js +1 -10
  77. package/components/date-picker/month.d.ts +1 -9
  78. package/components/date-picker/month.js +1 -6
  79. package/components/date-picker/months.d.ts +1 -9
  80. package/components/date-picker/months.js +1 -6
  81. package/components/date-picker/weekdays.d.ts +2 -8
  82. package/components/date-picker/weekdays.js +0 -4
  83. package/components/date-picker/years.d.ts +0 -6
  84. package/components/date-picker/years.js +1 -7
  85. package/components/dialog/dialog.d.ts +0 -20
  86. package/components/dialog/dialog.js +2 -24
  87. package/components/dropdown/anchor.d.ts +1 -8
  88. package/components/dropdown/anchor.js +0 -1
  89. package/components/dropdown/dropdown.d.ts +4 -22
  90. package/components/dropdown/dropdown.js +0 -22
  91. package/components/dropdown-menu/dropdown-menu.js +9 -33
  92. package/components/editable-heading/editable-heading.js +0 -2
  93. package/components/error-bubble/error-bubble.d.ts +0 -6
  94. package/components/error-bubble/error-bubble.js +1 -7
  95. package/components/error-message/error-message.d.ts +0 -10
  96. package/components/error-message/error-message.js +1 -11
  97. package/components/footer/footer.js +0 -15
  98. package/components/global/create-stateful-context.d.ts +0 -4
  99. package/components/global/create-stateful-context.js +0 -4
  100. package/components/global/focus-sensor-hoc.js +7 -27
  101. package/components/global/react-dom-renderer.d.ts +0 -5
  102. package/components/global/react-dom-renderer.js +0 -5
  103. package/components/global/theme.d.ts +1 -0
  104. package/components/global/theme.js +1 -2
  105. package/components/grid/col.d.ts +0 -14
  106. package/components/grid/col.js +1 -16
  107. package/components/grid/grid.d.ts +0 -5
  108. package/components/grid/grid.js +1 -6
  109. package/components/grid/row.d.ts +0 -18
  110. package/components/grid/row.js +1 -19
  111. package/components/group/group.d.ts +0 -5
  112. package/components/group/group.js +1 -6
  113. package/components/header/header-icon.d.ts +0 -22
  114. package/components/header/header-icon.js +1 -6
  115. package/components/header/header.d.ts +0 -6
  116. package/components/header/header.js +0 -7
  117. package/components/header/logo.d.ts +0 -4
  118. package/components/header/logo.js +0 -4
  119. package/components/header/profile.d.ts +1 -39
  120. package/components/header/profile.js +1 -40
  121. package/components/header/services-link.d.ts +0 -10
  122. package/components/header/services-link.js +0 -1
  123. package/components/header/services.d.ts +0 -14
  124. package/components/header/services.js +1 -13
  125. package/components/header/smart-profile.d.ts +0 -9
  126. package/components/header/smart-profile.js +19 -28
  127. package/components/header/smart-services.d.ts +0 -4
  128. package/components/header/smart-services.js +17 -51
  129. package/components/header/tray.d.ts +0 -5
  130. package/components/header/tray.js +1 -6
  131. package/components/heading/heading.js +0 -6
  132. package/components/icon/icon.d.ts +0 -11
  133. package/components/icon/icon.js +0 -11
  134. package/components/icon/icon__svg.d.ts +0 -8
  135. package/components/icon/icon__svg.js +0 -1
  136. package/components/icon/index.js +0 -1
  137. package/components/input/input.js +0 -2
  138. package/components/island/adaptive-island-hoc.d.ts +0 -1
  139. package/components/island/adaptive-island-hoc.js +3 -4
  140. package/components/island/content.d.ts +0 -10
  141. package/components/island/content.js +2 -12
  142. package/components/island/header.js +2 -10
  143. package/components/island/island.d.ts +0 -9
  144. package/components/island/island.js +1 -9
  145. package/components/island-legacy/content-legacy.d.ts +0 -5
  146. package/components/island-legacy/content-legacy.js +1 -6
  147. package/components/island-legacy/header-legacy.d.ts +0 -5
  148. package/components/island-legacy/header-legacy.js +1 -6
  149. package/components/island-legacy/island-legacy.d.ts +0 -5
  150. package/components/island-legacy/island-legacy.js +1 -6
  151. package/components/link/clickableLink.d.ts +0 -9
  152. package/components/link/clickableLink.js +0 -9
  153. package/components/link/link.d.ts +0 -25
  154. package/components/link/link.js +3 -16
  155. package/components/list/list.d.ts +0 -32
  156. package/components/list/list.js +1 -31
  157. package/components/list/list__custom.js +0 -17
  158. package/components/list/list__hint.d.ts +0 -4
  159. package/components/list/list__hint.js +0 -5
  160. package/components/list/list__item.js +0 -33
  161. package/components/list/list__link.js +2 -13
  162. package/components/list/list__separator.js +0 -6
  163. package/components/list/list__title.js +0 -7
  164. package/components/list/list__users-groups-source.js +0 -2
  165. package/components/loader/loader.d.ts +0 -10
  166. package/components/loader/loader.js +0 -10
  167. package/components/loader-inline/loader-inline.d.ts +0 -6
  168. package/components/loader-inline/loader-inline.js +1 -7
  169. package/components/loader-screen/loader-screen.d.ts +0 -6
  170. package/components/loader-screen/loader-screen.js +1 -7
  171. package/components/login-dialog/login-dialog.d.ts +0 -11
  172. package/components/login-dialog/login-dialog.js +12 -23
  173. package/components/login-dialog/service.js +3 -2
  174. package/components/markdown/markdown.js +0 -5
  175. package/components/message/message.js +0 -16
  176. package/components/pager/pager.js +0 -20
  177. package/components/panel/panel.d.ts +0 -5
  178. package/components/panel/panel.js +1 -6
  179. package/components/popup/popup.js +0 -41
  180. package/components/popup/popup.target.js +0 -5
  181. package/components/popup-menu/popup-menu.js +1 -12
  182. package/components/progress-bar/progress-bar.d.ts +19 -33
  183. package/components/progress-bar/progress-bar.js +0 -33
  184. package/components/query-assist/query-assist.d.ts +63 -93
  185. package/components/query-assist/query-assist.js +0 -94
  186. package/components/query-assist/query-assist__suggestions.js +0 -2
  187. package/components/radio/radio.d.ts +0 -8
  188. package/components/radio/radio.js +0 -8
  189. package/components/radio/radio__item.d.ts +0 -9
  190. package/components/radio/radio__item.js +0 -10
  191. package/components/select/select.js +0 -65
  192. package/components/select/select__filter.js +0 -2
  193. package/components/select/select__popup.js +1 -52
  194. package/components/shortcuts/core.js +1 -1
  195. package/components/shortcuts/shortcuts-hoc.d.ts +0 -5
  196. package/components/shortcuts/shortcuts-hoc.js +2 -7
  197. package/components/shortcuts/shortcuts.d.ts +0 -8
  198. package/components/shortcuts/shortcuts.js +0 -8
  199. package/components/slider/slider.js +0 -1
  200. package/components/storage/storage.js +0 -1
  201. package/components/storage/storage__local.js +0 -1
  202. package/components/style.css +1 -1
  203. package/components/tab-trap/tab-trap.js +0 -8
  204. package/components/table/cell.d.ts +0 -6
  205. package/components/table/cell.js +1 -7
  206. package/components/table/disable-hover-hoc.d.ts +0 -1
  207. package/components/table/disable-hover-hoc.js +1 -1
  208. package/components/table/header-cell.d.ts +0 -10
  209. package/components/table/header-cell.js +0 -10
  210. package/components/table/header.d.ts +0 -15
  211. package/components/table/header.js +0 -16
  212. package/components/table/multitable.d.ts +0 -4
  213. package/components/table/multitable.js +0 -4
  214. package/components/table/row-with-focus-sensor.d.ts +2 -2
  215. package/components/table/row-with-focus-sensor.js +0 -3
  216. package/components/table/row.js +0 -35
  217. package/components/table/selection-shortcuts-hoc.js +3 -22
  218. package/components/table/simple-table.d.ts +0 -44
  219. package/components/table/simple-table.js +1 -7
  220. package/components/table/smart-table.d.ts +0 -48
  221. package/components/table/smart-table.js +1 -10
  222. package/components/table/table.d.ts +0 -2
  223. package/components/table/table.js +3 -52
  224. package/components/tabs/collapsible-more.d.ts +1 -9
  225. package/components/tabs/collapsible-more.js +0 -24
  226. package/components/tabs/collapsible-tab.js +1 -9
  227. package/components/tabs/collapsible-tabs.d.ts +2 -29
  228. package/components/tabs/collapsible-tabs.js +0 -13
  229. package/components/tabs/custom-item.d.ts +1 -7
  230. package/components/tabs/custom-item.js +0 -5
  231. package/components/tabs/dumb-tabs.d.ts +0 -11
  232. package/components/tabs/dumb-tabs.js +0 -12
  233. package/components/tabs/smart-tabs.d.ts +0 -6
  234. package/components/tabs/smart-tabs.js +0 -7
  235. package/components/tabs/tab-link.d.ts +0 -8
  236. package/components/tabs/tab-link.js +0 -1
  237. package/components/tabs/tab.d.ts +0 -8
  238. package/components/tabs/tab.js +0 -9
  239. package/components/tabs/tabs.js +0 -2
  240. package/components/tag/tag.d.ts +0 -17
  241. package/components/tag/tag.js +0 -17
  242. package/components/tags-input/tags-input.d.ts +7 -33
  243. package/components/tags-input/tags-input.js +1 -34
  244. package/components/tags-list/tags-list.d.ts +0 -13
  245. package/components/tags-list/tags-list.js +0 -13
  246. package/components/text/text.d.ts +0 -7
  247. package/components/text/text.js +0 -7
  248. package/components/toggle/toggle.d.ts +0 -15
  249. package/components/toggle/toggle.js +0 -15
  250. package/components/tooltip/tooltip.d.ts +0 -9
  251. package/components/tooltip/tooltip.js +0 -9
  252. package/components/user-agreement/service.js +0 -1
  253. package/components/user-agreement/user-agreement.d.ts +0 -18
  254. package/components/user-agreement/user-agreement.js +11 -29
  255. package/components/user-card/card.d.ts +0 -35
  256. package/components/user-card/card.js +0 -1
  257. package/components/user-card/smart-user-card-tooltip.d.ts +0 -5
  258. package/components/user-card/smart-user-card-tooltip.js +0 -5
  259. package/components/user-card/tooltip.d.ts +0 -9
  260. package/components/user-card/tooltip.js +0 -9
  261. package/components/user-card/user-card.js +0 -1
  262. package/package.json +1 -2
  263. package/components/global/prop-types.d.ts +0 -4
  264. package/components/global/prop-types.js +0 -7
@@ -1,7 +1,6 @@
1
1
  import { _ as _defineProperty, a as _objectWithoutProperties, b as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
2
2
  import 'core-js/modules/web.dom-collections.iterator.js';
3
3
  import { PureComponent } from 'react';
4
- import PropTypes from 'prop-types';
5
4
  import joinDataTestAttributes from '../global/data-tests.js';
6
5
  import LoaderCore from './loader__core.js';
7
6
  import { jsx } from 'react/jsx-runtime';
@@ -51,14 +50,5 @@ class Loader extends PureComponent {
51
50
  }));
52
51
  }
53
52
  }
54
- _defineProperty(Loader, "propTypes", {
55
- className: PropTypes.string,
56
- size: PropTypes.number,
57
- colors: PropTypes.array,
58
- message: PropTypes.string,
59
- 'data-test': PropTypes.string,
60
- stop: PropTypes.bool,
61
- deterministic: PropTypes.bool
62
- });
63
53
 
64
54
  export { Loader as default };
@@ -1,5 +1,4 @@
1
1
  import { HTMLAttributes, PureComponent } from 'react';
2
- import PropTypes from 'prop-types';
3
2
  export interface LoaderInlineProps extends HTMLAttributes<HTMLDivElement> {
4
3
  'data-test'?: string | null | undefined;
5
4
  }
@@ -7,11 +6,6 @@ export interface LoaderInlineProps extends HTMLAttributes<HTMLDivElement> {
7
6
  * @name Loader Inline
8
7
  */
9
8
  declare class LoaderInline extends PureComponent<LoaderInlineProps> {
10
- static propTypes: {
11
- className: PropTypes.Requireable<string>;
12
- 'data-test': PropTypes.Requireable<string>;
13
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
14
- };
15
9
  render(): import("react").JSX.Element;
16
10
  }
17
11
  export type LoaderInlineAtrrs = JSX.LibraryManagedAttributes<typeof LoaderInline, LoaderInlineProps>;
@@ -1,7 +1,6 @@
1
- import { _ as _defineProperty, a as _objectWithoutProperties, b as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
1
+ import { a as _objectWithoutProperties, b as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
2
2
  import { PureComponent } from 'react';
3
3
  import classNames from 'classnames';
4
- import PropTypes from 'prop-types';
5
4
  import joinDataTestAttributes from '../global/data-tests.js';
6
5
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
7
6
  import 'core-js/modules/es.array.reduce.js';
@@ -32,10 +31,5 @@ class LoaderInline extends PureComponent {
32
31
  }) : loader;
33
32
  }
34
33
  }
35
- _defineProperty(LoaderInline, "propTypes", {
36
- className: PropTypes.string,
37
- 'data-test': PropTypes.string,
38
- children: PropTypes.node
39
- });
40
34
 
41
35
  export { LoaderInline as default };
@@ -1,5 +1,4 @@
1
1
  import { PureComponent } from 'react';
2
- import PropTypes from 'prop-types';
3
2
  import { LoaderProps } from '../loader/loader';
4
3
  export interface LoaderScreenProps extends LoaderProps {
5
4
  containerClassName?: string | null | undefined;
@@ -8,10 +7,5 @@ export interface LoaderScreenProps extends LoaderProps {
8
7
  * @name Loader Screen
9
8
  */
10
9
  export default class LoaderScreen extends PureComponent<LoaderScreenProps> {
11
- static propTypes: {
12
- className: PropTypes.Requireable<string>;
13
- containerClassName: PropTypes.Requireable<string>;
14
- message: PropTypes.Requireable<string>;
15
- };
16
10
  render(): import("react").JSX.Element;
17
11
  }
@@ -1,7 +1,6 @@
1
- import { _ as _defineProperty, a as _objectWithoutProperties, b as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
1
+ import { a as _objectWithoutProperties, b as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
2
2
  import { PureComponent } from 'react';
3
3
  import classNames from 'classnames';
4
- import PropTypes from 'prop-types';
5
4
  import Loader from '../loader/loader.js';
6
5
  import { jsx } from 'react/jsx-runtime';
7
6
  import 'core-js/modules/web.dom-collections.iterator.js';
@@ -36,10 +35,5 @@ class LoaderScreen extends PureComponent {
36
35
  });
37
36
  }
38
37
  }
39
- _defineProperty(LoaderScreen, "propTypes", {
40
- className: PropTypes.string,
41
- containerClassName: PropTypes.string,
42
- message: PropTypes.string
43
- });
44
38
 
45
39
  export { LoaderScreen as default };
@@ -1,5 +1,4 @@
1
1
  import { Component, ReactNode } from 'react';
2
- import PropTypes from 'prop-types';
3
2
  export interface LoginDialogProps {
4
3
  onCancel: () => void;
5
4
  show: boolean;
@@ -14,16 +13,6 @@ export interface LoginDialogProps {
14
13
  * @name Login Dialog
15
14
  */
16
15
  export default class LoginDialog extends Component<LoginDialogProps> {
17
- static propTypes: {
18
- show: PropTypes.Requireable<boolean>;
19
- className: PropTypes.Requireable<string>;
20
- url: PropTypes.Requireable<string>;
21
- loader: PropTypes.Requireable<boolean>;
22
- loadingMessage: PropTypes.Requireable<string>;
23
- showFallbackTimeout: PropTypes.Requireable<number>;
24
- renderFallbackLink: PropTypes.Requireable<(...args: any[]) => any>;
25
- onCancel: PropTypes.Validator<(...args: any[]) => any>;
26
- };
27
16
  static defaultProps: {
28
17
  show: boolean;
29
18
  url: string;
@@ -1,19 +1,24 @@
1
1
  import { _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
2
2
  import 'core-js/modules/web.dom-collections.iterator.js';
3
3
  import { Component } from 'react';
4
- import PropTypes from 'prop-types';
5
4
  import Dialog from '../dialog/dialog.js';
6
- import '../island/island.js';
7
- import LoaderScreen from '../loader-screen/loader-screen.js';
8
- import { HUB_AUTH_PAGE_OPENED } from '../auth/background-flow.js';
5
+ import 'classnames';
6
+ import 'core-js/modules/es.array.reduce.js';
9
7
  import { jsxs, jsx } from 'react/jsx-runtime';
8
+ import '../island/header.js';
10
9
  import ContentWrapper from '../island/content.js';
10
+ import LoaderScreen from '../loader-screen/loader-screen.js';
11
+ import { HUB_AUTH_PAGE_OPENED } from '../auth/background-flow.js';
11
12
  import 'react-dom';
12
- import 'classnames';
13
13
  import '@jetbrains/icons/close';
14
- import '../global/get-uid.js';
14
+ import '../island/island.js';
15
15
  import '../global/data-tests.js';
16
- import 'core-js/modules/es.array.reduce.js';
16
+ import '../island/adaptive-island-hoc.js';
17
+ import '../global/linear-function.js';
18
+ import '../_helpers/island.js';
19
+ import 'element-resize-detector';
20
+ import '../global/schedule-raf.js';
21
+ import '../global/get-uid.js';
17
22
  import '../shortcuts/shortcuts.js';
18
23
  import '../shortcuts/core.js';
19
24
  import 'core-js/modules/es.regexp.exec.js';
@@ -36,12 +41,6 @@ import '../_helpers/button__classes.js';
36
41
  import '../popup/popup.target.js';
37
42
  import '../_helpers/dialog__body-scroll-preventer.js';
38
43
  import 'scrollbar-width';
39
- import '../island/adaptive-island-hoc.js';
40
- import '../global/linear-function.js';
41
- import '../_helpers/island.js';
42
- import '../island/header.js';
43
- import 'element-resize-detector';
44
- import '../global/schedule-raf.js';
45
44
  import '../loader/loader.js';
46
45
  import '../loader/loader__core.js';
47
46
  import '../auth/response-parser.js';
@@ -159,16 +158,6 @@ class LoginDialog extends Component {
159
158
  });
160
159
  }
161
160
  }
162
- _defineProperty(LoginDialog, "propTypes", {
163
- show: PropTypes.bool,
164
- className: PropTypes.string,
165
- url: PropTypes.string,
166
- loader: PropTypes.bool,
167
- loadingMessage: PropTypes.string,
168
- showFallbackTimeout: PropTypes.number,
169
- renderFallbackLink: PropTypes.func,
170
- onCancel: PropTypes.func.isRequired
171
- });
172
161
  _defineProperty(LoginDialog, "defaultProps", {
173
162
  show: false,
174
163
  url: 'about:blank',
@@ -5,7 +5,6 @@ import LoginDialog from './login-dialog.js';
5
5
  import { jsx } from 'react/jsx-runtime';
6
6
  import 'react';
7
7
  import 'core-js/modules/web.dom-collections.iterator.js';
8
- import 'prop-types';
9
8
  import '../dialog/dialog.js';
10
9
  import 'react-dom';
11
10
  import 'classnames';
@@ -70,7 +69,9 @@ function showAuthDialog() {
70
69
  show: true
71
70
  }));
72
71
  return () => {
73
- reactRoot.unmount();
72
+ renderLoginDialog(_objectSpread2(_objectSpread2({}, props), {}, {
73
+ show: false
74
+ }));
74
75
  };
75
76
  }
76
77
 
@@ -1,5 +1,4 @@
1
1
  import { PureComponent } from 'react';
2
- import PropTypes from 'prop-types';
3
2
  import classNames from 'classnames';
4
3
  import { m as modules_901b77ec } from '../_helpers/heading.js';
5
4
  import { m as modules_607b0772 } from '../_helpers/link.js';
@@ -24,9 +23,5 @@ class Markdown extends PureComponent {
24
23
  });
25
24
  }
26
25
  }
27
- Markdown.propTypes = {
28
- inline: PropTypes.bool,
29
- className: PropTypes.string
30
- };
31
26
 
32
27
  export { Markdown as default };
@@ -2,7 +2,6 @@ import { _ as _defineProperty, b as _objectSpread2 } from '../_helpers/_rollupPl
2
2
  import 'core-js/modules/es.symbol.description.js';
3
3
  import 'core-js/modules/web.dom-collections.iterator.js';
4
4
  import { Component } from 'react';
5
- import PropTypes from 'prop-types';
6
5
  import classNames from 'classnames';
7
6
  import gift from '@jetbrains/icons/gift';
8
7
  import Popup from '../popup/popup.js';
@@ -224,20 +223,5 @@ _defineProperty(Message, "defaultProps", {
224
223
  });
225
224
  _defineProperty(Message, "Directions", Directions);
226
225
  _defineProperty(Message, "PopupProps", Popup.PopupProps);
227
- Message.propTypes = {
228
- children: PropTypes.node,
229
- className: PropTypes.string,
230
- tailClassName: PropTypes.string,
231
- title: PropTypes.string,
232
- icon: PropTypes.oneOfType([PropTypes.string, PropTypes.elementType]),
233
- directions: PropTypes.arrayOf(PropTypes.string),
234
- direction: PropTypes.string,
235
- popupProps: PropTypes.object,
236
- buttonProps: PropTypes.object,
237
- tailOffset: PropTypes.number,
238
- onClose: PropTypes.func,
239
- onDismiss: PropTypes.func,
240
- translations: PropTypes.object
241
- };
242
226
 
243
227
  export { Message as default };
@@ -1,7 +1,6 @@
1
1
  import { _ as _defineProperty, b as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
2
2
  import 'core-js/modules/web.dom-collections.iterator.js';
3
3
  import { PureComponent } from 'react';
4
- import PropTypes from 'prop-types';
5
4
  import classNames from 'classnames';
6
5
  import chevronLeftIcon from '@jetbrains/icons/chevron-left';
7
6
  import chevronRightIcon from '@jetbrains/icons/chevron-right';
@@ -68,7 +67,6 @@ import '../list/list__item.js';
68
67
  import '../checkbox/checkbox.js';
69
68
  import '@jetbrains/icons/checkmark-12px';
70
69
  import '@jetbrains/icons/remove-12px';
71
- import '../global/prop-types.js';
72
70
  import '../global/composeRefs.js';
73
71
  import '../list/list__custom.js';
74
72
  import '../global/get-event-key.js';
@@ -339,23 +337,5 @@ _defineProperty(Pager, "defaultProps", {
339
337
  onLoadPage: () => {}
340
338
  });
341
339
  _defineProperty(Pager, "contextType", I18nContext);
342
- Pager.propTypes = {
343
- total: PropTypes.number.isRequired,
344
- currentPage: PropTypes.number,
345
- pageSize: PropTypes.number,
346
- pageSizes: PropTypes.arrayOf(PropTypes.number),
347
- visiblePagesLimit: PropTypes.number,
348
- disablePageSizeSelector: PropTypes.bool,
349
- openTotal: PropTypes.bool,
350
- canLoadLastPageWithOpenTotal: PropTypes.bool,
351
- onPageChange: PropTypes.func,
352
- onPageSizeChange: PropTypes.func,
353
- onLoadPage: PropTypes.func,
354
- className: PropTypes.string,
355
- translations: PropTypes.object,
356
- loader: PropTypes.bool,
357
- loaderNavigation: PropTypes.bool,
358
- hrefFunc: PropTypes.func //function which generates href for all pager's buttons based on pager state passed as a function parameter, either this function or onPageChange should be provided
359
- };
360
340
 
361
341
  export { Pager as default };
@@ -1,12 +1,7 @@
1
1
  import { HTMLAttributes, PureComponent } from 'react';
2
- import PropTypes from 'prop-types';
3
2
  /**
4
3
  * @name Panel
5
4
  */
6
5
  export default class Panel extends PureComponent<HTMLAttributes<HTMLElement>> {
7
- static propTypes: {
8
- className: PropTypes.Requireable<string>;
9
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
10
- };
11
6
  render(): import("react").JSX.Element;
12
7
  }
@@ -1,6 +1,5 @@
1
- import { _ as _defineProperty, a as _objectWithoutProperties, b as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
1
+ import { a as _objectWithoutProperties, b as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
2
2
  import { PureComponent } from 'react';
3
- import PropTypes from 'prop-types';
4
3
  import classNames from 'classnames';
5
4
  import { jsx } from 'react/jsx-runtime';
6
5
 
@@ -22,9 +21,5 @@ class Panel extends PureComponent {
22
21
  }));
23
22
  }
24
23
  }
25
- _defineProperty(Panel, "propTypes", {
26
- className: PropTypes.string,
27
- children: PropTypes.node
28
- });
29
24
 
30
25
  export { Panel as default };
@@ -4,7 +4,6 @@ import 'core-js/modules/es.string.replace.js';
4
4
  import 'core-js/modules/web.dom-collections.iterator.js';
5
5
  import { PureComponent } from 'react';
6
6
  import { createPortal } from 'react-dom';
7
- import PropTypes from 'prop-types';
8
7
  import classNames from 'classnames';
9
8
  import getUID from '../global/get-uid.js';
10
9
  import scheduleRAF from '../global/schedule-raf.js';
@@ -362,45 +361,5 @@ _defineProperty(Popup, "PopupProps", {
362
361
  MinWidth,
363
362
  MaxHeight
364
363
  });
365
- Popup.propTypes = {
366
- anchorElement: PropTypes.instanceOf(Node),
367
- target: PropTypes.oneOfType([PropTypes.string, PropTypes.instanceOf(Element)]),
368
- className: PropTypes.string,
369
- style: PropTypes.object,
370
- hidden: PropTypes.bool.isRequired,
371
- onOutsideClick: PropTypes.func,
372
- onEscPress: PropTypes.func,
373
- // onCloseAttempt is a common callback for ESC pressing and outside clicking.
374
- // Use it if you don't need different behaviors for this cases.
375
- onCloseAttempt: PropTypes.func,
376
- children: PropTypes.node.isRequired,
377
- dontCloseOnAnchorClick: PropTypes.bool,
378
- shortcuts: PropTypes.bool,
379
- keepMounted: PropTypes.bool,
380
- // pass this prop to preserve the popup's DOM state while hidden
381
- 'data-test': PropTypes.string,
382
- client: PropTypes.bool,
383
- // true means that it's never used in SSR
384
- directions: PropTypes.arrayOf(PropTypes.string),
385
- autoPositioning: PropTypes.bool,
386
- autoCorrectTopOverflow: PropTypes.bool,
387
- left: PropTypes.number,
388
- top: PropTypes.number,
389
- maxHeight: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
390
- minWidth: PropTypes.number,
391
- sidePadding: PropTypes.number,
392
- attached: PropTypes.bool,
393
- // Popup adjacent to an input, without upper border and shadow
394
- onMouseDown: PropTypes.func,
395
- onMouseUp: PropTypes.func,
396
- onMouseOver: PropTypes.func,
397
- onMouseOut: PropTypes.func,
398
- onContextMenu: PropTypes.func,
399
- onDirectionChange: PropTypes.func,
400
- onShow: PropTypes.func,
401
- // set to true whenever popup contains focusable and scrollable content
402
- trapFocus: PropTypes.bool,
403
- autoFocusFirst: PropTypes.bool
404
- };
405
364
 
406
365
  export { PopupTarget, PopupTargetContext, Popup as default, getPopupContainer };
@@ -1,6 +1,5 @@
1
1
  import { a as _objectWithoutProperties, b as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
2
2
  import { createContext, forwardRef } from 'react';
3
- import PropTypes from 'prop-types';
4
3
  import { jsx } from 'react/jsx-runtime';
5
4
 
6
5
  const _excluded = ["id", "children"];
@@ -21,9 +20,5 @@ const PopupTarget = /*#__PURE__*/forwardRef(function PopupTarget(_ref, ref) {
21
20
  children: typeof children === 'function' ? children(target) : target
22
21
  });
23
22
  });
24
- PopupTarget.propTypes = {
25
- id: PropTypes.string.isRequired,
26
- children: PropTypes.oneOfType([PropTypes.node, PropTypes.func])
27
- };
28
23
 
29
24
  export { PopupTarget, PopupTargetContext };
@@ -1,6 +1,5 @@
1
- import { a as _objectWithoutProperties, _ as _defineProperty, b as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
1
+ import { _ as _defineProperty, b as _objectSpread2, a as _objectWithoutProperties } from '../_helpers/_rollupPluginBabelHelpers.js';
2
2
  import 'core-js/modules/web.dom-collections.iterator.js';
3
- import PropTypes from 'prop-types';
4
3
  import Popup from '../popup/popup.js';
5
4
  import List from '../list/list.js';
6
5
  import { jsx } from 'react/jsx-runtime';
@@ -48,7 +47,6 @@ import '@jetbrains/icons/remove-12px';
48
47
  import '../icon/icon.js';
49
48
  import '../icon/icon__constants.js';
50
49
  import '../_helpers/icon__svg.js';
51
- import '../global/prop-types.js';
52
50
  import '../global/composeRefs.js';
53
51
  import '../control-help/control-help.js';
54
52
  import '../list/list__custom.js';
@@ -59,11 +57,6 @@ import '../list/list__hint.js';
59
57
  import '../list/consts.js';
60
58
 
61
59
  const _excluded = ["className"];
62
- const _ref = Popup.propTypes || {},
63
- popupPropTypes = _objectWithoutProperties(_ref, ["children"]);
64
- /**
65
- * @name Popup Menu
66
- */
67
60
  class PopupMenu extends Popup {
68
61
  constructor() {
69
62
  super(...arguments);
@@ -99,10 +92,6 @@ _defineProperty(PopupMenu, "defaultProps", _objectSpread2(_objectSpread2(_object
99
92
  renderOptimization: false,
100
93
  closeOnSelect: false
101
94
  }));
102
- PopupMenu.propTypes = _objectSpread2(_objectSpread2(_objectSpread2({}, popupPropTypes), List.propTypes), {}, {
103
- maxHeight: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
104
- closeOnSelect: PropTypes.bool
105
- });
106
95
  const {
107
96
  ListProps
108
97
  } = List;
@@ -1,10 +1,28 @@
1
1
  import { HTMLAttributes, PureComponent } from 'react';
2
- import PropTypes from 'prop-types';
3
2
  export interface ProgressBarProps extends HTMLAttributes<HTMLElement> {
3
+ /**
4
+ * A floating point number that specifies minimum completion rate for a task to be considered
5
+ * complete. Default value is 1.0.
6
+ * @type {number}
7
+ */
4
8
  max: number;
9
+ /**
10
+ * A floating point number that specifies current task completion rate.
11
+ * @type {number}
12
+ */
5
13
  value: number;
6
14
  label: string;
15
+ /**
16
+ * Sets the ring-progress-bar_global class to position the progress bar on top of the screen.
17
+ * Should be placed directly inside body, will be positioned right below .ring-header
18
+ * if placed adjacent to it.
19
+ * @type {boolean}
20
+ */
7
21
  global?: boolean | null | undefined;
22
+ /**
23
+ * Disables Disabled progress bar color animation and sets it to static color.
24
+ * @type {boolean}
25
+ */
8
26
  staticColor?: boolean;
9
27
  }
10
28
  /**
@@ -18,38 +36,6 @@ export default class ProgressBar extends PureComponent<ProgressBarProps> {
18
36
  * @private
19
37
  */
20
38
  static toPercent(value: number, max: number): number;
21
- static propTypes: {
22
- label: PropTypes.Requireable<string>;
23
- /**
24
- * Sets the ring-progress-bar_global class to position the progress bar on top of the screen.
25
- * Should be placed directly inside body, will be positioned right below .ring-header
26
- * if placed adjacent to it.
27
- * @type {boolean}
28
- */
29
- global: PropTypes.Requireable<boolean>;
30
- /**
31
- * Custom class
32
- * @type {string}
33
- */
34
- className: PropTypes.Requireable<string>;
35
- style: PropTypes.Requireable<object>;
36
- /**
37
- * A floating point number that specifies minimum completion rate for a task to be considered
38
- * complete. Default value is 1.0.
39
- * @type {number}
40
- */
41
- max: PropTypes.Requireable<number>;
42
- /**
43
- * A floating point number that specifies current task completion rate.
44
- * @type {number}
45
- */
46
- value: PropTypes.Requireable<number>;
47
- /**
48
- * Disables Disabled progress bar color animation and sets it to static color.
49
- * @type {boolean}
50
- */
51
- staticColor: PropTypes.Requireable<boolean>;
52
- };
53
39
  static defaultProps: {
54
40
  max: number;
55
41
  value: number;
@@ -1,7 +1,6 @@
1
1
  import { _ as _defineProperty, a as _objectWithoutProperties, b as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
2
2
  import 'core-js/modules/web.dom-collections.iterator.js';
3
3
  import { PureComponent } from 'react';
4
- import PropTypes from 'prop-types';
5
4
  import classNames from 'classnames';
6
5
  import { jsx } from 'react/jsx-runtime';
7
6
 
@@ -65,38 +64,6 @@ class ProgressBar extends PureComponent {
65
64
  }));
66
65
  }
67
66
  }
68
- _defineProperty(ProgressBar, "propTypes", {
69
- label: PropTypes.string,
70
- /**
71
- * Sets the ring-progress-bar_global class to position the progress bar on top of the screen.
72
- * Should be placed directly inside body, will be positioned right below .ring-header
73
- * if placed adjacent to it.
74
- * @type {boolean}
75
- */
76
- global: PropTypes.bool,
77
- /**
78
- * Custom class
79
- * @type {string}
80
- */
81
- className: PropTypes.string,
82
- style: PropTypes.object,
83
- /**
84
- * A floating point number that specifies minimum completion rate for a task to be considered
85
- * complete. Default value is 1.0.
86
- * @type {number}
87
- */
88
- max: PropTypes.number,
89
- /**
90
- * A floating point number that specifies current task completion rate.
91
- * @type {number}
92
- */
93
- value: PropTypes.number,
94
- /**
95
- * Disables Disabled progress bar color animation and sets it to static color.
96
- * @type {boolean}
97
- */
98
- staticColor: PropTypes.bool
99
- });
100
67
  _defineProperty(ProgressBar, "defaultProps", {
101
68
  max: 1.0,
102
69
  value: 0,