@jetbrains/ring-ui 5.1.15 → 5.1.17

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 (233) hide show
  1. package/components/editable-heading/editable-heading.css +22 -0
  2. package/components/editable-heading/editable-heading.d.ts +2 -1
  3. package/components/editable-heading/editable-heading.js +42 -6
  4. package/dist/_helpers/_rollupPluginBabelHelpers.js +1 -10
  5. package/dist/_helpers/button__classes.js +13 -3
  6. package/dist/_helpers/dialog__body-scroll-preventer.js +0 -1
  7. package/dist/_helpers/footer.js +9 -5
  8. package/dist/_helpers/sidebar.js +9 -3
  9. package/dist/_helpers/theme.js +5 -3
  10. package/dist/_helpers/title.js +5 -2
  11. package/dist/alert/alert.js +22 -11
  12. package/dist/alert-service/alert-service.js +4 -8
  13. package/dist/analytics/analytics.js +2 -3
  14. package/dist/analytics/analytics__custom-plugin.js +6 -6
  15. package/dist/analytics/analytics__ga-plugin.js +0 -2
  16. package/dist/analytics/analytics__plugin-utils.js +0 -1
  17. package/dist/auth/auth.js +0 -6
  18. package/dist/auth/auth__core.js +20 -26
  19. package/dist/auth/background-flow.js +0 -2
  20. package/dist/auth/down-notification.js +0 -4
  21. package/dist/auth/iframe-flow.js +1 -7
  22. package/dist/auth/landing.js +3 -9
  23. package/dist/auth/request-builder.js +1 -3
  24. package/dist/auth/response-parser.js +0 -2
  25. package/dist/auth/storage.js +2 -7
  26. package/dist/auth/token-validator.js +0 -2
  27. package/dist/auth/window-flow.js +0 -2
  28. package/dist/auth-dialog/auth-dialog.js +0 -4
  29. package/dist/auth-dialog-service/auth-dialog-service.js +0 -4
  30. package/dist/auth-ng/auth-ng.js +7 -13
  31. package/dist/auth-ng/auth-ng.mock.js +5 -5
  32. package/dist/autofocus-ng/autofocus-ng.js +0 -3
  33. package/dist/avatar/avatar.js +7 -11
  34. package/dist/avatar/fallback-avatar.js +1 -5
  35. package/dist/avatar-editor-ng/avatar-editor-ng.js +3 -8
  36. package/dist/avatar-ng/avatar-ng.js +0 -6
  37. package/dist/badge/badge.js +6 -2
  38. package/dist/badge-ng/badge-ng.js +0 -3
  39. package/dist/breadcrumb-ng/breadcrumb-ng.js +0 -1
  40. package/dist/button/button.js +11 -12
  41. package/dist/button/button__classes.js +0 -1
  42. package/dist/button-group-ng/button-group-ng.js +1 -1
  43. package/dist/button-ng/button-ng.js +6 -7
  44. package/dist/button-toolbar-ng/button-toolbar-ng.js +1 -1
  45. package/dist/caret/caret.js +7 -10
  46. package/dist/checkbox/checkbox.js +0 -1
  47. package/dist/checkbox-ng/checkbox-ng.js +0 -2
  48. package/dist/clipboard/clipboard.js +6 -8
  49. package/dist/code/code.js +4 -3
  50. package/dist/compiler-ng/compiler-ng.js +2 -2
  51. package/dist/confirm/confirm.js +0 -4
  52. package/dist/confirm-ng/confirm-ng.js +2 -6
  53. package/dist/confirm-service/confirm-service.js +6 -10
  54. package/dist/content-layout/content-layout.js +6 -4
  55. package/dist/contenteditable/contenteditable.js +1 -1
  56. package/dist/control-label/control-label.js +8 -4
  57. package/dist/data-list/data-list.js +8 -12
  58. package/dist/data-list/data-list.mock.js +0 -1
  59. package/dist/data-list/item.js +0 -3
  60. package/dist/data-list/selection.js +3 -6
  61. package/dist/data-list/title.js +0 -1
  62. package/dist/data-list-ng/data-list-ng.js +0 -8
  63. package/dist/date-picker/consts.js +1 -1
  64. package/dist/date-picker/date-input.js +2 -3
  65. package/dist/date-picker/date-picker.js +14 -17
  66. package/dist/date-picker/date-popup.js +22 -18
  67. package/dist/date-picker/day.js +17 -3
  68. package/dist/date-picker/month-names.js +4 -3
  69. package/dist/date-picker/month-slider.js +3 -2
  70. package/dist/date-picker/month.js +1 -1
  71. package/dist/date-picker/months.js +0 -1
  72. package/dist/date-picker/weekdays.js +4 -3
  73. package/dist/date-picker/years.js +4 -3
  74. package/dist/dialog/dialog.js +7 -7
  75. package/dist/dialog/dialog__body-scroll-preventer.js +0 -1
  76. package/dist/dialog-ng/dialog-ng.js +5 -12
  77. package/dist/docked-panel-ng/docked-panel-ng.js +0 -3
  78. package/dist/dropdown/anchor.js +0 -1
  79. package/dist/dropdown/dropdown.js +9 -8
  80. package/dist/dropdown-menu/dropdown-menu.js +4 -13
  81. package/dist/editable-heading/editable-heading.d.ts +2 -1
  82. package/dist/editable-heading/editable-heading.js +75 -14
  83. package/dist/error-bubble/error-bubble.js +0 -4
  84. package/dist/error-message/error-message.js +0 -1
  85. package/dist/error-message-ng/error-message-ng.js +0 -1
  86. package/dist/footer/footer.js +1 -2
  87. package/dist/footer-ng/footer-ng.js +0 -1
  88. package/dist/form-ng/form-ng.js +0 -3
  89. package/dist/global/angular-component-factory.js +0 -3
  90. package/dist/global/create-stateful-context.js +4 -4
  91. package/dist/global/data-tests.js +2 -2
  92. package/dist/global/dom.js +6 -9
  93. package/dist/global/fuzzy-highlight.js +6 -6
  94. package/dist/global/linear-function.js +2 -2
  95. package/dist/global/listeners.js +1 -2
  96. package/dist/global/memoize.js +0 -1
  97. package/dist/global/normalize-indent.js +1 -1
  98. package/dist/global/react-dom-renderer.js +0 -2
  99. package/dist/global/react-render-adapter.js +0 -1
  100. package/dist/global/rerender-hoc.js +0 -2
  101. package/dist/global/theme.js +0 -4
  102. package/dist/global/trivial-template-tag.js +1 -1
  103. package/dist/global/url.js +0 -1
  104. package/dist/grid/col.js +3 -3
  105. package/dist/grid/grid.js +0 -2
  106. package/dist/grid/row.js +3 -1
  107. package/dist/header/header.js +3 -11
  108. package/dist/header/logo.js +0 -1
  109. package/dist/header/profile.js +9 -16
  110. package/dist/header/services-link.js +0 -1
  111. package/dist/header/services.js +4 -6
  112. package/dist/header/smart-profile.js +1 -11
  113. package/dist/header/smart-services.js +1 -7
  114. package/dist/header/tray-icon.js +4 -3
  115. package/dist/heading/heading.js +4 -2
  116. package/dist/heading-ng/heading-ng.js +0 -3
  117. package/dist/http/http.js +7 -9
  118. package/dist/http/http.mock.js +2 -5
  119. package/dist/hub-source/hub-source.js +0 -2
  120. package/dist/hub-source/hub-source__user.js +0 -2
  121. package/dist/hub-source/hub-source__users-groups.js +0 -3
  122. package/dist/i18n/i18n-context.js +3 -4
  123. package/dist/i18n/i18n.js +0 -1
  124. package/dist/icon/icon.js +6 -5
  125. package/dist/icon/icon__svg.js +4 -3
  126. package/dist/icon/index.js +0 -1
  127. package/dist/icon-ng/icon-ng.js +0 -1
  128. package/dist/input/input.js +13 -8
  129. package/dist/input-ng/input-ng.js +8 -6
  130. package/dist/island/adaptive-island-hoc.js +1 -1
  131. package/dist/island/content.js +9 -5
  132. package/dist/island/header.js +4 -2
  133. package/dist/island/island.js +4 -2
  134. package/dist/island-ng/island-content-ng.js +2 -2
  135. package/dist/island-ng/island-header-ng.js +1 -1
  136. package/dist/island-ng/island-ng.js +1 -1
  137. package/dist/link/link.js +8 -3
  138. package/dist/list/list.js +10 -18
  139. package/dist/list/list__custom.js +5 -2
  140. package/dist/list/list__item.js +11 -9
  141. package/dist/list/list__link.js +6 -4
  142. package/dist/list/list__separator.js +4 -2
  143. package/dist/list/list__title.js +4 -2
  144. package/dist/list/list__users-groups-source.js +0 -8
  145. package/dist/loader/loader.js +0 -4
  146. package/dist/loader/loader__core.js +0 -4
  147. package/dist/loader-ng/loader-ng.js +0 -4
  148. package/dist/loader-screen/loader-screen.js +3 -5
  149. package/dist/loader-screen-ng/loader-screen-ng.js +0 -4
  150. package/dist/login-dialog/login-dialog.js +2 -8
  151. package/dist/login-dialog/service.js +0 -6
  152. package/dist/markdown/code.js +0 -2
  153. package/dist/markdown/link.js +0 -1
  154. package/dist/markdown/markdown.js +5 -5
  155. package/dist/message/message.js +68 -58
  156. package/dist/old-browsers-message/old-browsers-message.js +0 -1
  157. package/dist/old-browsers-message/old-browsers-message__stop.js +0 -1
  158. package/dist/old-browsers-message/white-list.js +6 -5
  159. package/dist/pager/pager.js +8 -13
  160. package/dist/pager-ng/pager-ng.js +0 -8
  161. package/dist/panel-ng/panel-ng.js +0 -3
  162. package/dist/permissions/permissions.js +1 -2
  163. package/dist/permissions-ng/permissions-ng.js +1 -7
  164. package/dist/place-under-ng/place-under-ng.js +6 -10
  165. package/dist/popup/popup.js +22 -23
  166. package/dist/popup/position.js +70 -61
  167. package/dist/popup-menu/popup-menu.js +0 -9
  168. package/dist/progress-bar/progress-bar.js +4 -2
  169. package/dist/progress-bar-ng/progress-bar-ng.js +0 -3
  170. package/dist/promised-click-ng/promised-click-ng.js +0 -4
  171. package/dist/proxy-attrs/proxy-attrs.js +0 -1
  172. package/dist/query-assist/query-assist.js +39 -35
  173. package/dist/query-assist/query-assist__suggestions.js +0 -8
  174. package/dist/query-assist-ng/query-assist-ng.js +0 -10
  175. package/dist/radio-ng/radio-ng.js +0 -1
  176. package/dist/save-field-ng/save-field-ng.js +6 -13
  177. package/dist/select/select.js +33 -31
  178. package/dist/select/select__filter.js +0 -8
  179. package/dist/select/select__popup.js +12 -14
  180. package/dist/select-ng/select-ng.js +8 -16
  181. package/dist/select-ng/select-ng__lazy.js +0 -8
  182. package/dist/select-ng/select-ng__options.js +5 -6
  183. package/dist/shortcuts/core.js +5 -7
  184. package/dist/shortcuts/shortcuts-hoc.js +0 -2
  185. package/dist/shortcuts/shortcuts.js +0 -2
  186. package/dist/shortcuts-hint-ng/shortcuts-hint-ng.js +1 -8
  187. package/dist/shortcuts-ng/shortcuts-ng.js +6 -12
  188. package/dist/sidebar-ng/sidebar-ng.js +2 -7
  189. package/dist/storage/storage.js +0 -5
  190. package/dist/storage/storage__fallback.js +0 -3
  191. package/dist/storage/storage__local.js +0 -4
  192. package/dist/style.css +1 -1
  193. package/dist/tab-trap/tab-trap.js +1 -4
  194. package/dist/table/header-cell.js +8 -4
  195. package/dist/table/header.js +8 -7
  196. package/dist/table/multitable.js +0 -1
  197. package/dist/table/row-with-focus-sensor.js +0 -4
  198. package/dist/table/row.js +11 -8
  199. package/dist/table/selection-adapter.js +1 -1
  200. package/dist/table/selection-shortcuts-hoc.js +0 -2
  201. package/dist/table/selection.js +3 -5
  202. package/dist/table/smart-table.js +4 -10
  203. package/dist/table/table.js +26 -24
  204. package/dist/table-legacy-ng/table-legacy-ng.js +3 -12
  205. package/dist/table-legacy-ng/table-legacy-ng__pager.js +0 -8
  206. package/dist/table-legacy-ng/table-legacy-ng__selection.js +0 -2
  207. package/dist/table-legacy-ng/table-legacy-ng__toolbar.js +0 -3
  208. package/dist/table-ng/smart-table-ng.js +0 -7
  209. package/dist/table-ng/table-ng.js +0 -7
  210. package/dist/tabs/collapsible-more.js +4 -13
  211. package/dist/tabs/collapsible-tab.js +9 -5
  212. package/dist/tabs/collapsible-tabs.js +7 -16
  213. package/dist/tabs/dumb-tabs.js +6 -13
  214. package/dist/tabs/smart-tabs.js +1 -10
  215. package/dist/tabs/tab-link.js +0 -1
  216. package/dist/tabs/tabs.js +0 -9
  217. package/dist/tabs-ng/tabs-ng.js +4 -5
  218. package/dist/tag/tag.js +11 -6
  219. package/dist/tags-input/tags-input.js +12 -18
  220. package/dist/tags-input-ng/tags-input-ng.js +0 -8
  221. package/dist/tags-list/tags-list.js +0 -1
  222. package/dist/text/text.js +6 -3
  223. package/dist/toggle-ng/toggle-ng.js +0 -3
  224. package/dist/tooltip/tooltip.js +5 -7
  225. package/dist/tooltip-ng/tooltip-ng.js +2 -6
  226. package/dist/user-agreement/service.js +9 -15
  227. package/dist/user-agreement/user-agreement.js +0 -5
  228. package/dist/user-card/card.js +0 -7
  229. package/dist/user-card/smart-user-card-tooltip.js +1 -8
  230. package/dist/user-card/tooltip.js +1 -8
  231. package/dist/user-card/user-card.js +0 -7
  232. package/dist/user-card-ng/user-card-ng.js +0 -7
  233. package/package.json +22 -22
