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

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 (271) 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 -4
  18. package/components/auth/auth__core.d.ts +3 -3
  19. package/components/auth/auth__core.js +32 -24
  20. package/components/auth/down-notification.js +0 -9
  21. package/components/auth/iframe-flow.js +0 -1
  22. package/components/auth/storage.js +3 -7
  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/form/form.js +1 -1
  99. package/components/global/create-stateful-context.d.ts +0 -4
  100. package/components/global/create-stateful-context.js +0 -4
  101. package/components/global/focus-sensor-hoc.js +7 -27
  102. package/components/global/react-dom-renderer.d.ts +0 -5
  103. package/components/global/react-dom-renderer.js +0 -5
  104. package/components/global/theme.d.ts +1 -0
  105. package/components/global/theme.js +1 -2
  106. package/components/grid/col.d.ts +0 -14
  107. package/components/grid/col.js +1 -16
  108. package/components/grid/grid.d.ts +0 -5
  109. package/components/grid/grid.js +1 -6
  110. package/components/grid/row.d.ts +0 -18
  111. package/components/grid/row.js +1 -19
  112. package/components/group/group.d.ts +0 -5
  113. package/components/group/group.js +1 -6
  114. package/components/header/header-icon.d.ts +0 -22
  115. package/components/header/header-icon.js +1 -6
  116. package/components/header/header.d.ts +0 -6
  117. package/components/header/header.js +0 -10
  118. package/components/header/logo.d.ts +0 -4
  119. package/components/header/logo.js +0 -4
  120. package/components/header/profile.d.ts +1 -39
  121. package/components/header/profile.js +1 -40
  122. package/components/header/services-link.d.ts +0 -10
  123. package/components/header/services-link.js +0 -1
  124. package/components/header/services.d.ts +0 -14
  125. package/components/header/services.js +1 -13
  126. package/components/header/smart-profile.d.ts +0 -9
  127. package/components/header/smart-profile.js +16 -28
  128. package/components/header/smart-services.d.ts +0 -4
  129. package/components/header/smart-services.js +17 -51
  130. package/components/header/tray.d.ts +0 -5
  131. package/components/header/tray.js +1 -6
  132. package/components/heading/heading.js +0 -6
  133. package/components/icon/icon.d.ts +0 -11
  134. package/components/icon/icon.js +0 -11
  135. package/components/icon/icon__svg.d.ts +0 -8
  136. package/components/icon/icon__svg.js +0 -1
  137. package/components/icon/index.js +0 -1
  138. package/components/input/input-legacy.js +1 -1
  139. package/components/input/input.js +0 -2
  140. package/components/input-size/input-size.js +1 -1
  141. package/components/island/adaptive-island-hoc.d.ts +0 -1
  142. package/components/island/adaptive-island-hoc.js +3 -4
  143. package/components/island/content.d.ts +0 -10
  144. package/components/island/content.js +2 -12
  145. package/components/island/header.js +2 -10
  146. package/components/island/island.d.ts +0 -9
  147. package/components/island/island.js +1 -9
  148. package/components/island-legacy/content-legacy.d.ts +0 -5
  149. package/components/island-legacy/content-legacy.js +1 -6
  150. package/components/island-legacy/header-legacy.d.ts +0 -5
  151. package/components/island-legacy/header-legacy.js +1 -6
  152. package/components/island-legacy/island-legacy.d.ts +0 -5
  153. package/components/island-legacy/island-legacy.js +1 -6
  154. package/components/link/clickableLink.d.ts +0 -9
  155. package/components/link/clickableLink.js +0 -9
  156. package/components/link/link.d.ts +0 -25
  157. package/components/link/link.js +3 -16
  158. package/components/list/list.d.ts +0 -32
  159. package/components/list/list.js +1 -31
  160. package/components/list/list__custom.js +0 -17
  161. package/components/list/list__hint.d.ts +0 -4
  162. package/components/list/list__hint.js +0 -5
  163. package/components/list/list__item.js +0 -33
  164. package/components/list/list__link.js +2 -13
  165. package/components/list/list__separator.js +0 -6
  166. package/components/list/list__title.js +0 -7
  167. package/components/list/list__users-groups-source.js +0 -2
  168. package/components/loader/loader.d.ts +0 -10
  169. package/components/loader/loader.js +0 -10
  170. package/components/loader-inline/loader-inline.d.ts +0 -6
  171. package/components/loader-inline/loader-inline.js +1 -7
  172. package/components/loader-screen/loader-screen.d.ts +0 -6
  173. package/components/loader-screen/loader-screen.js +1 -7
  174. package/components/login-dialog/login-dialog.d.ts +0 -11
  175. package/components/login-dialog/login-dialog.js +12 -23
  176. package/components/login-dialog/service.js +3 -2
  177. package/components/markdown/markdown.js +0 -5
  178. package/components/message/message.js +0 -16
  179. package/components/pager/pager.js +1 -21
  180. package/components/panel/panel.d.ts +0 -5
  181. package/components/panel/panel.js +1 -6
  182. package/components/popup/popup.js +0 -41
  183. package/components/popup/popup.target.js +0 -5
  184. package/components/popup-menu/popup-menu.js +1 -12
  185. package/components/progress-bar/progress-bar.d.ts +19 -33
  186. package/components/progress-bar/progress-bar.js +0 -33
  187. package/components/query-assist/query-assist.d.ts +63 -93
  188. package/components/query-assist/query-assist.js +2 -96
  189. package/components/query-assist/query-assist__suggestions.js +0 -2
  190. package/components/radio/radio.d.ts +0 -8
  191. package/components/radio/radio.js +0 -8
  192. package/components/radio/radio__item.d.ts +0 -9
  193. package/components/radio/radio__item.js +0 -10
  194. package/components/select/select.js +3 -68
  195. package/components/select/select__filter.js +0 -2
  196. package/components/select/select__popup.js +1 -52
  197. package/components/shortcuts/core.js +1 -1
  198. package/components/shortcuts/shortcuts-hoc.d.ts +0 -5
  199. package/components/shortcuts/shortcuts-hoc.js +2 -7
  200. package/components/shortcuts/shortcuts.d.ts +0 -8
  201. package/components/shortcuts/shortcuts.js +0 -8
  202. package/components/slider/slider.js +0 -1
  203. package/components/storage/storage.d.ts +2 -3
  204. package/components/storage/storage.js +2 -22
  205. package/components/storage/storage__local.js +0 -1
  206. package/components/style.css +1 -1
  207. package/components/tab-trap/tab-trap.js +0 -8
  208. package/components/table/cell.d.ts +0 -6
  209. package/components/table/cell.js +1 -7
  210. package/components/table/disable-hover-hoc.d.ts +0 -1
  211. package/components/table/disable-hover-hoc.js +1 -1
  212. package/components/table/header-cell.d.ts +0 -10
  213. package/components/table/header-cell.js +0 -10
  214. package/components/table/header.d.ts +0 -15
  215. package/components/table/header.js +0 -16
  216. package/components/table/multitable.d.ts +0 -4
  217. package/components/table/multitable.js +0 -4
  218. package/components/table/row-with-focus-sensor.d.ts +2 -2
  219. package/components/table/row-with-focus-sensor.js +0 -3
  220. package/components/table/row.js +0 -35
  221. package/components/table/selection-shortcuts-hoc.js +3 -22
  222. package/components/table/simple-table.d.ts +0 -44
  223. package/components/table/simple-table.js +1 -7
  224. package/components/table/smart-table.d.ts +0 -48
  225. package/components/table/smart-table.js +1 -10
  226. package/components/table/table.d.ts +0 -2
  227. package/components/table/table.js +3 -52
  228. package/components/tabs/collapsible-more.d.ts +1 -9
  229. package/components/tabs/collapsible-more.js +0 -24
  230. package/components/tabs/collapsible-tab.js +1 -9
  231. package/components/tabs/collapsible-tabs.d.ts +2 -29
  232. package/components/tabs/collapsible-tabs.js +0 -13
  233. package/components/tabs/custom-item.d.ts +1 -7
  234. package/components/tabs/custom-item.js +0 -5
  235. package/components/tabs/dumb-tabs.d.ts +0 -11
  236. package/components/tabs/dumb-tabs.js +0 -12
  237. package/components/tabs/smart-tabs.d.ts +0 -6
  238. package/components/tabs/smart-tabs.js +0 -7
  239. package/components/tabs/tab-link.d.ts +0 -8
  240. package/components/tabs/tab-link.js +0 -1
  241. package/components/tabs/tab.d.ts +0 -8
  242. package/components/tabs/tab.js +0 -9
  243. package/components/tabs/tabs.js +0 -2
  244. package/components/tag/tag.d.ts +0 -17
  245. package/components/tag/tag.js +0 -17
  246. package/components/tags-input/tags-input.d.ts +7 -33
  247. package/components/tags-input/tags-input.js +2 -35
  248. package/components/tags-list/tags-list.d.ts +0 -13
  249. package/components/tags-list/tags-list.js +0 -13
  250. package/components/text/text.d.ts +0 -7
  251. package/components/text/text.js +0 -7
  252. package/components/toggle/toggle.d.ts +0 -15
  253. package/components/toggle/toggle.js +0 -15
  254. package/components/tooltip/tooltip.d.ts +0 -9
  255. package/components/tooltip/tooltip.js +0 -9
  256. package/components/user-agreement/service.d.ts +2 -1
  257. package/components/user-agreement/service.js +2 -6
  258. package/components/user-agreement/user-agreement.d.ts +0 -18
  259. package/components/user-agreement/user-agreement.js +11 -29
  260. package/components/user-card/card.d.ts +0 -35
  261. package/components/user-card/card.js +0 -1
  262. package/components/user-card/smart-user-card-tooltip.d.ts +0 -5
  263. package/components/user-card/smart-user-card-tooltip.js +0 -5
  264. package/components/user-card/tooltip.d.ts +0 -9
  265. package/components/user-card/tooltip.js +0 -9
  266. package/components/user-card/user-card.js +0 -1
  267. package/package.json +1 -3
  268. package/components/global/prop-types.d.ts +0 -4
  269. package/components/global/prop-types.js +0 -7
  270. package/components/storage/storage__fallback.d.ts +0 -79
  271. package/components/storage/storage__fallback.js +0 -180
