@jetbrains/ring-ui 5.0.28 → 5.0.30
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.
- package/components/query-assist/query-assist.css +2 -0
- package/components/query-assist/query-assist.js +19 -16
- package/dist/_helpers/button__classes.js +1 -1
- package/dist/_helpers/dialog__body-scroll-preventer.js +1 -2
- package/dist/_helpers/select__filter.js +0 -1
- package/dist/_helpers/services-link.js +1 -1
- package/dist/_helpers/sidebar.js +1 -2
- package/dist/_helpers/theme.js +0 -1
- package/dist/_helpers/title.js +0 -1
- package/dist/alert/alert.js +0 -2
- package/dist/alert-service/alert-service.js +0 -2
- package/dist/analytics/analytics.js +3 -4
- package/dist/analytics/analytics__custom-plugin.js +1 -2
- package/dist/analytics/analytics__fus-plugin.js +0 -1
- package/dist/analytics/analytics__plugin-utils.js +3 -4
- package/dist/analytics-ng/analytics-ng.js +2 -3
- package/dist/auth/auth.js +0 -2
- package/dist/auth/auth__core.js +10 -12
- package/dist/auth/background-flow.js +1 -2
- package/dist/auth/down-notification.js +0 -2
- package/dist/auth/iframe-flow.js +0 -2
- package/dist/auth/landing.js +4 -6
- package/dist/auth/request-builder.js +0 -1
- package/dist/auth/response-parser.js +0 -1
- package/dist/auth/storage.js +0 -2
- package/dist/auth/token-validator.js +0 -2
- package/dist/auth/window-flow.js +1 -2
- package/dist/auth-dialog/auth-dialog.js +1 -3
- package/dist/auth-dialog-service/auth-dialog-service.js +0 -2
- package/dist/auth-ng/auth-ng.js +1 -3
- package/dist/autofocus-ng/autofocus-ng.js +0 -1
- package/dist/avatar/avatar-example-datauri.js +23 -1
- package/dist/avatar/avatar.js +2 -4
- package/dist/avatar/fallback-avatar.js +3 -4
- package/dist/avatar-editor-ng/avatar-editor-ng.js +0 -2
- package/dist/avatar-editor-ng/avatar-editor-ng__template.js +28 -1
- package/dist/avatar-ng/avatar-ng.js +0 -2
- package/dist/badge/badge.js +0 -1
- package/dist/badge-ng/badge-ng.js +0 -1
- package/dist/breadcrumb-ng/breadcrumb-ng.js +27 -3
- package/dist/button/button.js +0 -2
- package/dist/button-group/button-group.js +0 -1
- package/dist/button-group-ng/button-group-ng.js +0 -1
- package/dist/button-ng/button-ng.js +10 -4
- package/dist/button-set/button-set.js +0 -1
- package/dist/button-set-ng/button-set-ng.js +1 -1
- package/dist/button-toolbar/button-toolbar.js +0 -1
- package/dist/button-toolbar-ng/button-toolbar-ng.js +0 -1
- package/dist/caret/caret.js +0 -2
- package/dist/checkbox/checkbox.js +0 -2
- package/dist/checkbox-ng/checkbox-ng.js +21 -4
- package/dist/code/code.js +1 -2
- package/dist/confirm/confirm.js +0 -2
- package/dist/confirm-ng/confirm-ng.js +0 -2
- package/dist/confirm-service/confirm-service.js +0 -2
- package/dist/content-layout/content-layout.js +0 -1
- package/dist/content-layout/sidebar.js +0 -1
- package/dist/data-list/data-list.js +0 -2
- package/dist/data-list/data-list.mock.js +0 -1
- package/dist/data-list/item.js +0 -2
- package/dist/data-list/selection.js +0 -1
- package/dist/data-list/title.js +0 -2
- package/dist/data-list-ng/data-list-ng.js +0 -2
- package/dist/date-picker/consts.js +1 -1
- package/dist/date-picker/date-input.js +1 -3
- package/dist/date-picker/date-picker.js +7 -9
- package/dist/date-picker/date-popup.js +0 -2
- package/dist/date-picker/day.js +0 -1
- package/dist/date-picker/month-names.js +0 -1
- package/dist/date-picker/month-slider.js +0 -1
- package/dist/date-picker/month.js +0 -1
- package/dist/date-picker/months.js +0 -1
- package/dist/date-picker/years.js +0 -1
- package/dist/dialog/dialog.js +0 -2
- package/dist/dialog/dialog__body-scroll-preventer.js +0 -1
- package/dist/dialog-ng/dialog-ng.js +3 -6
- package/dist/dialog-ng/dialog-ng__template.js +70 -1
- package/dist/docked-panel-ng/docked-panel-ng.js +0 -1
- package/dist/dropdown/anchor.js +0 -2
- package/dist/dropdown/dropdown.js +0 -2
- package/dist/dropdown-menu/dropdown-menu.js +1 -3
- package/dist/error-bubble/error-bubble.js +0 -2
- package/dist/error-message/error-message.js +1 -3
- package/dist/error-message-ng/error-message-ng.js +21 -3
- package/dist/footer/footer.js +0 -1
- package/dist/footer-ng/footer-ng.js +14 -3
- package/dist/form-ng/form-ng.js +4 -2
- package/dist/global/angular-component-factory.js +2 -3
- package/dist/global/create-stateful-context.js +2 -3
- package/dist/global/data-tests.js +0 -2
- package/dist/global/dom.js +0 -1
- package/dist/global/focus-sensor-hoc.js +0 -1
- package/dist/global/fuzzy-highlight.js +1 -1
- package/dist/global/inject-styles.js +7 -5
- package/dist/global/listeners.js +0 -1
- package/dist/global/memoize.js +0 -2
- package/dist/global/normalize-indent.js +0 -2
- package/dist/global/react-dom-renderer.js +0 -1
- package/dist/global/react-render-adapter.js +0 -1
- package/dist/global/rerender-hoc.js +1 -2
- package/dist/global/theme.js +0 -2
- package/dist/global/trivial-template-tag.js +0 -2
- package/dist/global/url.js +1 -3
- package/dist/grid/col.js +1 -2
- package/dist/grid/grid.js +0 -1
- package/dist/grid/row.js +1 -1
- package/dist/group-ng/group-ng.js +1 -1
- package/dist/header/header.js +0 -2
- package/dist/header/logo.js +0 -2
- package/dist/header/profile.js +0 -2
- package/dist/header/services-link.js +0 -1
- package/dist/header/services.js +0 -2
- package/dist/header/smart-profile.js +2 -4
- package/dist/header/smart-services.js +1 -3
- package/dist/header/tray-icon.js +0 -2
- package/dist/heading/heading.js +2 -2
- package/dist/heading-ng/heading-ng.js +0 -1
- package/dist/http/http.js +2 -4
- package/dist/http/http.mock.js +0 -2
- package/dist/hub-source/hub-source.js +1 -1
- package/dist/hub-source/hub-source__user.js +2 -4
- package/dist/hub-source/hub-source__users-groups.js +2 -3
- package/dist/icon/icon.js +3 -3
- package/dist/icon/icon__svg.js +0 -2
- package/dist/icon/index.js +0 -2
- package/dist/icon-ng/icon-ng.js +5 -7
- package/dist/input/input.js +2 -4
- package/dist/input-ng/input-ng.js +58 -5
- package/dist/island/adaptive-island-hoc.js +0 -1
- package/dist/island/content.js +0 -1
- package/dist/island/header.js +2 -3
- package/dist/island/island.js +0 -1
- package/dist/island-ng/island-content-ng.js +16 -2
- package/dist/island-ng/island-header-ng.js +8 -2
- package/dist/island-ng/island-ng-class-fixer.js +0 -2
- package/dist/island-ng/island-ng.js +8 -2
- package/dist/link/clickableLink.js +0 -1
- package/dist/link/link.js +0 -1
- package/dist/link-ng/link-ng.js +4 -1
- package/dist/list/list.js +8 -10
- package/dist/list/list__custom.js +0 -1
- package/dist/list/list__item.js +2 -4
- package/dist/list/list__link.js +0 -1
- package/dist/list/list__users-groups-source.js +1 -3
- package/dist/loader/loader.js +0 -1
- package/dist/loader/loader__core.js +3 -4
- package/dist/loader-inline/loader-inline.js +0 -1
- package/dist/loader-inline-ng/loader-inline-ng.js +1 -1
- package/dist/loader-ng/loader-ng.js +0 -1
- package/dist/loader-screen/loader-screen.js +0 -1
- package/dist/loader-screen-ng/loader-screen-ng.js +6 -2
- package/dist/login-dialog/login-dialog.js +0 -2
- package/dist/login-dialog/service.js +0 -2
- package/dist/markdown/code.js +0 -2
- package/dist/markdown/link.js +0 -1
- package/dist/markdown/markdown.js +0 -2
- package/dist/message/message.js +0 -2
- package/dist/old-browsers-message/old-browsers-message.js +1 -2
- package/dist/old-browsers-message/old-browsers-message__stop.js +0 -1
- package/dist/old-browsers-message/white-list.js +2 -3
- package/dist/pager/pager.js +1 -3
- package/dist/pager-ng/pager-ng.js +0 -2
- package/dist/panel-ng/panel-ng.js +0 -1
- package/dist/permissions/permissions.js +1 -1
- package/dist/permissions-ng/permissions-ng.js +1 -3
- package/dist/place-under-ng/place-under-ng.js +2 -3
- package/dist/popup/popup.js +2 -4
- package/dist/popup/position.js +0 -1
- package/dist/popup-menu/popup-menu.js +0 -2
- package/dist/progress-bar/progress-bar.js +1 -2
- package/dist/progress-bar-ng/progress-bar-ng.js +0 -1
- package/dist/promised-click-ng/promised-click-ng.js +0 -2
- package/dist/proxy-attrs/proxy-attrs.js +3 -5
- package/dist/query-assist/query-assist.js +7 -7
- package/dist/query-assist/query-assist__suggestions.js +0 -2
- package/dist/query-assist-ng/query-assist-ng.js +0 -2
- package/dist/radio/radio.js +0 -1
- package/dist/radio/radio__item.js +0 -1
- package/dist/radio-ng/radio-ng.js +18 -2
- package/dist/save-field-ng/save-field-ng.js +1 -3
- package/dist/save-field-ng/save-field-ng__template.js +32 -1
- package/dist/select/select.js +5 -7
- package/dist/select/select__filter.js +0 -2
- package/dist/select/select__popup.js +1 -3
- package/dist/select-ng/select-ng.js +0 -2
- package/dist/select-ng/select-ng__lazy.js +0 -2
- package/dist/select-ng/select-ng__options.js +2 -2
- package/dist/shortcuts/shortcuts-hoc.js +0 -1
- package/dist/shortcuts-hint-ng/shortcuts-hint-ng.js +0 -3
- package/dist/shortcuts-hint-ng/shortcuts-hint-ng__template.js +48 -1
- package/dist/shortcuts-ng/shortcuts-ng.js +3 -4
- package/dist/sidebar-ng/sidebar-ng.js +0 -2
- package/dist/sidebar-ng/sidebar-ng__button-template.js +18 -1
- package/dist/sidebar-ng/sidebar-ng__template.js +10 -1
- package/dist/storage/storage.js +0 -2
- package/dist/storage/storage__fallback.js +3 -4
- package/dist/storage/storage__local.js +0 -2
- package/dist/style.css +1 -1
- package/dist/tab-trap/tab-trap.js +0 -1
- package/dist/table/cell.js +0 -1
- package/dist/table/disable-hover-hoc.js +0 -1
- package/dist/table/header-cell.js +0 -2
- package/dist/table/header.js +0 -2
- package/dist/table/multitable.js +0 -1
- package/dist/table/row-with-focus-sensor.js +0 -2
- package/dist/table/row.js +1 -3
- package/dist/table/selection-adapter.js +0 -2
- package/dist/table/selection-shortcuts-hoc.js +0 -1
- package/dist/table/selection.js +0 -1
- package/dist/table/smart-table.js +0 -2
- package/dist/table/table.js +0 -2
- package/dist/table-legacy-ng/table-legacy-ng.js +45 -10
- package/dist/table-legacy-ng/table-legacy-ng__pager.js +7 -3
- package/dist/table-legacy-ng/table-legacy-ng__toolbar.js +1 -2
- package/dist/table-ng/smart-table-ng.js +0 -2
- package/dist/table-ng/table-ng.js +0 -2
- package/dist/tabs/collapsible-more.js +0 -2
- package/dist/tabs/collapsible-tab.js +0 -1
- package/dist/tabs/collapsible-tabs.js +0 -2
- package/dist/tabs/dumb-tabs.js +0 -2
- package/dist/tabs/smart-tabs.js +0 -2
- package/dist/tabs/tab-link.js +0 -1
- package/dist/tabs/tab.js +0 -1
- package/dist/tabs/tabs.js +0 -2
- package/dist/tabs-ng/tabs-ng.js +0 -1
- package/dist/tabs-ng/tabs-ng__template.js +38 -1
- package/dist/tag/tag.js +0 -2
- package/dist/tags-input/tags-input.js +0 -2
- package/dist/tags-input-ng/tags-input-ng.js +0 -2
- package/dist/tags-list/tags-list.js +0 -2
- package/dist/template-ng/template-ng.js +0 -1
- package/dist/theme-ng/theme-ng.js +0 -1
- package/dist/toggle/toggle.js +0 -1
- package/dist/toggle-ng/toggle-ng.js +0 -1
- package/dist/tooltip/tooltip.js +0 -2
- package/dist/tooltip-ng/tooltip-ng.js +0 -2
- package/dist/user-agreement/service.js +0 -2
- package/dist/user-agreement/toolbox.eula.js +160 -1
- package/dist/user-agreement/user-agreement.js +0 -2
- package/dist/user-card/card.js +0 -2
- package/dist/user-card/smart-user-card-tooltip.js +0 -2
- package/dist/user-card/tooltip.js +0 -2
- package/dist/user-card/user-card.js +0 -2
- package/dist/user-card-ng/user-card-ng.js +0 -2
- package/package.json +32 -32
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { _ as _defineProperty, a as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
-
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
3
2
|
import React, { Component } from 'react';
|
|
4
3
|
import PropTypes from 'prop-types';
|
|
5
4
|
import { isNodeInVisiblePartOfPage } from '../global/dom.js';
|
package/dist/table/cell.js
CHANGED
|
@@ -4,7 +4,6 @@ import PropTypes from 'prop-types';
|
|
|
4
4
|
import classNames from 'classnames';
|
|
5
5
|
import joinDataTestAttributes from '../global/data-tests.js';
|
|
6
6
|
import { m as modules_1db4bbca } from '../_helpers/table.js';
|
|
7
|
-
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
8
7
|
|
|
9
8
|
class Cell extends PureComponent {
|
|
10
9
|
render() {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { _ as _defineProperty, a as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
-
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
3
2
|
import React, { PureComponent } from 'react';
|
|
4
3
|
import PropTypes from 'prop-types';
|
|
5
4
|
import classNames from 'classnames';
|
|
@@ -12,7 +11,6 @@ import 'util-deprecate';
|
|
|
12
11
|
import '../icon/icon__constants.js';
|
|
13
12
|
import '../_helpers/icon.js';
|
|
14
13
|
import '../icon/icon__svg.js';
|
|
15
|
-
import 'core-js/modules/es.string.replace.js';
|
|
16
14
|
import '../global/memoize.js';
|
|
17
15
|
|
|
18
16
|
class HeaderCell extends PureComponent {
|
package/dist/table/header.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { _ as _defineProperty, a as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
-
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
3
2
|
import React, { PureComponent } from 'react';
|
|
4
3
|
import PropTypes from 'prop-types';
|
|
5
4
|
import classNames from 'classnames';
|
|
@@ -15,7 +14,6 @@ import 'util-deprecate';
|
|
|
15
14
|
import '../icon/icon__constants.js';
|
|
16
15
|
import '../_helpers/icon.js';
|
|
17
16
|
import '../icon/icon__svg.js';
|
|
18
|
-
import 'core-js/modules/es.string.replace.js';
|
|
19
17
|
import '../global/memoize.js';
|
|
20
18
|
import '../_helpers/checkbox.js';
|
|
21
19
|
import '@jetbrains/icons/unsorted-10px';
|
package/dist/table/multitable.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { _ as _defineProperty, a as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
-
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
3
2
|
import React, { PureComponent } from 'react';
|
|
4
3
|
import focusSensorHOC from '../global/focus-sensor-hoc.js';
|
|
5
4
|
import Row from './row.js';
|
|
@@ -18,7 +17,6 @@ import 'util-deprecate';
|
|
|
18
17
|
import '../icon/icon__constants.js';
|
|
19
18
|
import '../_helpers/icon.js';
|
|
20
19
|
import '../icon/icon__svg.js';
|
|
21
|
-
import 'core-js/modules/es.string.replace.js';
|
|
22
20
|
import '../global/memoize.js';
|
|
23
21
|
import '../_helpers/checkbox.js';
|
|
24
22
|
import '../button/button.js';
|
package/dist/table/row.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { _ as _defineProperty, a as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
-
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
3
2
|
import React, { PureComponent } from 'react';
|
|
4
3
|
import PropTypes from 'prop-types';
|
|
5
4
|
import classNames from 'classnames';
|
|
@@ -21,7 +20,6 @@ import 'util-deprecate';
|
|
|
21
20
|
import '../icon/icon__constants.js';
|
|
22
21
|
import '../_helpers/icon.js';
|
|
23
22
|
import '../icon/icon__svg.js';
|
|
24
|
-
import 'core-js/modules/es.string.replace.js';
|
|
25
23
|
import '../global/memoize.js';
|
|
26
24
|
import '../_helpers/checkbox.js';
|
|
27
25
|
import 'focus-visible';
|
|
@@ -166,7 +164,7 @@ class Row extends PureComponent {
|
|
|
166
164
|
const COLLAPSIBLE_PARENT_OFFSET = 20;
|
|
167
165
|
const gap = level * SUBITEM_OFFSET + (parentCollapsible ? COLLAPSIBLE_PARENT_OFFSET : 0);
|
|
168
166
|
const metaColumnStyle = {
|
|
169
|
-
paddingLeft:
|
|
167
|
+
paddingLeft: `${gap}px`
|
|
170
168
|
};
|
|
171
169
|
const metaColumn = /*#__PURE__*/React.createElement("div", {
|
|
172
170
|
className: metaColumnClasses,
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { _ as _defineProperty, a as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
-
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
3
2
|
import React, { PureComponent } from 'react';
|
|
4
3
|
import PropTypes from 'prop-types';
|
|
5
4
|
import Selection from './selection.js';
|
package/dist/table/selection.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { _ as _defineProperty, a as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
-
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
3
2
|
import React, { PureComponent } from 'react';
|
|
4
3
|
import PropTypes from 'prop-types';
|
|
5
4
|
import TableContainer from './table.js';
|
|
@@ -29,7 +28,6 @@ import 'util-deprecate';
|
|
|
29
28
|
import '../icon/icon__constants.js';
|
|
30
29
|
import '../_helpers/icon.js';
|
|
31
30
|
import '../icon/icon__svg.js';
|
|
32
|
-
import 'core-js/modules/es.string.replace.js';
|
|
33
31
|
import '../global/memoize.js';
|
|
34
32
|
import '../_helpers/checkbox.js';
|
|
35
33
|
import '../_helpers/table.js';
|
package/dist/table/table.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { _ as _defineProperty, a as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
-
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
3
2
|
import React, { PureComponent, Component } from 'react';
|
|
4
3
|
import PropTypes from 'prop-types';
|
|
5
4
|
import classNames from 'classnames';
|
|
@@ -32,7 +31,6 @@ import 'util-deprecate';
|
|
|
32
31
|
import '../icon/icon__constants.js';
|
|
33
32
|
import '../_helpers/icon.js';
|
|
34
33
|
import '../icon/icon__svg.js';
|
|
35
|
-
import 'core-js/modules/es.string.replace.js';
|
|
36
34
|
import '../global/memoize.js';
|
|
37
35
|
import '../_helpers/checkbox.js';
|
|
38
36
|
import './header-cell.js';
|
|
@@ -8,11 +8,9 @@ import SelectionNavigateActions from './table-legacy-ng__selection-navigate-acti
|
|
|
8
8
|
import TableToolbar from './table-legacy-ng__toolbar.js';
|
|
9
9
|
import TablePager from './table-legacy-ng__pager.js';
|
|
10
10
|
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
11
|
-
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
12
11
|
import 'element-resize-detector';
|
|
13
12
|
import '@jetbrains/icons/checkmark-14px';
|
|
14
13
|
import '../icon-ng/icon-ng.js';
|
|
15
|
-
import 'core-js/modules/es.string.replace.js';
|
|
16
14
|
import '../icon/icon__constants.js';
|
|
17
15
|
import '../template-ng/template-ng.js';
|
|
18
16
|
import '../global/ring-angular-component.js';
|
|
@@ -164,7 +162,10 @@ angularModule.directive('rgLegacyTableHeader', ["getClosestElementWithCommonPare
|
|
|
164
162
|
const TOOLBAR_FIXED_CLASSNAME = 'ring-table__toolbar-controls_fixed';
|
|
165
163
|
return {
|
|
166
164
|
restrict: 'E',
|
|
167
|
-
template:
|
|
165
|
+
template: `<thead>
|
|
166
|
+
<tr class="ring-table__header" ng-transclude></tr>
|
|
167
|
+
<tr class="ring-table__header ring-table__header_sticky" rg-place-under="{{stickToSelector}}" ng-transclude></tr>
|
|
168
|
+
</thead>`,
|
|
168
169
|
transclude: true,
|
|
169
170
|
replace: true,
|
|
170
171
|
link: function link(scope, iElement, iAttrs) {
|
|
@@ -179,14 +180,14 @@ angularModule.directive('rgLegacyTableHeader', ["getClosestElementWithCommonPare
|
|
|
179
180
|
const scrollableHeader = element.querySelector('.ring-table__header:not(.ring-table__header_sticky)');
|
|
180
181
|
const fixedHeader = element.querySelector('.ring-table__header_sticky');
|
|
181
182
|
|
|
182
|
-
const toolbarFixed = () => stickToElement.querySelector(
|
|
183
|
+
const toolbarFixed = () => stickToElement.querySelector(`.${TOOLBAR_FIXED_CLASSNAME}`) !== null;
|
|
183
184
|
/**
|
|
184
185
|
* Sync header columns width with real table
|
|
185
186
|
*/
|
|
186
187
|
|
|
187
188
|
|
|
188
189
|
const resizeFixedHeader = debounce(() => {
|
|
189
|
-
fixedHeader.style.width =
|
|
190
|
+
fixedHeader.style.width = `${scrollableHeader.offsetWidth}px`;
|
|
190
191
|
const titles = Array.from(fixedHeader.querySelectorAll('.ring-table__title'));
|
|
191
192
|
titles.forEach((titleElement, index) => {
|
|
192
193
|
const targetHeaderTitle = scrollableHeader.querySelectorAll('.ring-table__title')[index];
|
|
@@ -234,7 +235,18 @@ angularModule.directive('rgLegacyTableBody', function rgLegacyTableBodyDirective
|
|
|
234
235
|
});
|
|
235
236
|
angularModule.directive('rgLegacyTableRow', function rgLegacyTableRowDirective() {
|
|
236
237
|
return {
|
|
237
|
-
template:
|
|
238
|
+
template: `<tr ng-click="rowCtrl.setActiveItem(rowCtrl.rowItem)"
|
|
239
|
+
ng-mouseover="rowCtrl.onMouseOver(rowCtrl.rowItem)"
|
|
240
|
+
ng-mouseout="rowCtrl.onMouseOut(rowCtrl.rowItem)"
|
|
241
|
+
class="ring-table__row" ng-class="{
|
|
242
|
+
'ring-table__row_active': rowCtrl.rowItem.active,
|
|
243
|
+
'ring-table__row_checked': rowCtrl.rowItem.checked,
|
|
244
|
+
'ring-table__row_active-checked': rowCtrl.rowItem.active && !rowCtrl.hasCheckedItems(),
|
|
245
|
+
'ring-table__row_implicit': rowCtrl.rowItem.implicit,
|
|
246
|
+
'ring-table__row_expanded': rowCtrl.rowItem.expanded,
|
|
247
|
+
'ring-table__row_unselectable': rowCtrl.rowItem.unselectable
|
|
248
|
+
}" ng-transclude>
|
|
249
|
+
</tr>`,
|
|
238
250
|
restrict: 'E',
|
|
239
251
|
transclude: true,
|
|
240
252
|
replace: true,
|
|
@@ -372,7 +384,11 @@ angularModule.directive('rgLegacyTableCheckboxCell', function rgLegacyTableCheck
|
|
|
372
384
|
transclude: true,
|
|
373
385
|
require: '^rgLegacyTableRow',
|
|
374
386
|
replace: true,
|
|
375
|
-
template:
|
|
387
|
+
template: `
|
|
388
|
+
<td class="ring-table__selector ring-table__column_selector" ng-class="{\'ring-table__column\': !isEmbedded}">
|
|
389
|
+
<rg-checkbox ng-model="getRowItem().checked" title="{{getTitle()}}" aria-label="{{geAriaLabel()}}"/>
|
|
390
|
+
</td>
|
|
391
|
+
`.trim(),
|
|
376
392
|
link: function link(scope, iElement, iAttrs, rowCtrl) {
|
|
377
393
|
/**
|
|
378
394
|
* rowItem getter to use it as ng-model for checkbox
|
|
@@ -401,7 +417,15 @@ angularModule.directive('rgLegacyTableTitle', function rgLegacyTableTitleDirecti
|
|
|
401
417
|
transclude: true,
|
|
402
418
|
replace: true,
|
|
403
419
|
scope: true,
|
|
404
|
-
template:
|
|
420
|
+
template: `<th class="ring-table__title"
|
|
421
|
+
ng-class="{
|
|
422
|
+
'ring-table__title_border': isBorder,
|
|
423
|
+
'ring-table__title_active': isActive,
|
|
424
|
+
'ring-table__column_snuggle-right': isPullRight,
|
|
425
|
+
'ring-table__column_snuggle-left': isPullLeft,
|
|
426
|
+
'ring-table__column_align-right' : isAlignRight
|
|
427
|
+
}" ng-transclude>
|
|
428
|
+
</th>`,
|
|
405
429
|
link: function link(scope, iElement, iAttrs) {
|
|
406
430
|
/**
|
|
407
431
|
* One time property assigning without watching through isolated scope helps to improve performance
|
|
@@ -429,7 +453,18 @@ angularModule.directive('rgLegacyTableColumn', function rgLegacyTableColumnDirec
|
|
|
429
453
|
transclude: true,
|
|
430
454
|
replace: true,
|
|
431
455
|
scope: true,
|
|
432
|
-
template:
|
|
456
|
+
template: `<td class="ring-table__column"
|
|
457
|
+
ng-class="{
|
|
458
|
+
'ring-table__column_limited': isLimited,
|
|
459
|
+
'ring-table__column_unlimited': isUnlimited,
|
|
460
|
+
'ring-table__column_right': isAlignRight,
|
|
461
|
+
'ring-table__avatar': isAvatar,
|
|
462
|
+
'ring-table__column_wide': isWide,
|
|
463
|
+
'ring-table__column_gray': isGray,
|
|
464
|
+
'ring-table__column_snuggle-right': isPullRight,
|
|
465
|
+
'ring-table__column_snuggle-left': isPullLeft
|
|
466
|
+
}" ng-transclude>
|
|
467
|
+
</td>`,
|
|
433
468
|
link: function link(scope, iElement, iAttrs) {
|
|
434
469
|
const element = iElement[0];
|
|
435
470
|
const FULL_WIDTH = 100;
|
|
@@ -446,7 +481,7 @@ angularModule.directive('rgLegacyTableColumn', function rgLegacyTableColumnDirec
|
|
|
446
481
|
const unlimitedColumnsCount = element.parentNode.querySelectorAll('.ring-table__column[unlimited]').length;
|
|
447
482
|
|
|
448
483
|
if (unlimitedColumnsCount > 1) {
|
|
449
|
-
element.style.width =
|
|
484
|
+
element.style.width = `${(FULL_WIDTH / unlimitedColumnsCount).toFixed()}%`;
|
|
450
485
|
}
|
|
451
486
|
}
|
|
452
487
|
|
|
@@ -3,7 +3,6 @@ import Pager from '../pager-ng/pager-ng.js';
|
|
|
3
3
|
import MessageBundle from '../message-bundle-ng/message-bundle-ng.js';
|
|
4
4
|
import '../global/angular-component-factory.js';
|
|
5
5
|
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
6
|
-
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
7
6
|
import 'react';
|
|
8
7
|
import '../global/react-render-adapter.js';
|
|
9
8
|
import 'react-dom';
|
|
@@ -22,7 +21,6 @@ import 'util-deprecate';
|
|
|
22
21
|
import '../icon/icon__constants.js';
|
|
23
22
|
import '../_helpers/icon.js';
|
|
24
23
|
import '../icon/icon__svg.js';
|
|
25
|
-
import 'core-js/modules/es.string.replace.js';
|
|
26
24
|
import '../global/memoize.js';
|
|
27
25
|
import '../link/clickableLink.js';
|
|
28
26
|
import '../global/controls-height.js';
|
|
@@ -99,7 +97,13 @@ const angularModule = angular.module('Ring.table-legacy.pager', [MessageBundle,
|
|
|
99
97
|
angularModule.directive('rgLegacyTablePager', function rgLegacyTablePagerDirective() {
|
|
100
98
|
return {
|
|
101
99
|
restrict: 'E',
|
|
102
|
-
template:
|
|
100
|
+
template: `<rg-pager
|
|
101
|
+
total="pagerCtrl.total"
|
|
102
|
+
current-page="pagerCtrl.getPage()"
|
|
103
|
+
page-size="pagerCtrl.top"
|
|
104
|
+
on-page-change="pagerCtrl.onPageChange"
|
|
105
|
+
disable-page-size-selector="true"
|
|
106
|
+
></rg-pager>`,
|
|
103
107
|
scope: {},
|
|
104
108
|
bindToController: {
|
|
105
109
|
skip: '=',
|
|
@@ -2,7 +2,6 @@ import angular from 'angular';
|
|
|
2
2
|
import { getDocumentScrollTop } from '../global/dom.js';
|
|
3
3
|
import scheduleRAF from '../global/schedule-raf.js';
|
|
4
4
|
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
5
|
-
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
6
5
|
|
|
7
6
|
const angularModule = angular.module('Ring.table-legacy.toolbar', []);
|
|
8
7
|
angularModule.directive('rgLegacyTableToolbar', function rgLegacyTableToolbarDirective() {
|
|
@@ -30,7 +29,7 @@ angularModule.directive('rgLegacyTableToolbar', function rgLegacyTableToolbarDir
|
|
|
30
29
|
|
|
31
30
|
if (scrolledTop > toolbarTop && !savedToolbarTop) {
|
|
32
31
|
//save height to style to prevent collapsing after fixing controls
|
|
33
|
-
element.style.height =
|
|
32
|
+
element.style.height = `${element.offsetHeight}px`;
|
|
34
33
|
savedToolbarTop = toolbarTop;
|
|
35
34
|
controlsContainer.classList.add('ring-table__toolbar-controls_fixed');
|
|
36
35
|
} else if (scrolledTop <= toolbarTop && savedToolbarTop >= 0) {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import angularComponentFactory from '../global/angular-component-factory.js';
|
|
2
2
|
import SmartTable from '../table/smart-table.js';
|
|
3
3
|
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
4
|
-
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
5
4
|
import 'angular';
|
|
6
5
|
import 'react';
|
|
7
6
|
import '../global/react-render-adapter.js';
|
|
@@ -36,7 +35,6 @@ import 'util-deprecate';
|
|
|
36
35
|
import '../icon/icon__constants.js';
|
|
37
36
|
import '../_helpers/icon.js';
|
|
38
37
|
import '../icon/icon__svg.js';
|
|
39
|
-
import 'core-js/modules/es.string.replace.js';
|
|
40
38
|
import '../global/memoize.js';
|
|
41
39
|
import '../_helpers/checkbox.js';
|
|
42
40
|
import '../_helpers/table.js';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import angularComponentFactory from '../global/angular-component-factory.js';
|
|
2
2
|
import TableContainer from '../table/table.js';
|
|
3
3
|
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
4
|
-
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
5
4
|
import 'angular';
|
|
6
5
|
import 'react';
|
|
7
6
|
import '../global/react-render-adapter.js';
|
|
@@ -35,7 +34,6 @@ import 'util-deprecate';
|
|
|
35
34
|
import '../icon/icon__constants.js';
|
|
36
35
|
import '../_helpers/icon.js';
|
|
37
36
|
import '../icon/icon__svg.js';
|
|
38
|
-
import 'core-js/modules/es.string.replace.js';
|
|
39
37
|
import '../global/memoize.js';
|
|
40
38
|
import '../_helpers/checkbox.js';
|
|
41
39
|
import '../_helpers/table.js';
|
|
@@ -11,9 +11,7 @@ import Icon from '../icon/icon.js';
|
|
|
11
11
|
import { m as modules_02138f4a } from '../_helpers/tabs.js';
|
|
12
12
|
import getTabTitles from './collapsible-tab.js';
|
|
13
13
|
import { CustomItem } from './custom-item.js';
|
|
14
|
-
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
15
14
|
import '../popup/popup.js';
|
|
16
|
-
import 'core-js/modules/es.string.replace.js';
|
|
17
15
|
import 'react-dom';
|
|
18
16
|
import '../global/get-uid.js';
|
|
19
17
|
import '../global/schedule-raf.js';
|
|
@@ -8,7 +8,6 @@ import { CustomItem } from './custom-item.js';
|
|
|
8
8
|
import '../link/link.js';
|
|
9
9
|
import 'focus-visible';
|
|
10
10
|
import '../global/memoize.js';
|
|
11
|
-
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
12
11
|
import '../global/data-tests.js';
|
|
13
12
|
import '../link/clickableLink.js';
|
|
14
13
|
import '../_helpers/link.js';
|
package/dist/tabs/dumb-tabs.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { _ as _defineProperty, a as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
-
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
3
2
|
import React, { PureComponent } from 'react';
|
|
4
3
|
import PropTypes from 'prop-types';
|
|
5
4
|
import classNames from 'classnames';
|
|
@@ -14,7 +13,6 @@ import '../link/link.js';
|
|
|
14
13
|
import 'focus-visible';
|
|
15
14
|
import '../link/clickableLink.js';
|
|
16
15
|
import '../_helpers/link.js';
|
|
17
|
-
import 'core-js/modules/es.string.replace.js';
|
|
18
16
|
import 'fastdom';
|
|
19
17
|
import './collapsible-more.js';
|
|
20
18
|
import '@jetbrains/icons/chevron-10px';
|
package/dist/tabs/smart-tabs.js
CHANGED
|
@@ -3,7 +3,6 @@ import React, { PureComponent } from 'react';
|
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import joinDataTestAttributes from '../global/data-tests.js';
|
|
5
5
|
import Tabs from './dumb-tabs.js';
|
|
6
|
-
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
7
6
|
import 'classnames';
|
|
8
7
|
import '../global/memoize.js';
|
|
9
8
|
import '../_helpers/tabs.js';
|
|
@@ -13,7 +12,6 @@ import 'focus-visible';
|
|
|
13
12
|
import '../link/clickableLink.js';
|
|
14
13
|
import '../_helpers/link.js';
|
|
15
14
|
import './collapsible-tabs.js';
|
|
16
|
-
import 'core-js/modules/es.string.replace.js';
|
|
17
15
|
import 'fastdom';
|
|
18
16
|
import './collapsible-more.js';
|
|
19
17
|
import '@jetbrains/icons/chevron-10px';
|
package/dist/tabs/tab-link.js
CHANGED
|
@@ -6,7 +6,6 @@ import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
|
6
6
|
import 'focus-visible';
|
|
7
7
|
import 'classnames';
|
|
8
8
|
import '../global/memoize.js';
|
|
9
|
-
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
10
9
|
import '../global/data-tests.js';
|
|
11
10
|
import '../link/clickableLink.js';
|
|
12
11
|
import '../_helpers/link.js';
|
package/dist/tabs/tab.js
CHANGED
|
@@ -4,7 +4,6 @@ import PropTypes from 'prop-types';
|
|
|
4
4
|
import classNames from 'classnames';
|
|
5
5
|
import joinDataTestAttributes from '../global/data-tests.js';
|
|
6
6
|
import { m as modules_02138f4a } from '../_helpers/tabs.js';
|
|
7
|
-
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
8
7
|
|
|
9
8
|
class Tab extends PureComponent {
|
|
10
9
|
render() {
|
package/dist/tabs/tabs.js
CHANGED
|
@@ -4,7 +4,6 @@ export { default as SmartTabs } from './smart-tabs.js';
|
|
|
4
4
|
export { default as Tab } from './tab.js';
|
|
5
5
|
import 'prop-types';
|
|
6
6
|
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
7
|
-
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
8
7
|
import 'react';
|
|
9
8
|
import 'classnames';
|
|
10
9
|
import '../global/memoize.js';
|
|
@@ -16,7 +15,6 @@ import 'focus-visible';
|
|
|
16
15
|
import '../link/clickableLink.js';
|
|
17
16
|
import '../_helpers/link.js';
|
|
18
17
|
import './collapsible-tabs.js';
|
|
19
|
-
import 'core-js/modules/es.string.replace.js';
|
|
20
18
|
import 'fastdom';
|
|
21
19
|
import './collapsible-more.js';
|
|
22
20
|
import '@jetbrains/icons/chevron-10px';
|
package/dist/tabs-ng/tabs-ng.js
CHANGED
|
@@ -1,3 +1,40 @@
|
|
|
1
|
-
var template =
|
|
1
|
+
var template = `<div
|
|
2
|
+
ng-class=":: styles.tabs"
|
|
3
|
+
rg-shortcuts="ring-tabs"
|
|
4
|
+
shortcuts-map="keyMap"
|
|
5
|
+
shortcuts-focus="focus"
|
|
6
|
+
>
|
|
7
|
+
<div
|
|
8
|
+
ng-class=":: [styles.titles, tabsClass]"
|
|
9
|
+
role="tablist"
|
|
10
|
+
>
|
|
11
|
+
<button
|
|
12
|
+
role="tab"
|
|
13
|
+
type="button"
|
|
14
|
+
ng-repeat="pane in panes | orderBy:'tabIndex'"
|
|
15
|
+
ng-click="control.select(pane)"
|
|
16
|
+
ng-attr-tabindex="{{(pane.selected || pane.ngDisabled) ? -1 : 0}}"
|
|
17
|
+
ng-disabled="pane.ngDisabled"
|
|
18
|
+
data-test="ring-tab"
|
|
19
|
+
ng-attr-data-test-active="{{pane.selected ? 'true' : 'false'}}"
|
|
20
|
+
ng-attr-class="{{ tabClass(pane) }}"
|
|
21
|
+
><span
|
|
22
|
+
ng-class=":: styles.visible">{{pane.title}}<span
|
|
23
|
+
ng-class=":: styles.tabCounter"
|
|
24
|
+
ng-show="pane.counter !== undefined">{{ pane.counter }}</span
|
|
25
|
+
></span><!--
|
|
26
|
+
hack for preserving constant tab width
|
|
27
|
+
--><span ng-class=":: styles.hidden">{{pane.title}}<span
|
|
28
|
+
ng-class=":: styles.tabCounter" ng-show="pane.counter !== undefined">{{ pane.counter }}</span></span>
|
|
29
|
+
<span ng-class=":: styles.hiddenBold">{{pane.title}}<span
|
|
30
|
+
ng-class=":: styles.tabCounter" ng-show="pane.counter !== undefined">{{ pane.counter }}</span></span>
|
|
31
|
+
<span ng-class=":: styles.hiddenRegular">{{pane.title}}<span
|
|
32
|
+
ng-class=":: styles.tabCounter" ng-show="pane.counter !== undefined">{{ pane.counter }}</span></span>
|
|
33
|
+
</button>
|
|
34
|
+
</div>
|
|
35
|
+
|
|
36
|
+
<div ng-transclude></div>
|
|
37
|
+
|
|
38
|
+
</div>`;
|
|
2
39
|
|
|
3
40
|
export { template as default };
|
package/dist/tag/tag.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { _ as _defineProperty, a as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
-
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
3
2
|
import React, { PureComponent } from 'react';
|
|
4
3
|
import PropTypes from 'prop-types';
|
|
5
4
|
import classNames from 'classnames';
|
|
@@ -10,7 +9,6 @@ import 'util-deprecate';
|
|
|
10
9
|
import '../icon/icon__constants.js';
|
|
11
10
|
import '../_helpers/icon.js';
|
|
12
11
|
import '../icon/icon__svg.js';
|
|
13
|
-
import 'core-js/modules/es.string.replace.js';
|
|
14
12
|
import '../global/memoize.js';
|
|
15
13
|
import 'focus-visible';
|
|
16
14
|
import '@jetbrains/icons/chevron-10px';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
-
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
3
2
|
import React, { Component, PureComponent } from 'react';
|
|
4
3
|
import PropTypes from 'prop-types';
|
|
5
4
|
import classNames from 'classnames';
|
|
@@ -9,7 +8,6 @@ import TagsList from '../tags-list/tags-list.js';
|
|
|
9
8
|
import Caret from '../caret/caret.js';
|
|
10
9
|
import memoize from '../global/memoize.js';
|
|
11
10
|
import rerenderHOC from '../global/rerender-hoc.js';
|
|
12
|
-
import 'core-js/modules/es.string.replace.js';
|
|
13
11
|
import '@jetbrains/icons/chevron-down';
|
|
14
12
|
import '@jetbrains/icons/close-12px';
|
|
15
13
|
import 'deep-equal';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import angularComponentFactory from '../global/angular-component-factory.js';
|
|
2
2
|
import TagsInput from '../tags-input/tags-input.js';
|
|
3
3
|
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
4
|
-
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
5
4
|
import 'angular';
|
|
6
5
|
import 'react';
|
|
7
6
|
import '../global/react-render-adapter.js';
|
|
@@ -12,7 +11,6 @@ import 'prop-types';
|
|
|
12
11
|
import 'classnames';
|
|
13
12
|
import '../global/get-event-key.js';
|
|
14
13
|
import '../select/select.js';
|
|
15
|
-
import 'core-js/modules/es.string.replace.js';
|
|
16
14
|
import '@jetbrains/icons/chevron-down';
|
|
17
15
|
import '@jetbrains/icons/close-12px';
|
|
18
16
|
import 'deep-equal';
|
|
@@ -3,14 +3,12 @@ import React, { Component } from 'react';
|
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import classNames from 'classnames';
|
|
5
5
|
import Tag from '../tag/tag.js';
|
|
6
|
-
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
7
6
|
import '@jetbrains/icons/close-12px';
|
|
8
7
|
import '../icon/icon.js';
|
|
9
8
|
import 'util-deprecate';
|
|
10
9
|
import '../icon/icon__constants.js';
|
|
11
10
|
import '../_helpers/icon.js';
|
|
12
11
|
import '../icon/icon__svg.js';
|
|
13
|
-
import 'core-js/modules/es.string.replace.js';
|
|
14
12
|
import '../global/memoize.js';
|
|
15
13
|
import '../button/button.js';
|
|
16
14
|
import 'focus-visible';
|
package/dist/toggle/toggle.js
CHANGED
|
@@ -3,7 +3,6 @@ import React, { PureComponent } from 'react';
|
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import classNames from 'classnames';
|
|
5
5
|
import joinDataTestAttributes from '../global/data-tests.js';
|
|
6
|
-
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
7
6
|
|
|
8
7
|
var modules_331c5aa7 = {"unit":"8px","padding":"2px","disabled-line-color":"rgba(255, 255, 255, 0.9)","duration":"300ms","timing-function":"cubic-bezier(0.23, 1, 0.32, 1)","toggle":"toggle_rui_773f","switch":"switch_rui_773f","disabled":"disabled_rui_773f","label":"label_rui_773f","leftLabel":"leftLabel_rui_773f","switchWrapper":"switchWrapper_rui_773f","input":"input_rui_773f","size16":"size16_rui_773f","size14":"size14_rui_773f","size20":"size20_rui_773f","paleSwitch":"paleSwitch_rui_773f"};
|
|
9
8
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import angularComponentFactory from '../global/angular-component-factory.js';
|
|
2
2
|
import Toggle from '../toggle/toggle.js';
|
|
3
3
|
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
4
|
-
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
5
4
|
import 'angular';
|
|
6
5
|
import 'react';
|
|
7
6
|
import '../global/react-render-adapter.js';
|
package/dist/tooltip/tooltip.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { _ as _defineProperty, a as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
-
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
3
2
|
import React, { Component, createContext } from 'react';
|
|
4
3
|
import PropTypes from 'prop-types';
|
|
5
4
|
import classNames from 'classnames';
|
|
@@ -7,7 +6,6 @@ import Popup from '../popup/popup.js';
|
|
|
7
6
|
import { Listeners } from '../global/dom.js';
|
|
8
7
|
import joinDataTestAttributes from '../global/data-tests.js';
|
|
9
8
|
import scheduleRAF from '../global/schedule-raf.js';
|
|
10
|
-
import 'core-js/modules/es.string.replace.js';
|
|
11
9
|
import 'react-dom';
|
|
12
10
|
import '../global/get-uid.js';
|
|
13
11
|
import '../shortcuts/shortcuts.js';
|
|
@@ -3,10 +3,8 @@ import { createElement } from 'react';
|
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import { render } from '../global/react-render-adapter.js';
|
|
5
5
|
import Popup from '../popup/popup.js';
|
|
6
|
-
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
7
6
|
import 'react-dom';
|
|
8
7
|
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
9
|
-
import 'core-js/modules/es.string.replace.js';
|
|
10
8
|
import 'prop-types';
|
|
11
9
|
import '../global/get-uid.js';
|
|
12
10
|
import '../global/schedule-raf.js';
|