@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
@@ -2,20 +2,24 @@ import { _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
2
2
  import 'core-js/modules/es.symbol.description.js';
3
3
  import 'core-js/modules/web.dom-collections.iterator.js';
4
4
  import { PureComponent } from 'react';
5
- import PropTypes from 'prop-types';
6
5
  import Dialog from '../dialog/dialog.js';
7
6
  import { Button } from '../button/button.js';
8
- import '../island/island.js';
9
- import Panel from '../panel/panel.js';
7
+ import 'classnames';
8
+ import 'core-js/modules/es.array.reduce.js';
10
9
  import { jsxs, jsx } from 'react/jsx-runtime';
11
10
  import HeaderWrapper from '../island/header.js';
12
11
  import ContentWrapper from '../island/content.js';
12
+ import Panel from '../panel/panel.js';
13
13
  import 'react-dom';
14
- import 'classnames';
15
14
  import '@jetbrains/icons/close';
16
- import '../global/get-uid.js';
15
+ import '../island/island.js';
17
16
  import '../global/data-tests.js';
18
- import 'core-js/modules/es.array.reduce.js';
17
+ import '../island/adaptive-island-hoc.js';
18
+ import '../global/linear-function.js';
19
+ import '../_helpers/island.js';
20
+ import 'element-resize-detector';
21
+ import '../global/schedule-raf.js';
22
+ import '../global/get-uid.js';
19
23
  import '../shortcuts/shortcuts.js';
20
24
  import '../shortcuts/core.js';
21
25
  import 'core-js/modules/es.regexp.exec.js';
@@ -27,11 +31,6 @@ import '../global/dom.js';
27
31
  import '../popup/popup.target.js';
28
32
  import '../_helpers/dialog__body-scroll-preventer.js';
29
33
  import 'scrollbar-width';
30
- import '../island/adaptive-island-hoc.js';
31
- import '../global/linear-function.js';
32
- import '../_helpers/island.js';
33
- import 'element-resize-detector';
34
- import '../global/schedule-raf.js';
35
34
  import '@jetbrains/icons/chevron-down';
36
35
  import '../icon/icon.js';
37
36
  import 'util-deprecate';
@@ -102,19 +101,6 @@ class Confirm extends PureComponent {
102
101
  });
103
102
  }
104
103
  }