@@ -1,5 +1,4 @@
1
1
  import { Component } from 'react';
2
- import PropTypes from 'prop-types';
3
2
  /**
4
3
  * @name Auth Dialog
5
4
  */
@@ -21,23 +20,6 @@ export interface AuthDialogProps {
21
20
  onTryAgain?: () => void;
22
21
  }
23
22
  export default class AuthDialog extends Component<AuthDialogProps> {
24
- static propTypes: {
25
- className: PropTypes.Requireable<string>;
26
- title: PropTypes.Requireable<string>;
27
- errorMessage: PropTypes.Requireable<string>;
28
- serviceImage: PropTypes.Requireable<string>;
29
- serviceName: PropTypes.Requireable<string>;
30
- loginCaption: PropTypes.Requireable<string>;
31
- loginToCaption: PropTypes.Requireable<string>;
32
- show: PropTypes.Requireable<boolean>;
33
- cancelOnEsc: PropTypes.Requireable<boolean>;
34
- confirmLabel: PropTypes.Requireable<string>;
35
- cancelLabel: PropTypes.Requireable<string>;
36
- tryAgainLabel: PropTypes.Requireable<string>;
37
- onConfirm: PropTypes.Requireable<(...args: any[]) => any>;
38
- onCancel: PropTypes.Requireable<(...args: any[]) => any>;
39
- onTryAgain: PropTypes.Requireable<(...args: any[]) => any>;
40
- };
41
23
  static defaultProps: {
42
24
  loginCaption: string;
43
25
  loginToCaption: string;
@@ -3,24 +3,23 @@ import 'core-js/modules/es.regexp.exec.js';
3
3
  import 'core-js/modules/es.string.replace.js';
4
4
  import 'core-js/modules/web.dom-collections.iterator.js';
5
5
  import { Component } from 'react';
6
- import PropTypes from 'prop-types';
7
6
  import classNames from 'classnames';
8
- import '../island/island.js';
7
+ import 'core-js/modules/es.array.reduce.js';
8
+ import { jsx, jsxs } from 'react/jsx-runtime';
9
+ import '../island/header.js';
10
+ import ContentWrapper from '../island/content.js';
9
11
  import Dialog from '../dialog/dialog.js';
10
12
  import { Button } from '../button/button.js';
11
13
  import { H2 } from '../heading/heading.js';
12
- import { jsx, jsxs } from 'react/jsx-runtime';
13
- import ContentWrapper from '../island/content.js';
14
- import '../global/data-tests.js';
15
- import 'core-js/modules/es.array.reduce.js';
16
- import '../island/adaptive-island-hoc.js';
17
14
  import '../global/linear-function.js';
18
15
  import '../_helpers/island.js';
19
- import '../island/header.js';
16
+ import '../island/adaptive-island-hoc.js';
20
17
  import 'element-resize-detector';
21
18
  import '../global/schedule-raf.js';
22
19
  import 'react-dom';
23
20
  import '@jetbrains/icons/close';
21
+ import '../island/island.js';
22
+ import '../global/data-tests.js';
24
23
  import '../global/get-uid.js';
25
24
  import '../shortcuts/shortcuts.js';
26
25
  import '../shortcuts/core.js';
@@ -146,23 +145,6 @@ class AuthDialog extends Component {
146
145
  });
147
146
  }