@@ -127,6 +127,28 @@
127
127
  }
128
128
  }
129
129
 
130
+ .textarea {
131
+ resize: none;
132
+ }
133
+
134
+ .textareaWrapperFocused {
135
+ position: relative;
136
+
137
+ &::after {
138
+ position: absolute;
139
+ bottom: 6px;
140
+ left: 0;
141
+
142
+ width: 100%;
143
+ height: 30px;
144
+
145
+ content: "";
146
+ pointer-events: none;
147
+
148
+ background: linear-gradient(to bottom, rgba(var(--ring-content-background-components), 0), rgba(var(--ring-content-background-components), 1));
149
+ }
150
+ }
151
+
130
152
  .button {
131
153
  margin: 6px 0;
132
154
  }
@@ -7,7 +7,7 @@ export interface EditableHeadingTranslations {
7
7
  save: string;
8
8
  cancel: string;
9
9
  }
10
- export type EditableHeadingProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'value' | 'size'> & {
10
+ export type EditableHeadingProps = Omit<InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement>, 'value' | 'size'> & {
11
11
  level?: Levels;
12
12
  headingClassName?: string | null;
13
13
  inputClassName?: string | null;
@@ -23,6 +23,7 @@ export type EditableHeadingProps = Omit<InputHTMLAttributes<HTMLInputElement>, '
23
23
  'data-test'?: string | null;
24
24
  error?: string;
25
25
  multiline?: boolean;
26
+ maxInputHeight?: number;
26
27
  renderMenu?: () => React.ReactNode;
27
28
  translations?: EditableHeadingTranslations;
28
29
  };
@@ -1,4 +1,4 @@
1
- import React, { useEffect } from 'react';
1
+ import React, { useCallback, useEffect } from 'react';
2
2
  import classNames from 'classnames';
3
3
  import Heading, { Levels } from '../heading/heading';
4
4
  import Button from '../button/button';
@@ -11,7 +11,7 @@ export { Levels };
11
11
  export { Size };
12
12
  function noop() { }
13
13
  export const EditableHeading = (props) => {
14
- const { level = Levels.H1, className, headingClassName, inputClassName, children, isEditing = false, isSavingPossible = false, isSaving = false, embedded = false, size = Size.L, onEdit = noop, onSave = noop, onCancel = noop, autoFocus = true, 'data-test': dataTest, error, disabled, multiline = false, renderMenu = () => null, onFocus, onBlur, translations = {
14
+ const { level = Levels.H1, className, headingClassName, inputClassName, children, isEditing = false, isSavingPossible = false, isSaving = false, embedded = false, size = Size.L, onEdit = noop, onSave = noop, onCancel = noop, autoFocus = true, 'data-test': dataTest, error, disabled, multiline = false, renderMenu = () => null, onFocus, onBlur, onChange, onScroll, maxInputHeight, translations = {
15
15
  save: 'Save',
16
16
  cancel: 'Cancel'
17
17
  }, ...restProps } = props;
@@ -19,6 +19,9 @@ export const EditableHeading = (props) => {
19
19
  const [isInFocus, setIsInFocus] = React.useState(false);
20
20
  const [isMouseDown, setIsMouseDown] = React.useState(false);
21
21
  const [isInSelectionMode, setIsInSelectionMode] = React.useState(false);
22
+ const textAreaRef = React.useRef(null);
23
+ const textAreaWrapperRef = React.useRef(null);
24
+ const [isScrolledToBottom, setIsScrolledToBottom] = React.useState(false);
22
25
  const hasError = error !== undefined;
23
26
  const isSaveDisabled = !isSavingPossible || !children || children.trim() === '' || hasError || isSaving;
24
27
  const isCancelDisabled = isSaving;
@@ -42,7 +45,25 @@ export const EditableHeading = (props) => {
42
45
  [styles.selectionMode]: isInSelectionMode
43
46
  });
44
47
  const headingClasses = classNames(styles.heading, headingClassName, styles[`size${size}`]);
45
- const inputClasses = classNames('ring-js-shortcuts', styles.input, inputStyles[`size${size}`], styles[`level${level}`], inputClassName);
48
+ const inputClasses = classNames('ring-js-shortcuts', styles.input, styles.textarea, inputStyles[`size${size}`], styles[`level${level}`], inputClassName);
49
+ const stretch = useCallback((el) => {
50
+ if (!el || !el.style) {
51
+ return;
52
+ }
53
+ el.style.height = '0';
54
+ el.style.height = `${el.scrollHeight + 2}px`;
55
+ }, []);
56
+ const checkValue = useCallback((el) => {
57
+ if (multiline && el != null && el.scrollHeight >= el.clientHeight) {
58
+ stretch(el);
59
+ }
60
+ }, [stretch, multiline]);
61
+ const checkOverflow = useCallback((el) => {
62
+ const scrollHeight = el.scrollHeight || 0;
63
+ const clientHeight = el.clientHeight || 0;
64
+ const scrollTop = el.scrollTop || 0;
65
+ setIsScrolledToBottom(scrollHeight - clientHeight <= scrollTop);
66
+ }, [setIsScrolledToBottom]);
46
67
  const onHeadingMouseDown = React.useCallback(() => {
47
68
  setIsMouseDown(true);
48
69
  }, []);
@@ -61,8 +82,19 @@ export const EditableHeading = (props) => {
61
82
  }, [isMouseDown, isInSelectionMode, disabled, onEdit]);
62
83
  const onInputFocus = React.useCallback((e) => {
63
84
  setIsInFocus(true);
85
+ checkValue(e.target);
86
+ checkOverflow(e.target);
64
87
  onFocus?.(e);
65
- }, [onFocus]);
88
+ }, [onFocus, checkOverflow, checkValue]);
89
+ const onInputChange = React.useCallback((e) => {
90
+ checkValue(e.target);
91
+ checkOverflow(e.target);
92
+ onChange?.(e);
93
+ }, [onChange, checkOverflow, checkValue]);
94
+ const onInputScroll = React.useCallback((e) => {
95
+ checkOverflow(e.target);
96
+ onScroll?.(e);
97
+ }, [onScroll, checkOverflow]);
66
98
  const onInputBlur = React.useCallback((e) => {
67
99
  setIsInFocus(false);
68
100
  onBlur?.(e);
@@ -74,14 +106,18 @@ export const EditableHeading = (props) => {
74
106
  window.removeEventListener('mousemove', onMouseMove);
75
107
  window.removeEventListener('mouseup', onMouseUp);
76
108
  };
77
- });
109
+ }, [onMouseMove, onMouseUp]);
78
110
  return (<>
79
111
  <div className={classes}>
80
112
  {!disabled && isEditing
81
113
  ? (<>
82
114
  <Shortcuts map={shortcutsMap} scope={shortcutsScope} disabled={isShortcutsDisabled}/>
83
115
 
84
- <input className={inputClasses} value={children} autoFocus={autoFocus} data-test={dataTest} disabled={isSaving} {...restProps} onFocus={onInputFocus} onBlur={onInputBlur}/>
116
+ {!multiline
117
+ ? (<input className={inputClasses} value={children} autoFocus={autoFocus} data-test={dataTest} disabled={isSaving} {...restProps} onFocus={onInputFocus} onBlur={onInputBlur}/>)
118
+ : (<div ref={textAreaWrapperRef} className={classNames({ [styles.textareaWrapperFocused]: !isScrolledToBottom })}>
119
+ <textarea ref={textAreaRef} className={inputClasses} value={children} autoFocus={autoFocus} data-test={dataTest} disabled={isSaving} onChange={onInputChange} {...restProps} onFocus={onInputFocus} onBlur={onInputBlur} onScroll={onInputScroll} style={{ maxHeight: maxInputHeight }}/>
120
+ </div>)}
85
121
  </>)
86
122
  : (<button type="button" className={styles.headingWrapperButton} onMouseDown={onHeadingMouseDown}>
87
123
  <Heading className={headingClasses} level={level} data-test={dataTest}>{children}</Heading>
@@ -347,15 +347,6 @@ function _regeneratorRuntime() {
347
347
  }
348
348
  }, e;
349
349
  }
350
- function _typeof(o) {
351
- "@babel/helpers - typeof";
352
-
353
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
354
- return typeof o;
355
- } : function (o) {
356
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
357
- }, _typeof(o);
358
- }
359
350
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
360
351
  try {
361
352
  var info = gen[key](arg);
@@ -654,4 +645,4 @@ function _toPropertyKey(arg) {
654
645
  return typeof key === "symbol" ? key : String(key);
655
646
  }
656
647
 
657
- export { _defineProperty as _, _inherits as a, _createSuper as b, _classCallCheck as c, _createClass as d, _objectWithoutProperties as e, _extends as f, _objectSpread2 as g, _asyncToGenerator as h, _regeneratorRuntime as i, _slicedToArray as j, _assertThisInitialized as k, _typeof as l, _toConsumableArray as m, _createForOfIteratorHelper as n, _get as o, _getPrototypeOf as p, _toPropertyKey as q };
648
+ export { _defineProperty as _, _inherits as a, _createSuper as b, _classCallCheck as c, _createClass as d, _objectWithoutProperties as e, _extends as f, _objectSpread2 as g, _asyncToGenerator as h, _regeneratorRuntime as i, _slicedToArray as j, _assertThisInitialized as k, _toConsumableArray as l, _createForOfIteratorHelper as m, _get as n, _getPrototypeOf as o, _toPropertyKey as p };
@@ -1,10 +1,8 @@
1
- import { _ as _defineProperty } from './_rollupPluginBabelHelpers.js';
2
1
  import classNames from 'classnames';
3
2
 
4
3
  var modules_e81895c9 = {"unit":"i__const_unit_0","button-shadow":"inset 0 0 0 1px","height":"var(--ring-button-height)","loaderWidth":"64px","light":"light_rui_2ac4","heightS":"heightS_rui_0b90","heightM":"heightM_rui_0b90","heightL":"heightL_rui_0b90","button":"button_rui_0b90","active":"active_rui_0b90","withIcon":"withIcon_rui_0b90","icon":"icon_rui_0b90","primary":"primary_rui_0b90","loader":"loader_rui_0b90","loaderBackground":"loaderBackground_rui_0b90","danger":"danger_rui_0b90","text":"text_rui_0b90","content":"content_rui_0b90","text-loading":"text-loading_rui_0b90","inline":"inline_rui_0b90","withNormalIcon":"withNormalIcon_rui_0b90","withDangerIcon":"withDangerIcon_rui_0b90","progress":"progress_rui_0b90","delayed":"delayed_rui_0b90","short":"short_rui_0b90","dropdownIcon":"dropdownIcon_rui_0b90"};
5
4
 
6
5
  function getButtonClasses(_ref) {
7
- var _classNames;
8
6
  var className = _ref.className,
9
7
  active = _ref.active,
10
8
  disabled = _ref.disabled,
@@ -18,7 +16,19 @@ function getButtonClasses(_ref) {
18
16
  icon = _ref.icon,
19
17
  height = _ref.height;
20
18
  var withNormalIcon = icon && !active && !danger && !primary && !disabled;
21
- return classNames(modules_e81895c9.button, className, modules_e81895c9["height".concat(height)], (_classNames = {}, _defineProperty(_classNames, modules_e81895c9.active, active), _defineProperty(_classNames, modules_e81895c9.danger, danger), _defineProperty(_classNames, modules_e81895c9.delayed, delayed), _defineProperty(_classNames, modules_e81895c9.withIcon, icon), _defineProperty(_classNames, modules_e81895c9.withNormalIcon, withNormalIcon), _defineProperty(_classNames, modules_e81895c9.withDangerIcon, icon && danger), _defineProperty(_classNames, modules_e81895c9.loader, loader && !icon), _defineProperty(_classNames, modules_e81895c9.primary, primary), _defineProperty(_classNames, modules_e81895c9.short, short), _defineProperty(_classNames, modules_e81895c9.text, text), _defineProperty(_classNames, modules_e81895c9.inline, inline), _classNames));
19
+ return classNames(modules_e81895c9.button, className, modules_e81895c9["height".concat(height)], {
20
+ [modules_e81895c9.active]: active,
21
+ [modules_e81895c9.danger]: danger,
22
+ [modules_e81895c9.delayed]: delayed,
23
+ [modules_e81895c9.withIcon]: icon,
24
+ [modules_e81895c9.withNormalIcon]: withNormalIcon,
25
+ [modules_e81895c9.withDangerIcon]: icon && danger,
26
+ [modules_e81895c9.loader]: loader && !icon,
27
+ [modules_e81895c9.primary]: primary,
28
+ [modules_e81895c9.short]: short,
29
+ [modules_e81895c9.text]: text,
30
+ [modules_e81895c9.inline]: inline
31
+ });
22
32
  }
23
33
 
24
34
  export { getButtonClasses as g, modules_e81895c9 as m };
@@ -1,7 +1,6 @@
1
1
  import 'core-js/modules/es.array.iterator.js';
2
2
  import 'core-js/modules/es.object.to-string.js';
3
3
  import 'core-js/modules/es.set.js';
4
- import 'core-js/modules/es.string.iterator.js';
5
4
  import 'core-js/modules/web.dom-collections.iterator.js';
6
5
  import scrollbarWidth from 'scrollbar-width';
7
6
 
@@ -1,4 +1,3 @@
1
- import { _ as _defineProperty, l as _typeof } from './_rollupPluginBabelHelpers.js';
2
1
  import 'core-js/modules/es.array.map.js';
3
2
  import React, { memo, isValidElement } from 'react';
4
3
  import PropTypes from 'prop-types';
@@ -8,10 +7,13 @@ import Link from '../link/link.js';
8
7
  var modules_7385b3fd = {"unit":"i__const_unit_0","footer-height":"i__const_footer_height_1","light":"light_rui_2ac4","footer":"footer_rui_fade font_rui_8bff","footerFloating":"footerFloating_rui_fade footer_rui_fade font_rui_8bff","column":"column_rui_fade","columnItem":"columnItem_rui_fade","columnLeft":"columnLeft_rui_fade column_rui_fade","columnCenter":"columnCenter_rui_fade column_rui_fade","line":"line_rui_fade","columnRight":"columnRight_rui_fade column_rui_fade","lineCenter":"lineCenter_rui_fade"};
9
8
 
10
9
  var FooterColumn = /*#__PURE__*/memo(function FooterColumn(_ref) {
11
- var _classNames;
12
10
  var position = _ref.position,
13
11
  children = _ref.children;
14
- var classes = classNames((_classNames = {}, _defineProperty(_classNames, modules_7385b3fd.columnLeft, position === 'left'), _defineProperty(_classNames, modules_7385b3fd.columnCenter, position === 'center'), _defineProperty(_classNames, modules_7385b3fd.columnRight, position === 'right'), _classNames));
12
+ var classes = classNames({
13
+ [modules_7385b3fd.columnLeft]: position === 'left',
14
+ [modules_7385b3fd.columnCenter]: position === 'center',
15
+ [modules_7385b3fd.columnRight]: position === 'right'
16
+ });
15
17
  return /*#__PURE__*/React.createElement("div", {
16
18
  className: classes
17
19
  }, /*#__PURE__*/React.createElement("ul", {
@@ -46,7 +48,7 @@ var FooterLine = /*#__PURE__*/memo(function FooterLine(props) {
46
48
  var items = Array.isArray(props.item) ? props.item : [props.item];
47
49
  function renderItem(item) {
48
50
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
49
- if ( /*#__PURE__*/isValidElement(item) || _typeof(item) !== 'object') {
51
+ if ( /*#__PURE__*/isValidElement(item) || typeof item !== 'object') {
50
52
  return item;
51
53
  }
52
54
  var element = (item.copyright ? copyright(item.copyright) : '') + (item.label || item);
@@ -89,7 +91,9 @@ var Footer = /*#__PURE__*/memo(function Footer(_ref2) {
89
91
  });
90
92
  }));
91
93
  }
92
- var classes = classNames(modules_7385b3fd.footer, className, _defineProperty({}, modules_7385b3fd.footerFloating, floating));
94
+ var classes = classNames(modules_7385b3fd.footer, className, {
95
+ [modules_7385b3fd.footerFloating]: floating
96
+ });
93
97
  return /*#__PURE__*/React.createElement("footer", {
94
98
  className: classes,
95
99
  "data-test": "ring-footer"
@@ -66,7 +66,6 @@ var Sidebar = /*#__PURE__*/function (_Component) {
66
66
  }, {
67
67
  key: "render",
68
68
  value: function render() {
69
- var _classNames2;
70
69
  var _this$props = this.props,
71
70
  right = _this$props.right,
72
71
  children = _this$props.children,
@@ -81,8 +80,15 @@ var Sidebar = /*#__PURE__*/function (_Component) {
81
80
  sidebarVisibleHeight = _this$state2.sidebarVisibleHeight;
82
81
  var shouldFixateTop = bottomIsOutside && topIsOutside && this.shouldUseFixation();
83
82
  var shouldFixateBottom = this.shouldFixateBottom();
84
- var containerClasses = classNames(modules_b8a9dd4f.sidebarContainer, containerClassName, _defineProperty({}, modules_b8a9dd4f.sidebarContainerRight, right));
85
- var classes = classNames(modules_b8a9dd4f.sidebar, className, (_classNames2 = {}, _defineProperty(_classNames2, modules_b8a9dd4f.sidebarRight, right), _defineProperty(_classNames2, modules_b8a9dd4f.sidebarFixedTop, shouldFixateTop), _defineProperty(_classNames2, modules_b8a9dd4f.sidebarFixedBottom, shouldFixateBottom), _defineProperty(_classNames2, fixedClassName !== null && fixedClassName !== void 0 ? fixedClassName : '', shouldFixateTop || shouldFixateBottom), _classNames2));
83
+ var containerClasses = classNames(modules_b8a9dd4f.sidebarContainer, containerClassName, {
84
+ [modules_b8a9dd4f.sidebarContainerRight]: right
85
+ });
86
+ var classes = classNames(modules_b8a9dd4f.sidebar, className, {
87
+ [modules_b8a9dd4f.sidebarRight]: right,
88
+ [modules_b8a9dd4f.sidebarFixedTop]: shouldFixateTop,
89
+ [modules_b8a9dd4f.sidebarFixedBottom]: shouldFixateBottom,
90
+ [fixedClassName !== null && fixedClassName !== void 0 ? fixedClassName : '']: shouldFixateTop || shouldFixateBottom
91
+ });
86
92
  var style = {
87
93
  maxHeight: shouldFixateBottom && sidebarVisibleHeight ? "".concat(sidebarVisibleHeight, "px") : undefined
88
94
  };
@@ -1,4 +1,4 @@
1
- import { j as _slicedToArray, _ as _defineProperty, e as _objectWithoutProperties, f as _extends } from './_rollupPluginBabelHelpers.js';
1
+ import { j as _slicedToArray, e as _objectWithoutProperties, f as _extends } from './_rollupPluginBabelHelpers.js';
2
2
  import React, { useState, useEffect, forwardRef, useMemo, useContext } from 'react';
3
3
  import classNames from 'classnames';
4
4
  import { createPortal } from 'react-dom';
@@ -35,10 +35,12 @@ function useTheme() {
35
35
  return dark ? Theme.DARK : Theme.LIGHT;
36
36
  }
37
37
  function useThemeClasses(theme) {
38
- var _classNames;
39
38
  var systemTheme = useTheme();
40
39
  var resolvedTheme = theme === Theme.AUTO ? systemTheme : theme;
41
- return classNames((_classNames = {}, _defineProperty(_classNames, modules_59717246.dark, resolvedTheme === Theme.DARK), _defineProperty(_classNames, modules_6381a4b3.light, resolvedTheme === Theme.LIGHT), _classNames));
40
+ return classNames({
41
+ [modules_59717246.dark]: resolvedTheme === Theme.DARK,
42
+ [modules_6381a4b3.light]: resolvedTheme === Theme.LIGHT
43
+ });
42
44
  }
43
45
  function WithThemeClasses(_ref) {
44
46
  var theme = _ref.theme,
@@ -43,7 +43,6 @@ var Title = /*#__PURE__*/function (_PureComponent) {
43
43
  }, {
44
44
  key: "render",
45
45
  value: function render() {
46
- var _classNames;
47
46
  var _this$props2 = this.props,
48
47
  className = _this$props2.className,
49
48
  title = _this$props2.title,
@@ -53,7 +52,11 @@ var Title = /*#__PURE__*/function (_PureComponent) {
53
52
  selectable = _this$props2.selectable,
54
53
  selected = _this$props2.selected,
55
54
  collapserExpander = _this$props2.collapserExpander;
56
- var classes = classNames(className, (_classNames = {}, _defineProperty(_classNames, modules_09d014b4.title, true), _defineProperty(_classNames, modules_09d014b4.titleFocused, showFocus), _defineProperty(_classNames, modules_09d014b4.titleSelected, selected), _classNames));
55
+ var classes = classNames(className, {
56
+ [modules_09d014b4.title]: true,
57
+ [modules_09d014b4.titleFocused]: showFocus,
58
+ [modules_09d014b4.titleSelected]: selected
59
+ });
57
60
  return /*#__PURE__*/React.createElement("div", {
58
61
  id: this.id,
59
62
  className: classes,
@@ -26,17 +26,14 @@ import '../global/memoize.js';
26
26
  import 'core-js/modules/es.array.iterator.js';
27
27
  import 'core-js/modules/es.map.js';
28
28
  import 'core-js/modules/es.object.to-string.js';
29
- import 'core-js/modules/es.string.iterator.js';
30
29
  import 'core-js/modules/web.dom-collections.iterator.js';
31
30
  import 'core-js/modules/es.weak-map.js';
32
31
  import '../_helpers/loader-inline.js';
33
32
  import 'core-js/modules/es.array.reduce.js';
34
33
  import 'core-js/modules/es.object.entries.js';
35
- import 'core-js/modules/es.object.assign.js';
36
34
  import 'core-js/modules/web.dom-collections.for-each.js';
37
35
  import 'core-js/modules/es.array.filter.js';
38
36
  import 'core-js/modules/es.string.split.js';
39
- import 'core-js/modules/es.object.keys.js';
40
37
  import 'core-js/modules/es.set.js';
41
38
  import '@jetbrains/icons/chevron-10px';
42
39
  import '../link/clickableLink.js';
@@ -56,7 +53,6 @@ import 'core-js/modules/es.string.includes.js';
56
53
  import 'core-js/modules/es.array.slice.js';
57
54
  import 'core-js/modules/es.array.splice.js';
58
55
  import 'core-js/modules/es.string.match.js';
59
- import 'core-js/modules/es.array.find-index.js';
60
56
  import 'combokeys';
61
57
  import '../global/sniffer.js';
62
58
  import 'sniffr';
@@ -67,7 +63,6 @@ import '../popup/popup.consts.js';
67
63
 
68
64
  var modules_e02b3280 = {"link":"link_rui_d382","unit":"i__const_unit_1","animation-duration":"300ms","animation-easing":"ease-out","light":"light_rui_2ac4","alert":"alert_rui_2b32","alertInline":"alertInline_rui_2b32","error":"error_rui_2b32","icon":"icon_rui_2b32","caption":"caption_rui_2b32","withCloseButton":"withCloseButton_rui_2b32","badge":"badge_rui_2b32","loader":"loader_rui_2b32","close":"close_rui_2b32","animationOpen":"animationOpen_rui_2b32","show":"show_rui_2b32","animationClosing":"animationClosing_rui_2b32","animationShaking":"animationShaking_rui_2b32","shaking":"shaking_rui_2b32"};
69
65
 
70
- var _TypeToIcon, _TypeToIconColor;
71
66
  var ANIMATION_TIME = 500;
72
67
  /**
73
68
  * @name Alert
@@ -88,12 +83,20 @@ var AlertType;
88
83
  * Lookup table of alert type to icon modifier.
89
84
  * @type {Object.<AlertType, string>}
90
85
  */
91
- var TypeToIcon = (_TypeToIcon = {}, _defineProperty(_TypeToIcon, AlertType.ERROR, exceptionIcon), _defineProperty(_TypeToIcon, AlertType.SUCCESS, checkmarkIcon), _defineProperty(_TypeToIcon, AlertType.WARNING, warningIcon), _TypeToIcon);
86
+ var TypeToIcon = {
87
+ [AlertType.ERROR]: exceptionIcon,
88
+ [AlertType.SUCCESS]: checkmarkIcon,
89
+ [AlertType.WARNING]: warningIcon
90
+ };
92
91
  /**
93
92
  * Lookup table of alert type to icon color.
94
93
  * @type {Object.<AlertType, Icon.Color>}
95
94
  */
96
- var TypeToIconColor = (_TypeToIconColor = {}, _defineProperty(_TypeToIconColor, AlertType.ERROR, Color.RED), _defineProperty(_TypeToIconColor, AlertType.SUCCESS, Color.GREEN), _defineProperty(_TypeToIconColor, AlertType.WARNING, Color.WHITE), _TypeToIconColor);
95
+ var TypeToIconColor = {
96
+ [AlertType.ERROR]: Color.RED,
97
+ [AlertType.SUCCESS]: Color.GREEN,
98
+ [AlertType.WARNING]: Color.WHITE
99
+ };
97
100
  /**
98
101
  * @constructor
99
102
  * @name Alert
@@ -124,7 +127,7 @@ var Alert = /*#__PURE__*/function (_PureComponent) {
124
127
  _defineProperty(_assertThisInitialized(_this), "startCloseAnimation", function () {
125
128
  var height = getRect(_this.node).height;
126
129
  _this.setState({
127
- height: height
130
+ height
128
131
  });
129
132
  });
130
133
  /**
@@ -177,7 +180,9 @@ var Alert = /*#__PURE__*/function (_PureComponent) {
177
180
  */
178
181
  function _getCaption() {
179
182
  return /*#__PURE__*/React.createElement("span", {
180
- className: classNames(modules_e02b3280.caption, this.props.captionClassName, _defineProperty({}, modules_e02b3280.withCloseButton, this.props.closeable)),
183
+ className: classNames(modules_e02b3280.caption, this.props.captionClassName, {
184
+ [modules_e02b3280.withCloseButton]: this.props.closeable
185
+ }),
181
186
  onClick: this._handleCaptionsLinksClick
182
187
  // We only process clicks on `a` elements, see above
183
188
  ,
@@ -208,7 +213,6 @@ var Alert = /*#__PURE__*/function (_PureComponent) {
208
213
  }, {
209
214
  key: "render",
210
215
  value: function render() {
211
- var _classNames2;
212
216
  var _this$props = this.props,
213
217
  type = _this$props.type,
214
218
  inline = _this$props.inline,
@@ -219,7 +223,14 @@ var Alert = /*#__PURE__*/function (_PureComponent) {
219
223
  className = _this$props.className,
220
224
  dataTest = _this$props['data-test'],
221
225
  theme = _this$props.theme;
222
- var classes = classNames(className, (_classNames2 = {}, _defineProperty(_classNames2, modules_e02b3280.alert, true), _defineProperty(_classNames2, modules_e02b3280.animationOpen, showWithAnimation), _defineProperty(_classNames2, modules_e02b3280.error, type === 'error'), _defineProperty(_classNames2, modules_e02b3280.alertInline, inline), _defineProperty(_classNames2, modules_e02b3280.animationClosing, isClosing), _defineProperty(_classNames2, modules_e02b3280.animationShaking, isShaking), _classNames2));
226
+ var classes = classNames(className, {
227
+ [modules_e02b3280.alert]: true,
228
+ [modules_e02b3280.animationOpen]: showWithAnimation,
229
+ [modules_e02b3280.error]: type === 'error',
230
+ [modules_e02b3280.alertInline]: inline,
231
+ [modules_e02b3280.animationClosing]: isClosing,
232
+ [modules_e02b3280.animationShaking]: isShaking
233
+ });
223
234
  var height = this.state.height;
224
235
  var style = height ? {
225
236
  marginBottom: -height
@@ -1,4 +1,4 @@
1
- import { d as _createClass, m as _toConsumableArray, e as _objectWithoutProperties, f as _extends, g as _objectSpread2, c as _classCallCheck, _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
1
+ import { d as _createClass, l as _toConsumableArray, e as _objectWithoutProperties, f as _extends, g as _objectSpread2, c as _classCallCheck, _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
2
2
  import 'core-js/modules/es.array.map.js';
3
3
  import 'core-js/modules/es.array.filter.js';
4
4
  import 'core-js/modules/es.object.to-string.js';
@@ -9,7 +9,6 @@ import getUID from '../global/get-uid.js';
9
9
  import Alert, { ANIMATION_TIME } from '../alert/alert.js';
10
10
  import Alerts from '../alert/container.js';
11
11
  import 'core-js/modules/es.array.iterator.js';
12
- import 'core-js/modules/es.string.iterator.js';
13
12
  import 'core-js/modules/es.weak-map.js';
14
13
  import 'core-js/modules/web.dom-collections.iterator.js';
15
14
  import 'react-dom';
@@ -37,10 +36,8 @@ import 'core-js/modules/es.array.reduce.js';
37
36
  import 'core-js/modules/es.object.entries.js';
38
37
  import '../_helpers/loader-inline.js';
39
38
  import '../global/dom.js';
40
- import 'core-js/modules/es.object.assign.js';
41
39
  import 'core-js/modules/web.dom-collections.for-each.js';
42
40
  import 'core-js/modules/es.string.split.js';
43
- import 'core-js/modules/es.object.keys.js';
44
41
  import 'core-js/modules/es.set.js';
45
42
  import '../button/button.js';
46
43
  import '@jetbrains/icons/chevron-10px';
@@ -58,7 +55,6 @@ import 'core-js/modules/es.string.includes.js';
58
55
  import 'core-js/modules/es.array.slice.js';
59
56
  import 'core-js/modules/es.array.splice.js';
60
57
  import 'core-js/modules/es.string.match.js';
61
- import 'core-js/modules/es.array.find-index.js';
62
58
  import 'combokeys';
63
59
  import '../global/sniffer.js';
64
60
  import 'sniffr';
@@ -168,9 +164,9 @@ var AlertService = /*#__PURE__*/function () {
168
164
  }
169
165
  var alert = _objectSpread2({
170
166
  key: getUID('alert-service-'),
171
- message: message,
172
- type: type,
173
- timeout: timeout,
167
+ message,
168
+ type,
169
+ timeout,
174
170
  isClosing: false,
175
171
  onCloseRequest: function onCloseRequest() {
176
172
  _onCloseRequest && _onCloseRequest();
@@ -1,5 +1,4 @@
1
- import { d as _createClass, l as _typeof, c as _classCallCheck, _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
2
- import 'core-js/modules/es.array.index-of.js';
1
+ import { d as _createClass, c as _classCallCheck, _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
3
2
  import 'core-js/modules/es.object.to-string.js';
4
3
  import 'core-js/modules/web.dom-collections.for-each.js';
5
4
  import 'core-js/modules/es.regexp.exec.js';
@@ -86,7 +85,7 @@ var Analytics = /*#__PURE__*/function () {
86
85
  continue;
87
86
  }
88
87
  for (var j = 0; j < keys.length; ++j) {
89
- if (_typeof(value) === 'object' && value != null && value.hasOwnProperty(keys[j])) {
88
+ if (typeof value === 'object' && value != null && value.hasOwnProperty(keys[j])) {
90
89
  value = value[keys[j]];
91
90
  } else {
92
91
  value = 'no-value';
@@ -13,9 +13,9 @@ var AnalyticsCustomPlugin = /*#__PURE__*/function () {
13
13
  _defineProperty(this, "_hasSendSchedule", void 0);
14
14
  this._data = [];
15
15
  this.config({
16
- send: send,
17
- isDevelopment: isDevelopment,
18
- flushInterval: flushInterval
16
+ send,
17
+ isDevelopment,
18
+ flushInterval
19
19
  });
20
20
  }
21
21
  _createClass(AnalyticsCustomPlugin, [{
@@ -66,12 +66,12 @@ var AnalyticsCustomPlugin = /*#__PURE__*/function () {
66
66
  }
67
67
 
68
68
  var baseSendingData = {
69
- category: category,
70
- action: action,
69
+ category,
70
+ action,
71
71
  timestamp: Date.now()
72
72
  };
73
73
  this._addDataToFlushingPack(data ? _objectSpread2(_objectSpread2({}, baseSendingData), {}, {
74
- data: data
74
+ data
75
75
  }) : baseSendingData);
76
76
  }
77
77
  }, {
@@ -1,10 +1,8 @@
1
1
  import { d as _createClass, c as _classCallCheck } from '../_helpers/_rollupPluginBabelHelpers.js';
2
- import 'core-js/modules/es.number.constructor.js';
3
2
  import 'core-js/modules/es.array.concat.js';
4
3
  import AnalyticsPluginUtils from './analytics__plugin-utils.js';
5
4
  import 'core-js/modules/es.regexp.exec.js';
6
5
  import 'core-js/modules/es.string.replace.js';
7
- import 'core-js/modules/es.math.log2.js';
8
6
  import 'util-deprecate';
9
7
  import '../global/sniffer.js';
10
8
  import 'sniffr';
@@ -1,6 +1,5 @@
1
1
  import 'core-js/modules/es.regexp.exec.js';
2
2
  import 'core-js/modules/es.string.replace.js';
3
- import 'core-js/modules/es.math.log2.js';
4
3
  import 'core-js/modules/es.array.concat.js';
5
4
  import deprecate from 'util-deprecate';
6
5
  import sniffr from '../global/sniffer.js';
package/dist/auth/auth.js CHANGED
@@ -8,8 +8,6 @@ import 'core-js/modules/es.object.to-string.js';
8
8
  import 'core-js/modules/es.promise.js';
9
9
  import './response-parser.js';
10
10
  import 'core-js/modules/web.dom-collections.for-each.js';
11
- import 'core-js/modules/es.object.keys.js';
12
- import 'core-js/modules/es.array.index-of.js';
13
11
  import 'core-js/modules/es.regexp.exec.js';
14
12
  import 'core-js/modules/es.string.replace.js';
15
13
  import 'core-js/modules/es.regexp.to-string.js';
@@ -23,7 +21,6 @@ import '../alert-service/alert-service.js';
23
21
  import 'core-js/modules/es.array.map.js';
24
22
  import '../global/react-render-adapter.js';
25
23
  import 'core-js/modules/es.array.iterator.js';
26
- import 'core-js/modules/es.string.iterator.js';
27
24
  import 'core-js/modules/es.weak-map.js';
28
25
  import 'core-js/modules/web.dom-collections.iterator.js';
29
26
  import 'react-dom';
@@ -49,7 +46,6 @@ import 'core-js/modules/es.array.reduce.js';
49
46
  import 'core-js/modules/es.object.entries.js';
50
47
  import '../_helpers/loader-inline.js';
51
48
  import '../global/dom.js';
52
- import 'core-js/modules/es.object.assign.js';
53
49
  import 'core-js/modules/es.string.split.js';
54
50
  import 'core-js/modules/es.set.js';
55
51
  import '../button/button.js';
@@ -67,7 +63,6 @@ import 'core-js/modules/es.array.includes.js';
67
63
  import 'core-js/modules/es.string.includes.js';
68
64
  import 'core-js/modules/es.array.slice.js';
69
65
  import 'core-js/modules/es.array.splice.js';
70
- import 'core-js/modules/es.array.find-index.js';
71
66
  import 'combokeys';
72
67
  import '../global/sniffer.js';
73
68
  import 'sniffr';
@@ -82,7 +77,6 @@ import '../group/group.js';
82
77
  import '../_helpers/group.js';
83
78
  import 'core-js/modules/web.url.js';
84
79
  import 'core-js/modules/web.url-search-params.js';
85
- import 'core-js/modules/es.parse-int.js';
86
80
  import 'core-js/modules/es.string.search.js';
87
81
  import '../global/listeners.js';
88
82
  import '../http/http.js';