105
- _defineProperty(Confirm, "propTypes", {
106
- className: PropTypes.string,
107
- text: PropTypes.string,
108
- description: PropTypes.node,
109
- show: PropTypes.bool,
110
- rejectOnEsc: PropTypes.bool,
111
- inProgress: PropTypes.bool,
112
- cancelIsDefault: PropTypes.bool,
113
- confirmLabel: PropTypes.string,
114
- rejectLabel: PropTypes.string,
115
- onConfirm: PropTypes.func,
116
- onReject: PropTypes.func
117
- });
118
104
  _defineProperty(Confirm, "defaultProps", {
119
105
  text: null,
120
106
  description: null,
@@ -6,7 +6,6 @@ import { ControlsHeightContext, getGlobalControlsHeight } from '../global/contro
6
6
  import { jsx } from 'react/jsx-runtime';
7
7
  import 'core-js/modules/web.dom-collections.iterator.js';
8
8
  import 'react';
9
- import 'prop-types';
10
9
  import '../dialog/dialog.js';
11
10
  import 'react-dom';
12
11
  import 'classnames';
@@ -1,5 +1,4 @@
1
1
  import { Component, HTMLAttributes } from 'react';
2
- import PropTypes from 'prop-types';
3
2
  export interface ContentLayoutProps extends HTMLAttributes<HTMLElement> {
4
3
  responsive: boolean;
5
4
  contentClassName?: string | null | undefined;
@@ -8,12 +7,6 @@ export interface ContentLayoutProps extends HTMLAttributes<HTMLElement> {
8
7
  * @name Content Layout
9
8
  */
10
9
  export default class ContentLayout extends Component<ContentLayoutProps> {
11
- static propTypes: {
12
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
13
- className: PropTypes.Requireable<string>;
14
- contentClassName: PropTypes.Requireable<string>;
15
- responsive: PropTypes.Requireable<boolean>;
16
- };
17
10
  static defaultProps: {
18
11
  responsive: boolean;
19
12
  };
@@ -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 { Component, Children, cloneElement } from 'react';
4
- import PropTypes from 'prop-types';
5
4
  import classNames from 'classnames';
6
5
  import { m as modules_b8a9dd4f, S as Sidebar } from '../_helpers/sidebar.js';
7
6
  import { jsxs, jsx } from 'react/jsx-runtime';
@@ -51,12 +50,6 @@ class ContentLayout extends Component {
51
50
  }));
52
51
  }
53
52
  }
54
- _defineProperty(ContentLayout, "propTypes", {
55
- children: PropTypes.node,
56
- className: PropTypes.string,
57
- contentClassName: PropTypes.string,
58
- responsive: PropTypes.bool
59
- });
60
53
  _defineProperty(ContentLayout, "defaultProps", {
61
54
  responsive: true
62
55
  });
@@ -1,5 +1,4 @@
1
1
  import { Component, HTMLAttributes } from 'react';
2
- import PropTypes from 'prop-types';
3
2
  import { Waypoint } from 'react-waypoint';
4
3
  export interface SidebarProps extends HTMLAttributes<HTMLElement> {
5
4
  right?: boolean | null | undefined;
@@ -8,14 +7,6 @@ export interface SidebarProps extends HTMLAttributes<HTMLElement> {
8
7
  contentNode?: HTMLElement | null | undefined;
9
8
  }
10
9
  export default class Sidebar extends Component<SidebarProps> {
11
- static propTypes: {
12
- right: PropTypes.Requireable<boolean>;
13
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
14
- className: PropTypes.Requireable<string>;
15
- containerClassName: PropTypes.Requireable<string>;
16
- fixedClassName: PropTypes.Requireable<string>;
17
- contentNode: PropTypes.Requireable<object>;
18
- };
19
10
  state: {
20
11
  topIsOutside: boolean;
21
12
  bottomIsOutside: boolean;
@@ -1,7 +1,6 @@
1
1
  import '../_helpers/_rollupPluginBabelHelpers.js';
2
2
  import 'core-js/modules/web.dom-collections.iterator.js';
3
3
  import 'react';
4
- import 'prop-types';
5
4
  import 'classnames';
6
5
  import 'react-waypoint';
7
6
  export { S as default } from '../_helpers/sidebar.js';
@@ -1,5 +1,4 @@
1
1
  import { Component, HTMLAttributes, Ref } from 'react';
2
- import PropTypes from 'prop-types';
3
2
  /**
4
3
  * @name ContentEditable
5
4
  */
@@ -11,15 +10,6 @@ export interface ContentEditableBaseProps extends HTMLAttributes<HTMLElement> {
11
10
  __html: string;
12
11
  }
13
12
  declare class ContentEditableBase extends Component<ContentEditableBaseProps> {
14
- static propTypes: {
15
- __html: PropTypes.Requireable<string>;
16
- disabled: PropTypes.Requireable<boolean>;
17
- tabIndex: PropTypes.Requireable<number>;
18
- componentDidUpdate: PropTypes.Requireable<(...args: any[]) => any>;
19
- onComponentUpdate: PropTypes.Requireable<(...args: any[]) => any>;
20
- className: PropTypes.Requireable<string>;
21
- inputRef: PropTypes.Requireable<object>;
22
- };
23
13
  static defaultProps: {
24
14
  disabled: boolean;
25
15
  tabIndex: number;
@@ -32,16 +22,5 @@ declare class ContentEditableBase extends Component<ContentEditableBaseProps> {
32
22
  }
33
23
  type ContentEditableBaseAttrs = JSX.LibraryManagedAttributes<typeof ContentEditableBase, ContentEditableBaseProps>;
34
24
  export type ContentEditableProps = Omit<ContentEditableBaseAttrs, '__html'>;
35
- declare const ContentEditable: {
36
- ({ children, ...props }: ContentEditableProps): import("react").JSX.Element;
37
- propTypes: {
38
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
39
- disabled: PropTypes.Requireable<boolean>;
40
- tabIndex: PropTypes.Requireable<number>;
41
- componentDidUpdate: PropTypes.Requireable<(...args: any[]) => any>;
42
- onComponentUpdate: PropTypes.Requireable<(...args: any[]) => any>;
43
- className: PropTypes.Requireable<string>;
44
- inputRef: PropTypes.Requireable<object>;
45
- };
46
- };
25
+ declare const ContentEditable: ({ children, ...props }: ContentEditableProps) => import("react").JSX.Element;
47
26
  export default ContentEditable;
@@ -1,20 +1,11 @@
1
- import { _ as _defineProperty, b as _objectSpread2, a as _objectWithoutProperties } from '../_helpers/_rollupPluginBabelHelpers.js';
1
+ import { _ as _defineProperty, a as _objectWithoutProperties, b as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
2
2
  import { Component } from 'react';
3
- import PropTypes from 'prop-types';
4
3
  import { renderToStaticMarkup } from 'react-dom/server';
5
4
  import { jsx } from 'react/jsx-runtime';
6
5
 
7
6
  const _excluded = ["__html", "onComponentUpdate", "disabled", "tabIndex", "inputRef"],
8
7
  _excluded2 = ["children"];
9
8
  function noop() {}
10
- const commonPropTypes = {
11
- disabled: PropTypes.bool,
12
- tabIndex: PropTypes.number,
13
- componentDidUpdate: PropTypes.func,
14
- onComponentUpdate: PropTypes.func,
15
- className: PropTypes.string,
16
- inputRef: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
17
- };
18
9
  class ContentEditableBase extends Component {
19
10
  shouldComponentUpdate(nextProps) {
20
11
  return nextProps.disabled !== this.props.disabled || nextProps.__html !== this.props.__html;
@@ -47,9 +38,6 @@ class ContentEditableBase extends Component {
47
38
  }));
48
39
  }
49
40
  }
50
- _defineProperty(ContentEditableBase, "propTypes", _objectSpread2(_objectSpread2({}, commonPropTypes), {}, {
51
- __html: PropTypes.string
52
- }));
53
41
  _defineProperty(ContentEditableBase, "defaultProps", {
54
42
  disabled: false,
55
43
  tabIndex: 0,
@@ -65,8 +53,5 @@ const ContentEditable = _ref => {
65
53
  __html: renderToStaticMarkup(children)
66
54
  }));
67
55
  };
68
- ContentEditable.propTypes = _objectSpread2(_objectSpread2({}, commonPropTypes), {}, {
69
- children: PropTypes.node
70
- });
71
56
 
72
57
  export { ContentEditable as default };
@@ -1,6 +1,5 @@
1
1
  import { a as _objectWithoutProperties, b as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
2
2
  import 'react';
3
- import PropTypes from 'prop-types';
4
3
  import classNames from 'classnames';
5
4
  import { jsx } from 'react/jsx-runtime';
6
5
 
@@ -31,10 +30,5 @@ const ControlLabel = _ref => {
31
30
  children: children
32
31
  }));
33
32
  };
34
- ControlLabel.propTypes = {
35
- label: PropTypes.node,
36
- labelStyle: PropTypes.string,
37
- disabled: PropTypes.bool
38
- };
39
33
 
40
34
  export { ControlLabel, LabelType, ControlLabel as default };
@@ -20,7 +20,6 @@ export interface DataListBaseProps<T extends SelectionItem> {
20
20
  type FocusableProps<T extends SelectionItem> = DataListBaseProps<T> & DisableHoverAddProps & FocusSensorOuterProps<HTMLDivElement> & SelectionShortcutsAddProps<T>;
21
21
  export type DataListContainerProps<T extends SelectionItem> = DataListBaseProps<T> & FocusSensorOuterProps<HTMLDivElement> & SelectionShortcutsOuterProps<T>;
22
22
  export default class DataListContainer<T extends SelectionItem> extends Component<DataListContainerProps<T>> {
23
- static propTypes: import("react").WeakValidationMap<import("../table/selection-shortcuts-hoc").SelectionShortcutsProps<SelectionItem, FocusableProps<SelectionItem>>> | undefined;
24
23
  DataList: {
25
24
  new (props: import("../table/disable-hover-hoc").DisableHoverProps<import("../table/selection-shortcuts-hoc").SelectionShortcutsProps<T, FocusableProps<T>>>): {
26
25
  state: {
@@ -76,7 +75,6 @@ export default class DataListContainer<T extends SelectionItem> extends Componen
76
75
  componentWillUpdate?(nextProps: Readonly<import("../table/disable-hover-hoc").DisableHoverProps<import("../table/selection-shortcuts-hoc").SelectionShortcutsProps<T, FocusableProps<T>>>>, nextState: Readonly<{}>, nextContext: any): void;
77
76
  UNSAFE_componentWillUpdate?(nextProps: Readonly<import("../table/disable-hover-hoc").DisableHoverProps<import("../table/selection-shortcuts-hoc").SelectionShortcutsProps<T, FocusableProps<T>>>>, nextState: Readonly<{}>, nextContext: any): void;
78
77
  };
79
- propTypes: import("react").WeakValidationMap<import("../table/selection-shortcuts-hoc").SelectionShortcutsProps<T, FocusableProps<T>>> | undefined;
80
78
  defaultProps: Partial<import("../table/selection-shortcuts-hoc").SelectionShortcutsProps<T, FocusableProps<T>>> | undefined;
81
79
  contextType?: import("react").Context<any> | undefined;
82
80
  };
@@ -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
- import { PureComponent, Component } from 'react';
4
- import PropTypes from 'prop-types';
3
+ import { Component, PureComponent } from 'react';
5
4
  import classNames from 'classnames';
6
5
  import focusSensorHOC from '../global/focus-sensor-hoc.js';
7
6
  import selectionShortcutsHOC from '../table/selection-shortcuts-hoc.js';
@@ -9,14 +8,11 @@ import disableHoverHOC from '../table/disable-hover-hoc.js';
9
8
  import getUID from '../global/get-uid.js';
10
9
  import Shortcuts from '../shortcuts/shortcuts.js';
11
10
  import Loader from '../loader/loader.js';
12
- import { refObject } from '../global/prop-types.js';
13
11
  import Item, { moreLessButtonStates } from './item.js';
14
12
  import { m as modules_09d014b4 } from '../_helpers/title.js';
15
- import Selection from './selection.js';
16
- import { jsxs, jsx } from 'react/jsx-runtime';
13
+ import { jsx, jsxs } from 'react/jsx-runtime';
17
14
  import '../global/composeRefs.js';
18
15
  import 'memoize-one';
19
- import '../table/selection.js';
20
16
  import '../shortcuts/core.js';
21
17
  import 'core-js/modules/es.regexp.exec.js';
22
18
  import 'combokeys';
@@ -175,22 +171,6 @@ _defineProperty(DataList, "defaultProps", {
175
171
  itemMoreLessState: () => moreLessButtonStates.UNUSED,
176
172
  remoteSelection: false
177
173
  });
178
- DataList.propTypes = {
179
- className: PropTypes.string,
180
- data: PropTypes.array.isRequired,
181
- loading: PropTypes.bool,
182
- focused: PropTypes.bool.isRequired,
183
- disabledHover: PropTypes.bool,
184
- selection: PropTypes.instanceOf(Selection).isRequired,
185
- selectable: PropTypes.bool.isRequired,
186
- shortcutsMap: PropTypes.shape({}).isRequired,
187
- innerRef: PropTypes.oneOfType([refObject(PropTypes.instanceOf(HTMLDivElement)), PropTypes.func]),
188
- itemFormatter: PropTypes.func.isRequired,
189
- onItemMoreLess: PropTypes.func,
190
- itemMoreLessState: PropTypes.func,
191
- onSelect: PropTypes.func.isRequired,
192
- remoteSelection: PropTypes.bool
193
- };
194
174
  const getContainer = () => disableHoverHOC(selectionShortcutsHOC(focusSensorHOC(DataList)));
195
175
  // eslint-disable-next-line react/no-multi-comp
196
176
  class DataListContainer extends Component {
@@ -203,6 +183,5 @@ class DataListContainer extends Component {
203
183
  return /*#__PURE__*/jsx(this.DataList, _objectSpread2({}, this.props));
204
184
  }
205
185
  }
206
- _defineProperty(DataListContainer, "propTypes", getContainer().propTypes);
207
186
 
208
187
  export { DataListContainer as default };
@@ -3,7 +3,6 @@ import Badge from '../badge/badge.js';
3
3
  import { jsxs, jsx } from 'react/jsx-runtime';
4
4
  import '../_helpers/_rollupPluginBabelHelpers.js';
5
5
  import 'react';
6
- import 'prop-types';
7
6
  import 'classnames';
8
7
  import '../global/data-tests.js';
9
8
  import 'core-js/modules/es.array.reduce.js';
@@ -1,14 +1,12 @@
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 chevronRightIcon from '@jetbrains/icons/chevron-right';
6
5
  import chevronDownIcon from '@jetbrains/icons/chevron-down';
7
6
  import Link from '../link/link.js';
8
7
  import Text from '../text/text.js';
9
8
  import LoaderInline from '../loader-inline/loader-inline.js';
10
9
  import { Button } from '../button/button.js';
11
- import Selection$1 from '../table/selection.js';
12
10
  import { m as modules_09d014b4, T as Title } from '../_helpers/title.js';
13
11
  import { jsx, jsxs } from 'react/jsx-runtime';
14
12
  import 'classnames';
@@ -26,7 +24,6 @@ import '../global/memoize.js';
26
24
  import '../global/controls-height.js';
27
25
  import '../_helpers/button__classes.js';
28
26
  import '../global/focus-sensor-hoc.js';
29
- import '../global/prop-types.js';
30
27
  import '../global/composeRefs.js';
31
28
  import 'memoize-one';
32
29
  import '../checkbox/checkbox.js';
@@ -195,28 +192,5 @@ _defineProperty(Item, "defaultProps", {
195
192
  showMoreLessButton: moreLessButtonStates.UNUSED,
196
193
  onItemMoreLess: () => {}
197
194
  });
198
- Item.propTypes = {
199
- item: PropTypes.shape({
200
- id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired
201
- }).isRequired,
202
- title: PropTypes.node,
203
- items: PropTypes.array,
204
- className: PropTypes.string,
205
- level: PropTypes.number,
206
- parentShift: PropTypes.number,
207
- itemFormatter: PropTypes.func.isRequired,
208
- collapsible: PropTypes.bool,
209
- collapsed: PropTypes.bool,
210
- onCollapse: PropTypes.func,
211
- onExpand: PropTypes.func,
212
- showFocus: PropTypes.bool,
213
- onFocus: PropTypes.func.isRequired,
214
- selection: PropTypes.instanceOf(Selection$1).isRequired,
215
- selectable: PropTypes.bool,
216
- selected: PropTypes.bool,
217
- onSelect: PropTypes.func.isRequired,
218
- showMoreLessButton: PropTypes.number,
219
- onItemMoreLess: PropTypes.func
220
- };
221
195
 
222
196
  export { Item as default, moreLessButtonStates };
@@ -1,4 +1,4 @@
1
- import { PureComponent, ReactNode, ComponentType } from 'react';
1
+ import { PureComponent, ReactNode } from 'react';
2
2
  import { FocusSensorAddProps } from '../global/focus-sensor-hoc';
3
3
  export interface TitleProps extends FocusSensorAddProps<HTMLDivElement> {
4
4
  onSelect: (selected: boolean) => void;
@@ -22,5 +22,5 @@ declare class Title extends PureComponent<TitleProps> {
22
22
  toggleSelection(): void;
23
23
  render(): import("react").JSX.Element;
24
24
  }
25
- declare const _default: ComponentType<import("../global/focus-sensor-hoc").FocusSensorProps<TitleProps, HTMLDivElement, typeof Title>>;
25
+ declare const _default: import("react").ComponentType<import("../global/focus-sensor-hoc").FocusSensorProps<TitleProps, HTMLDivElement, typeof Title>>;
26
26
  export default _default;
@@ -1,12 +1,10 @@
1
1
  import '../_helpers/_rollupPluginBabelHelpers.js';
2
2
  import 'core-js/modules/web.dom-collections.iterator.js';
3
3
  import 'react';
4
- import 'prop-types';
5
4
  import 'classnames';
6
5
  import '../global/focus-sensor-hoc.js';
7
6
  import '../checkbox/checkbox.js';
8
7
  import '../global/get-uid.js';
9
- import '../global/prop-types.js';
10
8
  export { T as default } from '../_helpers/title.js';
11
9
  import 'react/jsx-runtime';
12
10
  import '../global/composeRefs.js';
@@ -1,5 +1,4 @@
1
1
  import { ReactNode } from 'react';
2
- import PropTypes from 'prop-types';
3
2
  import type { Locale } from 'date-fns';
4
3
  declare const units: {
5
4
  unit: number;
@@ -25,7 +24,6 @@ export declare const yearDuration: number;
25
24
  export declare const yearScrollSpeed: number;
26
25
  export declare const DOUBLE = 2;
27
26
  export declare const HALF = 0.5;
28
- export declare const dateType: PropTypes.Requireable<NonNullable<string | number | Date | null | undefined>>;
29
27
  export declare function parseTime(time: string): string | null;
30
28
  export declare function shiftWeekArray<T>(arr: T[], startOfWeek: number): T[];
31
29
  export declare function getWeekStartsOn(locale: Locale | undefined): number;
@@ -1,5 +1,4 @@
1
1
  import 'core-js/modules/es.regexp.exec.js';
2
- import PropTypes from 'prop-types';
3
2
  import { add } from 'date-fns/add';
4
3
 
5
4
  const unit = 8; // px;
@@ -31,7 +30,6 @@ const yearDuration = durationToMillis({
31
30
  const yearScrollSpeed = yearDuration / (YEAR * units.cellSize);
32
31
  const DOUBLE = 2;
33
32
  const HALF = 0.5;
34
- const dateType = PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.string, PropTypes.number]);
35
33
  function parseTime(time) {
36
34
  let result = null;
37
35
  if (/^([01][0-9]|2[0-3]):[0-5][0-9]$/.test(time)) {
@@ -54,4 +52,4 @@ function getDayNumInWeek(locale, day) {
54
52
  return weekDays.indexOf(day);
55
53
  }
56
54
 
57
- export { DOUBLE, FIFTH_DAY, HALF, MIDDLE_DAY, WEEK, YEAR, dateType, units as default, getDayNumInWeek, getWeekStartsOn, parseTime, shiftWeekArray, weekdays, yearDuration, yearScrollSpeed };
55
+ export { DOUBLE, FIFTH_DAY, HALF, MIDDLE_DAY, WEEK, YEAR, units as default, getDayNumInWeek, getWeekStartsOn, parseTime, shiftWeekArray, weekdays, yearDuration, yearScrollSpeed };
@@ -1,5 +1,4 @@
1
1
  import * as React from 'react';
2
- import PropTypes from 'prop-types';
3
2
  import { DatePopupBaseProps, Field } from './consts';
4
3
  export interface UpdateInputConfig {
5
4
  active: boolean;
@@ -16,25 +15,6 @@ export interface DateInputProps extends DatePopupBaseProps, UpdateInputConfig {
16
15
  onConfirm: () => void;
17
16
  }
18
17
  export default class DateInput extends React.PureComponent<DateInputProps> {
19
- static propTypes: {
20
- active: PropTypes.Requireable<boolean>;
21
- divider: PropTypes.Requireable<boolean>;
22
- name: PropTypes.Requireable<string>;
23
- text: PropTypes.Requireable<string>;
24
- hoverDate: PropTypes.Requireable<NonNullable<string | number | Date | null | undefined>>;
25
- date: PropTypes.Requireable<NonNullable<string | number | Date | null | undefined>>;
26
- time: PropTypes.Requireable<string>;
27
- displayFormat: PropTypes.Requireable<(...args: any[]) => any>;
28
- translations: PropTypes.Requireable<object>;
29
- fromPlaceholder: PropTypes.Requireable<string>;
30
- toPlaceholder: PropTypes.Requireable<string>;
31
- timePlaceholder: PropTypes.Requireable<string>;
32
- onInput: PropTypes.Requireable<(...args: any[]) => any>;
33
- onActivate: PropTypes.Requireable<(...args: any[]) => any>;
34
- onConfirm: PropTypes.Requireable<(...args: any[]) => any>;
35
- onClear: PropTypes.Requireable<(...args: any[]) => any>;
36
- locale: PropTypes.Requireable<object>;
37
- };
38
18
  componentDidMount(): void;
39
19
  componentDidUpdate(prevProps: DateInputProps): void;
40
20
  static contextType: React.Context<import("../i18n/i18n-context").I18nContextProps>;
@@ -4,15 +4,12 @@ import 'core-js/modules/es.string.replace.js';
4
4
  import 'core-js/modules/web.dom-collections.iterator.js';
5
5
  import * as React from 'react';
6
6
  import classNames from 'classnames';
7
- import PropTypes from 'prop-types';
8
7
  import { I as Input } from '../_helpers/input.js';
9
8
  import { ControlsHeight } from '../global/controls-height.js';
10
9
  import { I18nContext } from '../i18n/i18n-context.js';
11
- import { dateType } from './consts.js';
12
10
  import { m as modules_0c7b7d96 } from '../_helpers/date-picker.js';
13
11
  import { jsx } from 'react/jsx-runtime';
14
12
  import '@jetbrains/icons/close-12px';
15
- import '../global/prop-types.js';
16
13
  import '../button/button.js';
17
14
  import '@jetbrains/icons/chevron-down';
18
15
  import '../icon/icon.js';
@@ -28,7 +25,6 @@ import 'memoize-one';
28
25
  import '../control-label/control-label.js';
29
26
  import '../control-help/control-help.js';
30
27
  import '../i18n/i18n.js';
31
- import 'date-fns/add';
32
28
 
33
29
  class DateInput extends React.PureComponent {
34
30
  constructor() {
@@ -142,25 +138,6 @@ class DateInput extends React.PureComponent {
142
138
  });
143
139
  }
144
140
  }
145
- _defineProperty(DateInput, "propTypes", {
146
- active: PropTypes.bool,
147
- divider: PropTypes.bool,
148
- name: PropTypes.string,
149
- text: PropTypes.string,
150
- hoverDate: dateType,
151
- date: dateType,
152
- time: PropTypes.string,
153
- displayFormat: PropTypes.func,
154
- translations: PropTypes.object,
155
- fromPlaceholder: PropTypes.string,
156
- toPlaceholder: PropTypes.string,
157
- timePlaceholder: PropTypes.string,
158
- onInput: PropTypes.func,
159
- onActivate: PropTypes.func,
160
- onConfirm: PropTypes.func,
161
- onClear: PropTypes.func,
162
- locale: PropTypes.object
163
- });
164
141
  _defineProperty(DateInput, "contextType", I18nContext);
165
142
 
166
143
  export { DateInput as default };
@@ -1,6 +1,5 @@
1
1
  import { PureComponent } from 'react';
2
2
  import * as React from 'react';
3
- import PropTypes from 'prop-types';
4
3
  import type { Locale } from 'date-fns';
5
4
  import Popup from '../popup/popup';
6
5
  import { DropdownAttrs } from '../dropdown/dropdown';
@@ -34,34 +33,6 @@ export type DatePickerProps = Omit<DatePopupProps, 'translations' | 'parseDateIn
34
33
  * @name Date Picker
35
34
  */
36
35
  export default class DatePicker extends PureComponent<DatePickerProps> {
37
- static propTypes: {
38
- className: PropTypes.Requireable<string>;
39
- popupClassName: PropTypes.Requireable<string>;
40
- date: PropTypes.Requireable<NonNullable<string | number | Date | null | undefined>>;
41
- withTime: PropTypes.Requireable<boolean>;
42
- range: PropTypes.Requireable<boolean>;
43
- from: PropTypes.Requireable<NonNullable<string | number | Date | null | undefined>>;
44
- to: PropTypes.Requireable<NonNullable<string | number | Date | null | undefined>>;
45
- clear: PropTypes.Requireable<boolean>;
46
- inline: PropTypes.Requireable<boolean>;
47
- displayFormat: PropTypes.Requireable<(...args: any[]) => any>;
48
- displayMonthFormat: PropTypes.Requireable<(...args: any[]) => any>;
49
- displayDayFormat: PropTypes.Requireable<(...args: any[]) => any>;
50
- displayTimeFormat: PropTypes.Requireable<(...args: any[]) => any>;
51
- parseDateInput: PropTypes.Requireable<(...args: any[]) => any>;
52
- applyTimeInput: PropTypes.Requireable<(...args: any[]) => any>;
53
- datePlaceholder: PropTypes.Requireable<string>;
54
- dateTimePlaceholder: PropTypes.Requireable<string>;
55
- rangePlaceholder: PropTypes.Requireable<string>;
56
- onChange: PropTypes.Requireable<(...args: any[]) => any>;
57
- dropdownProps: PropTypes.Requireable<object>;
58
- disabled: PropTypes.Requireable<boolean>;
59
- minDate: PropTypes.Requireable<NonNullable<string | number | Date | null | undefined>>;
60
- maxDate: PropTypes.Requireable<NonNullable<string | number | Date | null | undefined>>;
61
- translations: PropTypes.Requireable<object>;
62
- locale: PropTypes.Requireable<object>;
63
- size: PropTypes.Requireable<Size>;
64
- };
65
36
  static defaultProps: DatePickerProps;
66
37
  static contextType: React.Context<import("../i18n/i18n-context").I18nContextProps>;
67
38
  context: React.ContextType<typeof DatePicker.contextType>;
@@ -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 { format } from 'date-fns/format';
7
6
  import { isSameDay } from 'date-fns/isSameDay';
@@ -21,7 +20,6 @@ import Link from '../link/link.js';
21
20
  import { S as Size } from '../_helpers/input.js';
22
21
  import { I18nContext } from '../i18n/i18n-context.js';
23
22
  import DatePopup from './date-popup.js';
24
- import { dateType } from './consts.js';
25
23
  import { m as modules_0c7b7d96 } from '../_helpers/date-picker.js';
26
24
  import formats from './formats.js';
27
25
  import { jsxs, jsx } from 'react/jsx-runtime';
@@ -54,7 +52,6 @@ import '../global/controls-height.js';
54
52
  import '../_helpers/button__classes.js';
55
53
  import '../_helpers/link.js';
56
54
  import '@jetbrains/icons/close-12px';
57
- import '../global/prop-types.js';
58
55
  import '../global/composeRefs.js';
59
56
  import 'memoize-one';
60
57
  import '../control-label/control-label.js';
@@ -65,7 +62,6 @@ import 'date-fns/isBefore';
65
62
  import 'date-fns/startOfDay';
66
63
  import 'date-fns';
67
64
  import './date-input.js';
68
- import 'date-fns/add';
69
65
  import './months.js';
70
66
  import 'date-fns/addMonths';
71
67
  import 'date-fns/getDay';
@@ -81,6 +77,8 @@ import 'date-fns/setDay';
81
77
  import './day.js';
82
78
  import 'date-fns/getDate';
83
79
  import 'date-fns/isToday';
80
+ import './consts.js';
81
+ import 'date-fns/add';
84
82
  import './month-names.js';
85
83
  import 'date-fns/isThisMonth';
86
84
  import 'date-fns/startOfYear';
@@ -119,14 +117,6 @@ const PopupComponent = _ref => {
119
117
  }))
120
118
  }));
121
119
  };
122
- PopupComponent.propTypes = {
123
- hidden: PropTypes.bool,
124
- className: PropTypes.string,
125
- popupRef: PropTypes.func,
126
- onClear: PropTypes.func,
127
- datePopupProps: PropTypes.shape(DatePopup.propTypes),
128
- onComplete: PropTypes.func
129
- };
130
120
  /**
131
121
  * @name Date Picker
132
122
  */
@@ -261,6 +251,7 @@ class DatePicker extends PureComponent {
261
251
  return /*#__PURE__*/jsx(Dropdown, _objectSpread2(_objectSpread2({
262
252
  className: classes,
263
253
  disabled: this.props.disabled,
254
+ "data-test": "ring-date-picker",
264
255
  anchor: inline ? /*#__PURE__*/jsx(Link, {
265
256
  "data-test-ring-dropdown-anchor": true,
266
257
  className: modules_0c7b7d96.anchor,
@@ -290,34 +281,6 @@ class DatePicker extends PureComponent {
290
281
  }));
291
282
  }
292
283
  }
293
- _defineProperty(DatePicker, "propTypes", {
294
- className: PropTypes.string,
295
- popupClassName: PropTypes.string,
296
- date: dateType,
297
- withTime: PropTypes.bool,
298
- range: PropTypes.bool,
299
- from: dateType,
300
- to: dateType,
301
- clear: PropTypes.bool,
302
- inline: PropTypes.bool,
303
- displayFormat: PropTypes.func,
304
- displayMonthFormat: PropTypes.func,
305
- displayDayFormat: PropTypes.func,
306
- displayTimeFormat: PropTypes.func,
307
- parseDateInput: PropTypes.func,
308
- applyTimeInput: PropTypes.func,
309
- datePlaceholder: PropTypes.string,
310
- dateTimePlaceholder: PropTypes.string,
311
- rangePlaceholder: PropTypes.string,
312
- onChange: PropTypes.func,
313
- dropdownProps: PropTypes.object,
314
- disabled: PropTypes.bool,
315
- minDate: dateType,
316
- maxDate: dateType,
317
- translations: PropTypes.object,
318
- locale: PropTypes.object,
319
- size: PropTypes.oneOf(Object.values(Size))
320
- });
321
284
  _defineProperty(DatePicker, "defaultProps", {
322
285
  className: '',
323
286
  date: null,