148
147
  }
149
- _defineProperty(AuthDialog, "propTypes", {
150
- className: PropTypes.string,
151
- title: PropTypes.string,
152
- errorMessage: PropTypes.string,
153
- serviceImage: PropTypes.string,
154
- serviceName: PropTypes.string,
155
- loginCaption: PropTypes.string,
156
- loginToCaption: PropTypes.string,
157
- show: PropTypes.bool,
158
- cancelOnEsc: PropTypes.bool,
159
- confirmLabel: PropTypes.string,
160
- cancelLabel: PropTypes.string,
161
- tryAgainLabel: PropTypes.string,
162
- onConfirm: PropTypes.func,
163
- onCancel: PropTypes.func,
164
- onTryAgain: PropTypes.func
165
- });
166
148
  _defineProperty(AuthDialog, "defaultProps", {
167
149
  loginCaption: 'Log in',
168
150
  loginToCaption: 'Log in to %serviceName%',
@@ -7,21 +7,20 @@ import 'react';
7
7
  import 'core-js/modules/es.regexp.exec.js';
8
8
  import 'core-js/modules/es.string.replace.js';
9
9
  import 'core-js/modules/web.dom-collections.iterator.js';
10
- import 'prop-types';
11
10
  import 'classnames';
12
- import '../island/island.js';
13
- import '../global/data-tests.js';
14
11
  import 'core-js/modules/es.array.reduce.js';
15
- import '../island/adaptive-island-hoc.js';
12
+ import '../island/header.js';
16
13
  import '../global/linear-function.js';
17
14
  import '../_helpers/island.js';
18
- import '../island/header.js';
15
+ import '../island/adaptive-island-hoc.js';
19
16
  import '../island/content.js';
20
17
  import 'element-resize-detector';
21
18
  import '../global/schedule-raf.js';
22
19
  import '../dialog/dialog.js';
23
20
  import 'react-dom';
24
21
  import '@jetbrains/icons/close';
22
+ import '../island/island.js';
23
+ import '../global/data-tests.js';
25
24
  import '../global/get-uid.js';
26
25
  import '../shortcuts/shortcuts.js';
27
26
  import '../shortcuts/core.js';
@@ -1,5 +1,4 @@
1
1
  import { PureComponent, ImgHTMLAttributes } from 'react';
2
- import PropTypes from 'prop-types';
3
2
  /**
4
3
  * @name Avatar
5
4
  */
@@ -24,18 +23,6 @@ export interface AvatarProps extends ImgHTMLAttributes<HTMLImageElement> {
24
23
  skipParams?: boolean | null | undefined;
25
24
  }
26
25
  export default class Avatar extends PureComponent<AvatarProps> {
27
- static propTypes: {
28
- dpr: PropTypes.Requireable<number>;
29
- className: PropTypes.Requireable<string>;
30
- size: PropTypes.Requireable<number>;
31
- style: PropTypes.Requireable<object>;
32
- url: PropTypes.Requireable<string>;
33
- round: PropTypes.Requireable<boolean>;
34
- subavatar: PropTypes.Requireable<string>;
35
- subavatarSize: PropTypes.Requireable<number>;
36
- username: PropTypes.Requireable<string>;
37
- skipParams: PropTypes.Requireable<boolean>;
38
- };
39
26
  static defaultProps: {
40
27
  dpr: number;
41
28
  size: Size;
@@ -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 { isDataURI, parseQueryString, encodeURL } from '../global/url.js';
7
6
  import { getPixelRatio } from '../global/dom.js';
@@ -131,18 +130,6 @@ class Avatar extends PureComponent {
131
130
  }
132
131
  }
133
132
  }
134
- _defineProperty(Avatar, "propTypes", {
135
- dpr: PropTypes.number,
136
- className: PropTypes.string,
137
- size: PropTypes.number,
138
- style: PropTypes.object,
139
- url: PropTypes.string,
140
- round: PropTypes.bool,
141
- subavatar: PropTypes.string,
142
- subavatarSize: PropTypes.number,
143
- username: PropTypes.string,
144
- skipParams: PropTypes.bool
145
- });
146
133
  _defineProperty(Avatar, "defaultProps", {
147
134
  dpr: getPixelRatio(),
148
135
  size: Size.Size20,
@@ -1,16 +1,7 @@
1
- import PropTypes from 'prop-types';
2
1
  import { Size } from './avatar';
3
2
  export interface FallbackAvatarProps {
4
3
  username: string;
5
4
  size: Size;
6
5
  round: boolean | null | undefined;
7
6
  }
8
- declare function FallbackAvatar({ username, size, round }: FallbackAvatarProps): import("react").JSX.Element;
9
- declare namespace FallbackAvatar {
10
- var propTypes: {
11
- username: PropTypes.Validator<string>;
12
- size: PropTypes.Validator<number>;
13
- round: PropTypes.Requireable<boolean>;
14
- };
15
- }
16
- export default FallbackAvatar;
7
+ export default function FallbackAvatar({ username, size, round }: FallbackAvatarProps): import("react").JSX.Element;
@@ -1,7 +1,6 @@
1
1
  import 'core-js/modules/es.regexp.exec.js';
2
2
  import 'core-js/modules/web.dom-collections.iterator.js';
3
3
  import { useMemo } from 'react';
4
- import PropTypes from 'prop-types';
5
4
  import getUID from '../global/get-uid.js';
6
5
  import { jsxs, jsx } from 'react/jsx-runtime';
7
6
 
@@ -141,10 +140,5 @@ function FallbackAvatar(_ref) {
141
140
  })]
142
141
  });
