@jetbrains/ring-ui 5.0.0-beta.2 → 5.0.0-beta.20
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 +61 -0
- package/babel.config.js +1 -12
- package/components/alert/alert.css +5 -15
- package/components/alert/alert.d.ts +3 -0
- package/components/alert/{alert.jsx → alert.js} +8 -7
- package/components/alert/container.css +0 -2
- package/components/alert/{container.jsx → container.js} +0 -0
- package/components/alert-service/alert-service.examples.css +5 -3
- package/components/alert-service/{alert-service.jsx → alert-service.js} +1 -1
- package/components/analytics/analytics__ga-plugin.d.ts +1 -1
- package/components/analytics/analytics__ga-plugin.js +11 -3
- package/components/auth/auth__core.d.ts +3 -1
- package/components/auth/auth__core.js +47 -16
- package/components/auth/down-notification.css +1 -1
- package/components/auth/{down-notification.jsx → down-notification.js} +0 -0
- package/components/auth/{iframe-flow.jsx → iframe-flow.js} +0 -0
- package/components/auth-dialog/auth-dialog.d.ts +11 -0
- package/components/auth-dialog/{auth-dialog.jsx → auth-dialog.js} +33 -2
- package/components/auth-dialog-service/{auth-dialog-service.jsx → auth-dialog-service.js} +1 -1
- package/components/autofocus-ng/autofocus-ng.js +1 -1
- package/components/autofocus-ng/autofocus-ng.test.js +1 -1
- package/components/avatar/{avatar-example-datauri.jsx → avatar-example-datauri.js} +0 -0
- package/components/avatar/{avatar.jsx → avatar.js} +0 -0
- package/components/avatar/{fallback-avatar.jsx → fallback-avatar.js} +2 -2
- package/components/badge/{badge.jsx → badge.js} +0 -0
- package/components/button/button.css +95 -206
- package/components/button/button.d.ts +8 -8
- package/components/button/{button.jsx → button.js} +6 -8
- package/components/button/button__classes.d.ts +1 -1
- package/components/button/button__classes.js +4 -7
- package/components/button-group/button-group.css +138 -19
- package/components/button-group/button-group.d.ts +4 -1
- package/components/button-group/{button-group.jsx → button-group.js} +3 -3
- package/components/button-group/{caption.jsx → caption.js} +0 -0
- package/components/button-group-ng/button-group-ng.css +1 -0
- package/components/button-group-ng/button-group-ng.examples.js +1 -1
- package/components/button-ng/button-ng.examples.js +6 -7
- package/components/button-ng/button-ng.js +6 -25
- package/components/button-set/button-set.css +1 -0
- package/components/button-set/{button-set.jsx → button-set.js} +0 -0
- package/components/button-toolbar/button-toolbar.css +2 -0
- package/components/button-toolbar/{button-toolbar.jsx → button-toolbar.js} +0 -0
- package/components/checkbox/checkbox.css +16 -13
- package/components/checkbox/{checkbox.jsx → checkbox.js} +1 -1
- package/components/checkbox-ng/checkbox-ng.js +1 -1
- package/components/code/{code.jsx → code.js} +0 -0
- package/components/confirm/{confirm.jsx → confirm.js} +0 -0
- package/components/confirm-service/{confirm-service.jsx → confirm-service.js} +1 -1
- package/components/content-layout/{content-layout.jsx → content-layout.js} +0 -0
- package/components/content-layout/{sidebar.jsx → sidebar.js} +0 -0
- package/components/contenteditable/{contenteditable.jsx → contenteditable.js} +0 -0
- package/components/data-list/data-list.d.ts +4 -8
- package/components/data-list/{data-list.jsx → data-list.js} +0 -0
- package/components/data-list/{data-list.mock.jsx → data-list.mock.js} +0 -0
- package/components/data-list/{item.jsx → item.js} +0 -0
- package/components/data-list/{title.jsx → title.js} +0 -0
- package/components/date-picker/{date-input.jsx → date-input.js} +2 -1
- package/components/date-picker/date-picker.css +3 -1
- package/components/date-picker/{date-picker.jsx → date-picker.js} +0 -0
- package/components/date-picker/{date-popup.jsx → date-popup.js} +0 -1
- package/components/date-picker/{day.jsx → day.js} +0 -0
- package/components/date-picker/{month-names.jsx → month-names.js} +0 -0
- package/components/date-picker/{month-slider.jsx → month-slider.js} +0 -0
- package/components/date-picker/{month.jsx → month.js} +0 -0
- package/components/date-picker/{months.jsx → months.js} +0 -0
- package/components/date-picker/{weekdays.jsx → weekdays.js} +0 -0
- package/components/date-picker/{years.jsx → years.js} +0 -0
- package/components/dialog/dialog.css +10 -3
- package/components/dialog/dialog.d.ts +1 -1
- package/components/dialog/{dialog.jsx → dialog.js} +0 -0
- package/components/dialog-ng/dialog-ng__template.js +1 -0
- package/components/dropdown/{anchor.jsx → anchor.js} +0 -0
- package/components/dropdown/dropdown.d.ts +2 -2
- package/components/dropdown/{dropdown.jsx → dropdown.js} +0 -0
- package/components/dropdown-menu/{dropdown-menu.jsx → dropdown-menu.js} +0 -0
- package/components/error-bubble/error-bubble-legacy.css +1 -1
- package/components/error-bubble/error-bubble.css +1 -1
- package/components/error-bubble/{error-bubble.jsx → error-bubble.js} +0 -0
- package/components/error-message/{error-message.jsx → error-message.js} +0 -0
- package/components/footer/{footer.jsx → footer.js} +0 -0
- package/components/global/angular-component-factory.js +1 -1
- package/components/global/controls-height.d.ts +7 -0
- package/components/global/controls-height.js +8 -0
- package/components/global/{create-stateful-context.jsx → create-stateful-context.js} +0 -0
- package/components/global/{focus-sensor-hoc.jsx → focus-sensor-hoc.js} +0 -0
- package/components/global/promise-with-timeout.d.ts +2 -1
- package/components/global/promise-with-timeout.js +5 -2
- package/components/global/{react-dom-renderer.jsx → react-dom-renderer.js} +0 -0
- 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.d.ts +7 -20
- package/components/global/theme.js +40 -0
- package/components/global/variables.css +30 -26
- package/components/global/variables.d.ts +10 -9
- package/components/global/variables_dark.css +67 -0
- package/components/grid/{col.jsx → col.js} +0 -0
- package/components/grid/{grid.jsx → grid.js} +0 -0
- package/components/grid/{row.jsx → row.js} +0 -0
- package/components/group/{group.jsx → group.js} +0 -0
- package/components/header/header.css +19 -10
- package/components/header/header.d.ts +7 -69
- package/components/header/{header.jsx → header.js} +10 -9
- package/components/header/{logo.jsx → logo.js} +0 -0
- package/components/header/profile.d.ts +3 -3
- package/components/header/{profile.jsx → profile.js} +0 -0
- package/components/header/{services-link.jsx → services-link.js} +0 -0
- package/components/header/services.css +3 -3
- package/components/header/services.d.ts +5 -0
- package/components/header/{services.jsx → services.js} +8 -2
- package/components/header/{smart-profile.jsx → smart-profile.js} +0 -0
- package/components/header/{smart-services.jsx → smart-services.js} +0 -0
- package/components/header/tray-icon.d.ts +18 -575
- package/components/header/{tray-icon.jsx → tray-icon.js} +0 -0
- package/components/header/{tray.jsx → tray.js} +0 -0
- package/components/heading/heading.css +4 -1
- package/components/heading/{heading.jsx → heading.js} +0 -0
- package/components/icon/icon.css +1 -1
- package/components/icon/{icon.jsx → icon.js} +0 -0
- package/components/icon/{icon__svg.jsx → icon__svg.js} +0 -0
- package/components/input/input.css +86 -149
- package/components/input/input.d.ts +13 -17
- package/components/input/{input.jsx → input.js} +29 -33
- package/components/input-ng/input-ng.examples.js +1 -1
- package/components/input-ng/input-ng.js +45 -49
- package/components/island/adaptive-island-hoc.d.ts +6 -10
- package/components/island/{adaptive-island-hoc.jsx → adaptive-island-hoc.js} +2 -2
- package/components/island/content.d.ts +33 -2
- package/components/island/{content.jsx → content.js} +7 -11
- package/components/island/{header.jsx → header.js} +7 -4
- package/components/island/island.css +8 -5
- package/components/island/island.d.ts +6 -10
- package/components/island/{island.jsx → island.js} +0 -0
- package/components/island-legacy/{content-legacy.jsx → content-legacy.js} +0 -0
- package/components/island-legacy/{header-legacy.jsx → header-legacy.js} +0 -0
- package/components/island-legacy/island-legacy.css +1 -1
- package/components/island-legacy/{island-legacy.jsx → island-legacy.js} +0 -0
- package/components/link/clickableLink.d.ts +1 -1
- package/components/link/{clickableLink.jsx → clickableLink.js} +0 -0
- package/components/link/link.css +0 -2
- package/components/link/link.d.ts +14 -22
- package/components/link/{link.jsx → link.js} +0 -0
- package/components/list/consts.d.ts +3 -1
- package/components/list/list.css +1 -0
- package/components/list/list.d.ts +3 -1
- package/components/list/{list.jsx → list.js} +12 -13
- package/components/list/{list__custom.jsx → list__custom.js} +0 -0
- package/components/list/{list__hint.jsx → list__hint.js} +0 -0
- package/components/list/{list__item.jsx → list__item.js} +0 -0
- package/components/list/{list__link.jsx → list__link.js} +0 -0
- package/components/list/{list__separator.jsx → list__separator.js} +0 -0
- package/components/list/{list__title.jsx → list__title.js} +0 -0
- package/components/loader/{loader.jsx → loader.js} +0 -0
- package/components/loader-inline/loader-inline.css +14 -0
- package/components/loader-inline/loader-inline.d.ts +4 -41
- package/components/loader-inline/{loader-inline.jsx → loader-inline.js} +3 -11
- package/components/loader-inline-ng/loader-inline-ng.js +1 -17
- package/components/loader-inline-ng/loader-inline-ng.test.js +0 -11
- package/components/loader-screen/{loader-screen.jsx → loader-screen.js} +0 -0
- package/components/login-dialog/{login-dialog.jsx → login-dialog.js} +0 -0
- package/components/login-dialog/{service.jsx → service.js} +1 -1
- package/components/markdown/code.d.ts +6 -13
- package/components/markdown/{code.jsx → code.js} +2 -2
- package/components/markdown/heading.d.ts +5 -9
- package/components/markdown/{heading.jsx → heading.js} +2 -2
- package/components/markdown/link.d.ts +4 -8
- package/components/markdown/{link.jsx → link.js} +1 -1
- package/components/markdown/markdown.d.ts +2 -3
- package/components/markdown/{markdown.jsx → markdown.js} +14 -11
- package/components/message/message.css +18 -28
- package/components/message/message.d.ts +3 -0
- package/components/message/{message.jsx → message.js} +42 -22
- package/components/pager/{pager.jsx → pager.js} +2 -8
- package/components/panel/{panel.jsx → panel.js} +0 -0
- package/components/popup/popup.css +1 -1
- package/components/popup/popup.d.ts +6 -1
- package/components/popup/{popup.jsx → popup.js} +4 -2
- package/components/popup/popup.target.d.ts +1 -0
- package/components/popup/{popup.target.jsx → popup.target.js} +0 -0
- 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/popup-menu/{popup-menu.jsx → popup-menu.js} +0 -0
- package/components/progress-bar/progress-bar.css +8 -12
- package/components/progress-bar/progress-bar.d.ts +0 -4
- package/components/progress-bar/{progress-bar.jsx → progress-bar.js} +1 -6
- package/components/progress-bar-ng/progress-bar-ng.examples.js +3 -2
- package/components/query-assist/query-assist.css +48 -64
- package/components/query-assist/query-assist.d.ts +4 -13
- package/components/query-assist/{query-assist.jsx → query-assist.js} +6 -12
- package/components/query-assist/{query-assist__suggestions.jsx → query-assist__suggestions.js} +0 -0
- package/components/radio/radio.css +10 -4
- package/components/radio/radio.d.ts +1 -1
- package/components/radio/{radio.jsx → radio.js} +0 -0
- package/components/radio/{radio__item.jsx → radio__item.js} +0 -0
- package/components/select/select-popup.css +5 -1
- package/components/select/select.css +23 -38
- package/components/select/select.d.ts +13 -18
- package/components/select/{select.jsx → select.js} +37 -47
- package/components/select/{select__filter.jsx → select__filter.js} +2 -1
- package/components/select/{select__popup.jsx → select__popup.js} +1 -2
- package/components/select-ng/select-ng.examples.js +1 -0
- package/components/select-ng/select-ng.js +19 -6
- package/components/select-ng/select-ng.test.js +1 -1
- package/components/select-ng/select-ng__lazy.js +13 -9
- package/components/select-ng/select-ng__lazy.test.js +3 -1
- package/components/shortcuts/shortcuts-hoc.d.ts +4 -8
- package/components/shortcuts/{shortcuts-hoc.jsx → shortcuts-hoc.js} +0 -0
- package/components/shortcuts/shortcuts.d.ts +1 -1
- package/components/shortcuts-hint-ng/shortcuts-hint-ng.css +1 -1
- package/components/shortcuts-hint-ng/shortcuts-hint-ng.examples.js +1 -1
- package/components/tab-trap/tab-trap.d.ts +1 -1
- package/components/tab-trap/{tab-trap.jsx → tab-trap.js} +0 -0
- package/components/table/{cell.jsx → cell.js} +0 -0
- package/components/table/disable-hover-hoc.d.ts +4 -8
- package/components/table/{disable-hover-hoc.jsx → disable-hover-hoc.js} +0 -0
- package/components/table/{header-cell.jsx → header-cell.js} +0 -0
- package/components/table/header.d.ts +8 -1
- package/components/table/{header.jsx → header.js} +0 -0
- package/components/table/{multitable.jsx → multitable.js} +0 -0
- package/components/table/{row-with-focus-sensor.jsx → row-with-focus-sensor.js} +0 -0
- package/components/table/{row.jsx → row.js} +0 -0
- package/components/table/{selection-shortcuts-hoc.jsx → selection-shortcuts-hoc.js} +0 -0
- package/components/table/smart-table.d.ts +1 -0
- package/components/table/{smart-table.jsx → smart-table.js} +7 -3
- package/components/table/table.d.ts +4 -8
- package/components/table/{table.jsx → table.js} +0 -0
- package/components/tabs/{collapsible-more.jsx → collapsible-more.js} +2 -2
- package/components/tabs/{collapsible-tab.jsx → collapsible-tab.js} +2 -2
- package/components/tabs/collapsible-tabs.d.ts +2 -2
- package/components/tabs/{collapsible-tabs.jsx → collapsible-tabs.js} +1 -1
- package/components/tabs/custom-item.d.ts +1 -1
- package/components/tabs/{custom-item.jsx → custom-item.js} +0 -0
- package/components/tabs/dumb-tabs.d.ts +5 -108
- package/components/tabs/{dumb-tabs.jsx → dumb-tabs.js} +5 -9
- package/components/tabs/{smart-tabs.jsx → smart-tabs.js} +0 -0
- package/components/tabs/tab-link.d.ts +1 -1
- package/components/tabs/{tab-link.jsx → tab-link.js} +0 -0
- package/components/tabs/tab.d.ts +3 -1
- package/components/tabs/{tab.jsx → tab.js} +0 -0
- package/components/tabs/tabs.css +17 -28
- package/components/tabs-ng/tabs-ng.examples.js +11 -3
- package/components/tabs-ng/tabs-ng.js +1 -4
- package/components/tabs-ng/tabs-ng__template.js +1 -1
- package/components/tag/tag.css +31 -8
- package/components/tag/tag.d.ts +1 -0
- package/components/tag/{tag.jsx → tag.js} +2 -2
- package/components/tags-input/tags-input.css +10 -4
- package/components/tags-input/tags-input.d.ts +4 -8
- package/components/tags-input/{tags-input.jsx → tags-input.js} +0 -0
- package/components/tags-list/tags-list.d.ts +1 -1
- package/components/tags-list/{tags-list.jsx → tags-list.js} +0 -0
- package/components/text/{text.jsx → text.js} +0 -0
- package/components/toggle/toggle.css +61 -35
- package/components/toggle/toggle.d.ts +9 -89
- package/components/toggle/{toggle.jsx → toggle.js} +7 -7
- package/components/tooltip/tooltip.css +7 -0
- package/components/tooltip/tooltip.d.ts +1 -0
- package/components/tooltip/{tooltip.jsx → tooltip.js} +3 -2
- package/components/tooltip-ng/tooltip-ng.js +13 -10
- package/components/user-agreement/service.d.ts +14 -62
- package/components/user-agreement/{service.jsx → service.js} +1 -1
- package/components/user-agreement/{user-agreement.jsx → user-agreement.js} +1 -1
- package/components/user-card/{card.jsx → card.js} +0 -0
- package/components/user-card/{smart-user-card-tooltip.jsx → smart-user-card-tooltip.js} +0 -0
- package/components/user-card/{tooltip.jsx → tooltip.js} +0 -0
- package/dist/_helpers/anchor.js +3 -3
- 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 +5 -8
- 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 +3 -0
- 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 +6 -3
- 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 +55 -0
- package/dist/_helpers/title.js +2 -1
- package/dist/alert/alert.d.ts +3 -0
- package/dist/alert/alert.js +35 -21
- package/dist/alert/container.js +1 -1
- package/dist/alert-service/alert-service.js +23 -8
- 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 +15 -7
- package/dist/analytics/analytics__plugin-utils.js +4 -3
- package/dist/analytics-ng/analytics-ng.js +3 -2
- package/dist/auth/auth.js +22 -9
- package/dist/auth/auth__core.d.ts +3 -1
- package/dist/auth/auth__core.js +87 -38
- package/dist/auth/background-flow.js +2 -1
- package/dist/auth/down-notification.js +21 -8
- package/dist/auth/iframe-flow.js +4 -1
- package/dist/auth/landing.js +26 -13
- package/dist/auth/request-builder.js +1 -0
- package/dist/auth/response-parser.js +1 -0
- package/dist/auth/storage.js +22 -7
- package/dist/auth/token-validator.js +2 -0
- package/dist/auth/window-flow.js +2 -1
- package/dist/auth-dialog/auth-dialog.d.ts +11 -0
- package/dist/auth-dialog/auth-dialog.js +55 -8
- package/dist/auth-dialog-service/auth-dialog-service.js +5 -2
- package/dist/auth-ng/auth-ng.js +23 -10
- package/dist/autofocus-ng/autofocus-ng.js +2 -1
- package/dist/avatar/avatar-example-datauri.js +1 -23
- package/dist/avatar/avatar.js +5 -3
- package/dist/avatar/fallback-avatar.js +6 -5
- package/dist/avatar-editor-ng/avatar-editor-ng.js +22 -7
- 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 +8 -8
- package/dist/button/button.js +8 -8
- package/dist/button/button__classes.d.ts +1 -1
- package/dist/button/button__classes.js +0 -3
- package/dist/button-group/button-group.d.ts +4 -1
- package/dist/button-group/button-group.js +5 -3
- package/dist/button-group-ng/button-group-ng.js +2 -1
- package/dist/button-ng/button-ng.js +9 -40
- 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 +7 -5
- package/dist/confirm-ng/confirm-ng.js +4 -1
- package/dist/confirm-service/confirm-service.js +5 -2
- 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 +5 -8
- package/dist/data-list/data-list.mock.js +1 -0
- package/dist/data-list/item.js +11 -14
- 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 +6 -8
- package/dist/date-picker/consts.js +1 -1
- package/dist/date-picker/date-input.js +8 -5
- package/dist/date-picker/date-picker.js +11 -9
- package/dist/date-picker/date-popup.js +5 -4
- 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 +5 -3
- package/dist/dialog/dialog__body-scroll-preventer.js +1 -0
- package/dist/dialog-ng/dialog-ng.js +9 -6
- package/dist/dialog-ng/dialog-ng__template.js +1 -69
- package/dist/docked-panel-ng/docked-panel-ng.js +2 -1
- package/dist/dropdown/anchor.js +3 -1
- package/dist/dropdown/dropdown.d.ts +2 -2
- package/dist/dropdown/dropdown.js +3 -1
- package/dist/dropdown-menu/dropdown-menu.js +5 -3
- 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/controls-height.d.ts +7 -0
- package/dist/global/controls-height.js +13 -0
- 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.d.ts +7 -20
- package/dist/global/theme.js +22 -62
- package/dist/global/trivial-template-tag.js +2 -0
- package/dist/global/url.js +3 -1
- package/dist/global/variables.d.ts +10 -9
- 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.d.ts +7 -69
- package/dist/header/header.js +31 -31
- package/dist/header/logo.js +2 -0
- package/dist/header/profile.d.ts +3 -3
- package/dist/header/profile.js +6 -4
- package/dist/header/services-link.js +1 -0
- package/dist/header/services.d.ts +5 -0
- package/dist/header/services.js +13 -3
- package/dist/header/smart-profile.js +27 -27
- package/dist/header/smart-services.js +23 -24
- package/dist/header/tray-icon.d.ts +18 -575
- package/dist/header/tray-icon.js +6 -4
- 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 +13 -17
- package/dist/input/input.js +35 -42
- package/dist/input-ng/input-ng.js +8 -64
- package/dist/island/adaptive-island-hoc.d.ts +6 -10
- package/dist/island/adaptive-island-hoc.js +8 -5
- package/dist/island/content.d.ts +33 -2
- package/dist/island/content.js +10 -13
- package/dist/island/header.js +10 -6
- package/dist/island/island.d.ts +6 -10
- 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 +4 -3
- package/dist/link-ng/link-ng.js +1 -4
- package/dist/list/consts.d.ts +3 -1
- package/dist/list/list.d.ts +3 -1
- 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 +1 -0
- 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.d.ts +4 -41
- package/dist/loader-inline/loader-inline.js +4 -21
- package/dist/loader-inline-ng/loader-inline-ng.js +2 -30
- 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 +4 -2
- package/dist/login-dialog/service.js +5 -2
- package/dist/markdown/code.d.ts +6 -13
- package/dist/markdown/code.js +4 -3
- package/dist/markdown/heading.d.ts +5 -9
- package/dist/markdown/heading.js +2 -2
- package/dist/markdown/link.d.ts +4 -8
- package/dist/markdown/link.js +2 -1
- package/dist/markdown/markdown.d.ts +2 -3
- package/dist/markdown/markdown.js +17 -16
- package/dist/message/message.d.ts +3 -0
- package/dist/message/message.js +56 -42
- 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 +14 -15
- package/dist/pager-ng/pager-ng.js +8 -9
- package/dist/panel-ng/panel-ng.js +1 -0
- package/dist/permissions/permissions.js +1 -1
- package/dist/permissions-ng/permissions-ng.js +23 -10
- package/dist/place-under-ng/place-under-ng.js +3 -2
- package/dist/popup/popup.d.ts +6 -1
- package/dist/popup/popup.js +11 -5
- package/dist/popup/popup.target.d.ts +1 -0
- 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.d.ts +0 -4
- package/dist/progress-bar/progress-bar.js +3 -8
- package/dist/progress-bar-ng/progress-bar-ng.js +2 -1
- package/dist/promised-click-ng/promised-click-ng.js +4 -2
- package/dist/proxy-attrs/proxy-attrs.js +5 -3
- package/dist/query-assist/query-assist.d.ts +4 -13
- package/dist/query-assist/query-assist.js +19 -31
- package/dist/query-assist/query-assist__suggestions.js +3 -1
- package/dist/query-assist-ng/query-assist-ng.js +9 -10
- 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 +5 -10
- package/dist/save-field-ng/save-field-ng__template.js +1 -32
- package/dist/select/select.d.ts +13 -18
- package/dist/select/select.js +65 -77
- package/dist/select/select__filter.js +5 -3
- package/dist/select/select__popup.js +12 -16
- package/dist/select-ng/select-ng.js +28 -17
- package/dist/select-ng/select-ng__lazy.js +24 -20
- 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 +5 -2
- 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 +4 -2
- 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 +22 -7
- package/dist/storage/storage__fallback.js +4 -3
- package/dist/storage/storage__local.js +22 -7
- 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.js +4 -2
- package/dist/table/row.js +9 -7
- 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 +14 -8
- package/dist/table/table.d.ts +4 -8
- package/dist/table/table.js +4 -2
- package/dist/table-legacy-ng/table-legacy-ng.js +16 -54
- package/dist/table-legacy-ng/table-legacy-ng__pager.js +9 -16
- package/dist/table-legacy-ng/table-legacy-ng__toolbar.js +2 -1
- package/dist/table-ng/smart-table-ng.js +5 -2
- package/dist/table-ng/table-ng.js +5 -2
- package/dist/tabs/collapsible-more.js +5 -3
- package/dist/tabs/collapsible-tab.js +4 -2
- package/dist/tabs/collapsible-tabs.d.ts +2 -2
- package/dist/tabs/collapsible-tabs.js +4 -2
- package/dist/tabs/custom-item.d.ts +1 -1
- package/dist/tabs/dumb-tabs.d.ts +5 -108
- package/dist/tabs/dumb-tabs.js +9 -13
- package/dist/tabs/smart-tabs.js +6 -4
- package/dist/tabs/tab-link.d.ts +1 -1
- package/dist/tabs/tab-link.js +1 -0
- package/dist/tabs/tab.d.ts +3 -1
- package/dist/tabs/tab.js +1 -0
- package/dist/tabs/tabs.js +4 -2
- package/dist/tabs-ng/tabs-ng.js +2 -6
- package/dist/tabs-ng/tabs-ng__template.js +1 -38
- package/dist/tag/tag.d.ts +1 -0
- package/dist/tag/tag.js +8 -6
- package/dist/tags-input/tags-input.d.ts +4 -8
- package/dist/tags-input/tags-input.js +10 -11
- package/dist/tags-input-ng/tags-input-ng.js +9 -10
- package/dist/tags-list/tags-list.d.ts +1 -1
- package/dist/tags-list/tags-list.js +4 -2
- 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.d.ts +9 -89
- package/dist/toggle/toggle.js +8 -8
- package/dist/toggle-ng/toggle-ng.js +4 -3
- package/dist/tooltip/tooltip.d.ts +1 -0
- package/dist/tooltip/tooltip.js +8 -3
- package/dist/tooltip-ng/tooltip-ng.js +12 -6
- package/dist/user-agreement/service.d.ts +14 -62
- package/dist/user-agreement/service.js +23 -21
- package/dist/user-agreement/toolbox.eula.js +1 -160
- package/dist/user-agreement/user-agreement.js +10 -10
- package/dist/user-card/card.js +2 -0
- package/dist/user-card/smart-user-card-tooltip.js +8 -11
- package/dist/user-card/tooltip.js +3 -1
- package/dist/user-card/user-card.js +4 -7
- package/dist/user-card-ng/user-card-ng.js +7 -9
- package/package.json +78 -69
- package/webpack.config.js +0 -11
- package/components/global/conic-gradient.d.ts +0 -796
- package/components/global/conic-gradient.js +0 -21
- package/components/global/radial-gradient-mask.d.ts +0 -9
- package/components/global/radial-gradient-mask.js +0 -39
- package/components/global/supports-css.d.ts +0 -2
- package/components/global/supports-css.js +0 -14
- package/components/global/theme.jsx +0 -39
- package/components/global/variables_dark.d.ts +0 -3
- package/components/global/variables_dark.js +0 -53
- package/components/loader-inline/inject-styles.d.ts +0 -2
- package/components/loader-inline/inject-styles.js +0 -17
- package/dist/_helpers/inject-styles.js +0 -22
- package/dist/global/conic-gradient.d.ts +0 -796
- package/dist/global/conic-gradient.js +0 -35
- package/dist/global/radial-gradient-mask.d.ts +0 -9
- package/dist/global/radial-gradient-mask.js +0 -49
- package/dist/global/supports-css.d.ts +0 -2
- package/dist/global/supports-css.js +0 -20
- package/dist/global/variables_dark.d.ts +0 -3
- package/dist/global/variables_dark.js +0 -57
- package/dist/loader-inline/inject-styles.d.ts +0 -2
- package/dist/loader-inline/inject-styles.js +0 -11
package/dist/markdown/code.d.ts
CHANGED
|
@@ -1,16 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
import { CodeProps } from 'react-markdown/lib/ast-to-react';
|
|
3
|
+
declare module 'react-markdown/lib/complex-types' {
|
|
4
|
+
interface ReactMarkdownProps {
|
|
5
|
+
language?: string;
|
|
6
|
+
}
|
|
7
7
|
}
|
|
8
|
-
declare const MarkdownCode: {
|
|
9
|
-
({ value, language, inline }: MarkdownCodeProps): JSX.Element;
|
|
10
|
-
propTypes: {
|
|
11
|
-
language: PropTypes.Requireable<string>;
|
|
12
|
-
value: PropTypes.Requireable<string>;
|
|
13
|
-
inline: PropTypes.Requireable<boolean>;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
8
|
+
declare const MarkdownCode: ({ children, language, inline }: CodeProps) => JSX.Element;
|
|
16
9
|
export default MarkdownCode;
|
package/dist/markdown/code.js
CHANGED
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import Code from '../code/code.js';
|
|
4
4
|
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
5
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
5
6
|
import 'classnames';
|
|
6
7
|
import 'highlight.js/lib/core';
|
|
7
8
|
import '../global/normalize-indent.js';
|
|
@@ -10,20 +11,20 @@ import '../global/memoize.js';
|
|
|
10
11
|
|
|
11
12
|
const MarkdownCode = _ref => {
|
|
12
13
|
let {
|
|
13
|
-
|
|
14
|
+
children,
|
|
14
15
|
language,
|
|
15
16
|
inline
|
|
16
17
|
} = _ref;
|
|
17
18
|
return /*#__PURE__*/React.createElement(Code, {
|
|
18
19
|
language: language,
|
|
19
|
-
code:
|
|
20
|
+
code: (children === null || children === void 0 ? void 0 : children.join('')) || '',
|
|
20
21
|
inline: inline
|
|
21
22
|
});
|
|
22
23
|
};
|
|
23
24
|
|
|
24
25
|
MarkdownCode.propTypes = {
|
|
25
26
|
language: PropTypes.string,
|
|
26
|
-
|
|
27
|
+
children: PropTypes.array.isRequired,
|
|
27
28
|
inline: PropTypes.bool
|
|
28
29
|
};
|
|
29
30
|
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
import {
|
|
4
|
-
export interface MarkdownHeadingProps {
|
|
5
|
-
level?: Levels | undefined;
|
|
6
|
-
children?: ReactNode;
|
|
7
|
-
}
|
|
3
|
+
import { HeadingProps } from 'react-markdown/lib/ast-to-react';
|
|
8
4
|
declare const MarkdownHeading: {
|
|
9
|
-
({ level, children }:
|
|
5
|
+
({ level, children }: HeadingProps): JSX.Element;
|
|
10
6
|
propTypes: {
|
|
11
|
-
level: PropTypes.
|
|
12
|
-
children: PropTypes.
|
|
7
|
+
level: PropTypes.Validator<number>;
|
|
8
|
+
children: PropTypes.Validator<any[]>;
|
|
13
9
|
};
|
|
14
10
|
};
|
|
15
11
|
export default MarkdownHeading;
|
package/dist/markdown/heading.js
CHANGED
|
@@ -16,8 +16,8 @@ const MarkdownHeading = _ref => {
|
|
|
16
16
|
};
|
|
17
17
|
|
|
18
18
|
MarkdownHeading.propTypes = {
|
|
19
|
-
level: PropTypes.number,
|
|
20
|
-
children: PropTypes.
|
|
19
|
+
level: PropTypes.number.isRequired,
|
|
20
|
+
children: PropTypes.array.isRequired
|
|
21
21
|
};
|
|
22
22
|
|
|
23
23
|
export { MarkdownHeading as default };
|
package/dist/markdown/link.d.ts
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
|
|
4
|
-
href?: string | undefined;
|
|
5
|
-
title?: string | undefined;
|
|
6
|
-
children?: ReactNode;
|
|
7
|
-
}
|
|
3
|
+
import { ReactMarkdownProps } from 'react-markdown/lib/complex-types';
|
|
8
4
|
declare const MarkdownLink: {
|
|
9
|
-
({ href, title, children }:
|
|
5
|
+
({ href, title, children }: JSX.IntrinsicElements['a'] & ReactMarkdownProps): JSX.Element;
|
|
10
6
|
propTypes: {
|
|
11
7
|
href: PropTypes.Requireable<string>;
|
|
12
8
|
title: PropTypes.Requireable<string>;
|
|
13
|
-
children: PropTypes.
|
|
9
|
+
children: PropTypes.Validator<any[]>;
|
|
14
10
|
};
|
|
15
11
|
};
|
|
16
12
|
export default MarkdownLink;
|
package/dist/markdown/link.js
CHANGED
|
@@ -5,6 +5,7 @@ import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
|
5
5
|
import 'focus-visible';
|
|
6
6
|
import 'classnames';
|
|
7
7
|
import '../global/memoize.js';
|
|
8
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
8
9
|
import '../global/data-tests.js';
|
|
9
10
|
import '../link/clickableLink.js';
|
|
10
11
|
import '../_helpers/link.js';
|
|
@@ -24,7 +25,7 @@ const MarkdownLink = _ref => {
|
|
|
24
25
|
MarkdownLink.propTypes = {
|
|
25
26
|
href: PropTypes.string,
|
|
26
27
|
title: PropTypes.string,
|
|
27
|
-
children: PropTypes.
|
|
28
|
+
children: PropTypes.array.isRequired
|
|
28
29
|
};
|
|
29
30
|
|
|
30
31
|
export { MarkdownLink as default };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { PureComponent } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { Options } from 'react-markdown';
|
|
3
3
|
export interface BaseMarkdownProps {
|
|
4
|
-
source: string;
|
|
5
4
|
inline?: boolean | null | undefined;
|
|
6
5
|
}
|
|
7
|
-
export declare type MarkdownProps =
|
|
6
|
+
export declare type MarkdownProps = Options & BaseMarkdownProps;
|
|
8
7
|
/**
|
|
9
8
|
* @name Markdown
|
|
10
9
|
*/
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { 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 ReactMarkdown from 'react-markdown';
|
|
@@ -21,7 +22,7 @@ import '../_helpers/link.js';
|
|
|
21
22
|
import '../heading/heading.js';
|
|
22
23
|
import 'util-deprecate';
|
|
23
24
|
|
|
24
|
-
var modules_9c709e64 = {"unit":"8px","p-margin":"10px","inline":"
|
|
25
|
+
var modules_9c709e64 = {"unit":"8px","p-margin":"10px","inline":"inline_rui_e3b3","markdown":"markdown_rui_e3b3 font_rui_8bff"};
|
|
25
26
|
|
|
26
27
|
/**
|
|
27
28
|
* @name Markdown
|
|
@@ -31,9 +32,9 @@ class Markdown extends PureComponent {
|
|
|
31
32
|
render() {
|
|
32
33
|
const {
|
|
33
34
|
className,
|
|
34
|
-
|
|
35
|
+
components,
|
|
35
36
|
inline,
|
|
36
|
-
|
|
37
|
+
children,
|
|
37
38
|
plugins = [],
|
|
38
39
|
...restProps
|
|
39
40
|
} = this.props;
|
|
@@ -43,29 +44,29 @@ class Markdown extends PureComponent {
|
|
|
43
44
|
});
|
|
44
45
|
return /*#__PURE__*/React.createElement(ReactMarkdown, _extends({
|
|
45
46
|
className: classes,
|
|
46
|
-
source: normalizeIndent(source),
|
|
47
47
|
plugins: [RemarkBreaks, RemarkGFM, ...plugins],
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
linkReference: MarkdownLink,
|
|
48
|
+
components: {
|
|
49
|
+
a: MarkdownLink,
|
|
51
50
|
code: MarkdownCode,
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
51
|
+
h1: MarkdownHeading,
|
|
52
|
+
h2: MarkdownHeading,
|
|
53
|
+
h3: MarkdownHeading,
|
|
54
|
+
h4: MarkdownHeading,
|
|
55
|
+
h5: MarkdownHeading,
|
|
56
|
+
h6: MarkdownHeading,
|
|
57
|
+
...components
|
|
55
58
|
}
|
|
56
|
-
}, restProps));
|
|
59
|
+
}, restProps), normalizeIndent(children));
|
|
57
60
|
}
|
|
58
61
|
|
|
59
62
|
}
|
|
60
63
|
Markdown.propTypes = {
|
|
61
64
|
inline: PropTypes.bool,
|
|
62
|
-
|
|
65
|
+
children: PropTypes.string,
|
|
63
66
|
className: PropTypes.string,
|
|
64
|
-
|
|
67
|
+
components: PropTypes.object,
|
|
65
68
|
plugins: PropTypes.array
|
|
66
69
|
};
|
|
67
|
-
const md = trivialTemplateTag(source => /*#__PURE__*/React.createElement(Markdown,
|
|
68
|
-
source
|
|
69
|
-
}));
|
|
70
|
+
const md = trivialTemplateTag(source => /*#__PURE__*/React.createElement(Markdown, null, source));
|
|
70
71
|
|
|
71
72
|
export { Markdown as default, md };
|
|
@@ -3,6 +3,7 @@ import Popup, { PopupAttrs } from '../popup/popup';
|
|
|
3
3
|
import { Directions } from '../popup/popup.consts';
|
|
4
4
|
import { IconType } from '../icon/icon';
|
|
5
5
|
import { ButtonAttrs } from '../button/button';
|
|
6
|
+
import Theme from '../global/theme';
|
|
6
7
|
export interface MessageTranslations {
|
|
7
8
|
gotIt: string;
|
|
8
9
|
dismiss: string;
|
|
@@ -11,6 +12,7 @@ export interface MessageProps {
|
|
|
11
12
|
icon: string | IconType | null;
|
|
12
13
|
directions: readonly Directions[];
|
|
13
14
|
translations: MessageTranslations;
|
|
15
|
+
theme: Theme;
|
|
14
16
|
title?: string | null | undefined;
|
|
15
17
|
children?: ReactNode;
|
|
16
18
|
className?: string | null | undefined;
|
|
@@ -36,6 +38,7 @@ export default class Message extends Component<MessageProps> {
|
|
|
36
38
|
gotIt: string;
|
|
37
39
|
dismiss: string;
|
|
38
40
|
};
|
|
41
|
+
theme: Theme;
|
|
39
42
|
};
|
|
40
43
|
state: MessageState;
|
|
41
44
|
static Directions: typeof Directions;
|
package/dist/message/message.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 } from 'react';
|
|
3
4
|
import PropTypes from 'prop-types';
|
|
4
5
|
import classNames from 'classnames';
|
|
@@ -6,7 +7,9 @@ import gift from '@jetbrains/icons/gift';
|
|
|
6
7
|
import Popup from '../popup/popup.js';
|
|
7
8
|
import { Directions } from '../popup/popup.consts.js';
|
|
8
9
|
import Icon from '../icon/icon.js';
|
|
9
|
-
import
|
|
10
|
+
import { Button } from '../button/button.js';
|
|
11
|
+
import { T as Theme, m as modules_59717246, a as ThemeProvider } from '../_helpers/theme.js';
|
|
12
|
+
import 'core-js/modules/es.string.replace.js';
|
|
10
13
|
import 'react-dom';
|
|
11
14
|
import '../global/get-uid.js';
|
|
12
15
|
import '../global/schedule-raf.js';
|
|
@@ -27,75 +30,79 @@ import '../icon/icon__svg.js';
|
|
|
27
30
|
import '../global/memoize.js';
|
|
28
31
|
import 'focus-visible';
|
|
29
32
|
import '@jetbrains/icons/chevron-10px';
|
|
30
|
-
import '../global/theme.js';
|
|
31
33
|
import '../link/clickableLink.js';
|
|
34
|
+
import '../global/controls-height.js';
|
|
32
35
|
import '../_helpers/button__classes.js';
|
|
33
36
|
|
|
34
|
-
var modules_8b837449 = {"unit":"8px","padding":"12px","message":"
|
|
37
|
+
var modules_8b837449 = {"unit":"8px","padding":"12px","container":"container_rui_f3db","message":"message_rui_f3db","icon":"icon_rui_f3db","title":"title_rui_f3db font-lower_rui_8bff font_rui_8bff","description":"description_rui_f3db","button":"button_rui_f3db","tail":"tail_rui_f3db"};
|
|
35
38
|
|
|
36
39
|
/**
|
|
37
40
|
* @name Message
|
|
38
41
|
*/
|
|
39
42
|
|
|
40
43
|
const UNIT = 8;
|
|
44
|
+
const TAIL_SIZE = 11;
|
|
41
45
|
|
|
42
46
|
const getTailOffsets = offset => ({
|
|
43
47
|
[Directions.BOTTOM_RIGHT]: {
|
|
44
48
|
top: 0,
|
|
45
|
-
left: offset
|
|
46
|
-
transform: 'rotate(
|
|
49
|
+
left: offset + UNIT,
|
|
50
|
+
transform: 'rotate(135deg)'
|
|
47
51
|
},
|
|
48
52
|
[Directions.BOTTOM_LEFT]: {
|
|
49
53
|
top: 0,
|
|
50
|
-
right: offset - UNIT,
|
|
51
|
-
transform: 'rotate(
|
|
54
|
+
right: offset - UNIT - TAIL_SIZE,
|
|
55
|
+
transform: 'rotate(135deg)'
|
|
52
56
|
},
|
|
53
57
|
[Directions.BOTTOM_CENTER]: {
|
|
54
58
|
top: 0,
|
|
55
|
-
left: offset
|
|
56
|
-
transform: 'rotate(
|
|
59
|
+
left: offset + UNIT,
|
|
60
|
+
transform: 'rotate(135deg)'
|
|
57
61
|
},
|
|
58
62
|
[Directions.TOP_RIGHT]: {
|
|
59
|
-
bottom: -
|
|
60
|
-
left: offset - UNIT
|
|
63
|
+
bottom: -TAIL_SIZE,
|
|
64
|
+
left: offset - UNIT,
|
|
65
|
+
transform: 'rotate(-45deg)'
|
|
61
66
|
},
|
|
62
67
|
[Directions.TOP_LEFT]: {
|
|
63
|
-
bottom: -
|
|
64
|
-
right: offset -
|
|
68
|
+
bottom: -TAIL_SIZE,
|
|
69
|
+
right: offset + UNIT - TAIL_SIZE,
|
|
70
|
+
transform: 'rotate(-45deg)'
|
|
65
71
|
},
|
|
66
72
|
[Directions.TOP_CENTER]: {
|
|
67
|
-
bottom: -
|
|
68
|
-
left: offset - UNIT
|
|
73
|
+
bottom: -TAIL_SIZE,
|
|
74
|
+
left: offset - UNIT,
|
|
75
|
+
transform: 'rotate(-45deg)'
|
|
69
76
|
},
|
|
70
77
|
[Directions.RIGHT_TOP]: {
|
|
71
|
-
bottom: offset -
|
|
72
|
-
left:
|
|
73
|
-
transform: 'rotate(
|
|
78
|
+
bottom: offset + UNIT - TAIL_SIZE,
|
|
79
|
+
left: 0,
|
|
80
|
+
transform: 'rotate(45deg)'
|
|
74
81
|
},
|
|
75
82
|
[Directions.RIGHT_BOTTOM]: {
|
|
76
|
-
top: offset,
|
|
77
|
-
left:
|
|
78
|
-
transform: 'rotate(
|
|
83
|
+
top: offset - UNIT,
|
|
84
|
+
left: 0,
|
|
85
|
+
transform: 'rotate(45deg)'
|
|
79
86
|
},
|
|
80
87
|
[Directions.RIGHT_CENTER]: {
|
|
81
|
-
top: offset,
|
|
82
|
-
left:
|
|
83
|
-
transform: 'rotate(
|
|
88
|
+
top: offset - UNIT,
|
|
89
|
+
left: 0,
|
|
90
|
+
transform: 'rotate(45deg)'
|
|
84
91
|
},
|
|
85
92
|
[Directions.LEFT_TOP]: {
|
|
86
|
-
bottom: offset - UNIT,
|
|
87
|
-
right: -
|
|
88
|
-
transform: 'rotate(-
|
|
93
|
+
bottom: offset - UNIT - TAIL_SIZE,
|
|
94
|
+
right: -TAIL_SIZE,
|
|
95
|
+
transform: 'rotate(-135deg)'
|
|
89
96
|
},
|
|
90
97
|
[Directions.LEFT_BOTTOM]: {
|
|
91
|
-
top: offset,
|
|
92
|
-
right: -
|
|
93
|
-
transform: 'rotate(-
|
|
98
|
+
top: offset + UNIT,
|
|
99
|
+
right: -TAIL_SIZE,
|
|
100
|
+
transform: 'rotate(-135deg)'
|
|
94
101
|
},
|
|
95
102
|
[Directions.LEFT_CENTER]: {
|
|
96
|
-
top: offset,
|
|
97
|
-
right: -
|
|
98
|
-
transform: 'rotate(-
|
|
103
|
+
top: offset + UNIT,
|
|
104
|
+
right: -TAIL_SIZE,
|
|
105
|
+
transform: 'rotate(-135deg)'
|
|
99
106
|
}
|
|
100
107
|
});
|
|
101
108
|
/**
|
|
@@ -164,9 +171,12 @@ class Message extends Component {
|
|
|
164
171
|
buttonProps,
|
|
165
172
|
onClose,
|
|
166
173
|
onDismiss,
|
|
167
|
-
translations
|
|
174
|
+
translations,
|
|
175
|
+
theme
|
|
168
176
|
} = this.props;
|
|
169
|
-
const classes = classNames(modules_8b837449.message, className
|
|
177
|
+
const classes = classNames(modules_8b837449.message, className, {
|
|
178
|
+
[modules_59717246.dark]: theme === Theme.DARK
|
|
179
|
+
});
|
|
170
180
|
const tailClasses = classNames(modules_8b837449.tail, tailClassName);
|
|
171
181
|
const popupDirections = this.props.direction ? [this.props.direction] : this.props.directions;
|
|
172
182
|
const {
|
|
@@ -179,25 +189,28 @@ class Message extends Component {
|
|
|
179
189
|
className: classes,
|
|
180
190
|
offset: UNIT * 2,
|
|
181
191
|
onDirectionChange: this._onDirectionChange
|
|
182
|
-
}, popupProps),
|
|
192
|
+
}, popupProps), /*#__PURE__*/React.createElement(ThemeProvider, {
|
|
193
|
+
theme: theme,
|
|
194
|
+
passToPopups: true
|
|
195
|
+
}, direction && /*#__PURE__*/React.createElement("div", {
|
|
183
196
|
className: tailClasses,
|
|
184
197
|
style: getTailOffsets(this.getTailOffset())[direction]
|
|
185
198
|
}), icon && /*#__PURE__*/React.createElement(Icon, {
|
|
186
199
|
className: modules_8b837449.icon,
|
|
187
200
|
glyph: icon
|
|
188
|
-
}), /*#__PURE__*/React.createElement("h1", {
|
|
201
|
+
}), title && /*#__PURE__*/React.createElement("h1", {
|
|
189
202
|
"data-test": "rgMessageTitle",
|
|
190
203
|
className: modules_8b837449.title
|
|
191
204
|
}, title), children && /*#__PURE__*/React.createElement("div", {
|
|
192
205
|
className: modules_8b837449.description
|
|
193
|
-
}, children), (onClose || buttonProps) && /*#__PURE__*/React.createElement(
|
|
206
|
+
}, children), (onClose || buttonProps) && /*#__PURE__*/React.createElement(Button, _extends({
|
|
194
207
|
className: modules_8b837449.button,
|
|
195
208
|
onClick: onClose,
|
|
196
209
|
primary: true
|
|
197
|
-
}, buttonProps), translations.gotIt), onDismiss && /*#__PURE__*/React.createElement(
|
|
210
|
+
}, buttonProps), translations.gotIt), onDismiss && /*#__PURE__*/React.createElement(Button, {
|
|
198
211
|
onClick: onDismiss,
|
|
199
212
|
text: true
|
|
200
|
-
}, translations.dismiss));
|
|
213
|
+
}, translations.dismiss)));
|
|
201
214
|
}
|
|
202
215
|
|
|
203
216
|
}
|
|
@@ -208,7 +221,8 @@ _defineProperty(Message, "defaultProps", {
|
|
|
208
221
|
translations: {
|
|
209
222
|
gotIt: 'Got it',
|
|
210
223
|
dismiss: 'Dismiss'
|
|
211
|
-
}
|
|
224
|
+
},
|
|
225
|
+
theme: Theme.DARK
|
|
212
226
|
});
|
|
213
227
|
|
|
214
228
|
_defineProperty(Message, "Directions", Directions);
|
|
@@ -219,7 +233,7 @@ Message.propTypes = {
|
|
|
219
233
|
children: PropTypes.node,
|
|
220
234
|
className: PropTypes.string,
|
|
221
235
|
tailClassName: PropTypes.string,
|
|
222
|
-
title: PropTypes.string
|
|
236
|
+
title: PropTypes.string,
|
|
223
237
|
icon: PropTypes.oneOfType([PropTypes.string, PropTypes.elementType]),
|
|
224
238
|
directions: PropTypes.arrayOf(PropTypes.string),
|
|
225
239
|
direction: PropTypes.string,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { isBrowserInWhiteList } from './white-list.js';
|
|
2
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
2
3
|
import '../global/sniffer.js';
|
|
3
4
|
import 'sniffr';
|
|
4
5
|
|
|
@@ -34,7 +35,7 @@ function changeSmileClickListener(event) {
|
|
|
34
35
|
return '\\\\ (x_x) //';
|
|
35
36
|
}
|
|
36
37
|
|
|
37
|
-
return
|
|
38
|
+
return "{{ (".concat(getRandomEye(), "_").concat(getRandomEye(), ") }}");
|
|
38
39
|
}
|
|
39
40
|
|
|
40
41
|
target.innerHTML = getRandomSmile();
|
package/dist/pager/pager.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
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
6
|
import chevronLeftIcon from '@jetbrains/icons/chevron-left';
|
|
6
7
|
import chevronRightIcon from '@jetbrains/icons/chevron-right';
|
|
7
|
-
import
|
|
8
|
+
import { Button } from '../button/button.js';
|
|
8
9
|
import ButtonGroup from '../button-group/button-group.js';
|
|
9
10
|
import ButtonToolbar from '../button-toolbar/button-toolbar.js';
|
|
10
11
|
import Select from '../select/select.js';
|
|
@@ -13,17 +14,19 @@ import Link from '../link/link.js';
|
|
|
13
14
|
import Icon from '../icon/icon.js';
|
|
14
15
|
import 'focus-visible';
|
|
15
16
|
import '@jetbrains/icons/chevron-10px';
|
|
16
|
-
import '../global/theme.js';
|
|
17
17
|
import '../link/clickableLink.js';
|
|
18
|
+
import '../global/controls-height.js';
|
|
18
19
|
import '../_helpers/button__classes.js';
|
|
19
20
|
import '../icon/icon__constants.js';
|
|
20
21
|
import 'util-deprecate';
|
|
21
22
|
import '../_helpers/icon.js';
|
|
22
23
|
import '../icon/icon__svg.js';
|
|
24
|
+
import 'core-js/modules/es.string.replace.js';
|
|
23
25
|
import '../button-group/caption.js';
|
|
24
26
|
import '../_helpers/button-group.js';
|
|
25
27
|
import '../_helpers/button-toolbar.js';
|
|
26
|
-
import '@jetbrains/icons/
|
|
28
|
+
import '@jetbrains/icons/chevron-down';
|
|
29
|
+
import '@jetbrains/icons/close-12px';
|
|
27
30
|
import 'deep-equal';
|
|
28
31
|
import '../dropdown/dropdown.js';
|
|
29
32
|
import '../global/data-tests.js';
|
|
@@ -58,7 +61,7 @@ import '../_helpers/list.js';
|
|
|
58
61
|
import '../_helpers/link.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';
|
|
@@ -72,16 +75,12 @@ import '../global/prop-types.js';
|
|
|
72
75
|
import '../global/composeRefs.js';
|
|
73
76
|
import '../_helpers/input.js';
|
|
74
77
|
import '../global/rerender-hoc.js';
|
|
78
|
+
import '../global/react-render-adapter.js';
|
|
75
79
|
import '../global/fuzzy-highlight.js';
|
|
76
80
|
import '../select/select__popup.js';
|
|
77
81
|
import '@jetbrains/icons/search';
|
|
78
82
|
import '../loader-inline/loader-inline.js';
|
|
79
|
-
import '../_helpers/
|
|
80
|
-
import '../global/conic-gradient.js';
|
|
81
|
-
import 'conic-gradient';
|
|
82
|
-
import '../global/supports-css.js';
|
|
83
|
-
import '../global/inject-styles.js';
|
|
84
|
-
import '../global/radial-gradient-mask.js';
|
|
83
|
+
import '../_helpers/loader-inline.js';
|
|
85
84
|
import '../shortcuts/shortcuts-hoc.js';
|
|
86
85
|
import '../tags-list/tags-list.js';
|
|
87
86
|
import '../tag/tag.js';
|
|
@@ -89,7 +88,7 @@ import '../caret/caret.js';
|
|
|
89
88
|
import '../text/text.js';
|
|
90
89
|
import '../_helpers/select__filter.js';
|
|
91
90
|
|
|
92
|
-
var modules_1a5f0d42 = {"unit":"8px","pager":"
|
|
91
|
+
var modules_1a5f0d42 = {"unit":"8px","pager":"pager_rui_2db7","links":"links_rui_2db7","link":"link_rui_2db7","linkDisabled":"linkDisabled_rui_2db7"};
|
|
93
92
|
|
|
94
93
|
class Pager extends PureComponent {
|
|
95
94
|
constructor() {
|
|
@@ -149,7 +148,7 @@ class Pager extends PureComponent {
|
|
|
149
148
|
} = this.props;
|
|
150
149
|
const data = pageSizes.map(size => ({
|
|
151
150
|
key: size,
|
|
152
|
-
label:
|
|
151
|
+
label: "".concat(size, " ").concat(this.props.translations.perPage)
|
|
153
152
|
}));
|
|
154
153
|
const selected = data.find(it => it.key === pageSize);
|
|
155
154
|
return {
|
|
@@ -167,7 +166,7 @@ class Pager extends PureComponent {
|
|
|
167
166
|
}
|
|
168
167
|
|
|
169
168
|
getButton(page, content, key, active) {
|
|
170
|
-
return /*#__PURE__*/React.createElement(
|
|
169
|
+
return /*#__PURE__*/React.createElement(Button, _extends({
|
|
171
170
|
href: this.generateHref(page),
|
|
172
171
|
key: key,
|
|
173
172
|
active: active,
|
|
@@ -311,10 +310,10 @@ class Pager extends PureComponent {
|
|
|
311
310
|
}
|
|
312
311
|
|
|
313
312
|
const lastPageButtonAvailable = end < totalPages && !this.props.openTotal || this.props.openTotal && this.props.canLoadLastPageWithOpenTotal;
|
|
314
|
-
return /*#__PURE__*/React.createElement("div", null, this.getPagerLinks(), /*#__PURE__*/React.createElement(ButtonToolbar, null, start > 1 &&
|
|
313
|
+
return /*#__PURE__*/React.createElement("div", null, this.getPagerLinks(), /*#__PURE__*/React.createElement(ButtonToolbar, null, start > 1 && this.getButton(1, this.props.translations.firstPage), /*#__PURE__*/React.createElement(ButtonGroup, null, start > 1 && this.getButton(start - 1, '...'), buttons, end < totalPages && this.getButton(end + 1, '...'), end === totalPages && this.props.openTotal && /*#__PURE__*/React.createElement(Button, _extends({
|
|
315
314
|
href: this.generateHref(end + 1),
|
|
316
315
|
disabled: this.props.loader
|
|
317
|
-
}, this.getClickProps(this.handleLoadMore(end + 1))), '...')), lastPageButtonAvailable &&
|
|
316
|
+
}, this.getClickProps(this.handleLoadMore(end + 1))), '...')), lastPageButtonAvailable && this.getButton(this.props.openTotal ? -1 : totalPages, this.props.translations.lastPage)), this.getPageSizeSelector());
|
|
318
317
|
}
|
|
319
318
|
|
|
320
319
|
render() {
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import angularComponentFactory from '../global/angular-component-factory.js';
|
|
2
2
|
import Pager$1 from '../pager/pager.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';
|
|
@@ -18,9 +20,10 @@ import 'util-deprecate';
|
|
|
18
20
|
import '../icon/icon__constants.js';
|
|
19
21
|
import '../_helpers/icon.js';
|
|
20
22
|
import '../icon/icon__svg.js';
|
|
23
|
+
import 'core-js/modules/es.string.replace.js';
|
|
21
24
|
import '../global/memoize.js';
|
|
22
|
-
import '../global/theme.js';
|
|
23
25
|
import '../link/clickableLink.js';
|
|
26
|
+
import '../global/controls-height.js';
|
|
24
27
|
import '../_helpers/button__classes.js';
|
|
25
28
|
import '../button-group/button-group.js';
|
|
26
29
|
import '../button-group/caption.js';
|
|
@@ -28,7 +31,8 @@ import '../_helpers/button-group.js';
|
|
|
28
31
|
import '../button-toolbar/button-toolbar.js';
|
|
29
32
|
import '../_helpers/button-toolbar.js';
|
|
30
33
|
import '../select/select.js';
|
|
31
|
-
import '@jetbrains/icons/
|
|
34
|
+
import '@jetbrains/icons/chevron-down';
|
|
35
|
+
import '@jetbrains/icons/close-12px';
|
|
32
36
|
import 'deep-equal';
|
|
33
37
|
import '../dropdown/dropdown.js';
|
|
34
38
|
import '../global/data-tests.js';
|
|
@@ -63,7 +67,7 @@ import '../_helpers/link.js';
|
|
|
63
67
|
import '../_helpers/list.js';
|
|
64
68
|
import '../list/list__item.js';
|
|
65
69
|
import '../checkbox/checkbox.js';
|
|
66
|
-
import '@jetbrains/icons/checkmark';
|
|
70
|
+
import '@jetbrains/icons/checkmark-14px';
|
|
67
71
|
import '@jetbrains/icons/remove-10px';
|
|
68
72
|
import '../_helpers/checkbox.js';
|
|
69
73
|
import '../list/list__custom.js';
|
|
@@ -81,12 +85,7 @@ import '../global/fuzzy-highlight.js';
|
|
|
81
85
|
import '../select/select__popup.js';
|
|
82
86
|
import '@jetbrains/icons/search';
|
|
83
87
|
import '../loader-inline/loader-inline.js';
|
|
84
|
-
import '../_helpers/
|
|
85
|
-
import '../global/conic-gradient.js';
|
|
86
|
-
import 'conic-gradient';
|
|
87
|
-
import '../global/supports-css.js';
|
|
88
|
-
import '../global/inject-styles.js';
|
|
89
|
-
import '../global/radial-gradient-mask.js';
|
|
88
|
+
import '../_helpers/loader-inline.js';
|
|
90
89
|
import '../shortcuts/shortcuts-hoc.js';
|
|
91
90
|
import '../tags-list/tags-list.js';
|
|
92
91
|
import '../tag/tag.js';
|
|
@@ -2,6 +2,7 @@ import angular from 'angular';
|
|
|
2
2
|
import { m as modules_cf670408 } from '../_helpers/panel.js';
|
|
3
3
|
import { addClasses } from '../global/dom.js';
|
|
4
4
|
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
5
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
5
6
|
|
|
6
7
|
const angularModule = angular.module('Ring.panel', []);
|
|
7
8
|
angularModule.directive('rgPanel', function rgEqualValueDirective() {
|