@jetbrains/ring-ui 4.1.0-beta.8 → 4.1.3
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/README.md +22 -16
- package/babel.config.js +3 -2
- package/components/alert/alert.js +9 -3
- package/components/alert/container.css +1 -1
- package/components/alert-service/alert-service.examples.css +18 -0
- package/components/alert-service/alert-service.examples.js +21 -0
- package/components/alert-service/alert-service.js +10 -3
- package/components/analytics/analytics__fus-plugin.js +3 -3
- package/components/analytics/analytics__ga-plugin.js +2 -2
- package/components/auth/auth.test.js +14 -7
- package/components/auth/auth__core.js +64 -33
- package/components/auth-dialog/auth-dialog.js +1 -0
- package/components/avatar/avatar.css +4 -1
- package/components/avatar/avatar.examples.js +3 -2
- package/components/avatar/avatar.js +31 -6
- package/components/avatar/fallback-avatar.js +136 -0
- package/components/avatar-editor-ng/avatar-editor-ng.css +2 -2
- package/components/avatar-editor-ng/avatar-editor-ng.js +2 -1
- package/components/avatar-editor-ng/{avatar-editor-ng.html → avatar-editor-ng__template.js} +2 -2
- package/components/button/button.css +2 -2
- package/components/button/button.js +4 -1
- package/components/button-group/button-group.js +1 -1
- package/components/button-group/caption.js +1 -1
- package/components/button-ng/button-ng.js +1 -1
- package/components/button-set-ng/button-set-ng.js +3 -1
- package/components/checkbox/checkbox.css +1 -1
- package/components/code/code.js +2 -5
- package/components/confirm/confirm.js +1 -0
- package/components/confirm-service/confirm-service.js +5 -5
- package/components/content-layout/content-layout.css +1 -1
- package/components/data-list/data-list.css +1 -1
- package/components/date-picker/date-input.js +5 -4
- package/components/date-picker/date-picker.css +34 -22
- package/components/date-picker/date-picker.js +16 -14
- package/components/date-picker/date-popup.js +22 -7
- package/components/date-picker/month-names.js +8 -5
- package/components/date-picker/month.js +6 -2
- package/components/date-picker/weekdays.js +10 -2
- package/components/dialog/dialog.examples.js +3 -1
- package/components/dialog/dialog.js +10 -5
- package/components/dialog/dialog.test.js +1 -1
- package/components/dialog/dialog__body-scroll-preventer.js +51 -31
- package/components/dialog-ng/dialog-ng.js +10 -10
- package/components/dialog-ng/{dialog-ng.html → dialog-ng__template.js} +2 -2
- package/components/dropdown/dropdown.examples.js +36 -1
- package/components/dropdown-menu/dropdown-menu.examples.js +47 -0
- package/components/dropdown-menu/dropdown-menu.js +117 -0
- package/components/dropdown-menu/dropdown-menu.test.js +76 -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.examples.js +1 -1
- package/components/error-page/error-page.css +2 -2
- package/components/footer-ng/footer-ng.js +13 -3
- package/components/form/form.css +2 -2
- package/components/form-ng/form-ng.js +3 -1
- package/components/global/global.css +1 -1
- package/components/global/theme.js +1 -1
- package/components/global/variables.css +8 -1
- package/components/grid/grid.css +10 -9
- package/components/header/header.css +1 -1
- package/components/header/header.examples.js +7 -8
- package/components/header/profile.js +10 -11
- package/components/http/http.js +1 -1
- package/components/icon/icon.css +5 -4
- package/components/input/input-legacy.css +7 -7
- package/components/island/header.js +2 -2
- package/components/island/island.css +8 -3
- package/components/island-legacy/island-legacy.css +3 -1
- package/components/list/list.js +6 -1
- package/components/list/list__custom.js +9 -3
- package/components/list/list__item.js +8 -2
- package/components/list/list__link.js +2 -1
- package/components/loader-inline/loader-inline.css +1 -1
- package/components/loader-screen/loader-screen.css +1 -1
- package/components/message/message.css +1 -1
- package/components/message/message.examples.js +8 -7
- package/components/pager/pager.js +5 -3
- package/components/permissions/permissions.js +1 -1
- package/components/progress-bar/progress-bar.css +1 -1
- package/components/progress-bar/progress-bar.examples.js +3 -3
- package/components/progress-bar/progress-bar.js +5 -2
- package/components/progress-bar/progress-bar.test.js +12 -13
- package/components/progress-bar-ng/progress-bar-ng.examples.js +3 -3
- package/components/query-assist/query-assist.css +13 -3
- package/components/query-assist/query-assist.examples.js +3 -4
- package/components/query-assist/query-assist.js +56 -12
- package/components/query-assist/query-assist.test.js +37 -5
- package/components/save-field-ng/save-field-ng.css +0 -3
- package/components/save-field-ng/save-field-ng.js +3 -1
- package/components/save-field-ng/{save-field-ng.html → save-field-ng__template.js} +2 -2
- package/components/select/select.css +12 -7
- package/components/select/select.examples.js +13 -0
- package/components/select/select.js +30 -43
- package/components/select/select.test.js +4 -5
- package/components/shortcuts-hint-ng/shortcuts-hint-ng.css +1 -1
- package/components/shortcuts-hint-ng/shortcuts-hint-ng.js +1 -1
- package/components/shortcuts-hint-ng/{shortcuts-hint-ng.html → shortcuts-hint-ng__template.js} +2 -2
- package/components/sidebar/sidebar.css +1 -0
- package/components/sidebar-ng/sidebar-ng.js +6 -2
- package/components/sidebar-ng/{sidebar-ng__button.html → sidebar-ng__button-template.js} +2 -2
- package/components/sidebar-ng/{sidebar-ng.html → sidebar-ng__template.js} +2 -2
- package/components/table/header.js +9 -1
- package/components/table/row.js +2 -1
- package/components/table/table.css +2 -1
- package/components/table-legacy/table-legacy.css +2 -2
- package/components/table-legacy/table-legacy__toolbar.css +2 -2
- package/components/table-legacy-ng/table-legacy-ng.js +38 -5
- package/components/table-legacy-ng/table-legacy-ng__pager.js +7 -1
- package/components/tabs/collapsible-tab.js +2 -2
- package/components/tabs/collapsible-tabs.js +5 -9
- package/components/tabs/dumb-tabs.js +1 -0
- package/components/tabs/tab-link.js +4 -2
- package/components/tabs/tabs.css +32 -5
- package/components/tabs-ng/tabs-ng.js +4 -2
- package/components/tabs-ng/{tabs-ng.html → tabs-ng__template.js} +6 -2
- package/components/tag/tag.css +5 -2
- package/components/tag/tag.examples.js +3 -0
- package/components/tag/tag.js +19 -16
- package/components/tags-input/tag-input.examples.js +1 -1
- package/components/tags-input/tags-input.js +5 -2
- package/components/template-ng/template-ng.js +1 -1
- package/components/tooltip/tooltip.js +7 -2
- package/components/user-agreement/user-agreement.css +1 -5
- package/components/user-agreement/user-agreement.examples.js +7 -6
- package/components/user-agreement/user-agreement.js +11 -3
- package/dist/_helpers/_rollupPluginBabelHelpers.js +1 -94
- package/dist/_helpers/anchor.js +5 -6
- package/dist/_helpers/badge.js +1 -1
- package/dist/_helpers/button-group.js +3 -0
- package/dist/_helpers/button-set.js +3 -0
- package/dist/_helpers/button-toolbar.js +3 -0
- package/dist/_helpers/button__classes.js +1 -1
- package/dist/_helpers/card.js +6 -8
- package/dist/_helpers/checkbox.js +3 -0
- package/dist/_helpers/date-picker.js +1 -1
- package/dist/_helpers/dialog__body-scroll-preventer.js +49 -32
- package/dist/_helpers/error-message.js +3 -0
- package/dist/_helpers/footer.js +121 -0
- package/dist/_helpers/grid.js +1 -1
- package/dist/_helpers/group.js +3 -0
- package/dist/_helpers/header.js +1 -1
- package/dist/_helpers/icon.js +3 -0
- package/dist/_helpers/inject-styles.js +1 -1
- package/dist/_helpers/input.js +3 -0
- package/dist/_helpers/island.js +1 -1
- package/dist/_helpers/link.js +3 -0
- package/dist/_helpers/list.js +1 -1
- package/dist/_helpers/loader-screen.js +3 -0
- package/dist/_helpers/panel.js +3 -0
- package/dist/_helpers/query-assist__suggestions.js +1 -1
- package/dist/_helpers/radio.js +3 -0
- package/dist/_helpers/select__filter.js +6 -8
- package/dist/_helpers/services-link.js +6 -8
- package/dist/_helpers/sidebar.js +6 -8
- package/dist/_helpers/table.js +1 -1
- package/dist/_helpers/tabs.js +1 -1
- package/dist/_helpers/title.js +1 -1
- package/dist/alert/alert.js +15 -9
- package/dist/alert/container.js +7 -9
- package/dist/alert-service/alert-service.js +24 -13
- package/dist/analytics/analytics.js +2 -2
- package/dist/analytics/analytics__custom-plugin.js +1 -1
- package/dist/analytics/analytics__fus-plugin.js +4 -4
- package/dist/analytics/analytics__ga-plugin.js +3 -3
- package/dist/analytics/analytics__plugin-utils.js +1 -1
- package/dist/analytics-ng/analytics-ng.js +94 -0
- package/dist/auth/auth.js +7 -4
- package/dist/auth/auth__core.js +86 -48
- package/dist/auth/background-flow.js +1 -2
- package/dist/auth/down-notification.js +6 -3
- package/dist/auth/iframe-flow.js +5 -2
- package/dist/auth/landing-entry.js +1 -1
- package/dist/auth/landing.js +5 -2
- package/dist/auth/request-builder.js +1 -1
- package/dist/auth/response-parser.js +1 -1
- package/dist/auth/storage.js +3 -2
- package/dist/auth/token-validator.js +1 -1
- package/dist/auth/window-flow.js +1 -1
- package/dist/auth-dialog/auth-dialog.js +5 -3
- package/dist/auth-dialog-service/auth-dialog-service.js +6 -5
- package/dist/auth-ng/auth-ng.js +203 -0
- package/dist/auth-ng/auth-ng.mock.js +33 -0
- package/dist/autofocus-ng/autofocus-ng.js +50 -0
- package/dist/avatar/avatar.js +36 -30
- package/dist/avatar/fallback-avatar.js +141 -0
- package/dist/avatar-editor-ng/avatar-editor-ng.js +164 -0
- package/dist/avatar-editor-ng/avatar-editor-ng__template.js +30 -0
- package/dist/avatar-ng/avatar-ng.js +18 -0
- package/dist/badge/badge.js +6 -8
- package/dist/badge-ng/badge-ng.js +16 -0
- package/dist/breadcrumb-ng/breadcrumb-ng.js +61 -0
- package/dist/button/button.js +16 -10
- package/dist/button-group/button-group.js +4 -4
- package/dist/button-group/caption.js +24 -5
- package/dist/button-group-ng/button-group-ng.js +38 -0
- package/dist/button-ng/button-ng.js +223 -0
- package/dist/button-set/button-set.js +3 -4
- package/dist/button-set-ng/button-set-ng.js +19 -0
- package/dist/button-toolbar/button-toolbar.js +3 -4
- package/dist/button-toolbar-ng/button-toolbar-ng.js +23 -0
- package/dist/caret/caret.js +1 -1
- package/dist/checkbox/checkbox.js +9 -11
- package/dist/checkbox-ng/checkbox-ng.js +55 -0
- package/dist/code/code.js +136 -0
- package/dist/compiler-ng/compiler-ng.js +53 -0
- package/dist/confirm/confirm.js +6 -3
- package/dist/confirm-ng/confirm-ng.js +66 -0
- package/dist/confirm-service/confirm-service.js +12 -10
- package/dist/content-layout/content-layout.js +6 -8
- package/dist/contenteditable/contenteditable.js +13 -16
- package/dist/data-list/data-list.js +10 -7
- package/dist/data-list/data-list.mock.js +2 -2
- package/dist/data-list/item.js +5 -3
- package/dist/data-list/selection.js +1 -1
- package/dist/data-list/title.js +3 -1
- package/dist/data-list-ng/data-list-ng.js +59 -0
- package/dist/date-picker/consts.js +1 -2
- package/dist/date-picker/date-input.js +10 -6
- package/dist/date-picker/date-picker.js +38 -29
- package/dist/date-picker/date-popup.js +51 -28
- package/dist/date-picker/day.js +2 -2
- package/dist/date-picker/formats.js +1 -1
- package/dist/date-picker/month-names.js +16 -9
- package/dist/date-picker/month-slider.js +2 -2
- package/dist/date-picker/month.js +13 -7
- package/dist/date-picker/months.js +3 -3
- package/dist/date-picker/weekdays.js +12 -4
- package/dist/date-picker/years.js +2 -2
- package/dist/dialog/dialog.js +19 -14
- package/dist/dialog/dialog__body-scroll-preventer.js +1 -1
- package/dist/dialog-ng/dialog-ng.js +601 -0
- package/dist/dialog-ng/dialog-ng__template.js +71 -0
- package/dist/docked-panel-ng/docked-panel-ng.js +170 -0
- package/dist/dropdown/anchor.js +2 -1
- package/dist/dropdown/dropdown.js +8 -10
- package/dist/dropdown-menu/dropdown-menu.js +175 -0
- package/dist/error-bubble/error-bubble.js +7 -9
- package/dist/error-message/error-message.js +4 -4
- package/dist/error-message-ng/error-message-ng.js +53 -0
- package/dist/footer/footer.js +6 -122
- package/dist/footer-ng/footer-ng.js +75 -0
- package/dist/form-ng/form-ng.js +169 -0
- package/dist/global/angular-component-factory.js +1 -2
- package/dist/global/compose.js +1 -1
- package/dist/global/composeRefs.js +1 -1
- package/dist/global/conic-gradient.js +3 -5
- package/dist/global/create-stateful-context.js +1 -1
- package/dist/global/data-tests.js +1 -1
- package/dist/global/focus-sensor-hoc.js +9 -11
- package/dist/global/fuzzy-highlight.js +1 -1
- package/dist/global/get-event-key.js +1 -1
- package/dist/global/get-uid.js +1 -1
- package/dist/global/linear-function.js +1 -2
- package/dist/global/listeners.js +1 -1
- package/dist/global/memoize.js +1 -1
- package/dist/global/normalize-indent.js +1 -1
- package/dist/global/promise-with-timeout.js +1 -1
- package/dist/global/radial-gradient-mask.js +1 -1
- package/dist/global/react-dom-renderer.js +1 -1
- package/dist/global/rerender-hoc.js +3 -5
- package/dist/global/ring-angular-component.js +1 -1
- package/dist/global/schedule-raf.js +1 -1
- package/dist/global/sniffer.js +1 -1
- package/dist/global/supports-css.js +1 -1
- package/dist/global/theme.js +6 -8
- package/dist/global/trivial-template-tag.js +1 -1
- package/dist/global/variables_dark.js +1 -1
- package/dist/grid/col.js +6 -8
- package/dist/grid/grid.js +5 -7
- package/dist/grid/row.js +6 -8
- package/dist/group/group.js +7 -10
- package/dist/group-ng/group-ng.js +11 -0
- package/dist/header/header.js +29 -26
- package/dist/header/logo.js +8 -9
- package/dist/header/profile.js +37 -32
- package/dist/header/services-link.js +1 -0
- package/dist/header/services.js +10 -9
- package/dist/header/smart-profile.js +27 -24
- package/dist/header/smart-services.js +10 -9
- package/dist/header/tray-icon.js +12 -12
- package/dist/header/tray.js +6 -8
- package/dist/heading/heading.js +9 -12
- package/dist/http/http.js +37 -37
- package/dist/http/http.mock.js +4 -4
- package/dist/hub-source/hub-source.js +1 -1
- package/dist/hub-source/hub-source__users-groups.js +1 -1
- package/dist/icon/icon.js +8 -8
- package/dist/icon/icon__svg.js +81 -6
- package/dist/icon/index.js +2 -1
- package/dist/icon-ng/icon-ng.js +89 -0
- package/dist/input/input.js +9 -12
- package/dist/input-ng/input-ng.js +166 -0
- package/dist/island/adaptive-island-hoc.js +1 -2
- package/dist/island/content.js +6 -8
- package/dist/island/header.js +7 -9
- package/dist/island/island.js +6 -9
- package/dist/island-legacy/content-legacy.js +6 -8
- package/dist/island-legacy/header-legacy.js +6 -8
- package/dist/island-legacy/island-legacy.js +6 -8
- package/dist/island-ng/island-content-ng.js +56 -0
- package/dist/island-ng/island-header-ng.js +32 -0
- package/dist/island-ng/island-ng-class-fixer.js +9 -0
- package/dist/island-ng/island-ng.js +31 -0
- package/dist/link/clickableLink.js +6 -8
- package/dist/link/link.js +7 -11
- package/dist/link-ng/link-ng.js +25 -0
- package/dist/list/list.js +25 -13
- package/dist/list/list__custom.js +13 -10
- package/dist/list/list__hint.js +1 -1
- package/dist/list/list__item.js +20 -13
- package/dist/list/list__link.js +11 -12
- package/dist/list/list__separator.js +1 -1
- package/dist/list/list__title.js +1 -1
- package/dist/list/list__users-groups-source.js +11 -7
- package/dist/loader/loader.js +6 -8
- package/dist/loader/loader__core.js +2 -2
- package/dist/loader-inline/inject-styles.js +1 -1
- package/dist/loader-inline/loader-inline.js +6 -8
- package/dist/loader-inline-ng/loader-inline-ng.js +42 -0
- package/dist/loader-ng/loader-ng.js +43 -0
- package/dist/loader-screen/loader-screen.js +7 -10
- package/dist/loader-screen-ng/loader-screen-ng.js +99 -0
- package/dist/login-dialog/login-dialog.js +5 -3
- package/dist/login-dialog/service.js +7 -5
- package/dist/markdown/code.js +30 -0
- package/dist/markdown/heading.js +23 -0
- package/dist/markdown/link.js +30 -0
- package/dist/markdown/markdown.js +73 -0
- package/dist/message/message.js +5 -4
- package/dist/message-bundle-ng/message-bundle-ng.js +111 -0
- package/dist/old-browsers-message/old-browsers-message.js +0 -1
- package/dist/old-browsers-message/old-browsers-message__stop.js +0 -1
- package/dist/old-browsers-message/white-list.js +4 -5
- package/dist/pager/pager.js +18 -9
- package/dist/pager-ng/pager-ng.js +96 -0
- package/dist/panel/panel.js +7 -10
- package/dist/panel-ng/panel-ng.js +16 -0
- package/dist/permissions/permissions.js +1 -1
- package/dist/permissions/permissions__cache.js +1 -1
- package/dist/permissions-ng/permissions-ng.js +274 -0
- package/dist/place-under-ng/place-under-ng.js +157 -0
- package/dist/popup/popup.js +8 -8
- package/dist/popup/popup.target.js +4 -5
- package/dist/popup/position.js +1 -2
- package/dist/popup-menu/popup-menu.js +21 -14
- package/dist/progress-bar/progress-bar.js +12 -10
- package/dist/progress-bar-ng/progress-bar-ng.js +15 -0
- package/dist/promised-click-ng/promised-click-ng.js +126 -0
- package/dist/proxy-attrs/proxy-attrs.js +1 -1
- package/dist/query-assist/query-assist.js +97 -28
- package/dist/query-assist/query-assist__suggestions.js +5 -1
- package/dist/query-assist-ng/query-assist-ng.js +82 -0
- package/dist/radio/radio.js +7 -5
- package/dist/radio/radio__item.js +10 -15
- package/dist/radio-ng/radio-ng.js +63 -0
- package/dist/save-field-ng/save-field-ng.js +335 -0
- package/dist/save-field-ng/save-field-ng__template.js +34 -0
- package/dist/select/select.js +50 -49
- package/dist/select/select__filter.js +6 -1
- package/dist/select/select__popup.js +8 -3
- package/dist/select-ng/select-ng.js +621 -0
- package/dist/select-ng/select-ng__lazy.js +150 -0
- package/dist/select-ng/select-ng__options.js +145 -0
- package/dist/shortcuts/core.js +2 -2
- package/dist/shortcuts/shortcuts-hoc.js +6 -8
- package/dist/shortcuts/shortcuts.js +6 -6
- package/dist/shortcuts-hint-ng/shortcuts-hint-ng.js +120 -0
- package/dist/shortcuts-hint-ng/shortcuts-hint-ng__template.js +50 -0
- package/dist/shortcuts-ng/shortcuts-ng.js +261 -0
- package/dist/sidebar-ng/sidebar-ng.js +111 -0
- package/dist/sidebar-ng/sidebar-ng__button-template.js +20 -0
- package/dist/sidebar-ng/sidebar-ng__template.js +12 -0
- package/dist/storage/storage.js +3 -2
- package/dist/storage/storage__fallback.js +1 -1
- package/dist/storage/storage__local.js +3 -2
- package/dist/style.css +1 -1
- package/dist/tab-trap/tab-trap.js +7 -9
- package/dist/table/cell.js +2 -2
- package/dist/table/disable-hover-hoc.js +2 -2
- package/dist/table/header-cell.js +8 -9
- package/dist/table/header.js +10 -6
- package/dist/table/multitable.js +1 -1
- package/dist/table/row-with-focus-sensor.js +5 -3
- package/dist/table/row.js +11 -10
- package/dist/table/selection-adapter.js +1 -1
- package/dist/table/selection-shortcuts-hoc.js +8 -6
- package/dist/table/selection.js +1 -1
- package/dist/table/smart-table.js +14 -8
- package/dist/table/table.js +10 -11
- package/dist/table-legacy-ng/table-legacy-ng.js +501 -0
- package/dist/table-legacy-ng/table-legacy-ng__pager.js +122 -0
- package/dist/table-legacy-ng/table-legacy-ng__selection-navigate-actions.js +123 -0
- package/dist/table-legacy-ng/table-legacy-ng__selection.js +179 -0
- package/dist/table-legacy-ng/table-legacy-ng__toolbar.js +56 -0
- package/dist/table-ng/smart-table-ng.js +65 -0
- package/dist/table-ng/table-ng.js +64 -0
- package/dist/tabs/collapsible-more.js +9 -6
- package/dist/tabs/collapsible-tab.js +7 -7
- package/dist/tabs/collapsible-tabs.js +19 -20
- package/dist/tabs/dumb-tabs.js +12 -9
- package/dist/tabs/smart-tabs.js +11 -9
- package/dist/tabs/tab-link.js +13 -7
- package/dist/tabs/tab.js +1 -1
- package/dist/tabs/tabs.js +5 -1
- package/dist/tabs-ng/tabs-ng.js +193 -0
- package/dist/tabs-ng/tabs-ng__template.js +40 -0
- package/dist/tag/tag.js +20 -14
- package/dist/tags-input/tags-input.js +14 -10
- package/dist/tags-input-ng/tags-input-ng.js +89 -0
- package/dist/tags-list/tags-list.js +8 -9
- package/dist/template-ng/template-ng.js +70 -0
- package/dist/text/text.js +7 -9
- package/dist/theme-ng/theme-ng.js +44 -0
- package/dist/title-ng/title-ng.js +114 -0
- package/dist/toggle/toggle.js +8 -11
- package/dist/toggle-ng/toggle-ng.js +16 -0
- package/dist/tooltip/tooltip.js +14 -12
- package/dist/tooltip-ng/tooltip-ng.js +98 -0
- package/dist/user-agreement/service.js +409 -0
- package/dist/user-agreement/toolbox.eula.js +162 -0
- package/dist/user-agreement/user-agreement.js +167 -0
- package/dist/user-card/card.js +3 -0
- package/dist/user-card/smart-user-card-tooltip.js +14 -14
- package/dist/user-card/tooltip.js +9 -7
- package/dist/user-card/user-card.js +5 -2
- package/dist/user-card-ng/user-card-ng.js +59 -0
- package/package.json +84 -82
- package/webpack.config.js +14 -10
- package/components/button-set-ng/button-set-ng.html +0 -1
- package/components/footer-ng/footer-ng.html +0 -13
- package/components/form-ng/form-ng__error-bubble.html +0 -3
- package/components/table-legacy-ng/table-legacy-ng.html +0 -4
- package/components/table-legacy-ng/table-legacy-ng__column.html +0 -12
- package/components/table-legacy-ng/table-legacy-ng__header.html +0 -4
- package/components/table-legacy-ng/table-legacy-ng__pager.html +0 -7
- package/components/table-legacy-ng/table-legacy-ng__row.html +0 -12
- package/components/table-legacy-ng/table-legacy-ng__title.html +0 -9
- package/dist/_helpers/caption.js +0 -25
- package/dist/_helpers/icon__svg.js +0 -83
|
@@ -13,11 +13,13 @@ function TabLink({isSelected, title, collapsed, ...restProps}) {
|
|
|
13
13
|
return (
|
|
14
14
|
<Link {...restProps}>
|
|
15
15
|
{() => (
|
|
16
|
-
|
|
16
|
+
<div className={styles.container}>
|
|
17
17
|
<span className={styles.visible}>{renderedTitle}</span>
|
|
18
18
|
{/* hack for preserving constant tab width*/}
|
|
19
19
|
<span className={styles.hidden}>{renderedTitle}</span>
|
|
20
|
-
|
|
20
|
+
<span className={styles.hiddenBold}>{renderedTitle}</span>
|
|
21
|
+
<span className={styles.hiddenRegular}>{renderedTitle}</span>
|
|
22
|
+
</div>
|
|
21
23
|
)}
|
|
22
24
|
</Link>
|
|
23
25
|
);
|
package/components/tabs/tabs.css
CHANGED
|
@@ -66,6 +66,11 @@
|
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
+
.title.titleLegacy {
|
|
70
|
+
display: inline-flex;
|
|
71
|
+
flex-direction: column;
|
|
72
|
+
}
|
|
73
|
+
|
|
69
74
|
.title + .title {
|
|
70
75
|
margin-left: calc(unit * 3);
|
|
71
76
|
}
|
|
@@ -112,12 +117,34 @@
|
|
|
112
117
|
text-align: center;
|
|
113
118
|
}
|
|
114
119
|
|
|
120
|
+
.container {
|
|
121
|
+
display: flex;
|
|
122
|
+
flex-direction: column;
|
|
123
|
+
}
|
|
124
|
+
|
|
115
125
|
.hidden {
|
|
126
|
+
display: flex;
|
|
127
|
+
visibility: hidden;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.hiddenBold {
|
|
131
|
+
display: flex;
|
|
116
132
|
visibility: hidden;
|
|
117
133
|
|
|
134
|
+
height: 0;
|
|
135
|
+
|
|
118
136
|
font-weight: bold;
|
|
119
137
|
}
|
|
120
138
|
|
|
139
|
+
.hiddenRegular {
|
|
140
|
+
display: flex;
|
|
141
|
+
visibility: hidden;
|
|
142
|
+
|
|
143
|
+
height: 0;
|
|
144
|
+
|
|
145
|
+
font-weight: normal;
|
|
146
|
+
}
|
|
147
|
+
|
|
121
148
|
.tabCounter {
|
|
122
149
|
padding-left: 8px;
|
|
123
150
|
|
|
@@ -142,15 +169,15 @@
|
|
|
142
169
|
max-width: 100%;
|
|
143
170
|
}
|
|
144
171
|
|
|
145
|
-
.autoCollapse.adjusted {
|
|
146
|
-
visibility: visible;
|
|
147
|
-
overflow: visible;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
172
|
.autoCollapse .title {
|
|
151
173
|
flex-shrink: 0;
|
|
152
174
|
}
|
|
153
175
|
|
|
176
|
+
.rendered.adjusted {
|
|
177
|
+
visibility: visible;
|
|
178
|
+
overflow: visible;
|
|
179
|
+
}
|
|
180
|
+
|
|
154
181
|
.measure {
|
|
155
182
|
position: absolute;
|
|
156
183
|
top: 0;
|
|
@@ -5,6 +5,8 @@ import className from 'classnames';
|
|
|
5
5
|
import styles from '../tabs/tabs.css';
|
|
6
6
|
import Theme from '../global/theme';
|
|
7
7
|
|
|
8
|
+
import template from './tabs-ng__template';
|
|
9
|
+
|
|
8
10
|
/**
|
|
9
11
|
* @name Tabs Ng
|
|
10
12
|
*/
|
|
@@ -15,7 +17,7 @@ angularModule.directive('rgTabs', function rgTabsDirective($location, $rootScope
|
|
|
15
17
|
return {
|
|
16
18
|
restrict: 'E',
|
|
17
19
|
transclude: true,
|
|
18
|
-
template
|
|
20
|
+
template,
|
|
19
21
|
replace: true,
|
|
20
22
|
|
|
21
23
|
scope: {
|
|
@@ -161,7 +163,7 @@ angularModule.directive('rgTabs', function rgTabsDirective($location, $rootScope
|
|
|
161
163
|
// I think this bug depends on the frequency of addTab calls (actually on digests)
|
|
162
164
|
// and ng-class detection of added and removed classes becomes broken.
|
|
163
165
|
// @maxim.erekhinskiy
|
|
164
|
-
$scope.tabClass = pane => className(styles.title, {
|
|
166
|
+
$scope.tabClass = pane => className(styles.title, styles.titleLegacy, {
|
|
165
167
|
[styles.selected]: pane.selected
|
|
166
168
|
});
|
|
167
169
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
export default `<div
|
|
2
2
|
ng-class=":: [styles.tabs, styles[theme]]"
|
|
3
3
|
rg-shortcuts="ring-tabs"
|
|
4
4
|
shortcuts-map="keyMap"
|
|
@@ -26,9 +26,13 @@
|
|
|
26
26
|
hack for preserving constant tab width
|
|
27
27
|
--><span ng-class=":: styles.hidden">{{pane.title}}<span
|
|
28
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>
|
|
29
33
|
</button>
|
|
30
34
|
</div>
|
|
31
35
|
|
|
32
36
|
<div ng-transclude></div>
|
|
33
37
|
|
|
34
|
-
</div
|
|
38
|
+
</div>`;
|
package/components/tag/tag.css
CHANGED
|
@@ -56,7 +56,10 @@
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
.tagAngled {
|
|
59
|
-
|
|
59
|
+
/* it needs to fix vertical alignment broken by "overflow: hidden". Remove this class, when IE11 will be deprecated */
|
|
60
|
+
|
|
61
|
+
margin-bottom: -5px !important;
|
|
62
|
+
|
|
60
63
|
margin-left: unit;
|
|
61
64
|
padding-left: calc(unit / 2);
|
|
62
65
|
|
|
@@ -73,7 +76,7 @@
|
|
|
73
76
|
width: 12px;
|
|
74
77
|
height: 12px;
|
|
75
78
|
|
|
76
|
-
content:
|
|
79
|
+
content: "";
|
|
77
80
|
transform: scaleY(1.177) rotate(45deg);
|
|
78
81
|
transform-origin: 0 0;
|
|
79
82
|
|
package/components/tag/tag.js
CHANGED
|
@@ -29,7 +29,8 @@ export default class Tag extends PureComponent {
|
|
|
29
29
|
textColor: PropTypes.string,
|
|
30
30
|
|
|
31
31
|
children: PropTypes.node,
|
|
32
|
-
className: PropTypes.string
|
|
32
|
+
className: PropTypes.string,
|
|
33
|
+
render: PropTypes.func
|
|
33
34
|
};
|
|
34
35
|
|
|
35
36
|
static defaultProps = {
|
|
@@ -37,7 +38,8 @@ export default class Tag extends PureComponent {
|
|
|
37
38
|
onClick: () => {},
|
|
38
39
|
readOnly: false,
|
|
39
40
|
disabled: false,
|
|
40
|
-
focused: false
|
|
41
|
+
focused: false,
|
|
42
|
+
render: props => <button type="button" {...props}/>
|
|
41
43
|
};
|
|
42
44
|
|
|
43
45
|
state = {
|
|
@@ -155,23 +157,24 @@ export default class Tag extends PureComponent {
|
|
|
155
157
|
this.props.className
|
|
156
158
|
);
|
|
157
159
|
|
|
158
|
-
const {backgroundColor, textColor} = this.props;
|
|
160
|
+
const {backgroundColor, textColor, render} = this.props;
|
|
159
161
|
|
|
160
162
|
return (
|
|
161
163
|
<span className={styles.container}>
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
164
|
+
{render({
|
|
165
|
+
'data-test': 'ring-tag',
|
|
166
|
+
className: classes,
|
|
167
|
+
ref: this.tagRef,
|
|
168
|
+
onClick: this.props.onClick,
|
|
169
|
+
style: {backgroundColor, color: textColor},
|
|
170
|
+
children: (
|
|
171
|
+
<>
|
|
172
|
+
{this.renderAvatar()}
|
|
173
|
+
{this.renderCustomIcon()}
|
|
174
|
+
{this.renderImage()}
|
|
175
|
+
<span className={styles.content}>{this.props.children}</span>
|
|
176
|
+
</>)
|
|
177
|
+
})}
|
|
175
178
|
{this.renderRemoveIcon()}
|
|
176
179
|
</span>
|
|
177
180
|
);
|
|
@@ -116,7 +116,7 @@ export const autoOpenInADialog = () => {
|
|
|
116
116
|
return (
|
|
117
117
|
<>
|
|
118
118
|
<Button>Button</Button>
|
|
119
|
-
<Dialog show trapFocus autoFocusFirst={false}>
|
|
119
|
+
<Dialog label="Tags" show trapFocus autoFocusFirst={false}>
|
|
120
120
|
<Content>
|
|
121
121
|
<TagsInput tags={tags} dataSource={dataSource} autoOpen/>
|
|
122
122
|
</Content>
|
|
@@ -70,6 +70,11 @@ export default class TagsInput extends PureComponent {
|
|
|
70
70
|
placeholder: 'Select an option'
|
|
71
71
|
};
|
|
72
72
|
|
|
73
|
+
constructor(props) {
|
|
74
|
+
super(props);
|
|
75
|
+
this.ngModelStateField = TagsInput.ngModelStateField;
|
|
76
|
+
}
|
|
77
|
+
|
|
73
78
|
state = {
|
|
74
79
|
tags: [],
|
|
75
80
|
prevTags: null,
|
|
@@ -102,8 +107,6 @@ export default class TagsInput extends PureComponent {
|
|
|
102
107
|
this.node = node;
|
|
103
108
|
};
|
|
104
109
|
|
|
105
|
-
ngModelStateField = TagsInput.ngModelStateField;
|
|
106
|
-
|
|
107
110
|
getInputNode() {
|
|
108
111
|
if (!this.input) {
|
|
109
112
|
this.input = this.select.filter;
|
|
@@ -20,7 +20,7 @@ export default class Tooltip extends Component {
|
|
|
20
20
|
delay: PropTypes.number,
|
|
21
21
|
selfOverflowOnly: PropTypes.bool,
|
|
22
22
|
popupProps: PropTypes.object,
|
|
23
|
-
title: PropTypes.
|
|
23
|
+
title: PropTypes.node,
|
|
24
24
|
children: PropTypes.node,
|
|
25
25
|
'data-test': PropTypes.string
|
|
26
26
|
};
|
|
@@ -133,15 +133,20 @@ export default class Tooltip extends Component {
|
|
|
133
133
|
const {children, 'data-test': dataTest,
|
|
134
134
|
title, delay, selfOverflowOnly, popupProps, ...restProps} = this.props;
|
|
135
135
|
|
|
136
|
+
const ariaProps = typeof title === 'string' && !!title
|
|
137
|
+
? {'aria-label': title, role: 'tooltip'}
|
|
138
|
+
: {};
|
|
139
|
+
|
|
136
140
|
const {onNestedTooltipShow, onNestedTooltipHide} = this;
|
|
137
141
|
|
|
138
142
|
return (
|
|
139
143
|
<TooltipContext.Provider value={{onNestedTooltipShow, onNestedTooltipHide}}>
|
|
140
144
|
<span
|
|
145
|
+
{...ariaProps}
|
|
141
146
|
{...restProps}
|
|
142
147
|
ref={this.containerRef}
|
|
143
148
|
data-test={dataTests('ring-tooltip', dataTest)}
|
|
144
|
-
data-test-title={title}
|
|
149
|
+
data-test-title={typeof title === 'string' ? title : undefined}
|
|
145
150
|
>
|
|
146
151
|
{children}
|
|
147
152
|
<Popup
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@import "../global/variables.css";
|
|
2
2
|
|
|
3
|
-
@value unit, extra-small-screen-media from
|
|
3
|
+
@value unit, extra-small-screen-media from "../global/global.css";
|
|
4
4
|
|
|
5
5
|
.agreementDialog {
|
|
6
6
|
padding-bottom: 80px;
|
|
@@ -16,10 +16,6 @@
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
.scrollableWrapper {
|
|
20
|
-
padding-top: 0;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
19
|
.suggestion {
|
|
24
20
|
padding-bottom: unit;
|
|
25
21
|
|
|
@@ -27,8 +27,6 @@ export const dialog = args => (
|
|
|
27
27
|
);
|
|
28
28
|
|
|
29
29
|
dialog.args = {
|
|
30
|
-
// https://github.com/storybookjs/storybook/issues/12635#issuecomment-703392498
|
|
31
|
-
translations: UserAgreement.defaultProps.translations,
|
|
32
30
|
show: true,
|
|
33
31
|
text,
|
|
34
32
|
onRemindLater: null
|
|
@@ -36,12 +34,15 @@ dialog.args = {
|
|
|
36
34
|
dialog.argTypes = {
|
|
37
35
|
onRemindLater: {}
|
|
38
36
|
};
|
|
37
|
+
dialog.parameters = {
|
|
38
|
+
actions: {argTypesRegex: '^on(?!RemindLater).*'}
|
|
39
|
+
};
|
|
39
40
|
dialog.storyName = 'dialog';
|
|
40
41
|
|
|
41
42
|
function noop() {}
|
|
42
43
|
export const service = ({
|
|
43
|
-
|
|
44
|
-
onGetUserConsent,
|
|
44
|
+
onGetUserAgreement = noop,
|
|
45
|
+
onGetUserConsent = noop,
|
|
45
46
|
onSetUserConsent = noop,
|
|
46
47
|
onAccept,
|
|
47
48
|
onDecline,
|
|
@@ -61,7 +62,7 @@ export const service = ({
|
|
|
61
62
|
|
|
62
63
|
const agreementService = new UserAgreementService({
|
|
63
64
|
getUserAgreement: () => {
|
|
64
|
-
|
|
65
|
+
onGetUserAgreement(fakeUserAgreement);
|
|
65
66
|
return fakeUserAgreement;
|
|
66
67
|
},
|
|
67
68
|
getUserConsent: () => {
|
|
@@ -95,7 +96,7 @@ export const service = ({
|
|
|
95
96
|
};
|
|
96
97
|
|
|
97
98
|
service.argTypes = {
|
|
98
|
-
|
|
99
|
+
onGetUserAgreement: {},
|
|
99
100
|
onGetUserConsent: {},
|
|
100
101
|
onSetUserConsent: {},
|
|
101
102
|
onAccept: {},
|
|
@@ -28,12 +28,20 @@ export default class UserAgreement extends PureComponent {
|
|
|
28
28
|
onDecline: PropTypes.func,
|
|
29
29
|
onClose: PropTypes.func,
|
|
30
30
|
onRemindLater: PropTypes.func,
|
|
31
|
-
translations: PropTypes.
|
|
31
|
+
translations: PropTypes.shape({
|
|
32
|
+
userAgreement: PropTypes.string.isRequired,
|
|
33
|
+
accept: PropTypes.string.isRequired,
|
|
34
|
+
decline: PropTypes.string.isRequired,
|
|
35
|
+
close: PropTypes.string.isRequired,
|
|
36
|
+
scrollToAccept: PropTypes.string.isRequired,
|
|
37
|
+
remindLater: PropTypes.string.isRequired
|
|
38
|
+
}),
|
|
32
39
|
className: PropTypes.string
|
|
33
40
|
};
|
|
34
41
|
|
|
35
42
|
static defaultProps = {
|
|
36
43
|
translations: {
|
|
44
|
+
userAgreement: 'User Agreement',
|
|
37
45
|
accept: 'Accept',
|
|
38
46
|
decline: 'Decline',
|
|
39
47
|
close: 'Close',
|
|
@@ -68,6 +76,7 @@ export default class UserAgreement extends PureComponent {
|
|
|
68
76
|
|
|
69
77
|
return (
|
|
70
78
|
<Dialog
|
|
79
|
+
label={translations.userAgreement}
|
|
71
80
|
show={show}
|
|
72
81
|
className={classNames(style.agreementDialog, className)}
|
|
73
82
|
contentClassName={style.dialogContent}
|
|
@@ -75,9 +84,8 @@ export default class UserAgreement extends PureComponent {
|
|
|
75
84
|
autoFocusFirst={false}
|
|
76
85
|
data-test="user-agreement"
|
|
77
86
|
>
|
|
78
|
-
<Header
|
|
87
|
+
<Header>{translations.userAgreement}</Header>
|
|
79
88
|
<Content
|
|
80
|
-
scrollableWrapperClassName={style.scrollableWrapper}
|
|
81
89
|
fade
|
|
82
90
|
onScrollToBottom={this.onScrollToBottom}
|
|
83
91
|
>
|
|
@@ -1,41 +1,3 @@
|
|
|
1
|
-
function ownKeys(object, enumerableOnly) {
|
|
2
|
-
var keys = Object.keys(object);
|
|
3
|
-
|
|
4
|
-
if (Object.getOwnPropertySymbols) {
|
|
5
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
6
|
-
|
|
7
|
-
if (enumerableOnly) {
|
|
8
|
-
symbols = symbols.filter(function (sym) {
|
|
9
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
keys.push.apply(keys, symbols);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
return keys;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
function _objectSpread2(target) {
|
|
20
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
21
|
-
var source = arguments[i] != null ? arguments[i] : {};
|
|
22
|
-
|
|
23
|
-
if (i % 2) {
|
|
24
|
-
ownKeys(Object(source), true).forEach(function (key) {
|
|
25
|
-
_defineProperty(target, key, source[key]);
|
|
26
|
-
});
|
|
27
|
-
} else if (Object.getOwnPropertyDescriptors) {
|
|
28
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
29
|
-
} else {
|
|
30
|
-
ownKeys(Object(source)).forEach(function (key) {
|
|
31
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
return target;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
1
|
function _defineProperty(obj, key, value) {
|
|
40
2
|
if (key in obj) {
|
|
41
3
|
Object.defineProperty(obj, key, {
|
|
@@ -69,59 +31,4 @@ function _extends() {
|
|
|
69
31
|
return _extends.apply(this, arguments);
|
|
70
32
|
}
|
|
71
33
|
|
|
72
|
-
|
|
73
|
-
if (source == null) return {};
|
|
74
|
-
var target = {};
|
|
75
|
-
var sourceKeys = Object.keys(source);
|
|
76
|
-
var key, i;
|
|
77
|
-
|
|
78
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
|
79
|
-
key = sourceKeys[i];
|
|
80
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
81
|
-
target[key] = source[key];
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
return target;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
function _objectWithoutProperties(source, excluded) {
|
|
88
|
-
if (source == null) return {};
|
|
89
|
-
|
|
90
|
-
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
91
|
-
|
|
92
|
-
var key, i;
|
|
93
|
-
|
|
94
|
-
if (Object.getOwnPropertySymbols) {
|
|
95
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
96
|
-
|
|
97
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
98
|
-
key = sourceSymbolKeys[i];
|
|
99
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
100
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
101
|
-
target[key] = source[key];
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
return target;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
function _toPrimitive(input, hint) {
|
|
109
|
-
if (typeof input !== "object" || input === null) return input;
|
|
110
|
-
var prim = input[Symbol.toPrimitive];
|
|
111
|
-
|
|
112
|
-
if (prim !== undefined) {
|
|
113
|
-
var res = prim.call(input, hint || "default");
|
|
114
|
-
if (typeof res !== "object") return res;
|
|
115
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
return (hint === "string" ? String : Number)(input);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
function _toPropertyKey(arg) {
|
|
122
|
-
var key = _toPrimitive(arg, "string");
|
|
123
|
-
|
|
124
|
-
return typeof key === "symbol" ? key : String(key);
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
export { _defineProperty as _, _objectWithoutProperties as a, _extends as b, _objectSpread2 as c, _toPropertyKey as d };
|
|
34
|
+
export { _defineProperty as _, _extends as a };
|
package/dist/_helpers/anchor.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as _extends } from './_rollupPluginBabelHelpers.js';
|
|
2
2
|
import React, { memo } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import chevronDown from '@jetbrains/icons/chevron-10px';
|
|
@@ -6,15 +6,14 @@ import classNames from 'classnames';
|
|
|
6
6
|
import Icon from '../icon/icon.js';
|
|
7
7
|
import Button from '../button/button.js';
|
|
8
8
|
|
|
9
|
-
var modules_d9414203 = {"dropdown":"
|
|
9
|
+
var modules_d9414203 = {"dropdown":"dropdown_rui_15de","anchor":"anchor_rui_15de","chevron":"chevron_rui_15de"};
|
|
10
10
|
|
|
11
11
|
const Anchor = _ref => {
|
|
12
12
|
let {
|
|
13
13
|
children,
|
|
14
|
-
className
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
className,
|
|
15
|
+
...restProps
|
|
16
|
+
} = _ref;
|
|
18
17
|
return /*#__PURE__*/React.createElement(Button, _extends({
|
|
19
18
|
text: true,
|
|
20
19
|
className: classNames(modules_d9414203.anchor, className)
|
package/dist/_helpers/badge.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
var modules_6c9187df = {"unit":"8px","badge":"
|
|
1
|
+
var modules_6c9187df = {"unit":"8px","badge":"badge_rui_e7ea","gray":"gray_rui_e7ea","valid":"valid_rui_e7ea","invalid":"invalid_rui_e7ea","disabled":"disabled_rui_e7ea"};
|
|
2
2
|
|
|
3
3
|
export { modules_6c9187df as m };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import classNames from 'classnames';
|
|
2
2
|
import Theme from '../global/theme.js';
|
|
3
3
|
|
|
4
|
-
var modules_e81895c9 = {"unit":"8px","button-shadow":"inset 0 0 0 1px","height":"24px","loaderWidth":"64px","
|
|
4
|
+
var modules_e81895c9 = {"unit":"8px","button-shadow":"inset 0 0 0 1px","height":"24px","loaderWidth":"64px","light":"light_rui_8477","active":"active_rui_8477 active_rui_e33e","withIcon":"withIcon_rui_8477","icon":"icon_rui_8477","primary":"primary_rui_8477","danger":"danger_rui_8477","loaderBackground":"loaderBackground_rui_8477","dark":"dark_rui_8477","dropdownIcon":"dropdownIcon_rui_8477","button":"button_rui_8477 button_rui_e33e button_rui_40c7 button_rui_ec74","loader":"loader_rui_8477","text":"text_rui_8477","content":"content_rui_8477","text-loading":"textLoading_rui_8477","inline":"inline_rui_8477","withNormalIconLight":"withNormalIconLight_rui_8477","withNormalIconDark":"withNormalIconDark_rui_8477","withDangerIconLight":"withDangerIconLight_rui_8477","withDangerIconDark":"withDangerIconDark_rui_8477","progress":"progress_rui_8477","delayed":"delayed_rui_8477","short":"short_rui_8477"};
|
|
5
5
|
|
|
6
6
|
function getButtonClasses(_ref) {
|
|
7
7
|
let {
|
package/dist/_helpers/card.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, a as _extends } from './_rollupPluginBabelHelpers.js';
|
|
2
2
|
import React, { PureComponent } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import classNames from 'classnames';
|
|
@@ -6,19 +6,17 @@ import Avatar, { Size } from '../avatar/avatar.js';
|
|
|
6
6
|
import Link from '../link/link.js';
|
|
7
7
|
import { m as modules_6c9187df } from './badge.js';
|
|
8
8
|
|
|
9
|
-
var modules_a4196c17 = {"unit":"8px","userCardSpaced":"
|
|
9
|
+
var modules_a4196c17 = {"unit":"8px","userCardSpaced":"userCardSpaced_rui_2a18","userInformationContainer":"userInformationContainer_rui_2a18","userInformation":"userInformation_rui_2a18","userName":"userName_rui_2a18","userActiveStatus":"userActiveStatus_rui_2a18","online":"online_rui_2a18"};
|
|
10
10
|
|
|
11
11
|
class UserCard extends PureComponent {
|
|
12
12
|
render() {
|
|
13
|
-
const
|
|
14
|
-
{
|
|
13
|
+
const {
|
|
15
14
|
children,
|
|
16
15
|
className,
|
|
17
16
|
user,
|
|
18
|
-
wording
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
wording,
|
|
18
|
+
...restProps
|
|
19
|
+
} = this.props;
|
|
22
20
|
const classes = classNames(className, {});
|
|
23
21
|
const userActiveStatusClasses = classNames(modules_a4196c17.userActiveStatus, user.online ? modules_a4196c17.online : '');
|
|
24
22
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var modules_3199090e = {"unit":"8px","checkboxSize":"14px","checkbox":"checkbox_rui_c636","cell":"cell_rui_c636","icon":"icon_rui_c636","check":"check_rui_c636 icon_rui_c636","minus":"minus_rui_c636 icon_rui_c636","input":"input_rui_c636","focus":"focus_rui_c636","label":"label_rui_c636"};
|
|
2
|
+
|
|
3
|
+
export { modules_3199090e as m };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
var modules_0c7b7d96 = {"unit":"8px","resetButton":"
|
|
1
|
+
var modules_0c7b7d96 = {"unit":"8px","resetButton":"resetButton_rui_750f","cellSize":"24px","calHeight":"288px","calWidth":"296px","yearHeight":"32px","yearWidth":"48px","container":"container_rui_2e95","hoverable":"hoverable_rui_2e95","datePicker":"datePicker_rui_2e95","displayDate":"displayDate_rui_2e95","displayRange":"displayRange_rui_2e95","clear":"clear_rui_2e95","datePopup":"datePopup_rui_2e95","filterWrapper":"filterWrapper_rui_2e95 filterWrapper_rui_7e99","filter":"filter_rui_2e95 filter_rui_7e99","filterIcon":"filterIcon_rui_2e95 filterIcon_rui_7e99","fromInput":"fromInput_rui_2e95","fromInputWithDivider":"fromInputWithDivider_rui_2e95","toInput":"toInput_rui_2e95","dateInput":"dateInput_rui_2e95","timeInputWithDivider":"timeInputWithDivider_rui_2e95","weekdays":"weekdays_rui_2e95","weekday":"weekday_rui_2e95","weekend":"weekend_rui_2e95","calendar":"calendar_rui_2e95","months":"months_rui_2e95","days":"days_rui_2e95","month":"month_rui_2e95","monthTitle":"monthTitle_rui_2e95","day":"day_rui_2e95 resetButton_rui_750f","between":"between_rui_2e95","activeBetween":"activeBetween_rui_2e95","current":"current_rui_2e95","active":"active_rui_2e95","disabled":"disabled_rui_2e95","from":"from_rui_2e95","to":"to_rui_2e95","Monday":"Monday_rui_2e95","spread":"spread_rui_2e95","activeSpread":"activeSpread_rui_2e95","first":"first_rui_2e95","Tuesday":"Tuesday_rui_2e95","Friday":"Friday_rui_2e95","Saturday":"Saturday_rui_2e95","Sunday":"Sunday_rui_2e95","empty":"empty_rui_2e95","today":"today_rui_2e95","year":"year_rui_2e95 hoverable_rui_2e95 resetButton_rui_750f","monthNames":"monthNames_rui_2e95","monthName":"monthName_rui_2e95 hoverable_rui_2e95 resetButton_rui_750f","monthSlider":"monthSlider_rui_2e95 resetButton_rui_750f","dragging":"dragging_rui_2e95","range":"range_rui_2e95","years":"years_rui_2e95","currentYear":"currentYear_rui_2e95"};
|
|
2
2
|
|
|
3
3
|
export { modules_0c7b7d96 as m };
|