143
142
  }
144
- FallbackAvatar.propTypes = {
145
- username: PropTypes.string.isRequired,
146
- size: PropTypes.number.isRequired,
147
- round: PropTypes.bool
148
- };
149
143
 
150
144
  export { FallbackAvatar as default };
@@ -1,5 +1,4 @@
1
1
  import { PureComponent, HTMLAttributes } from 'react';
2
- import PropTypes from 'prop-types';
3
2
  export interface BadgeProps extends HTMLAttributes<HTMLElement> {
4
3
  gray?: boolean | null | undefined;
5
4
  valid?: boolean | null | undefined;
@@ -11,14 +10,5 @@ export interface BadgeProps extends HTMLAttributes<HTMLElement> {
11
10
  * @name Badge
12
11
  */
13
12
  export default class Badge extends PureComponent<BadgeProps> {
14
- static propTypes: {
15
- gray: PropTypes.Requireable<boolean>;
16
- valid: PropTypes.Requireable<boolean>;
17
- invalid: PropTypes.Requireable<boolean>;
18
- disabled: PropTypes.Requireable<boolean>;
19
- className: PropTypes.Requireable<string>;
20
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
21
- 'data-test': PropTypes.Requireable<string>;
22
- };
23
13
  render(): import("react").JSX.Element;
24
14
  }
@@ -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 deprecate from 'util-deprecate';
6
5
  import joinDataTestAttributes from '../global/data-tests.js';
@@ -44,14 +43,5 @@ class Badge extends PureComponent {
44
43
  }));
