@jetbrains/ring-ui 5.0.0-beta.7 → 5.0.1
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/CHANGELOG.md +13 -0
- package/components/alert/alert.css +2 -1
- package/components/alert-service/alert-service.js +1 -1
- package/components/analytics/analytics__ga-plugin.d.ts +1 -1
- package/components/analytics/analytics__ga-plugin.js +12 -3
- package/components/auth/auth__core.js +5 -1
- package/components/auth-dialog-service/auth-dialog-service.js +1 -1
- package/components/avatar/avatar.d.ts +1 -0
- package/components/avatar/fallback-avatar.js +2 -2
- package/components/button/button.css +4 -4
- package/components/button/button.d.ts +2 -1
- package/components/button-group/button-group.css +4 -2
- package/components/checkbox/checkbox.css +8 -12
- package/components/checkbox/checkbox.js +1 -1
- package/components/checkbox-ng/checkbox-ng.js +1 -1
- package/components/confirm-service/confirm-service.js +1 -1
- package/components/data-list/data-list.d.ts +4 -8
- package/components/date-picker/date-picker.css +1 -0
- package/components/date-picker/date-popup.js +0 -1
- package/components/dialog/dialog.d.ts +1 -1
- package/components/dropdown/dropdown.d.ts +2 -2
- package/components/global/angular-component-factory.js +1 -1
- package/components/global/promise-with-timeout.d.ts +2 -1
- package/components/global/promise-with-timeout.js +5 -2
- package/components/global/react-render-adapter.d.ts +29 -0
- package/components/global/react-render-adapter.js +36 -0
- package/components/global/rerender-hoc.d.ts +5 -9
- package/components/global/rerender-hoc.js +4 -2
- package/components/global/theme.js +11 -4
- package/components/global/variables.css +0 -1
- package/components/global/variables.d.ts +0 -1
- package/components/global/variables_dark.css +1 -2
- package/components/header/header.css +2 -2
- package/components/header/profile.d.ts +3 -3
- package/components/input/input.css +9 -2
- package/components/input/input.d.ts +3 -1
- package/components/input/input.js +1 -1
- package/components/island/adaptive-island-hoc.d.ts +4 -8
- package/components/island/content.d.ts +33 -2
- package/components/island/content.js +5 -4
- package/components/island/island.d.ts +4 -8
- package/components/link/clickableLink.d.ts +1 -1
- package/components/link/link.css +0 -2
- package/components/link/link.d.ts +14 -22
- package/components/link/link.js +2 -2
- package/components/list/consts.d.ts +3 -1
- package/components/list/list.css +1 -0
- package/components/list/list.d.ts +2 -0
- package/components/list/list.js +12 -13
- package/components/list/list__link.js +2 -2
- package/components/login-dialog/service.js +1 -1
- package/components/message/message.css +12 -26
- package/components/message/message.js +27 -14
- package/components/popup/popup.d.ts +7 -1
- package/components/popup/popup.js +4 -3
- package/components/popup/popup.target.d.ts +1 -1
- package/components/popup/position.d.ts +1 -1
- package/components/popup/position.js +2 -2
- package/components/popup-menu/popup-menu.d.ts +1 -0
- package/components/query-assist/query-assist.d.ts +5 -9
- package/components/query-assist/query-assist.js +2 -2
- package/components/radio/radio.d.ts +1 -1
- package/components/select/select-popup.css +5 -1
- package/components/select/select.css +4 -1
- package/components/select/select.d.ts +12 -14
- package/components/select/select.js +20 -17
- package/components/select/select__popup.d.ts +4 -1
- package/components/select/select__popup.js +4 -3
- package/components/select-ng/select-ng.js +16 -5
- package/components/select-ng/select-ng__lazy.js +19 -8
- package/components/select-ng/select-ng__lazy.test.js +3 -1
- package/components/shortcuts/shortcuts-hoc.d.ts +4 -8
- package/components/shortcuts/shortcuts.d.ts +1 -1
- package/components/tab-trap/tab-trap.d.ts +1 -1
- package/components/table/disable-hover-hoc.d.ts +4 -8
- package/components/table/header.d.ts +8 -1
- package/components/table/row-with-focus-sensor.d.ts +4 -4
- package/components/table/row-with-focus-sensor.js +4 -4
- package/components/table/row.d.ts +1 -0
- package/components/table/smart-table.d.ts +1 -0
- package/components/table/smart-table.js +7 -3
- package/components/table/table.d.ts +4 -8
- package/components/tabs/collapsible-more.js +2 -2
- package/components/tabs/collapsible-tabs.d.ts +2 -2
- package/components/tabs/collapsible-tabs.js +1 -1
- package/components/tabs/custom-item.d.ts +1 -1
- package/components/tabs/dumb-tabs.d.ts +2 -2
- package/components/tabs/smart-tabs.d.ts +4 -4
- package/components/tabs/smart-tabs.js +9 -3
- package/components/tabs/tab-link.d.ts +1 -1
- package/components/tabs/tab.d.ts +1 -1
- package/components/tabs/tabs.css +10 -1
- package/components/tag/tag.css +1 -1
- package/components/tag/tag.js +1 -2
- package/components/tags-input/tags-input.d.ts +4 -8
- package/components/tags-list/tags-list.d.ts +1 -1
- package/components/tooltip-ng/tooltip-ng.js +13 -10
- package/components/user-agreement/service.d.ts +14 -62
- package/components/user-agreement/service.js +1 -1
- package/dist/_helpers/anchor.js +1 -1
- package/dist/_helpers/badge.js +1 -1
- package/dist/_helpers/button-group.js +1 -1
- package/dist/_helpers/button-set.js +1 -1
- package/dist/_helpers/button-toolbar.js +1 -1
- package/dist/_helpers/button__classes.js +2 -2
- package/dist/_helpers/card.js +1 -1
- package/dist/_helpers/checkbox.js +1 -1
- package/dist/_helpers/date-picker.js +1 -1
- package/dist/_helpers/dialog__body-scroll-preventer.js +3 -2
- package/dist/_helpers/error-message.js +1 -1
- package/dist/_helpers/footer.js +1 -1
- package/dist/_helpers/grid.js +1 -1
- package/dist/_helpers/group.js +1 -1
- package/dist/_helpers/header.js +1 -1
- package/dist/_helpers/icon.js +1 -1
- package/dist/_helpers/input.js +1 -1
- package/dist/_helpers/island.js +1 -1
- package/dist/_helpers/link.js +1 -1
- package/dist/_helpers/list.js +1 -1
- package/dist/_helpers/loader-inline.js +1 -1
- package/dist/_helpers/loader-screen.js +1 -1
- package/dist/_helpers/panel.js +1 -1
- package/dist/_helpers/query-assist__suggestions.js +1 -1
- package/dist/_helpers/radio.js +1 -1
- package/dist/_helpers/select__filter.js +2 -1
- package/dist/_helpers/services-link.js +2 -2
- package/dist/_helpers/sidebar.js +3 -2
- package/dist/_helpers/table.js +1 -1
- package/dist/_helpers/tabs.js +1 -1
- package/dist/_helpers/theme.js +12 -7
- package/dist/_helpers/title.js +2 -1
- package/dist/alert/alert.js +15 -3
- package/dist/alert/container.js +1 -1
- package/dist/alert-service/alert-service.js +14 -1
- package/dist/analytics/analytics.js +4 -3
- package/dist/analytics/analytics__custom-plugin.js +2 -1
- package/dist/analytics/analytics__fus-plugin.js +1 -0
- package/dist/analytics/analytics__ga-plugin.d.ts +1 -1
- package/dist/analytics/analytics__ga-plugin.js +16 -7
- package/dist/analytics/analytics__plugin-utils.js +4 -3
- package/dist/analytics-ng/analytics-ng.js +3 -2
- package/dist/auth/auth.js +13 -0
- package/dist/auth/auth__core.js +29 -12
- package/dist/auth/background-flow.js +2 -1
- package/dist/auth/down-notification.js +14 -1
- package/dist/auth/iframe-flow.js +3 -0
- package/dist/auth/landing.js +17 -4
- package/dist/auth/request-builder.js +1 -0
- package/dist/auth/response-parser.js +1 -0
- package/dist/auth/storage.js +13 -0
- package/dist/auth/token-validator.js +2 -0
- package/dist/auth/window-flow.js +2 -1
- package/dist/auth-dialog/auth-dialog.js +4 -2
- package/dist/auth-dialog-service/auth-dialog-service.js +4 -1
- package/dist/auth-ng/auth-ng.js +14 -1
- package/dist/autofocus-ng/autofocus-ng.js +1 -0
- package/dist/avatar/avatar-example-datauri.js +1 -23
- package/dist/avatar/avatar.d.ts +1 -0
- package/dist/avatar/avatar.js +5 -3
- package/dist/avatar/fallback-avatar.js +6 -5
- package/dist/avatar-editor-ng/avatar-editor-ng.js +13 -0
- package/dist/avatar-editor-ng/avatar-editor-ng__template.js +1 -28
- package/dist/avatar-ng/avatar-ng.js +3 -0
- package/dist/badge/badge.js +1 -0
- package/dist/badge-ng/badge-ng.js +2 -0
- package/dist/breadcrumb-ng/breadcrumb-ng.js +4 -28
- package/dist/button/button.d.ts +2 -1
- package/dist/button/button.js +2 -0
- package/dist/button-group-ng/button-group-ng.js +2 -1
- package/dist/button-ng/button-ng.js +5 -11
- package/dist/button-set-ng/button-set-ng.js +1 -1
- package/dist/button-toolbar-ng/button-toolbar-ng.js +1 -0
- package/dist/caret/caret.js +2 -0
- package/dist/checkbox/checkbox.js +3 -1
- package/dist/checkbox-ng/checkbox-ng.js +4 -21
- package/dist/code/code.js +4 -3
- package/dist/confirm/confirm.js +3 -1
- package/dist/confirm-ng/confirm-ng.js +3 -0
- package/dist/confirm-service/confirm-service.js +4 -1
- package/dist/content-layout/content-layout.js +1 -0
- package/dist/content-layout/sidebar.js +1 -0
- package/dist/data-list/data-list.d.ts +4 -8
- package/dist/data-list/data-list.js +3 -1
- package/dist/data-list/data-list.mock.js +1 -0
- package/dist/data-list/item.js +3 -1
- package/dist/data-list/selection.js +1 -0
- package/dist/data-list/title.js +3 -1
- package/dist/data-list-ng/data-list-ng.js +4 -1
- package/dist/date-picker/consts.js +1 -1
- package/dist/date-picker/date-input.js +4 -2
- package/dist/date-picker/date-picker.js +10 -8
- package/dist/date-picker/date-popup.js +4 -3
- package/dist/date-picker/day.js +1 -0
- package/dist/date-picker/month-names.js +1 -0
- package/dist/date-picker/month-slider.js +1 -0
- package/dist/date-picker/month.js +1 -0
- package/dist/date-picker/months.js +1 -0
- package/dist/date-picker/years.js +1 -0
- package/dist/dialog/dialog.d.ts +1 -1
- package/dist/dialog/dialog.js +2 -0
- package/dist/dialog/dialog__body-scroll-preventer.js +1 -0
- package/dist/dialog-ng/dialog-ng.js +7 -4
- package/dist/dialog-ng/dialog-ng__template.js +1 -70
- package/dist/docked-panel-ng/docked-panel-ng.js +2 -1
- package/dist/dropdown/anchor.js +2 -0
- package/dist/dropdown/dropdown.d.ts +2 -2
- package/dist/dropdown/dropdown.js +2 -0
- package/dist/dropdown-menu/dropdown-menu.js +4 -2
- package/dist/error-bubble/error-bubble.js +3 -1
- package/dist/error-message/error-message.js +3 -1
- package/dist/error-message-ng/error-message-ng.js +3 -21
- package/dist/footer/footer.js +1 -0
- package/dist/footer-ng/footer-ng.js +3 -14
- package/dist/form-ng/form-ng.js +2 -4
- package/dist/global/angular-component-factory.js +8 -6
- package/dist/global/create-stateful-context.js +3 -2
- package/dist/global/data-tests.js +2 -0
- package/dist/global/dom.js +1 -0
- package/dist/global/focus-sensor-hoc.js +1 -0
- package/dist/global/fuzzy-highlight.js +1 -1
- package/dist/global/inject-styles.js +5 -7
- package/dist/global/listeners.js +1 -0
- package/dist/global/memoize.js +2 -0
- package/dist/global/normalize-indent.js +2 -0
- package/dist/global/promise-with-timeout.d.ts +2 -1
- package/dist/global/promise-with-timeout.js +6 -2
- package/dist/global/react-dom-renderer.js +1 -0
- package/dist/global/react-render-adapter.d.ts +29 -0
- package/dist/global/react-render-adapter.js +41 -0
- package/dist/global/rerender-hoc.d.ts +5 -9
- package/dist/global/rerender-hoc.js +7 -3
- package/dist/global/theme.js +15 -0
- package/dist/global/trivial-template-tag.js +2 -0
- package/dist/global/url.js +3 -1
- package/dist/global/variables.d.ts +0 -1
- package/dist/grid/col.js +2 -1
- package/dist/grid/grid.js +1 -0
- package/dist/grid/row.js +1 -1
- package/dist/group-ng/group-ng.js +1 -1
- package/dist/header/header.js +18 -14
- package/dist/header/logo.js +2 -0
- package/dist/header/profile.d.ts +3 -3
- package/dist/header/profile.js +3 -1
- package/dist/header/services-link.js +1 -0
- package/dist/header/services.js +2 -0
- package/dist/header/smart-profile.js +17 -13
- package/dist/header/smart-services.js +14 -11
- package/dist/header/tray-icon.js +2 -0
- package/dist/heading/heading.js +3 -3
- package/dist/http/http.js +4 -2
- package/dist/http/http.mock.js +2 -0
- package/dist/hub-source/hub-source.js +1 -1
- package/dist/hub-source/hub-source__user.js +4 -2
- package/dist/hub-source/hub-source__users-groups.js +3 -2
- package/dist/icon/icon.js +3 -3
- package/dist/icon/icon__svg.js +2 -0
- package/dist/icon/index.js +2 -0
- package/dist/icon-ng/icon-ng.js +7 -5
- package/dist/input/input.d.ts +3 -1
- package/dist/input/input.js +5 -3
- package/dist/input-ng/input-ng.js +6 -59
- package/dist/island/adaptive-island-hoc.d.ts +4 -8
- package/dist/island/adaptive-island-hoc.js +4 -3
- package/dist/island/content.d.ts +33 -2
- package/dist/island/content.js +8 -4
- package/dist/island/header.js +3 -2
- package/dist/island/island.d.ts +4 -8
- package/dist/island/island.js +1 -0
- package/dist/island-ng/island-content-ng.js +2 -16
- package/dist/island-ng/island-header-ng.js +2 -8
- package/dist/island-ng/island-ng-class-fixer.js +2 -0
- package/dist/island-ng/island-ng.js +2 -8
- package/dist/link/clickableLink.d.ts +1 -1
- package/dist/link/clickableLink.js +1 -0
- package/dist/link/link.d.ts +14 -22
- package/dist/link/link.js +5 -4
- package/dist/link-ng/link-ng.js +1 -4
- package/dist/list/consts.d.ts +3 -1
- package/dist/list/list.d.ts +2 -0
- package/dist/list/list.js +30 -23
- package/dist/list/list__custom.js +1 -0
- package/dist/list/list__item.js +6 -4
- package/dist/list/list__link.js +3 -1
- package/dist/list/list__users-groups-source.js +4 -2
- package/dist/loader/loader.js +1 -0
- package/dist/loader/loader__core.js +5 -4
- package/dist/loader-inline/loader-inline.js +1 -0
- package/dist/loader-inline-ng/loader-inline-ng.js +1 -1
- package/dist/loader-ng/loader-ng.js +1 -0
- package/dist/loader-screen/loader-screen.js +1 -0
- package/dist/loader-screen-ng/loader-screen-ng.js +2 -6
- package/dist/login-dialog/login-dialog.js +3 -1
- package/dist/login-dialog/service.js +4 -1
- package/dist/markdown/code.js +1 -0
- package/dist/markdown/link.js +1 -0
- package/dist/markdown/markdown.js +2 -1
- package/dist/message/message.js +39 -33
- package/dist/old-browsers-message/old-browsers-message.js +2 -1
- package/dist/old-browsers-message/old-browsers-message__stop.js +1 -0
- package/dist/old-browsers-message/white-list.js +1 -0
- package/dist/pager/pager.js +7 -4
- package/dist/pager-ng/pager-ng.js +5 -2
- package/dist/panel-ng/panel-ng.js +1 -0
- package/dist/permissions/permissions.js +1 -1
- package/dist/permissions-ng/permissions-ng.js +14 -1
- package/dist/place-under-ng/place-under-ng.js +3 -2
- package/dist/popup/popup.d.ts +7 -1
- package/dist/popup/popup.js +11 -7
- package/dist/popup/popup.target.d.ts +1 -1
- package/dist/popup/position.d.ts +1 -1
- package/dist/popup/position.js +3 -2
- package/dist/popup-menu/popup-menu.d.ts +1 -0
- package/dist/popup-menu/popup-menu.js +3 -1
- package/dist/progress-bar/progress-bar.js +3 -2
- package/dist/progress-bar-ng/progress-bar-ng.js +2 -0
- package/dist/promised-click-ng/promised-click-ng.js +2 -0
- package/dist/proxy-attrs/proxy-attrs.js +5 -3
- package/dist/query-assist/query-assist.d.ts +5 -9
- package/dist/query-assist/query-assist.js +9 -5
- package/dist/query-assist/query-assist__suggestions.js +3 -1
- package/dist/query-assist-ng/query-assist-ng.js +7 -3
- package/dist/radio/radio.d.ts +1 -1
- package/dist/radio/radio.js +1 -0
- package/dist/radio/radio__item.js +1 -0
- package/dist/radio-ng/radio-ng.js +2 -18
- package/dist/save-field-ng/save-field-ng.js +3 -1
- package/dist/save-field-ng/save-field-ng__template.js +1 -32
- package/dist/select/select.d.ts +12 -14
- package/dist/select/select.js +33 -22
- package/dist/select/select__filter.js +4 -2
- package/dist/select/select__popup.d.ts +4 -1
- package/dist/select/select__popup.js +9 -4
- package/dist/select-ng/select-ng.js +23 -8
- package/dist/select-ng/select-ng__lazy.js +30 -12
- package/dist/select-ng/select-ng__options.js +2 -2
- package/dist/shortcuts/shortcuts-hoc.d.ts +4 -8
- package/dist/shortcuts/shortcuts-hoc.js +4 -3
- package/dist/shortcuts/shortcuts.d.ts +1 -1
- package/dist/shortcuts-hint-ng/shortcuts-hint-ng.js +3 -0
- package/dist/shortcuts-hint-ng/shortcuts-hint-ng__template.js +1 -48
- package/dist/shortcuts-ng/shortcuts-ng.js +4 -3
- package/dist/sidebar-ng/sidebar-ng.js +2 -0
- package/dist/sidebar-ng/sidebar-ng__button-template.js +1 -18
- package/dist/sidebar-ng/sidebar-ng__template.js +1 -10
- package/dist/storage/storage.js +13 -0
- package/dist/storage/storage__fallback.js +4 -3
- package/dist/storage/storage__local.js +13 -0
- package/dist/style.css +1 -1
- package/dist/tab-trap/tab-trap.d.ts +1 -1
- package/dist/tab-trap/tab-trap.js +2 -1
- package/dist/table/cell.js +1 -0
- package/dist/table/disable-hover-hoc.d.ts +4 -8
- package/dist/table/disable-hover-hoc.js +4 -3
- package/dist/table/header-cell.js +2 -0
- package/dist/table/header.d.ts +8 -1
- package/dist/table/header.js +3 -1
- package/dist/table/multitable.js +1 -0
- package/dist/table/row-with-focus-sensor.d.ts +4 -4
- package/dist/table/row-with-focus-sensor.js +15 -5
- package/dist/table/row.d.ts +1 -0
- package/dist/table/row.js +4 -2
- package/dist/table/selection-adapter.js +2 -0
- package/dist/table/selection-shortcuts-hoc.js +1 -0
- package/dist/table/selection.js +1 -0
- package/dist/table/smart-table.d.ts +1 -0
- package/dist/table/smart-table.js +13 -7
- package/dist/table/table.d.ts +4 -8
- package/dist/table/table.js +3 -1
- package/dist/table-legacy-ng/table-legacy-ng.js +13 -47
- package/dist/table-legacy-ng/table-legacy-ng__pager.js +6 -9
- package/dist/table-legacy-ng/table-legacy-ng__toolbar.js +2 -1
- package/dist/table-ng/smart-table-ng.js +4 -1
- package/dist/table-ng/table-ng.js +4 -1
- package/dist/tabs/collapsible-more.js +4 -2
- package/dist/tabs/collapsible-tab.js +1 -0
- package/dist/tabs/collapsible-tabs.d.ts +2 -2
- package/dist/tabs/collapsible-tabs.js +3 -1
- package/dist/tabs/custom-item.d.ts +1 -1
- package/dist/tabs/dumb-tabs.d.ts +2 -2
- package/dist/tabs/dumb-tabs.js +3 -1
- package/dist/tabs/smart-tabs.d.ts +4 -4
- package/dist/tabs/smart-tabs.js +10 -6
- package/dist/tabs/tab-link.d.ts +1 -1
- package/dist/tabs/tab-link.js +1 -0
- package/dist/tabs/tab.d.ts +1 -1
- package/dist/tabs/tab.js +1 -0
- package/dist/tabs/tabs.js +3 -1
- package/dist/tabs-ng/tabs-ng.js +1 -0
- package/dist/tabs-ng/tabs-ng__template.js +1 -38
- package/dist/tag/tag.js +4 -3
- package/dist/tags-input/tags-input.d.ts +4 -8
- package/dist/tags-input/tags-input.js +6 -3
- package/dist/tags-input-ng/tags-input-ng.js +5 -2
- package/dist/tags-list/tags-list.d.ts +1 -1
- package/dist/tags-list/tags-list.js +3 -1
- package/dist/template-ng/template-ng.js +1 -0
- package/dist/text/text.js +1 -1
- package/dist/theme-ng/theme-ng.js +1 -0
- package/dist/toggle/toggle.js +2 -1
- package/dist/toggle-ng/toggle-ng.js +2 -0
- package/dist/tooltip/tooltip.js +3 -1
- package/dist/tooltip-ng/tooltip-ng.js +12 -6
- package/dist/user-agreement/service.d.ts +14 -62
- package/dist/user-agreement/service.js +14 -8
- package/dist/user-agreement/toolbox.eula.js +1 -160
- package/dist/user-agreement/user-agreement.js +3 -1
- package/dist/user-card/card.js +2 -0
- package/dist/user-card/smart-user-card-tooltip.js +2 -0
- package/dist/user-card/tooltip.js +2 -0
- package/dist/user-card/user-card.js +2 -0
- package/dist/user-card-ng/user-card-ng.js +3 -0
- package/package.json +74 -66
|
@@ -1,8 +1,10 @@
|
|
|
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';
|
|
4
5
|
import 'angular';
|
|
5
6
|
import 'react';
|
|
7
|
+
import '../global/react-render-adapter.js';
|
|
6
8
|
import 'react-dom';
|
|
7
9
|
import '../global/ring-angular-component.js';
|
|
8
10
|
import '../global/react-dom-renderer.js';
|
|
@@ -26,13 +28,14 @@ import '../table/selection.js';
|
|
|
26
28
|
import '../table/header.js';
|
|
27
29
|
import 'react-waypoint';
|
|
28
30
|
import '../checkbox/checkbox.js';
|
|
29
|
-
import '@jetbrains/icons/checkmark';
|
|
31
|
+
import '@jetbrains/icons/checkmark-14px';
|
|
30
32
|
import '@jetbrains/icons/remove-10px';
|
|
31
33
|
import '../icon/icon.js';
|
|
32
34
|
import 'util-deprecate';
|
|
33
35
|
import '../icon/icon__constants.js';
|
|
34
36
|
import '../_helpers/icon.js';
|
|
35
37
|
import '../icon/icon__svg.js';
|
|
38
|
+
import 'core-js/modules/es.string.replace.js';
|
|
36
39
|
import '../global/memoize.js';
|
|
37
40
|
import '../_helpers/checkbox.js';
|
|
38
41
|
import '../_helpers/table.js';
|
|
@@ -11,7 +11,9 @@ 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';
|
|
14
15
|
import '../popup/popup.js';
|
|
16
|
+
import 'core-js/modules/es.string.replace.js';
|
|
15
17
|
import 'react-dom';
|
|
16
18
|
import '../global/get-uid.js';
|
|
17
19
|
import '../global/schedule-raf.js';
|
|
@@ -44,7 +46,7 @@ import '../avatar/avatar.js';
|
|
|
44
46
|
import '../global/url.js';
|
|
45
47
|
import '../avatar/fallback-avatar.js';
|
|
46
48
|
import '../checkbox/checkbox.js';
|
|
47
|
-
import '@jetbrains/icons/checkmark';
|
|
49
|
+
import '@jetbrains/icons/checkmark-14px';
|
|
48
50
|
import '@jetbrains/icons/remove-10px';
|
|
49
51
|
import '../_helpers/checkbox.js';
|
|
50
52
|
import '../icon/icon__constants.js';
|
|
@@ -102,7 +104,7 @@ const MoreButton = /*#__PURE__*/React.memo(_ref2 => {
|
|
|
102
104
|
return;
|
|
103
105
|
}
|
|
104
106
|
|
|
105
|
-
const cb = onSelect(listItem.key);
|
|
107
|
+
const cb = onSelect(String(listItem.key));
|
|
106
108
|
cb();
|
|
107
109
|
}, [onSelect]);
|
|
108
110
|
const hasActiveChild = React.useMemo(() => items.some(item => item.props.alwaysHidden && item.props.id === selected), [items, selected]);
|
|
@@ -8,6 +8,7 @@ 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';
|
|
11
12
|
import '../global/data-tests.js';
|
|
12
13
|
import '../link/clickableLink.js';
|
|
13
14
|
import '../_helpers/link.js';
|
|
@@ -15,7 +15,7 @@ export interface CollapsibleTabsProps {
|
|
|
15
15
|
export declare const CollapsibleTabs: {
|
|
16
16
|
({ children, selected, onSelect, moreClassName, moreActiveClassName, morePopupClassName, morePopupBeforeEnd, morePopupItemClassName, initialVisibleItems }: CollapsibleTabsProps): JSX.Element;
|
|
17
17
|
propTypes: {
|
|
18
|
-
children: PropTypes.Validator<string | number | boolean |
|
|
18
|
+
children: PropTypes.Validator<string | number | boolean | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
|
|
19
19
|
selected: PropTypes.Requireable<string>;
|
|
20
20
|
onSelect: PropTypes.Validator<(...args: any[]) => any>;
|
|
21
21
|
moreClassName: PropTypes.Requireable<string>;
|
|
@@ -29,7 +29,7 @@ export declare const CollapsibleTabs: {
|
|
|
29
29
|
declare const _default: React.MemoExoticComponent<{
|
|
30
30
|
({ children, selected, onSelect, moreClassName, moreActiveClassName, morePopupClassName, morePopupBeforeEnd, morePopupItemClassName, initialVisibleItems }: CollapsibleTabsProps): JSX.Element;
|
|
31
31
|
propTypes: {
|
|
32
|
-
children: PropTypes.Validator<string | number | boolean |
|
|
32
|
+
children: PropTypes.Validator<string | number | boolean | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
|
|
33
33
|
selected: PropTypes.Requireable<string>;
|
|
34
34
|
onSelect: PropTypes.Validator<(...args: any[]) => any>;
|
|
35
35
|
moreClassName: PropTypes.Requireable<string>;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
2
|
+
import 'core-js/modules/es.string.replace.js';
|
|
1
3
|
import React from 'react';
|
|
2
4
|
import PropTypes from 'prop-types';
|
|
3
5
|
import classNames from 'classnames';
|
|
@@ -43,7 +45,7 @@ import '../avatar/avatar.js';
|
|
|
43
45
|
import '../global/url.js';
|
|
44
46
|
import '../avatar/fallback-avatar.js';
|
|
45
47
|
import '../checkbox/checkbox.js';
|
|
46
|
-
import '@jetbrains/icons/checkmark';
|
|
48
|
+
import '@jetbrains/icons/checkmark-14px';
|
|
47
49
|
import '@jetbrains/icons/remove-10px';
|
|
48
50
|
import '../icon/icon.js';
|
|
49
51
|
import '../icon/icon__constants.js';
|
|
@@ -4,6 +4,6 @@ import { TabProps } from './tab';
|
|
|
4
4
|
export declare const CustomItem: {
|
|
5
5
|
({ children }: TabProps): ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
6
6
|
propTypes: {
|
|
7
|
-
children: PropTypes.Validator<string | number | boolean |
|
|
7
|
+
children: PropTypes.Validator<string | number | boolean | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
|
|
8
8
|
};
|
|
9
9
|
};
|
package/dist/tabs/dumb-tabs.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { CollapsibleTabsProps } from './collapsible-tabs';
|
|
|
4
4
|
import { CustomItem } from './custom-item';
|
|
5
5
|
import { TabProps } from './tab';
|
|
6
6
|
export { CustomItem };
|
|
7
|
-
declare type Children = readonly Children[] | ReactElement<TabProps> | null | boolean;
|
|
7
|
+
export declare type Children = readonly (Children | null | boolean)[] | ReactElement<TabProps> | null | boolean;
|
|
8
8
|
export interface TabsProps extends Omit<CollapsibleTabsProps, 'onSelect' | 'children'> {
|
|
9
9
|
children: Children;
|
|
10
10
|
onSelect: (key: string) => void;
|
|
@@ -17,7 +17,7 @@ declare class Tabs extends PureComponent<TabsProps> {
|
|
|
17
17
|
selected: PropTypes.Requireable<string>;
|
|
18
18
|
className: PropTypes.Requireable<string>;
|
|
19
19
|
href: PropTypes.Requireable<string>;
|
|
20
|
-
children: PropTypes.Validator<string | number | boolean |
|
|
20
|
+
children: PropTypes.Validator<string | number | boolean | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
|
|
21
21
|
onSelect: PropTypes.Requireable<(...args: any[]) => any>;
|
|
22
22
|
'data-test': PropTypes.Requireable<string>;
|
|
23
23
|
autoCollapse: PropTypes.Requireable<boolean>;
|
package/dist/tabs/dumb-tabs.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { _ as _defineProperty, a as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
2
3
|
import React, { PureComponent } from 'react';
|
|
3
4
|
import PropTypes from 'prop-types';
|
|
4
5
|
import classNames from 'classnames';
|
|
@@ -13,6 +14,7 @@ import '../link/link.js';
|
|
|
13
14
|
import 'focus-visible';
|
|
14
15
|
import '../link/clickableLink.js';
|
|
15
16
|
import '../_helpers/link.js';
|
|
17
|
+
import 'core-js/modules/es.string.replace.js';
|
|
16
18
|
import 'fastdom';
|
|
17
19
|
import './collapsible-more.js';
|
|
18
20
|
import '@jetbrains/icons/chevron-10px';
|
|
@@ -46,7 +48,7 @@ import '../avatar/avatar.js';
|
|
|
46
48
|
import '../global/url.js';
|
|
47
49
|
import '../avatar/fallback-avatar.js';
|
|
48
50
|
import '../checkbox/checkbox.js';
|
|
49
|
-
import '@jetbrains/icons/checkmark';
|
|
51
|
+
import '@jetbrains/icons/checkmark-14px';
|
|
50
52
|
import '@jetbrains/icons/remove-10px';
|
|
51
53
|
import '../icon/icon.js';
|
|
52
54
|
import '../icon/icon__constants.js';
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { PureComponent
|
|
1
|
+
import { PureComponent } from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
import { TabsAttrs } from './dumb-tabs';
|
|
4
|
-
import { TabProps } from './tab';
|
|
3
|
+
import { TabsAttrs, Children } from './dumb-tabs';
|
|
5
4
|
export interface SmartTabsProps extends TabsAttrs {
|
|
6
|
-
children:
|
|
5
|
+
children: Children;
|
|
7
6
|
initSelected?: string | null | undefined;
|
|
8
7
|
}
|
|
9
8
|
export default class SmartTabs extends PureComponent<SmartTabsProps> {
|
|
@@ -12,6 +11,7 @@ export default class SmartTabs extends PureComponent<SmartTabsProps> {
|
|
|
12
11
|
initSelected: PropTypes.Requireable<string>;
|
|
13
12
|
'data-test': PropTypes.Requireable<string>;
|
|
14
13
|
};
|
|
14
|
+
constructor(props: SmartTabsProps);
|
|
15
15
|
state: {
|
|
16
16
|
selected: string;
|
|
17
17
|
};
|
package/dist/tabs/smart-tabs.js
CHANGED
|
@@ -3,6 +3,7 @@ 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';
|
|
6
7
|
import 'classnames';
|
|
7
8
|
import '../global/memoize.js';
|
|
8
9
|
import '../_helpers/tabs.js';
|
|
@@ -12,6 +13,7 @@ import 'focus-visible';
|
|
|
12
13
|
import '../link/clickableLink.js';
|
|
13
14
|
import '../_helpers/link.js';
|
|
14
15
|
import './collapsible-tabs.js';
|
|
16
|
+
import 'core-js/modules/es.string.replace.js';
|
|
15
17
|
import 'fastdom';
|
|
16
18
|
import './collapsible-more.js';
|
|
17
19
|
import '@jetbrains/icons/chevron-10px';
|
|
@@ -45,7 +47,7 @@ import '../avatar/avatar.js';
|
|
|
45
47
|
import '../global/url.js';
|
|
46
48
|
import '../avatar/fallback-avatar.js';
|
|
47
49
|
import '../checkbox/checkbox.js';
|
|
48
|
-
import '@jetbrains/icons/checkmark';
|
|
50
|
+
import '@jetbrains/icons/checkmark-14px';
|
|
49
51
|
import '@jetbrains/icons/remove-10px';
|
|
50
52
|
import '../icon/icon.js';
|
|
51
53
|
import '../icon/icon__constants.js';
|
|
@@ -68,16 +70,18 @@ import './collapsible-tab.js';
|
|
|
68
70
|
import './custom-item.js';
|
|
69
71
|
|
|
70
72
|
class SmartTabs extends PureComponent {
|
|
71
|
-
constructor() {
|
|
72
|
-
super(
|
|
73
|
+
constructor(props) {
|
|
74
|
+
super(props);
|
|
73
75
|
|
|
74
|
-
_defineProperty(this, "state",
|
|
75
|
-
selected: this.props.initSelected || this.props.children[0].props.id || '0'
|
|
76
|
-
});
|
|
76
|
+
_defineProperty(this, "state", void 0);
|
|
77
77
|
|
|
78
78
|
_defineProperty(this, "handleSelect", selected => this.setState({
|
|
79
79
|
selected
|
|
80
80
|
}));
|
|
81
|
+
|
|
82
|
+
this.state = {
|
|
83
|
+
selected: this.props.initSelected || Array.isArray(this.props.children) && this.props.children[0].props.id || '0'
|
|
84
|
+
};
|
|
81
85
|
}
|
|
82
86
|
|
|
83
87
|
render() {
|
package/dist/tabs/tab-link.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ declare namespace TabLink {
|
|
|
11
11
|
var propTypes: {
|
|
12
12
|
isSelected: PropTypes.Requireable<boolean>;
|
|
13
13
|
collapsed: PropTypes.Requireable<boolean>;
|
|
14
|
-
title: PropTypes.Requireable<string | number | boolean |
|
|
14
|
+
title: PropTypes.Requireable<string | number | boolean | PropTypes.ReactElementLike | PropTypes.ReactNodeArray | ((...args: any[]) => any)>;
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
17
|
declare const _default: React.MemoExoticComponent<typeof TabLink>;
|
package/dist/tabs/tab-link.js
CHANGED
|
@@ -6,6 +6,7 @@ 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';
|
|
9
10
|
import '../global/data-tests.js';
|
|
10
11
|
import '../link/clickableLink.js';
|
|
11
12
|
import '../_helpers/link.js';
|
package/dist/tabs/tab.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export interface TabProps {
|
|
|
17
17
|
}
|
|
18
18
|
export default class Tab extends PureComponent<TabProps> {
|
|
19
19
|
static propTypes: {
|
|
20
|
-
title: PropTypes.Validator<string | number | boolean |
|
|
20
|
+
title: PropTypes.Validator<string | number | boolean | PropTypes.ReactElementLike | PropTypes.ReactNodeArray | ((...args: any[]) => any)>;
|
|
21
21
|
id: PropTypes.Requireable<string>;
|
|
22
22
|
className: PropTypes.Requireable<string>;
|
|
23
23
|
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
package/dist/tabs/tab.js
CHANGED
|
@@ -4,6 +4,7 @@ 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';
|
|
7
8
|
|
|
8
9
|
class Tab extends PureComponent {
|
|
9
10
|
render() {
|
package/dist/tabs/tabs.js
CHANGED
|
@@ -4,6 +4,7 @@ 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';
|
|
7
8
|
import 'react';
|
|
8
9
|
import 'classnames';
|
|
9
10
|
import '../global/memoize.js';
|
|
@@ -15,6 +16,7 @@ import 'focus-visible';
|
|
|
15
16
|
import '../link/clickableLink.js';
|
|
16
17
|
import '../_helpers/link.js';
|
|
17
18
|
import './collapsible-tabs.js';
|
|
19
|
+
import 'core-js/modules/es.string.replace.js';
|
|
18
20
|
import 'fastdom';
|
|
19
21
|
import './collapsible-more.js';
|
|
20
22
|
import '@jetbrains/icons/chevron-10px';
|
|
@@ -48,7 +50,7 @@ import '../avatar/avatar.js';
|
|
|
48
50
|
import '../global/url.js';
|
|
49
51
|
import '../avatar/fallback-avatar.js';
|
|
50
52
|
import '../checkbox/checkbox.js';
|
|
51
|
-
import '@jetbrains/icons/checkmark';
|
|
53
|
+
import '@jetbrains/icons/checkmark-14px';
|
|
52
54
|
import '@jetbrains/icons/remove-10px';
|
|
53
55
|
import '../icon/icon.js';
|
|
54
56
|
import '../icon/icon__constants.js';
|
package/dist/tabs-ng/tabs-ng.js
CHANGED
|
@@ -1,40 +1,3 @@
|
|
|
1
|
-
var template =
|
|
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>`;
|
|
1
|
+
var template = "<div\n ng-class=\":: styles.tabs\"\n rg-shortcuts=\"ring-tabs\"\n shortcuts-map=\"keyMap\"\n shortcuts-focus=\"focus\"\n>\n <div\n ng-class=\":: [styles.titles, tabsClass]\"\n role=\"tablist\"\n >\n <button\n role=\"tab\"\n type=\"button\"\n ng-repeat=\"pane in panes | orderBy:'tabIndex'\"\n ng-click=\"control.select(pane)\"\n ng-attr-tabindex=\"{{(pane.selected || pane.ngDisabled) ? -1 : 0}}\"\n ng-disabled=\"pane.ngDisabled\"\n data-test=\"ring-tab\"\n ng-attr-data-test-active=\"{{pane.selected ? 'true' : 'false'}}\"\n ng-attr-class=\"{{ tabClass(pane) }}\"\n ><span\n ng-class=\":: styles.visible\">{{pane.title}}<span\n ng-class=\":: styles.tabCounter\"\n ng-show=\"pane.counter !== undefined\">{{ pane.counter }}</span\n ></span><!--\n hack for preserving constant tab width\n --><span ng-class=\":: styles.hidden\">{{pane.title}}<span\n ng-class=\":: styles.tabCounter\" ng-show=\"pane.counter !== undefined\">{{ pane.counter }}</span></span>\n <span ng-class=\":: styles.hiddenBold\">{{pane.title}}<span\n ng-class=\":: styles.tabCounter\" ng-show=\"pane.counter !== undefined\">{{ pane.counter }}</span></span>\n <span ng-class=\":: styles.hiddenRegular\">{{pane.title}}<span\n ng-class=\":: styles.tabCounter\" ng-show=\"pane.counter !== undefined\">{{ pane.counter }}</span></span>\n </button>\n </div>\n\n <div ng-transclude></div>\n\n</div>";
|
|
39
2
|
|
|
40
3
|
export { template as default };
|
package/dist/tag/tag.js
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { _ as _defineProperty, a as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
2
3
|
import React, { PureComponent } from 'react';
|
|
3
4
|
import PropTypes from 'prop-types';
|
|
4
5
|
import classNames from 'classnames';
|
|
5
|
-
import closeIcon from '@jetbrains/icons/close';
|
|
6
|
+
import closeIcon from '@jetbrains/icons/close-12px';
|
|
6
7
|
import Icon from '../icon/icon.js';
|
|
7
8
|
import { Button } from '../button/button.js';
|
|
8
9
|
import 'util-deprecate';
|
|
9
10
|
import '../icon/icon__constants.js';
|
|
10
11
|
import '../_helpers/icon.js';
|
|
11
12
|
import '../icon/icon__svg.js';
|
|
13
|
+
import 'core-js/modules/es.string.replace.js';
|
|
12
14
|
import '../global/memoize.js';
|
|
13
15
|
import 'focus-visible';
|
|
14
16
|
import '@jetbrains/icons/chevron-10px';
|
|
@@ -16,7 +18,7 @@ import '../link/clickableLink.js';
|
|
|
16
18
|
import '../global/controls-height.js';
|
|
17
19
|
import '../_helpers/button__classes.js';
|
|
18
20
|
|
|
19
|
-
var modules_2f9be069 = {"unit":"8px","max-height":"20px","tag":"
|
|
21
|
+
var modules_2f9be069 = {"unit":"8px","max-height":"20px","tag":"tag_rui_2f49 resetButton_rui_8bff","tagAngled":"tagAngled_rui_2f49","withRemove":"withRemove_rui_2f49","container":"container_rui_2f49","focused":"focused_rui_2f49","content":"content_rui_2f49 ellipsis_rui_8bff","disabled":"disabled_rui_2f49","remove":"remove_rui_2f49","removeIcon":"removeIcon_rui_2f49","icon":"icon_rui_2f49","avatarContainer":"avatarContainer_rui_2f49","customIcon":"customIcon_rui_2f49","avatarIcon":"avatarIcon_rui_2f49"};
|
|
20
22
|
|
|
21
23
|
/**
|
|
22
24
|
* @name Tag
|
|
@@ -47,7 +49,6 @@ class Tag extends PureComponent {
|
|
|
47
49
|
|
|
48
50
|
componentDidUpdate(prevProps) {
|
|
49
51
|
if (this.props.focused !== prevProps.focused) {
|
|
50
|
-
// eslint-disable-next-line react/no-did-update-set-state
|
|
51
52
|
this.setState({
|
|
52
53
|
focused: this.props.focused
|
|
53
54
|
});
|
|
@@ -120,18 +120,14 @@ export default class TagsInput extends PureComponent<TagsInputProps, TagsInputSt
|
|
|
120
120
|
}
|
|
121
121
|
export declare const RerenderableTagsInput: {
|
|
122
122
|
new (props: TagsInputProps): {
|
|
123
|
-
_propsCache:
|
|
124
|
-
|
|
125
|
-
}>;
|
|
126
|
-
rerender(props?: Partial<TagsInputProps>, callback?: (() => void) | undefined): void | Element | React.Component<TagsInputProps, any, any>;
|
|
123
|
+
_propsCache: TagsInputProps & React.RefAttributes<unknown>;
|
|
124
|
+
rerender(props?: Partial<TagsInputProps>, callback?: (() => void) | undefined): void;
|
|
127
125
|
node?: HTMLElement | null | undefined;
|
|
128
|
-
context:
|
|
126
|
+
context: unknown;
|
|
129
127
|
setState<K extends keyof TagsInputState>(state: TagsInputState | ((prevState: Readonly<TagsInputState>, props: Readonly<TagsInputProps>) => TagsInputState | Pick<TagsInputState, K> | null) | Pick<TagsInputState, K> | null, callback?: (() => void) | undefined): void;
|
|
130
128
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
131
129
|
render(): React.ReactNode;
|
|
132
|
-
readonly props: Readonly<TagsInputProps
|
|
133
|
-
children?: React.ReactNode;
|
|
134
|
-
}>;
|
|
130
|
+
readonly props: Readonly<TagsInputProps>;
|
|
135
131
|
state: Readonly<TagsInputState>;
|
|
136
132
|
refs: {
|
|
137
133
|
[key: string]: React.ReactInstance;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
2
3
|
import React, { Component, PureComponent } from 'react';
|
|
3
4
|
import PropTypes from 'prop-types';
|
|
4
5
|
import classNames from 'classnames';
|
|
@@ -8,8 +9,9 @@ import TagsList from '../tags-list/tags-list.js';
|
|
|
8
9
|
import Caret from '../caret/caret.js';
|
|
9
10
|
import memoize from '../global/memoize.js';
|
|
10
11
|
import rerenderHOC from '../global/rerender-hoc.js';
|
|
12
|
+
import 'core-js/modules/es.string.replace.js';
|
|
11
13
|
import '@jetbrains/icons/chevron-down';
|
|
12
|
-
import '@jetbrains/icons/close';
|
|
14
|
+
import '@jetbrains/icons/close-12px';
|
|
13
15
|
import 'deep-equal';
|
|
14
16
|
import '../dropdown/dropdown.js';
|
|
15
17
|
import '../global/data-tests.js';
|
|
@@ -56,7 +58,7 @@ import '../_helpers/link.js';
|
|
|
56
58
|
import '../_helpers/list.js';
|
|
57
59
|
import '../list/list__item.js';
|
|
58
60
|
import '../checkbox/checkbox.js';
|
|
59
|
-
import '@jetbrains/icons/checkmark';
|
|
61
|
+
import '@jetbrains/icons/checkmark-14px';
|
|
60
62
|
import '@jetbrains/icons/remove-10px';
|
|
61
63
|
import '../_helpers/checkbox.js';
|
|
62
64
|
import '../list/list__custom.js';
|
|
@@ -77,8 +79,9 @@ import '../shortcuts/shortcuts-hoc.js';
|
|
|
77
79
|
import '../text/text.js';
|
|
78
80
|
import '../_helpers/select__filter.js';
|
|
79
81
|
import '../tag/tag.js';
|
|
82
|
+
import '../global/react-render-adapter.js';
|
|
80
83
|
|
|
81
|
-
var modules_5aa8aaf3 = {"outerContainer":"
|
|
84
|
+
var modules_5aa8aaf3 = {"outerContainer":"outerContainer_rui_e356","container":"container_rui_e356","input":"input_rui_e356","tagsInput":"tagsInput_rui_1a67","tagsInputLegacyMode":"tagsInputLegacyMode_rui_1a67","tagsList":"tagsList_rui_1a67","tag":"tag_rui_1a67","tagsInputDisabled":"tagsInputDisabled_rui_1a67","underline":"underline_rui_1a67","tagsInputFocused":"tagsInputFocused_rui_1a67","tagsSelect":"tagsSelect_rui_1a67","focusUnderline":"focusUnderline_rui_1a67"};
|
|
82
85
|
|
|
83
86
|
function noop() {}
|
|
84
87
|
/**
|
|
@@ -1,8 +1,10 @@
|
|
|
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';
|
|
4
5
|
import 'angular';
|
|
5
6
|
import 'react';
|
|
7
|
+
import '../global/react-render-adapter.js';
|
|
6
8
|
import 'react-dom';
|
|
7
9
|
import '../global/ring-angular-component.js';
|
|
8
10
|
import '../global/react-dom-renderer.js';
|
|
@@ -10,8 +12,9 @@ import 'prop-types';
|
|
|
10
12
|
import 'classnames';
|
|
11
13
|
import '../global/get-event-key.js';
|
|
12
14
|
import '../select/select.js';
|
|
15
|
+
import 'core-js/modules/es.string.replace.js';
|
|
13
16
|
import '@jetbrains/icons/chevron-down';
|
|
14
|
-
import '@jetbrains/icons/close';
|
|
17
|
+
import '@jetbrains/icons/close-12px';
|
|
15
18
|
import 'deep-equal';
|
|
16
19
|
import '../dropdown/dropdown.js';
|
|
17
20
|
import '../global/data-tests.js';
|
|
@@ -58,7 +61,7 @@ import '../_helpers/link.js';
|
|
|
58
61
|
import '../_helpers/list.js';
|
|
59
62
|
import '../list/list__item.js';
|
|
60
63
|
import '../checkbox/checkbox.js';
|
|
61
|
-
import '@jetbrains/icons/checkmark';
|
|
64
|
+
import '@jetbrains/icons/checkmark-14px';
|
|
62
65
|
import '@jetbrains/icons/remove-10px';
|
|
63
66
|
import '../_helpers/checkbox.js';
|
|
64
67
|
import '../list/list__custom.js';
|
|
@@ -2,7 +2,7 @@ import React, { Component, ComponentType, HTMLAttributes, ReactNode } from 'reac
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { TagAttrs } from '../tag/tag';
|
|
4
4
|
declare function noop(): void;
|
|
5
|
-
export interface TagType extends Omit<TagAttrs, 'onClick'> {
|
|
5
|
+
export interface TagType extends Omit<TagAttrs, 'onClick' | 'children'> {
|
|
6
6
|
label?: ReactNode;
|
|
7
7
|
key?: string | number | null | undefined;
|
|
8
8
|
}
|
|
@@ -3,12 +3,14 @@ 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 '
|
|
6
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
7
|
+
import '@jetbrains/icons/close-12px';
|
|
7
8
|
import '../icon/icon.js';
|
|
8
9
|
import 'util-deprecate';
|
|
9
10
|
import '../icon/icon__constants.js';
|
|
10
11
|
import '../_helpers/icon.js';
|
|
11
12
|
import '../icon/icon__svg.js';
|
|
13
|
+
import 'core-js/modules/es.string.replace.js';
|
|
12
14
|
import '../global/memoize.js';
|
|
13
15
|
import '../button/button.js';
|
|
14
16
|
import 'focus-visible';
|
package/dist/text/text.js
CHANGED
|
@@ -3,7 +3,7 @@ import React, { Component } from 'react';
|
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import classNames from 'classnames';
|
|
5
5
|
|
|
6
|
-
var modules_78d1bce6 = {"text":"
|
|
6
|
+
var modules_78d1bce6 = {"text":"text_rui_6f30","info":"info_rui_6f30"};
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @name Text
|
package/dist/toggle/toggle.js
CHANGED
|
@@ -3,8 +3,9 @@ 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';
|
|
6
7
|
|
|
7
|
-
var modules_331c5aa7 = {"unit":"8px","padding":"2px","disabled-line-color":"
|
|
8
|
+
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"};
|
|
8
9
|
|
|
9
10
|
const Size = {
|
|
10
11
|
Size14: modules_331c5aa7.size14,
|
|
@@ -1,8 +1,10 @@
|
|
|
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';
|
|
4
5
|
import 'angular';
|
|
5
6
|
import 'react';
|
|
7
|
+
import '../global/react-render-adapter.js';
|
|
6
8
|
import 'react-dom';
|
|
7
9
|
import '../global/ring-angular-component.js';
|
|
8
10
|
import '../global/react-dom-renderer.js';
|
package/dist/tooltip/tooltip.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { _ as _defineProperty, a as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
2
3
|
import React, { Component, createContext } from 'react';
|
|
3
4
|
import PropTypes from 'prop-types';
|
|
4
5
|
import classNames from 'classnames';
|
|
@@ -6,6 +7,7 @@ import Popup from '../popup/popup.js';
|
|
|
6
7
|
import { Listeners } from '../global/dom.js';
|
|
7
8
|
import joinDataTestAttributes from '../global/data-tests.js';
|
|
8
9
|
import scheduleRAF from '../global/schedule-raf.js';
|
|
10
|
+
import 'core-js/modules/es.string.replace.js';
|
|
9
11
|
import 'react-dom';
|
|
10
12
|
import '../global/get-uid.js';
|
|
11
13
|
import '../shortcuts/shortcuts.js';
|
|
@@ -18,7 +20,7 @@ import '../popup/position.js';
|
|
|
18
20
|
import '../popup/popup.consts.js';
|
|
19
21
|
import '../popup/popup.target.js';
|
|
20
22
|
|
|
21
|
-
var modules_cd5e45a9 = {"unit":"8px","tooltip":"
|
|
23
|
+
var modules_cd5e45a9 = {"unit":"8px","tooltip":"tooltip_rui_64ba","long":"long_rui_64ba"};
|
|
22
24
|
|
|
23
25
|
const scheduleScroll = scheduleRAF();
|
|
24
26
|
const TooltipContext = /*#__PURE__*/createContext(undefined);
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import angular from 'angular';
|
|
2
2
|
import { createElement } from 'react';
|
|
3
|
-
import { render } from 'react-dom';
|
|
4
3
|
import classNames from 'classnames';
|
|
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
|
+
import 'react-dom';
|
|
6
8
|
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
9
|
+
import 'core-js/modules/es.string.replace.js';
|
|
7
10
|
import 'prop-types';
|
|
8
11
|
import '../global/get-uid.js';
|
|
9
12
|
import '../global/schedule-raf.js';
|
|
@@ -63,11 +66,14 @@ name.factory('RgTooltipPopup', function RgTooltipPopupDirective() {
|
|
|
63
66
|
trapFocus: false
|
|
64
67
|
};
|
|
65
68
|
|
|
66
|
-
this.renderPopup = props => {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
this.renderPopup = props => render( /*#__PURE__*/createElement(Popup, { ...this.defaultProps,
|
|
70
|
+
...props,
|
|
71
|
+
ref: instance => {
|
|
72
|
+
if (instance != null) {
|
|
73
|
+
this.popup = instance;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}, this.text), this.wrapperElement);
|
|
71
77
|
|
|
72
78
|
this.displayTooltip = customClass => {
|
|
73
79
|
const text = textGetter();
|