45
44
  }
46
45
  }
47
- _defineProperty(Badge, "propTypes", {
48
- gray: PropTypes.bool,
49
- valid: PropTypes.bool,
50
- invalid: PropTypes.bool,
51
- disabled: PropTypes.bool,
52
- className: PropTypes.string,
53
- children: PropTypes.node,
54
- 'data-test': PropTypes.string
55
- });
56
46
 
57
47
  export { Badge as default };
@@ -1,6 +1,5 @@
1
1
  import { PureComponent, ButtonHTMLAttributes } from 'react';
2
2
  import * as React from 'react';
3
- import PropTypes from 'prop-types';
4
3
  import { IconProps, IconType, Size } from '../icon/icon';
5
4
  import { ClickableLinkProps } from '../link/clickableLink';
6
5
  import { ControlsHeight, ControlsHeightContext } from '../global/controls-height';
@@ -36,26 +35,6 @@ export type ButtonProps = ButtonButtonProps | ButtonLinkProps;
36
35
  * A component for displaying variously styled buttons.
37
36
  */
38
37
  export declare class Button extends PureComponent<ButtonProps> {
39
- static propTypes: {
40
- active: PropTypes.Requireable<boolean>;
41
- danger: PropTypes.Requireable<boolean>;
42
- delayed: PropTypes.Requireable<boolean>;
43
- loader: PropTypes.Requireable<boolean>;
44
- primary: PropTypes.Requireable<boolean>;
45
- short: PropTypes.Requireable<boolean>;
46
- text: PropTypes.Requireable<boolean>;
47
- inline: PropTypes.Requireable<boolean>;
48
- dropdown: PropTypes.Requireable<boolean>;
49
- href: PropTypes.Requireable<string>;
50
- target: PropTypes.Requireable<string>;
51
- icon: PropTypes.Requireable<NonNullable<PropTypes.ReactComponentLike | null | undefined>>;
52
- iconSize: PropTypes.Requireable<number>;
53
- iconClassName: PropTypes.Requireable<string>;
54
- iconSuppressSizeWarning: PropTypes.Requireable<boolean>;
55
- className: PropTypes.Requireable<string>;
56
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
57
- onClick: PropTypes.Requireable<(...args: any[]) => any>;
58
- };
59
38
  static IconSize: typeof Size;
60
39
  static contextType: React.Context<ControlsHeight>;
61
40
  context: React.ContextType<typeof ControlsHeightContext>;
@@ -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, createRef } from 'react';
4
- import PropTypes from 'prop-types';
5
4
  import classNames from 'classnames';
6
5
  import chevronDownIcon from '@jetbrains/icons/chevron-down';
7
6
  import Icon from '../icon/icon.js';
@@ -91,26 +90,6 @@ class Button extends PureComponent {
91
90
  }, commonProps));
92
91
  }
93
92
  }
94
- _defineProperty(Button, "propTypes", {
95
- active: PropTypes.bool,
96
- danger: PropTypes.bool,
97
- delayed: PropTypes.bool,
98
- loader: PropTypes.bool,
99
- primary: PropTypes.bool,
100
- short: PropTypes.bool,
101
- text: PropTypes.bool,
102
- inline: PropTypes.bool,
103
- dropdown: PropTypes.bool,
104
- href: PropTypes.string,
105
- target: PropTypes.string,
106
- icon: PropTypes.oneOfType([PropTypes.string, PropTypes.elementType]),
107
- iconSize: PropTypes.number,
108
- iconClassName: PropTypes.string,
109
- iconSuppressSizeWarning: PropTypes.bool,
110
- className: PropTypes.string,
111
- children: PropTypes.node,
112
- onClick: PropTypes.func
113
- });
114
93
  _defineProperty(Button, "IconSize", Size);
115
94
  _defineProperty(Button, "contextType", ControlsHeightContext);
116
95
 
@@ -1,5 +1,4 @@
1
1
  import { PureComponent, HTMLAttributes, ReactNode } from 'react';
2
- import PropTypes from 'prop-types';
3
2
  import Caption from './caption';
4
3
  export interface ButtonGroupProps extends HTMLAttributes<HTMLElement> {
5
4
  split?: boolean | null | undefined;
@@ -11,10 +10,6 @@ export interface ButtonGroupProps extends HTMLAttributes<HTMLElement> {
11
10
  * @name Button Group
12
11
  */
13
12
  export default class ButtonGroup extends PureComponent<ButtonGroupProps> {
14
- static propTypes: {
15
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
16
- className: PropTypes.Requireable<string>;
17
- };
18
13
  render(): import("react").JSX.Element;
19
14
  }
20
15
  export { Caption };
@@ -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 'core-js/modules/es.regexp.exec.js';
3
3
  import { PureComponent } from 'react';
4
- import PropTypes from 'prop-types';
5
4
  import classNames from 'classnames';
6
5
  import joinDataTestAttributes from '../global/data-tests.js';
7
6
  import { ControlLabel } from '../control-label/control-label.js';
@@ -38,9 +37,5 @@ class ButtonGroup extends PureComponent {
38
37
  });
39
38
  }
40
39
  }
41
- _defineProperty(ButtonGroup, "propTypes", {
42
- children: PropTypes.node,
43
- className: PropTypes.string
44
- });
45
40
 
46
41
  export { ButtonGroup as default };
@@ -1,8 +1,4 @@
1
1
  import { PureComponent, HTMLAttributes } from 'react';
2
- import PropTypes from 'prop-types';
3
2
  export default class Caption extends PureComponent<HTMLAttributes<HTMLElement>> {
4
- static propTypes: {
5
- className: PropTypes.Requireable<PropTypes.ReactNodeLike>;
6
- };
7
3
  render(): import("react").JSX.Element;
8
4
  }
@@ -1,6 +1,5 @@
1
1
  import '../_helpers/_rollupPluginBabelHelpers.js';
2
2
  import 'react';
3
- import 'prop-types';
4
3
  import 'classnames';
5
4
  export { C as default } from '../_helpers/caption.js';
6
5
  import 'react/jsx-runtime';
@@ -1,5 +1,4 @@
1
1
  import { PureComponent, HTMLAttributes } from 'react';
2
- import PropTypes from 'prop-types';
3
2
  export interface ButtonSetProps extends HTMLAttributes<HTMLElement> {
4
3
  'data-test'?: string | null | undefined;
5
4
  }
@@ -7,10 +6,5 @@ export interface ButtonSetProps extends HTMLAttributes<HTMLElement> {
7
6
  * @name Button Set
8
7
  */
9
8
  export default class ButtonSet extends PureComponent<ButtonSetProps> {
10
- static propTypes: {
11
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
12
- className: PropTypes.Requireable<string>;
13
- 'data-test': PropTypes.Requireable<string>;
14
- };
15
9
  render(): import("react").JSX.Element;
16
10
  }
@@ -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 } from 'react/jsx-runtime';
7
6
  import 'core-js/modules/es.array.reduce.js';
@@ -27,10 +26,5 @@ class ButtonSet extends PureComponent {
27
26
  }));
28
27
  }
29
28
  }
30
- _defineProperty(ButtonSet, "propTypes", {
31
- children: PropTypes.node,
32
- className: PropTypes.string,
33
- 'data-test': PropTypes.string
34
- });
35
29
 
36
30
  export { ButtonSet as default };
@@ -1,5 +1,4 @@
1
1
  import { PureComponent, HTMLAttributes } from 'react';
2
- import PropTypes from 'prop-types';
3
2
  export interface ButtonToolbarProps extends HTMLAttributes<HTMLElement> {
4
3
  'data-test'?: string | null | undefined;
5
4
  }
@@ -7,10 +6,5 @@ export interface ButtonToolbarProps extends HTMLAttributes<HTMLElement> {
7
6
  * @name Button Toolbar
8
7
  */
9
8
  export default class ButtonToolbar extends PureComponent<ButtonToolbarProps> {
10
- static propTypes: {
11
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
12
- className: PropTypes.Requireable<string>;
13
- 'data-test': PropTypes.Requireable<string>;
14
- };
15
9
  render(): import("react").JSX.Element;
16
10
  }
@@ -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 joinDataTestAttributes from '../global/data-tests.js';
6
5
  import { jsx } from 'react/jsx-runtime';
@@ -25,10 +24,5 @@ class ButtonToolbar extends PureComponent {
25
24
  }));
26
25
  }
27
26
  }
28
- _defineProperty(ButtonToolbar, "propTypes", {
29
- children: PropTypes.node,
30
- className: PropTypes.string,
31
- 'data-test': PropTypes.string
32
- });
33
27
 
34
28
  export { ButtonToolbar as default };
@@ -1,5 +1,4 @@
1
1
  import { PureComponent, InputHTMLAttributes, CSSProperties, Ref, ReactNode } from 'react';
2
- import PropTypes from 'prop-types';
3
2
  export interface CheckboxProps extends InputHTMLAttributes<HTMLInputElement> {
4
3
  label?: string | null | undefined;
5
4
  containerClassName?: string | null | undefined;
@@ -17,24 +16,6 @@ export interface CheckboxProps extends InputHTMLAttributes<HTMLInputElement> {
17
16
  * Displays a checkbox.
18
17
  */
19
18
  export default class Checkbox extends PureComponent<CheckboxProps> {
20
- static propTypes: {
21
- name: PropTypes.Requireable<string>;
22
- label: PropTypes.Requireable<string>;
23
- className: PropTypes.Requireable<string>;
24
- containerClassName: PropTypes.Requireable<string>;
25
- containerStyle: PropTypes.Requireable<object>;
26
- cellClassName: PropTypes.Requireable<string>;
27
- labelClassName: PropTypes.Requireable<string>;
28
- defaultChecked: PropTypes.Requireable<boolean>;
29
- checked: PropTypes.Requireable<boolean>;
30
- indeterminate: PropTypes.Requireable<boolean>;
31
- disabled: PropTypes.Requireable<boolean>;
32
- onChange: PropTypes.Requireable<(...args: any[]) => any>;
33
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
34
- inputRef: PropTypes.Requireable<NonNullable<((...args: any[]) => any) | PropTypes.InferProps<{
35
- current: PropTypes.Validator<HTMLInputElement | null | undefined>;
36
- }> | null | undefined>>;
37
- };
38
19
  static defaultProps: {
39
20
  indeterminate: boolean;
40
21
  };
@@ -1,12 +1,10 @@
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 checkmarkIcon from '@jetbrains/icons/checkmark-12px';
7
6
  import minusIcon from '@jetbrains/icons/remove-12px';
8
7
  import Icon from '../icon/icon.js';
9
- import { refObject } from '../global/prop-types.js';
10
8
  import { createComposedRef } from '../global/composeRefs.js';
11
9
  import ControlHelp from '../control-help/control-help.js';
12
10
  import { jsxs, jsx } from 'react/jsx-runtime';
@@ -95,22 +93,6 @@ class Checkbox extends PureComponent {
95
93
  });
96
94
  }
97
95
  }
98
- _defineProperty(Checkbox, "propTypes", {
99
- name: PropTypes.string,
100
- label: PropTypes.string,
101
- className: PropTypes.string,
102
- containerClassName: PropTypes.string,
103
- containerStyle: PropTypes.object,
104
- cellClassName: PropTypes.string,
105
- labelClassName: PropTypes.string,
106
- defaultChecked: PropTypes.bool,
107
- checked: PropTypes.bool,
108
- indeterminate: PropTypes.bool,
109
- disabled: PropTypes.bool,
110
- onChange: PropTypes.func,
111
- children: PropTypes.node,
112
- inputRef: PropTypes.oneOfType([PropTypes.func, refObject(PropTypes.instanceOf(HTMLInputElement))])
113
- });
114
96
  _defineProperty(Checkbox, "defaultProps", {
115
97
  indeterminate: false
116
98
  });
@@ -7,7 +7,6 @@ import '../global/get-uid.js';
7
7
  import '../alert/alert.js';
8
8
  import 'react';
9
9
  import 'classnames';
10
- import 'prop-types';
11
10
  import '@jetbrains/icons/exception';
12
11
  import '@jetbrains/icons/checkmark';
13
12
  import '@jetbrains/icons/warning';
@@ -1,5 +1,4 @@
1
1
  import { PureComponent, Ref } from 'react';
2
- import PropTypes from 'prop-types';
3
2
  import highlight from 'highlight.js/lib/core';
4
3
  declare function noop(): void;
5
4
  export interface CodeProps {
@@ -15,17 +14,6 @@ export interface CodeProps {
15
14
  * @name Code
16
15
  */
17
16
  export default class Code extends PureComponent<CodeProps> {
18
- static propTypes: {
19
- className: PropTypes.Requireable<string>;
20
- code: PropTypes.Validator<string>;
21
- inline: PropTypes.Requireable<boolean>;
22
- softWrap: PropTypes.Requireable<boolean>;
23
- language: PropTypes.Requireable<string>;
24
- replacer: PropTypes.Requireable<(...args: any[]) => any>;
25
- codeRef: PropTypes.Requireable<NonNullable<((...args: any[]) => any) | PropTypes.InferProps<{
26
- current: PropTypes.Requireable<Element>;
27
- }> | null | undefined>>;
28
- };
29
17
  static defaultProps: {
30
18
  inline: boolean;
31
19
  softWrap: boolean;
@@ -1,7 +1,6 @@
1
1
  import { _ as _defineProperty } 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 highlight from 'highlight.js/lib/core';
7
6
  export { default as highlight } from 'highlight.js/lib/core';
@@ -101,17 +100,6 @@ class Code extends PureComponent {
101
100
  });
102
101
  }
103
102
  }
104
- _defineProperty(Code, "propTypes", {
105
- className: PropTypes.string,
106
- code: PropTypes.string.isRequired,
107
- inline: PropTypes.bool,
108
- softWrap: PropTypes.bool,
109
- language: PropTypes.string,
110
- replacer: PropTypes.func,
111
- codeRef: PropTypes.oneOfType([PropTypes.shape({
112
- current: PropTypes.instanceOf(Element)
113
- }), PropTypes.func])
114
- });
115
103
  _defineProperty(Code, "defaultProps", {
116
104
  inline: false,
117
105
  softWrap: false,
@@ -1,6 +1,5 @@
1
1
  import { PureComponent, ReactNode } from 'react';
2
2
  import * as React from 'react';
3
- import PropTypes from 'prop-types';
4
3
  export interface ConfirmProps {
5
4
  text: string;
6
5
  description: ReactNode;
@@ -19,19 +18,6 @@ export interface ConfirmProps {
19
18
  * @name Confirm
20
19
  */
21
20
  export default class Confirm extends PureComponent<ConfirmProps> {
22
- static propTypes: {
23
- className: PropTypes.Requireable<string>;
24
- text: PropTypes.Requireable<string>;
25
- description: PropTypes.Requireable<PropTypes.ReactNodeLike>;
26
- show: PropTypes.Requireable<boolean>;
27
- rejectOnEsc: PropTypes.Requireable<boolean>;
28
- inProgress: PropTypes.Requireable<boolean>;
29
- cancelIsDefault: PropTypes.Requireable<boolean>;
30
- confirmLabel: PropTypes.Requireable<string>;
31
- rejectLabel: PropTypes.Requireable<string>;
32
- onConfirm: PropTypes.Requireable<(...args: any[]) => any>;
33
- onReject: PropTypes.Requireable<(...args: any[]) => any>;
34
- };
35
21
  static defaultProps: {
36
22
  text: null;
37
23
  description: null;