@jetbrains/ring-ui-built 6.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +202 -0
- package/README.md +103 -0
- package/components/_helpers/_rollupPluginBabelHelpers.js +648 -0
- package/components/_helpers/anchor.js +31 -0
- package/components/_helpers/badge.js +3 -0
- package/components/_helpers/button__classes.js +34 -0
- package/components/_helpers/caption.js +31 -0
- package/components/_helpers/card.js +132 -0
- package/components/_helpers/date-picker.js +3 -0
- package/components/_helpers/dialog__body-scroll-preventer.js +54 -0
- package/components/_helpers/grid.js +3 -0
- package/components/_helpers/header.js +3 -0
- package/components/_helpers/heading.js +3 -0
- package/components/_helpers/icon__svg.js +75 -0
- package/components/_helpers/input.js +235 -0
- package/components/_helpers/island.js +3 -0
- package/components/_helpers/link.js +3 -0
- package/components/_helpers/list.js +3 -0
- package/components/_helpers/query-assist__suggestions.js +102 -0
- package/components/_helpers/select__filter.js +94 -0
- package/components/_helpers/services-link.js +48 -0
- package/components/_helpers/sidebar.js +123 -0
- package/components/_helpers/tab-link.js +34 -0
- package/components/_helpers/table.js +3 -0
- package/components/_helpers/theme.js +95 -0
- package/components/_helpers/title.js +103 -0
- package/components/alert/alert.d.ts +113 -0
- package/components/alert/alert.js +294 -0
- package/components/alert/container.d.ts +15 -0
- package/components/alert/container.js +52 -0
- package/components/alert-service/alert-service.d.ts +36 -0
- package/components/alert-service/alert-service.js +220 -0
- package/components/analytics/analytics.d.ts +18 -0
- package/components/analytics/analytics.js +31 -0
- package/components/analytics/analytics__custom-plugin.d.ts +28 -0
- package/components/analytics/analytics__custom-plugin.js +89 -0
- package/components/auth/auth.d.ts +3 -0
- package/components/auth/auth.js +133 -0
- package/components/auth/auth__core.d.ts +236 -0
- package/components/auth/auth__core.js +1653 -0
- package/components/auth/background-flow.d.ts +31 -0
- package/components/auth/background-flow.js +147 -0
- package/components/auth/down-notification.d.ts +15 -0
- package/components/auth/down-notification.js +157 -0
- package/components/auth/iframe-flow.d.ts +20 -0
- package/components/auth/iframe-flow.js +196 -0
- package/components/auth/request-builder.d.ts +48 -0
- package/components/auth/request-builder.js +104 -0
- package/components/auth/response-parser.d.ts +70 -0
- package/components/auth/response-parser.js +138 -0
- package/components/auth/storage.d.ts +112 -0
- package/components/auth/storage.js +429 -0
- package/components/auth/token-validator.d.ts +93 -0
- package/components/auth/token-validator.js +269 -0
- package/components/auth/window-flow.d.ts +26 -0
- package/components/auth/window-flow.js +154 -0
- package/components/auth-dialog/auth-dialog.d.ts +60 -0
- package/components/auth-dialog/auth-dialog.js +221 -0
- package/components/auth-dialog-service/auth-dialog-service.d.ts +6 -0
- package/components/auth-dialog-service/auth-dialog-service.js +92 -0
- package/components/avatar/avatar-example-datauri.d.ts +1 -0
- package/components/avatar/avatar-example-datauri.js +4 -0
- package/components/avatar/avatar.d.ts +52 -0
- package/components/avatar/avatar.js +183 -0
- package/components/avatar/fallback-avatar.d.ts +17 -0
- package/components/avatar/fallback-avatar.js +151 -0
- package/components/badge/badge.d.ts +24 -0
- package/components/badge/badge.js +59 -0
- package/components/button/button.d.ts +67 -0
- package/components/button/button.js +131 -0
- package/components/button/button__classes.d.ts +2 -0
- package/components/button/button__classes.js +2 -0
- package/components/button-group/button-group.d.ts +18 -0
- package/components/button-group/button-group.js +48 -0
- package/components/button-group/caption.d.ts +8 -0
- package/components/button-group/caption.js +5 -0
- package/components/button-set/button-set.d.ts +16 -0
- package/components/button-set/button-set.js +47 -0
- package/components/button-toolbar/button-toolbar.d.ts +16 -0
- package/components/button-toolbar/button-toolbar.js +46 -0
- package/components/caret/caret.d.ts +66 -0
- package/components/caret/caret.js +259 -0
- package/components/checkbox/checkbox.d.ts +45 -0
- package/components/checkbox/checkbox.js +130 -0
- package/components/clipboard/clipboard-fallback.d.ts +2 -0
- package/components/clipboard/clipboard-fallback.js +42 -0
- package/components/clipboard/clipboard.d.ts +5 -0
- package/components/clipboard/clipboard.js +185 -0
- package/components/code/code.d.ts +44 -0
- package/components/code/code.js +191 -0
- package/components/confirm/confirm.d.ts +48 -0
- package/components/confirm/confirm.js +153 -0
- package/components/confirm-service/confirm-service.d.ts +21 -0
- package/components/confirm-service/confirm-service.js +141 -0
- package/components/content-layout/content-layout.d.ts +26 -0
- package/components/content-layout/content-layout.js +79 -0
- package/components/content-layout/sidebar.d.ts +31 -0
- package/components/content-layout/sidebar.js +7 -0
- package/components/contenteditable/contenteditable.d.ts +47 -0
- package/components/contenteditable/contenteditable.js +84 -0
- package/components/control-label/control-label.d.ts +11 -0
- package/components/control-label/control-label.js +36 -0
- package/components/data-list/data-list.d.ts +85 -0
- package/components/data-list/data-list.js +251 -0
- package/components/data-list/data-list.mock.d.ts +16 -0
- package/components/data-list/data-list.mock.js +192 -0
- package/components/data-list/item.d.ts +50 -0
- package/components/data-list/item.js +235 -0
- package/components/data-list/selection.d.ts +16 -0
- package/components/data-list/selection.js +148 -0
- package/components/data-list/title.d.ts +26 -0
- package/components/data-list/title.js +28 -0
- package/components/date-picker/consts.d.ts +98 -0
- package/components/date-picker/consts.js +46 -0
- package/components/date-picker/date-input.d.ts +47 -0
- package/components/date-picker/date-input.js +177 -0
- package/components/date-picker/date-picker.d.ts +77 -0
- package/components/date-picker/date-picker.js +404 -0
- package/components/date-picker/date-popup.d.ts +55 -0
- package/components/date-picker/date-popup.js +488 -0
- package/components/date-picker/day.d.ts +30 -0
- package/components/date-picker/day.js +133 -0
- package/components/date-picker/formats.d.ts +2 -0
- package/components/date-picker/formats.js +3 -0
- package/components/date-picker/month-names.d.ts +13 -0
- package/components/date-picker/month-names.js +110 -0
- package/components/date-picker/month-slider.d.ts +29 -0
- package/components/date-picker/month-slider.js +93 -0
- package/components/date-picker/month.d.ts +14 -0
- package/components/date-picker/month.js +58 -0
- package/components/date-picker/months.d.ts +11 -0
- package/components/date-picker/months.js +133 -0
- package/components/date-picker/weekdays.d.ts +13 -0
- package/components/date-picker/weekdays.js +39 -0
- package/components/date-picker/years.d.ts +25 -0
- package/components/date-picker/years.js +134 -0
- package/components/dialog/dialog.d.ts +64 -0
- package/components/dialog/dialog.js +240 -0
- package/components/dialog/dialog__body-scroll-preventer.d.ts +9 -0
- package/components/dialog/dialog__body-scroll-preventer.js +6 -0
- package/components/dropdown/anchor.d.ts +11 -0
- package/components/dropdown/anchor.js +24 -0
- package/components/dropdown/dropdown.d.ts +87 -0
- package/components/dropdown/dropdown.js +247 -0
- package/components/dropdown-menu/dropdown-menu.d.ts +36 -0
- package/components/dropdown-menu/dropdown-menu.js +199 -0
- package/components/editable-heading/editable-heading.d.ts +32 -0
- package/components/editable-heading/editable-heading.js +276 -0
- package/components/error-bubble/error-bubble.d.ts +18 -0
- package/components/error-bubble/error-bubble.js +88 -0
- package/components/error-message/error-message.d.ts +27 -0
- package/components/error-message/error-message.js +78 -0
- package/components/footer/footer.d.ts +28 -0
- package/components/footer/footer.js +118 -0
- package/components/global/compose.d.ts +7 -0
- package/components/global/compose.js +17 -0
- package/components/global/composeRefs.d.ts +3 -0
- package/components/global/composeRefs.js +19 -0
- package/components/global/controls-height.d.ts +9 -0
- package/components/global/controls-height.js +19 -0
- package/components/global/create-stateful-context.d.ts +27 -0
- package/components/global/create-stateful-context.js +49 -0
- package/components/global/data-tests.d.ts +3 -0
- package/components/global/data-tests.js +30 -0
- package/components/global/dom.d.ts +37 -0
- package/components/global/dom.js +151 -0
- package/components/global/focus-sensor-hoc.d.ts +19 -0
- package/components/global/focus-sensor-hoc.js +165 -0
- package/components/global/fuzzy-highlight.d.ts +11 -0
- package/components/global/fuzzy-highlight.js +90 -0
- package/components/global/get-event-key.d.ts +2 -0
- package/components/global/get-event-key.js +101 -0
- package/components/global/get-uid.d.ts +1 -0
- package/components/global/get-uid.js +22 -0
- package/components/global/inject-styles.d.ts +3 -0
- package/components/global/inject-styles.js +22 -0
- package/components/global/linear-function.d.ts +6 -0
- package/components/global/linear-function.js +15 -0
- package/components/global/listeners.d.ts +8 -0
- package/components/global/listeners.js +58 -0
- package/components/global/memoize.d.ts +1 -0
- package/components/global/memoize.js +23 -0
- package/components/global/normalize-indent.d.ts +1 -0
- package/components/global/normalize-indent.js +60 -0
- package/components/global/promise-with-timeout.d.ts +5 -0
- package/components/global/promise-with-timeout.js +19 -0
- package/components/global/prop-types.d.ts +4 -0
- package/components/global/prop-types.js +9 -0
- package/components/global/react-dom-renderer.d.ts +16 -0
- package/components/global/react-dom-renderer.js +54 -0
- package/components/global/react-render-adapter.d.ts +1 -0
- package/components/global/react-render-adapter.js +6 -0
- package/components/global/rerender-hoc.d.ts +10 -0
- package/components/global/rerender-hoc.js +46 -0
- package/components/global/schedule-raf.d.ts +1 -0
- package/components/global/schedule-raf.js +28 -0
- package/components/global/sniffer.d.ts +3 -0
- package/components/global/sniffer.js +6 -0
- package/components/global/theme.d.ts +21 -0
- package/components/global/theme.js +42 -0
- package/components/global/trivial-template-tag.d.ts +1 -0
- package/components/global/trivial-template-tag.js +21 -0
- package/components/global/typescript-utils.d.ts +2 -0
- package/components/global/typescript-utils.js +8 -0
- package/components/global/url.d.ts +57 -0
- package/components/global/url.js +142 -0
- package/components/global/use-event-callback.d.ts +1 -0
- package/components/global/use-event-callback.js +17 -0
- package/components/global/variables.d.ts +89 -0
- package/components/global/variables.js +1 -0
- package/components/grid/col.d.ts +31 -0
- package/components/grid/col.js +80 -0
- package/components/grid/grid.d.ts +14 -0
- package/components/grid/grid.js +46 -0
- package/components/grid/row.d.ts +40 -0
- package/components/grid/row.js +75 -0
- package/components/group/group.d.ts +12 -0
- package/components/group/group.js +39 -0
- package/components/header/header.d.ts +34 -0
- package/components/header/header.js +189 -0
- package/components/header/logo.d.ts +14 -0
- package/components/header/logo.js +51 -0
- package/components/header/profile.d.ts +75 -0
- package/components/header/profile.js +258 -0
- package/components/header/services-link.d.ts +25 -0
- package/components/header/services-link.js +13 -0
- package/components/header/services.d.ts +33 -0
- package/components/header/services.js +174 -0
- package/components/header/smart-profile.d.ts +36 -0
- package/components/header/smart-profile.js +303 -0
- package/components/header/smart-services.d.ts +26 -0
- package/components/header/smart-services.js +192 -0
- package/components/header/tray-icon.d.ts +32 -0
- package/components/header/tray-icon.js +57 -0
- package/components/header/tray.d.ts +9 -0
- package/components/header/tray.js +41 -0
- package/components/heading/heading.d.ts +25 -0
- package/components/heading/heading.js +69 -0
- package/components/http/http.d.ts +61 -0
- package/components/http/http.js +386 -0
- package/components/http/http.mock.d.ts +20 -0
- package/components/http/http.mock.js +113 -0
- package/components/hub-source/hub-source.d.ts +44 -0
- package/components/hub-source/hub-source.js +217 -0
- package/components/hub-source/hub-source__user.d.ts +4 -0
- package/components/hub-source/hub-source__user.js +60 -0
- package/components/hub-source/hub-source__users-groups.d.ts +24 -0
- package/components/hub-source/hub-source__users-groups.js +86 -0
- package/components/i18n/i18n-context.d.ts +13 -0
- package/components/i18n/i18n-context.js +27 -0
- package/components/i18n/i18n.d.ts +59 -0
- package/components/i18n/i18n.js +139 -0
- package/components/icon/icon.d.ts +43 -0
- package/components/icon/icon.js +109 -0
- package/components/icon/icon__constants.d.ts +30 -0
- package/components/icon/icon__constants.js +34 -0
- package/components/icon/icon__svg.d.ts +15 -0
- package/components/icon/icon__svg.js +14 -0
- package/components/icon/index.d.ts +2 -0
- package/components/icon/index.js +17 -0
- package/components/input/input.d.ts +77 -0
- package/components/input/input.js +35 -0
- package/components/island/adaptive-island-hoc.d.ts +61 -0
- package/components/island/adaptive-island-hoc.js +53 -0
- package/components/island/content.d.ts +43 -0
- package/components/island/content.js +151 -0
- package/components/island/header.d.ts +8 -0
- package/components/island/header.js +100 -0
- package/components/island/island.d.ts +78 -0
- package/components/island/island.js +60 -0
- package/components/island-legacy/content-legacy.d.ts +10 -0
- package/components/island-legacy/content-legacy.js +34 -0
- package/components/island-legacy/header-legacy.d.ts +10 -0
- package/components/island-legacy/header-legacy.js +36 -0
- package/components/island-legacy/island-legacy.d.ts +12 -0
- package/components/island-legacy/island-legacy.js +36 -0
- package/components/link/clickableLink.d.ts +20 -0
- package/components/link/clickableLink.js +69 -0
- package/components/link/link.d.ts +138 -0
- package/components/link/link.js +86 -0
- package/components/list/consts.d.ts +77 -0
- package/components/list/consts.js +27 -0
- package/components/list/list.d.ts +205 -0
- package/components/list/list.js +802 -0
- package/components/list/list__custom.d.ts +6 -0
- package/components/list/list__custom.js +92 -0
- package/components/list/list__hint.d.ts +15 -0
- package/components/list/list__hint.js +33 -0
- package/components/list/list__item.d.ts +8 -0
- package/components/list/list__item.js +237 -0
- package/components/list/list__link.d.ts +9 -0
- package/components/list/list__link.js +76 -0
- package/components/list/list__separator.d.ts +5 -0
- package/components/list/list__separator.js +39 -0
- package/components/list/list__title.d.ts +5 -0
- package/components/list/list__title.js +48 -0
- package/components/list/list__users-groups-source.d.ts +27 -0
- package/components/list/list__users-groups-source.js +195 -0
- package/components/loader/loader.d.ts +28 -0
- package/components/loader/loader.js +93 -0
- package/components/loader/loader__core.d.ts +75 -0
- package/components/loader/loader__core.js +327 -0
- package/components/loader-inline/loader-inline.d.ts +18 -0
- package/components/loader-inline/loader-inline.js +50 -0
- package/components/loader-screen/loader-screen.d.ts +17 -0
- package/components/loader-screen/loader-screen.js +64 -0
- package/components/login-dialog/login-dialog.d.ts +47 -0
- package/components/login-dialog/login-dialog.js +216 -0
- package/components/login-dialog/service.d.ts +2 -0
- package/components/login-dialog/service.js +98 -0
- package/components/markdown/markdown.d.ts +12 -0
- package/components/markdown/markdown.js +43 -0
- package/components/message/message.d.ts +55 -0
- package/components/message/message.js +267 -0
- package/components/old-browsers-message/old-browsers-message.d.ts +2 -0
- package/components/old-browsers-message/old-browsers-message.js +92 -0
- package/components/old-browsers-message/old-browsers-message__stop.d.ts +1 -0
- package/components/old-browsers-message/old-browsers-message__stop.js +11 -0
- package/components/old-browsers-message/white-list.d.ts +2 -0
- package/components/old-browsers-message/white-list.js +37 -0
- package/components/pager/pager.d.ts +78 -0
- package/components/pager/pager.js +390 -0
- package/components/panel/panel.d.ts +12 -0
- package/components/panel/panel.js +39 -0
- package/components/permissions/permissions.d.ts +111 -0
- package/components/permissions/permissions.js +221 -0
- package/components/permissions/permissions__cache.d.ts +93 -0
- package/components/permissions/permissions__cache.js +257 -0
- package/components/popup/popup.consts.d.ts +37 -0
- package/components/popup/popup.consts.js +44 -0
- package/components/popup/popup.d.ts +147 -0
- package/components/popup/popup.js +424 -0
- package/components/popup/popup.target.d.ts +7 -0
- package/components/popup/popup.target.js +24 -0
- package/components/popup/position.d.ts +30 -0
- package/components/popup/position.js +271 -0
- package/components/popup-menu/popup-menu.d.ts +80 -0
- package/components/popup-menu/popup-menu.js +141 -0
- package/components/progress-bar/progress-bar.d.ts +64 -0
- package/components/progress-bar/progress-bar.js +120 -0
- package/components/query-assist/query-assist.d.ts +306 -0
- package/components/query-assist/query-assist.js +1098 -0
- package/components/query-assist/query-assist__suggestions.d.ts +29 -0
- package/components/query-assist/query-assist__suggestions.js +75 -0
- package/components/radio/radio.d.ts +18 -0
- package/components/radio/radio.js +48 -0
- package/components/radio/radio__item.d.ts +28 -0
- package/components/radio/radio__item.js +88 -0
- package/components/select/select.d.ts +276 -0
- package/components/select/select.js +1310 -0
- package/components/select/select__filter.d.ts +19 -0
- package/components/select/select__filter.js +85 -0
- package/components/select/select__popup.d.ts +166 -0
- package/components/select/select__popup.js +631 -0
- package/components/shortcuts/core.d.ts +74 -0
- package/components/shortcuts/core.js +249 -0
- package/components/shortcuts/shortcut-title.d.ts +1 -0
- package/components/shortcuts/shortcut-title.js +56 -0
- package/components/shortcuts/shortcuts-hoc.d.ts +65 -0
- package/components/shortcuts/shortcuts-hoc.js +61 -0
- package/components/shortcuts/shortcuts.d.ts +28 -0
- package/components/shortcuts/shortcuts.js +92 -0
- package/components/storage/storage.d.ts +18 -0
- package/components/storage/storage.js +92 -0
- package/components/storage/storage__fallback.d.ts +79 -0
- package/components/storage/storage__fallback.js +254 -0
- package/components/storage/storage__local.d.ts +38 -0
- package/components/storage/storage__local.js +217 -0
- package/components/style.css +1 -0
- package/components/tab-trap/tab-trap.d.ts +43 -0
- package/components/tab-trap/tab-trap.js +180 -0
- package/components/table/cell.d.ts +13 -0
- package/components/table/cell.js +37 -0
- package/components/table/disable-hover-hoc.d.ts +64 -0
- package/components/table/disable-hover-hoc.js +62 -0
- package/components/table/header-cell.d.ts +43 -0
- package/components/table/header-cell.js +109 -0
- package/components/table/header.d.ts +56 -0
- package/components/table/header.js +151 -0
- package/components/table/multitable.d.ts +25 -0
- package/components/table/multitable.js +140 -0
- package/components/table/row-with-focus-sensor.d.ts +18 -0
- package/components/table/row-with-focus-sensor.js +117 -0
- package/components/table/row.d.ts +59 -0
- package/components/table/row.js +299 -0
- package/components/table/selection-adapter.d.ts +5 -0
- package/components/table/selection-adapter.js +14 -0
- package/components/table/selection-shortcuts-hoc.d.ts +17 -0
- package/components/table/selection-shortcuts-hoc.js +205 -0
- package/components/table/selection.d.ts +47 -0
- package/components/table/selection.js +257 -0
- package/components/table/smart-table.d.ts +64 -0
- package/components/table/smart-table.js +149 -0
- package/components/table/table.d.ts +159 -0
- package/components/table/table.js +463 -0
- package/components/tabs/collapsible-more.d.ts +29 -0
- package/components/tabs/collapsible-more.js +222 -0
- package/components/tabs/collapsible-tab.d.ts +16 -0
- package/components/tabs/collapsible-tab.js +88 -0
- package/components/tabs/collapsible-tabs.d.ts +43 -0
- package/components/tabs/collapsible-tabs.js +354 -0
- package/components/tabs/custom-item.d.ts +9 -0
- package/components/tabs/custom-item.js +11 -0
- package/components/tabs/dumb-tabs.d.ts +35 -0
- package/components/tabs/dumb-tabs.js +189 -0
- package/components/tabs/smart-tabs.d.ts +20 -0
- package/components/tabs/smart-tabs.js +141 -0
- package/components/tabs/tab-link.d.ts +18 -0
- package/components/tabs/tab-link.js +13 -0
- package/components/tabs/tab.d.ts +27 -0
- package/components/tabs/tab.js +41 -0
- package/components/tabs/tabs.d.ts +7 -0
- package/components/tabs/tabs.js +99 -0
- package/components/tag/tag.d.ts +64 -0
- package/components/tag/tag.js +213 -0
- package/components/tags-input/tags-input.d.ts +138 -0
- package/components/tags-input/tags-input.js +534 -0
- package/components/tags-list/tags-list.d.ts +46 -0
- package/components/tags-list/tags-list.js +102 -0
- package/components/text/text.d.ts +23 -0
- package/components/text/text.js +57 -0
- package/components/toggle/toggle.d.ts +39 -0
- package/components/toggle/toggle.js +86 -0
- package/components/tooltip/tooltip.d.ts +65 -0
- package/components/tooltip/tooltip.js +229 -0
- package/components/user-agreement/service.d.ts +69 -0
- package/components/user-agreement/service.js +487 -0
- package/components/user-agreement/toolbox.eula.d.ts +2 -0
- package/components/user-agreement/toolbox.eula.js +3 -0
- package/components/user-agreement/user-agreement.d.ts +60 -0
- package/components/user-agreement/user-agreement.js +172 -0
- package/components/user-card/card.d.ts +70 -0
- package/components/user-card/card.js +80 -0
- package/components/user-card/smart-user-card-tooltip.d.ts +20 -0
- package/components/user-card/smart-user-card-tooltip.js +172 -0
- package/components/user-card/tooltip.d.ts +36 -0
- package/components/user-card/tooltip.js +144 -0
- package/components/user-card/user-card.d.ts +11 -0
- package/components/user-card/user-card.js +85 -0
- package/package.json +118 -0
- package/typings.d.ts +43 -0
@@ -0,0 +1,34 @@
|
|
1
|
+
import classNames from 'classnames';
|
2
|
+
|
3
|
+
var modules_e81895c9 = {"button-shadow":"inset 0 0 0 1px","loaderWidth":"calc(var(--ring-unit)*8)","light":"light_rui_2ac4","heightS":"heightS_rui_0b90","heightM":"heightM_rui_0b90","heightL":"heightL_rui_0b90","button":"button_rui_0b90","active":"active_rui_0b90","withIcon":"withIcon_rui_0b90","icon":"icon_rui_0b90","primary":"primary_rui_0b90","loader":"loader_rui_0b90","loaderBackground":"loaderBackground_rui_0b90","danger":"danger_rui_0b90","text":"text_rui_0b90","content":"content_rui_0b90","text-loading":"text-loading_rui_0b90","inline":"inline_rui_0b90","withNormalIcon":"withNormalIcon_rui_0b90","withDangerIcon":"withDangerIcon_rui_0b90","progress":"progress_rui_0b90","delayed":"delayed_rui_0b90","short":"short_rui_0b90","dropdownIcon":"dropdownIcon_rui_0b90"};
|
4
|
+
|
5
|
+
function getButtonClasses(_ref) {
|
6
|
+
var className = _ref.className,
|
7
|
+
active = _ref.active,
|
8
|
+
disabled = _ref.disabled,
|
9
|
+
loader = _ref.loader,
|
10
|
+
primary = _ref.primary,
|
11
|
+
short = _ref.short,
|
12
|
+
text = _ref.text,
|
13
|
+
inline = _ref.inline,
|
14
|
+
danger = _ref.danger,
|
15
|
+
delayed = _ref.delayed,
|
16
|
+
icon = _ref.icon,
|
17
|
+
height = _ref.height;
|
18
|
+
var withNormalIcon = icon && !active && !danger && !primary && !disabled;
|
19
|
+
return classNames(modules_e81895c9.button, className, modules_e81895c9["height".concat(height)], {
|
20
|
+
[modules_e81895c9.active]: active,
|
21
|
+
[modules_e81895c9.danger]: danger,
|
22
|
+
[modules_e81895c9.delayed]: delayed,
|
23
|
+
[modules_e81895c9.withIcon]: icon,
|
24
|
+
[modules_e81895c9.withNormalIcon]: withNormalIcon,
|
25
|
+
[modules_e81895c9.withDangerIcon]: icon && danger,
|
26
|
+
[modules_e81895c9.loader]: loader && !icon,
|
27
|
+
[modules_e81895c9.primary]: primary,
|
28
|
+
[modules_e81895c9.short]: short,
|
29
|
+
[modules_e81895c9.text]: text,
|
30
|
+
[modules_e81895c9.inline]: inline
|
31
|
+
});
|
32
|
+
}
|
33
|
+
|
34
|
+
export { getButtonClasses as g, modules_e81895c9 as m };
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, d as _createClass, f as _extends } from './_rollupPluginBabelHelpers.js';
|
2
|
+
import React, { PureComponent } from 'react';
|
3
|
+
import PropTypes from 'prop-types';
|
4
|
+
import classNames from 'classnames';
|
5
|
+
|
6
|
+
var modules_1068e447 = {"button":"button_rui_0b90","active":"active_rui_0b90","primary":"primary_rui_0b90","button-shadow":"i__const_button_shadow_3","buttonGroup":"buttonGroup_rui_bbca common_rui_bbca buttonGroup_rui_f4fc","light":"light_rui_2ac4","common":"common_rui_bbca","split":"split_rui_bbca common_rui_bbca buttonGroup_rui_f4fc","caption":"caption_rui_bbca font_rui_8bff"};
|
7
|
+
|
8
|
+
var Caption = /*#__PURE__*/function (_PureComponent) {
|
9
|
+
_inherits(Caption, _PureComponent);
|
10
|
+
var _super = _createSuper(Caption);
|
11
|
+
function Caption() {
|
12
|
+
_classCallCheck(this, Caption);
|
13
|
+
return _super.apply(this, arguments);
|
14
|
+
}
|
15
|
+
_createClass(Caption, [{
|
16
|
+
key: "render",
|
17
|
+
value: function render() {
|
18
|
+
var className = this.props.className;
|
19
|
+
var classes = classNames(modules_1068e447.caption, className);
|
20
|
+
return /*#__PURE__*/React.createElement("span", _extends({}, this.props, {
|
21
|
+
className: classes
|
22
|
+
}));
|
23
|
+
}
|
24
|
+
}]);
|
25
|
+
return Caption;
|
26
|
+
}(PureComponent);
|
27
|
+
_defineProperty(Caption, "propTypes", {
|
28
|
+
className: PropTypes.node
|
29
|
+
});
|
30
|
+
|
31
|
+
export { Caption as C, modules_1068e447 as m };
|
@@ -0,0 +1,132 @@
|
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, k as _assertThisInitialized, d as _createClass, e as _objectWithoutProperties, f as _extends } from './_rollupPluginBabelHelpers.js';
|
2
|
+
import 'core-js/modules/es.array.concat.js';
|
3
|
+
import React, { PureComponent } from 'react';
|
4
|
+
import PropTypes from 'prop-types';
|
5
|
+
import classNames from 'classnames';
|
6
|
+
import copyIcon from '@jetbrains/icons/copy';
|
7
|
+
import Avatar, { Size } from '../avatar/avatar.js';
|
8
|
+
import Link from '../link/link.js';
|
9
|
+
import clipboard from '../clipboard/clipboard.js';
|
10
|
+
import { m as modules_6c9187df } from './badge.js';
|
11
|
+
import Icon from '../icon/icon.js';
|
12
|
+
import { I18nContext } from '../i18n/i18n-context.js';
|
13
|
+
import { Size as Size$1 } from '../icon/icon__constants.js';
|
14
|
+
|
15
|
+
var modules_a4196c17 = {"light":"light_rui_2ac4","userCardSpaced":"userCardSpaced_rui_6e59","userInformationContainer":"userInformationContainer_rui_6e59","userAvatar":"userAvatar_rui_6e59","userInformation":"userInformation_rui_6e59","userInformationGeneral":"userInformationGeneral_rui_6e59","userNameLine":"userNameLine_rui_6e59","userName":"userName_rui_6e59","userLogin":"userLogin_rui_6e59","userEmail":"userEmail_rui_6e59","userCopyIcon":"userCopyIcon_rui_6e59","userEmailWrapper":"userEmailWrapper_rui_6e59","unverifiedLabel":"unverifiedLabel_rui_6e59","userNameInfo":"userNameInfo_rui_6e59","userActiveStatus":"userActiveStatus_rui_6e59","online":"online_rui_6e59"};
|
16
|
+
|
17
|
+
var _excluded = ["children", "info", "className", "user", "avatarInfo"];
|
18
|
+
var translationsShape = PropTypes.shape({
|
19
|
+
banned: PropTypes.string.isRequired,
|
20
|
+
online: PropTypes.string.isRequired,
|
21
|
+
offline: PropTypes.string.isRequired,
|
22
|
+
copyToClipboard: PropTypes.string,
|
23
|
+
copiedToClipboard: PropTypes.string,
|
24
|
+
copingToClipboardError: PropTypes.string,
|
25
|
+
unverified: PropTypes.string
|
26
|
+
});
|
27
|
+
var UserCard = /*#__PURE__*/function (_PureComponent) {
|
28
|
+
_inherits(UserCard, _PureComponent);
|
29
|
+
var _super = _createSuper(UserCard);
|
30
|
+
function UserCard() {
|
31
|
+
var _this;
|
32
|
+
_classCallCheck(this, UserCard);
|
33
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
34
|
+
args[_key] = arguments[_key];
|
35
|
+
}
|
36
|
+
_this = _super.call.apply(_super, [this].concat(args));
|
37
|
+
_defineProperty(_assertThisInitialized(_this), "copyEmail", function () {
|
38
|
+
var _translations$copiedT, _translations$copingT;
|
39
|
+
var translate = _this.context.translate;
|
40
|
+
var translations = _this.props.translations;
|
41
|
+
clipboard.copyText(_this.props.user.email || '', (_translations$copiedT = translations === null || translations === void 0 ? void 0 : translations.copiedToClipboard) !== null && _translations$copiedT !== void 0 ? _translations$copiedT : translate('copyToClipboard'), (_translations$copingT = translations === null || translations === void 0 ? void 0 : translations.copingToClipboardError) !== null && _translations$copingT !== void 0 ? _translations$copingT : translate('copingToClipboardError'));
|
42
|
+
});
|
43
|
+
return _this;
|
44
|
+
}
|
45
|
+
_createClass(UserCard, [{
|
46
|
+
key: "render",
|
47
|
+
value: function render() {
|
48
|
+
var _translations$online, _translations$offline, _translations$banned, _translations$unverif, _translations$copyToC;
|
49
|
+
var _this$props = this.props,
|
50
|
+
children = _this$props.children,
|
51
|
+
info = _this$props.info,
|
52
|
+
className = _this$props.className,
|
53
|
+
user = _this$props.user,
|
54
|
+
avatarInfo = _this$props.avatarInfo,
|
55
|
+
restProps = _objectWithoutProperties(_this$props, _excluded);
|
56
|
+
var translate = this.context.translate;
|
57
|
+
var translations = this.props.translations;
|
58
|
+
var classes = classNames(className, {});
|
59
|
+
var userActiveStatusClasses = classNames(modules_a4196c17.userActiveStatus, user.online ? modules_a4196c17.online : '');
|
60
|
+
return /*#__PURE__*/React.createElement("div", _extends({
|
61
|
+
className: classes
|
62
|
+
}, restProps), /*#__PURE__*/React.createElement("div", {
|
63
|
+
className: modules_a4196c17.userInformationContainer
|
64
|
+
}, /*#__PURE__*/React.createElement("div", {
|
65
|
+
className: modules_a4196c17.userAvatar
|
66
|
+
}, /*#__PURE__*/React.createElement(Avatar, {
|
67
|
+
size: Size.Size56,
|
68
|
+
url: user.avatarUrl,
|
69
|
+
round: true
|
70
|
+
}), !!avatarInfo && avatarInfo), /*#__PURE__*/React.createElement("div", {
|
71
|
+
className: modules_a4196c17.userInformation
|
72
|
+
}, /*#__PURE__*/React.createElement("div", {
|
73
|
+
className: modules_a4196c17.userInformationGeneral
|
74
|
+
}, /*#__PURE__*/React.createElement("div", {
|
75
|
+
className: modules_a4196c17.userNameLine
|
76
|
+
}, user.href && /*#__PURE__*/React.createElement(Link, {
|
77
|
+
href: user.href,
|
78
|
+
className: modules_a4196c17.userName
|
79
|
+
}, user.name), !user.href && /*#__PURE__*/React.createElement("span", {
|
80
|
+
className: modules_a4196c17.userName
|
81
|
+
}, user.name), typeof user.online === 'boolean' && /*#__PURE__*/React.createElement("span", {
|
82
|
+
className: userActiveStatusClasses,
|
83
|
+
title: user.online ? (_translations$online = translations === null || translations === void 0 ? void 0 : translations.online) !== null && _translations$online !== void 0 ? _translations$online : translate('online') : (_translations$offline = translations === null || translations === void 0 ? void 0 : translations.offline) !== null && _translations$offline !== void 0 ? _translations$offline : translate('offline')
|
84
|
+
}), !!info && /*#__PURE__*/React.createElement("span", {
|
85
|
+
className: modules_a4196c17.userNameInfo
|
86
|
+
}, info), user.banned && /*#__PURE__*/React.createElement("span", {
|
87
|
+
className: classNames(modules_6c9187df.badge, modules_6c9187df.invalid),
|
88
|
+
title: user.banReason
|
89
|
+
}, (_translations$banned = translations === null || translations === void 0 ? void 0 : translations.banned) !== null && _translations$banned !== void 0 ? _translations$banned : translate('banned'))), /*#__PURE__*/React.createElement("div", {
|
90
|
+
className: modules_a4196c17.userLogin
|
91
|
+
}, user.login), user.email && /*#__PURE__*/React.createElement("span", {
|
92
|
+
className: modules_a4196c17.userEmailWrapper
|
93
|
+
}, /*#__PURE__*/React.createElement(Link, {
|
94
|
+
href: "mailto:".concat(user.email),
|
95
|
+
title: "mailto:".concat(user.email),
|
96
|
+
target: "_blank",
|
97
|
+
className: modules_a4196c17.userEmail
|
98
|
+
}, user.email), user.unverifiedEmail && /*#__PURE__*/React.createElement("span", {
|
99
|
+
className: modules_a4196c17.unverifiedLabel
|
100
|
+
}, (_translations$unverif = translations === null || translations === void 0 ? void 0 : translations.unverified) !== null && _translations$unverif !== void 0 ? _translations$unverif : translate('unverified')), /*#__PURE__*/React.createElement(Icon, {
|
101
|
+
title: (_translations$copyToC = translations === null || translations === void 0 ? void 0 : translations.copyToClipboard) !== null && _translations$copyToC !== void 0 ? _translations$copyToC : translate('copyToClipboard'),
|
102
|
+
className: modules_a4196c17.userCopyIcon,
|
103
|
+
onClick: this.copyEmail,
|
104
|
+
glyph: copyIcon,
|
105
|
+
size: Size$1.Size14,
|
106
|
+
suppressSizeWarning: true
|
107
|
+
}))), children)));
|
108
|
+
}
|
109
|
+
}]);
|
110
|
+
return UserCard;
|
111
|
+
}(PureComponent);
|
112
|
+
_defineProperty(UserCard, "propTypes", {
|
113
|
+
children: PropTypes.node,
|
114
|
+
info: PropTypes.node,
|
115
|
+
className: PropTypes.string,
|
116
|
+
user: PropTypes.shape({
|
117
|
+
name: PropTypes.string.isRequired,
|
118
|
+
login: PropTypes.string.isRequired,
|
119
|
+
avatarUrl: PropTypes.string.isRequired,
|
120
|
+
email: PropTypes.string,
|
121
|
+
href: PropTypes.string,
|
122
|
+
online: PropTypes.bool,
|
123
|
+
banned: PropTypes.bool,
|
124
|
+
banReason: PropTypes.string,
|
125
|
+
unverifiedEmail: PropTypes.bool
|
126
|
+
}).isRequired,
|
127
|
+
wording: translationsShape,
|
128
|
+
translations: translationsShape
|
129
|
+
});
|
130
|
+
_defineProperty(UserCard, "contextType", I18nContext);
|
131
|
+
|
132
|
+
export { UserCard as U, modules_a4196c17 as m };
|
@@ -0,0 +1,3 @@
|
|
1
|
+
var modules_0c7b7d96 = {"footer-height":"calc(var(--ring-unit)*8)","breakpoint-small":"640px","breakpoint-middle":"960px","breakpoint-large":"1200px","extra-small-screen-media":"(max-width: 639px)","small-screen-media":"(min-width: 640px) and (max-width: 959px)","middle-screen-media":"(min-width: 960px) and (max-width: 1199px)","large-screen-media":"(min-width: 1200px)","cellSize":"calc(var(--ring-unit)*3)","calHeight":"calc(var(--ring-unit)*36)","calWidth":"calc(var(--ring-unit)*37)","yearHeight":"calc(var(--ring-unit)*4)","yearWidth":"calc(var(--ring-unit)*6)","light":"light_rui_2ac4","clearfix":"clearfix_rui_e0bd","font":"font_rui_e0bd","font-lower":"font-lower_rui_e0bd font_rui_e0bd","font-smaller":"font-smaller_rui_e0bd font-lower_rui_e0bd font_rui_e0bd","font-smaller-lower":"font-smaller-lower_rui_e0bd font-smaller_rui_e0bd font-lower_rui_e0bd font_rui_e0bd","font-larger-lower":"font-larger-lower_rui_e0bd font-lower_rui_e0bd font_rui_e0bd","font-larger":"font-larger_rui_e0bd font-larger-lower_rui_e0bd font-lower_rui_e0bd font_rui_e0bd","thin-font":"thin-font_rui_e0bd","monospace-font":"monospace-font_rui_e0bd","ellipsis":"ellipsis_rui_e0bd","resetButton":"resetButton_rui_e0bd","container":"container_rui_e0bd","hoverable":"hoverable_rui_e0bd","datePicker":"datePicker_rui_e0bd","inline":"inline_rui_e0bd","sizeS":"sizeS_rui_e0bd","sizeM":"sizeM_rui_e0bd","sizeL":"sizeL_rui_e0bd","sizeFULL":"sizeFULL_rui_e0bd","sizeAUTO":"sizeAUTO_rui_e0bd","displayDate":"displayDate_rui_e0bd","displayRange":"displayRange_rui_e0bd","clear":"clear_rui_e0bd","datePopup":"datePopup_rui_e0bd","filterWrapper":"filterWrapper_rui_e0bd filterWrapper_rui_531d","filter":"filter_rui_e0bd filter_rui_531d","calendarIcon":"calendarIcon_rui_e0bd","anchor":"anchor_rui_e0bd","anchorContent":"anchorContent_rui_e0bd","chevronDownIcon":"chevronDownIcon_rui_e0bd","fromInput":"fromInput_rui_e0bd","fromInputWithDivider":"fromInputWithDivider_rui_e0bd","toInput":"toInput_rui_e0bd","dateInput":"dateInput_rui_e0bd","timeInputWithDivider":"timeInputWithDivider_rui_e0bd","weekdays":"weekdays_rui_e0bd","weekday":"weekday_rui_e0bd","weekend":"weekend_rui_e0bd","calendar":"calendar_rui_e0bd","months":"months_rui_e0bd","days":"days_rui_e0bd","month":"month_rui_e0bd","monthTitle":"monthTitle_rui_e0bd","day":"day_rui_e0bd resetButton_rui_8bff","between":"between_rui_e0bd","activeBetween":"activeBetween_rui_e0bd","current":"current_rui_e0bd","active":"active_rui_e0bd","disabled":"disabled_rui_e0bd","from":"from_rui_e0bd","to":"to_rui_e0bd","Monday":"Monday_rui_e0bd","spread":"spread_rui_e0bd","activeSpread":"activeSpread_rui_e0bd","first":"first_rui_e0bd","Tuesday":"Tuesday_rui_e0bd","Friday":"Friday_rui_e0bd","Saturday":"Saturday_rui_e0bd","Sunday":"Sunday_rui_e0bd","empty":"empty_rui_e0bd","today":"today_rui_e0bd","year":"year_rui_e0bd hoverable_rui_e0bd resetButton_rui_8bff","monthNames":"monthNames_rui_e0bd","monthName":"monthName_rui_e0bd hoverable_rui_e0bd resetButton_rui_8bff","monthSlider":"monthSlider_rui_e0bd resetButton_rui_8bff","dragging":"dragging_rui_e0bd","range":"range_rui_e0bd","years":"years_rui_e0bd","currentYear":"currentYear_rui_e0bd"};
|
2
|
+
|
3
|
+
export { modules_0c7b7d96 as m };
|
@@ -0,0 +1,54 @@
|
|
1
|
+
import 'core-js/modules/es.array.iterator.js';
|
2
|
+
import 'core-js/modules/es.object.to-string.js';
|
3
|
+
import 'core-js/modules/es.set.js';
|
4
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
5
|
+
import scrollbarWidth from 'scrollbar-width';
|
6
|
+
|
7
|
+
var modules_5e9b8c03 = {"header":"header_rui_1d72","light":"light_rui_2ac4","container":"container_rui_381e","innerContainer":"innerContainer_rui_381e","content":"content_rui_381e","panel":"panel_rui_381e","clickableOverlay":"clickableOverlay_rui_381e","closeIcon":"closeIcon_rui_381e","closeButton":"closeButton_rui_381e","closeButtonOutside":"closeButtonOutside_rui_381e","closeButtonInside":"closeButtonInside_rui_381e","documentWithoutScroll":"documentWithoutScroll_rui_381e","popupTarget":"popupTarget_rui_381e","dense":"dense_rui_381e"};
|
8
|
+
|
9
|
+
var isPrevented = new Set();
|
10
|
+
var previousDocumentWidth = null;
|
11
|
+
var _prevent = function prevent(key) {
|
12
|
+
if (isPrevented.has(key)) {
|
13
|
+
return;
|
14
|
+
}
|
15
|
+
isPrevented.add(key);
|
16
|
+
if (isPrevented.size > 1) {
|
17
|
+
return;
|
18
|
+
}
|
19
|
+
var documentHasScroll = document.documentElement.scrollHeight > window.innerHeight || getComputedStyle(document.documentElement).overflowY === 'scroll';
|
20
|
+
document.documentElement.classList.add(modules_5e9b8c03.documentWithoutScroll);
|
21
|
+
var scrollWidth = scrollbarWidth();
|
22
|
+
if (documentHasScroll && scrollWidth != null && scrollWidth > 0) {
|
23
|
+
previousDocumentWidth = document.documentElement.style.width;
|
24
|
+
document.documentElement.style.width = "calc(100% - ".concat(scrollWidth, "px)");
|
25
|
+
}
|
26
|
+
};
|
27
|
+
var _reset = function reset(key) {
|
28
|
+
if (isPrevented.size === 0) {
|
29
|
+
return;
|
30
|
+
}
|
31
|
+
isPrevented.delete(key);
|
32
|
+
if (isPrevented.size > 0) {
|
33
|
+
return;
|
34
|
+
}
|
35
|
+
document.documentElement.classList.remove(modules_5e9b8c03.documentWithoutScroll);
|
36
|
+
if (previousDocumentWidth !== null) {
|
37
|
+
document.documentElement.style.width = previousDocumentWidth;
|
38
|
+
previousDocumentWidth = null;
|
39
|
+
}
|
40
|
+
};
|
41
|
+
var preventerFactory = function preventerFactory(key) {
|
42
|
+
var preventerKey = key || Math.random();
|
43
|
+
return {
|
44
|
+
prevent: function prevent() {
|
45
|
+
return _prevent(preventerKey);
|
46
|
+
},
|
47
|
+
reset: function reset() {
|
48
|
+
return _reset(preventerKey);
|
49
|
+
}
|
50
|
+
};
|
51
|
+
};
|
52
|
+
var dialog__bodyScrollPreventer = preventerFactory('default-preventer');
|
53
|
+
|
54
|
+
export { dialog__bodyScrollPreventer as d, modules_5e9b8c03 as m, preventerFactory as p };
|
@@ -0,0 +1,3 @@
|
|
1
|
+
var modules_855170c0 = {"breakpoint-small":"i__const_breakpoint_small_0","breakpoint-middle":"i__const_breakpoint_middle_1","breakpoint-large":"i__const_breakpoint_large_2","large-screen-media":"i__const_large_screen_media_3","middle-screen-media":"i__const_middle_screen_media_4","small-screen-media":"i__const_small_screen_media_5","gutterWidth":"(var(--ring-unit) * 2)","gutterCompensation":"calc((var(--ring-unit)*2)/-2)","outerMargin":"calc(var(--ring-unit)*2)","containerSmall":"calc(640px + var(--ring-unit)*2)","containerMedium":"calc(960px + var(--ring-unit)*2)","containerLarge":"calc(1200px + var(--ring-unit)*2)","width-1":"8.3333%","width-2":"16.6667%","width-3":"25%","width-4":"33.3333%","width-5":"41.6667%","width-6":"50%","width-7":"58.3333%","width-8":"66.6667%","width-9":"75%","width-10":"83.3333%","width-11":"91.6667%","width-12":"100%","light":"light_rui_2ac4","container-fluid":"container-fluid_rui_a74c","container":"container_rui_a74c","row":"row_rui_a74c","reverse":"reverse_rui_a74c","col":"col_rui_a74c","col-xs":"col-xs_rui_a74c","col-xs-1":"col-xs-1_rui_a74c","col-xs-2":"col-xs-2_rui_a74c","col-xs-3":"col-xs-3_rui_a74c","col-xs-4":"col-xs-4_rui_a74c","col-xs-5":"col-xs-5_rui_a74c","col-xs-6":"col-xs-6_rui_a74c","col-xs-7":"col-xs-7_rui_a74c","col-xs-8":"col-xs-8_rui_a74c","col-xs-9":"col-xs-9_rui_a74c","col-xs-10":"col-xs-10_rui_a74c","col-xs-11":"col-xs-11_rui_a74c","col-xs-12":"col-xs-12_rui_a74c","col-xs-offset-0":"col-xs-offset-0_rui_a74c","col-xs-offset-1":"col-xs-offset-1_rui_a74c","col-xs-offset-2":"col-xs-offset-2_rui_a74c","col-xs-offset-3":"col-xs-offset-3_rui_a74c","col-xs-offset-4":"col-xs-offset-4_rui_a74c","col-xs-offset-5":"col-xs-offset-5_rui_a74c","col-xs-offset-6":"col-xs-offset-6_rui_a74c","col-xs-offset-7":"col-xs-offset-7_rui_a74c","col-xs-offset-8":"col-xs-offset-8_rui_a74c","col-xs-offset-9":"col-xs-offset-9_rui_a74c","col-xs-offset-10":"col-xs-offset-10_rui_a74c","col-xs-offset-11":"col-xs-offset-11_rui_a74c","col-xs-offset-12":"col-xs-offset-12_rui_a74c","start-xs":"start-xs_rui_a74c","center-xs":"center-xs_rui_a74c","end-xs":"end-xs_rui_a74c","top-xs":"top-xs_rui_a74c","middle-xs":"middle-xs_rui_a74c","baseline-xs":"baseline-xs_rui_a74c","bottom-xs":"bottom-xs_rui_a74c","around-xs":"around-xs_rui_a74c","between-xs":"between-xs_rui_a74c","first-xs":"first-xs_rui_a74c","last-xs":"last-xs_rui_a74c","col-sm":"col-sm_rui_a74c","col-sm-1":"col-sm-1_rui_a74c","col-sm-2":"col-sm-2_rui_a74c","col-sm-3":"col-sm-3_rui_a74c","col-sm-4":"col-sm-4_rui_a74c","col-sm-5":"col-sm-5_rui_a74c","col-sm-6":"col-sm-6_rui_a74c","col-sm-7":"col-sm-7_rui_a74c","col-sm-8":"col-sm-8_rui_a74c","col-sm-9":"col-sm-9_rui_a74c","col-sm-10":"col-sm-10_rui_a74c","col-sm-11":"col-sm-11_rui_a74c","col-sm-12":"col-sm-12_rui_a74c","col-sm-offset-0":"col-sm-offset-0_rui_a74c","col-sm-offset-1":"col-sm-offset-1_rui_a74c","col-sm-offset-2":"col-sm-offset-2_rui_a74c","col-sm-offset-3":"col-sm-offset-3_rui_a74c","col-sm-offset-4":"col-sm-offset-4_rui_a74c","col-sm-offset-5":"col-sm-offset-5_rui_a74c","col-sm-offset-6":"col-sm-offset-6_rui_a74c","col-sm-offset-7":"col-sm-offset-7_rui_a74c","col-sm-offset-8":"col-sm-offset-8_rui_a74c","col-sm-offset-9":"col-sm-offset-9_rui_a74c","col-sm-offset-10":"col-sm-offset-10_rui_a74c","col-sm-offset-11":"col-sm-offset-11_rui_a74c","col-sm-offset-12":"col-sm-offset-12_rui_a74c","start-sm":"start-sm_rui_a74c","center-sm":"center-sm_rui_a74c","end-sm":"end-sm_rui_a74c","top-sm":"top-sm_rui_a74c","middle-sm":"middle-sm_rui_a74c","baseline-sm":"baseline-sm_rui_a74c","bottom-sm":"bottom-sm_rui_a74c","around-sm":"around-sm_rui_a74c","between-sm":"between-sm_rui_a74c","first-sm":"first-sm_rui_a74c","last-sm":"last-sm_rui_a74c","col-md":"col-md_rui_a74c","col-md-1":"col-md-1_rui_a74c","col-md-2":"col-md-2_rui_a74c","col-md-3":"col-md-3_rui_a74c","col-md-4":"col-md-4_rui_a74c","col-md-5":"col-md-5_rui_a74c","col-md-6":"col-md-6_rui_a74c","col-md-7":"col-md-7_rui_a74c","col-md-8":"col-md-8_rui_a74c","col-md-9":"col-md-9_rui_a74c","col-md-10":"col-md-10_rui_a74c","col-md-11":"col-md-11_rui_a74c","col-md-12":"col-md-12_rui_a74c","col-md-offset-0":"col-md-offset-0_rui_a74c","col-md-offset-1":"col-md-offset-1_rui_a74c","col-md-offset-2":"col-md-offset-2_rui_a74c","col-md-offset-3":"col-md-offset-3_rui_a74c","col-md-offset-4":"col-md-offset-4_rui_a74c","col-md-offset-5":"col-md-offset-5_rui_a74c","col-md-offset-6":"col-md-offset-6_rui_a74c","col-md-offset-7":"col-md-offset-7_rui_a74c","col-md-offset-8":"col-md-offset-8_rui_a74c","col-md-offset-9":"col-md-offset-9_rui_a74c","col-md-offset-10":"col-md-offset-10_rui_a74c","col-md-offset-11":"col-md-offset-11_rui_a74c","col-md-offset-12":"col-md-offset-12_rui_a74c","start-md":"start-md_rui_a74c","center-md":"center-md_rui_a74c","end-md":"end-md_rui_a74c","top-md":"top-md_rui_a74c","middle-md":"middle-md_rui_a74c","baseline-md":"baseline-md_rui_a74c","bottom-md":"bottom-md_rui_a74c","around-md":"around-md_rui_a74c","between-md":"between-md_rui_a74c","first-md":"first-md_rui_a74c","last-md":"last-md_rui_a74c","col-lg":"col-lg_rui_a74c","col-lg-1":"col-lg-1_rui_a74c","col-lg-2":"col-lg-2_rui_a74c","col-lg-3":"col-lg-3_rui_a74c","col-lg-4":"col-lg-4_rui_a74c","col-lg-5":"col-lg-5_rui_a74c","col-lg-6":"col-lg-6_rui_a74c","col-lg-7":"col-lg-7_rui_a74c","col-lg-8":"col-lg-8_rui_a74c","col-lg-9":"col-lg-9_rui_a74c","col-lg-10":"col-lg-10_rui_a74c","col-lg-11":"col-lg-11_rui_a74c","col-lg-12":"col-lg-12_rui_a74c","col-lg-offset-0":"col-lg-offset-0_rui_a74c","col-lg-offset-1":"col-lg-offset-1_rui_a74c","col-lg-offset-2":"col-lg-offset-2_rui_a74c","col-lg-offset-3":"col-lg-offset-3_rui_a74c","col-lg-offset-4":"col-lg-offset-4_rui_a74c","col-lg-offset-5":"col-lg-offset-5_rui_a74c","col-lg-offset-6":"col-lg-offset-6_rui_a74c","col-lg-offset-7":"col-lg-offset-7_rui_a74c","col-lg-offset-8":"col-lg-offset-8_rui_a74c","col-lg-offset-9":"col-lg-offset-9_rui_a74c","col-lg-offset-10":"col-lg-offset-10_rui_a74c","col-lg-offset-11":"col-lg-offset-11_rui_a74c","col-lg-offset-12":"col-lg-offset-12_rui_a74c","start-lg":"start-lg_rui_a74c","center-lg":"center-lg_rui_a74c","end-lg":"end-lg_rui_a74c","top-lg":"top-lg_rui_a74c","middle-lg":"middle-lg_rui_a74c","baseline-lg":"baseline-lg_rui_a74c","bottom-lg":"bottom-lg_rui_a74c","around-lg":"around-lg_rui_a74c","between-lg":"between-lg_rui_a74c","first-lg":"first-lg_rui_a74c","last-lg":"last-lg_rui_a74c"};
|
2
|
+
|
3
|
+
export { modules_855170c0 as m };
|
@@ -0,0 +1,3 @@
|
|
1
|
+
var modules_47759f5e = {"dark":"dark_rui_eb55","link":"link_rui_d382","active":"active_rui_d382","compensate":"3px","compensated":"calc(var(--ring-unit)*8 - 3px)","light":"light_rui_2ac4","header":"header_rui_1238","headerSpaced":"headerSpaced_rui_1238","logo":"logo_rui_1238","tray":"tray_rui_1238","trayItemContent":"trayItemContent_rui_1238","icon":"icon_rui_1238","main":"main_rui_1238","rotatable":"rotatable_rui_1238","rotated":"rotated_rui_1238","profileEmpty":"profileEmpty_rui_1238","profile":"profile_rui_1238 profileEmpty_rui_1238","avatarWrapper":"avatarWrapper_rui_1238 resetButton_rui_8bff","hasUpdates":"hasUpdates_rui_1238"};
|
2
|
+
|
3
|
+
export { modules_47759f5e as m };
|
@@ -0,0 +1,75 @@
|
|
1
|
+
import { e as _objectWithoutProperties, f as _extends } from './_rollupPluginBabelHelpers.js';
|
2
|
+
import 'core-js/modules/es.regexp.exec.js';
|
3
|
+
import 'core-js/modules/es.string.replace.js';
|
4
|
+
import 'core-js/modules/es.string.starts-with.js';
|
5
|
+
import React, { memo } from 'react';
|
6
|
+
import classNames from 'classnames';
|
7
|
+
import PropTypes from 'prop-types';
|
8
|
+
import memoize from '../global/memoize.js';
|
9
|
+
|
10
|
+
var modules_29747b80 = {"light":"light_rui_2ac4","icon":"icon_rui_2d39","glyph":"glyph_rui_2d39","compatibilityMode":"compatibilityMode_rui_2d39","gray":"gray_rui_2d39","hover":"hover_rui_2d39","green":"green_rui_2d39","magenta":"magenta_rui_2d39","red":"red_rui_2d39","blue":"blue_rui_2d39","white":"white_rui_2d39","loading":"loading_rui_2d39","icon-loading":"icon-loading_rui_2d39"};
|
11
|
+
|
12
|
+
var _excluded = ["src", "className"];
|
13
|
+
function convertReactSVGDOMProperty(str) {
|
14
|
+
return str.replace(/[-|:]([a-z])/g, function (g) {
|
15
|
+
return g[1].toUpperCase();
|
16
|
+
});
|
17
|
+
}
|
18
|
+
function serializeAttrs(map) {
|
19
|
+
var res = {};
|
20
|
+
for (var i = 0; i < map.length; i++) {
|
21
|
+
var key = map[i].name;
|
22
|
+
var prop = key;
|
23
|
+
if (key === 'class') {
|
24
|
+
prop = 'className';
|
25
|
+
} else if (!key.startsWith('data-')) {
|
26
|
+
prop = convertReactSVGDOMProperty(key);
|
27
|
+
}
|
28
|
+
res[prop] = map[i].value;
|
29
|
+
}
|
30
|
+
return res;
|
31
|
+
}
|
32
|
+
function extractSVGProps(svgNode) {
|
33
|
+
var map = svgNode.attributes;
|
34
|
+
return map.length > 0 ? serializeAttrs(map) : null;
|
35
|
+
}
|
36
|
+
var getSVGFromSource = memoize(function (src) {
|
37
|
+
var svgContainer = document.createElement('div');
|
38
|
+
svgContainer.innerHTML = src;
|
39
|
+
var svg = svgContainer.firstElementChild;
|
40
|
+
svg.remove ? svg.remove() : svgContainer.removeChild(svg);
|
41
|
+
return {
|
42
|
+
props: extractSVGProps(svg),
|
43
|
+
html: svg.innerHTML
|
44
|
+
};
|
45
|
+
});
|
46
|
+
function isCompatibilityMode(iconSrc) {
|
47
|
+
var hasWidth = /width="[\d\.]+"/ig.test(iconSrc);
|
48
|
+
var hasHeight = /height="[\d\.]+"/ig.test(iconSrc);
|
49
|
+
return !hasWidth || !hasHeight;
|
50
|
+
}
|
51
|
+
function IconSVG(_ref) {
|
52
|
+
var src = _ref.src,
|
53
|
+
className = _ref.className,
|
54
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
55
|
+
var glyphClasses = classNames(modules_29747b80.glyph, {
|
56
|
+
[modules_29747b80.compatibilityMode]: isCompatibilityMode(src)
|
57
|
+
}, className);
|
58
|
+
var _getSVGFromSource = getSVGFromSource(src),
|
59
|
+
props = _getSVGFromSource.props,
|
60
|
+
html = _getSVGFromSource.html;
|
61
|
+
return /*#__PURE__*/React.createElement("svg", _extends({}, props, rest, {
|
62
|
+
className: glyphClasses,
|
63
|
+
dangerouslySetInnerHTML: {
|
64
|
+
__html: html
|
65
|
+
}
|
66
|
+
}));
|
67
|
+
}
|
68
|
+
IconSVG.propTypes = {
|
69
|
+
className: PropTypes.string,
|
70
|
+
src: PropTypes.string.isRequired,
|
71
|
+
style: PropTypes.object
|
72
|
+
};
|
73
|
+
var IconSVG$1 = /*#__PURE__*/memo(IconSVG);
|
74
|
+
|
75
|
+
export { IconSVG$1 as I, modules_29747b80 as m };
|
@@ -0,0 +1,235 @@
|
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, k as _assertThisInitialized, d as _createClass, e as _objectWithoutProperties, f as _extends } from './_rollupPluginBabelHelpers.js';
|
2
|
+
import 'core-js/modules/es.array.concat.js';
|
3
|
+
import 'core-js/modules/es.object.values.js';
|
4
|
+
import React, { PureComponent } from 'react';
|
5
|
+
import PropTypes from 'prop-types';
|
6
|
+
import classNames from 'classnames';
|
7
|
+
import closeIcon from '@jetbrains/icons/close-12px';
|
8
|
+
import { refObject } from '../global/prop-types.js';
|
9
|
+
import { Button } from '../button/button.js';
|
10
|
+
import getUID from '../global/get-uid.js';
|
11
|
+
import Icon from '../icon/icon.js';
|
12
|
+
import { I18nContext } from '../i18n/i18n-context.js';
|
13
|
+
import composeRefs from '../global/composeRefs.js';
|
14
|
+
import { ControlsHeightContext } from '../global/controls-height.js';
|
15
|
+
import { ControlLabel } from '../control-label/control-label.js';
|
16
|
+
|
17
|
+
var modules_88cfaf40 = {"button-shadow":"inset 0 0 0 1px","loaderWidth":"calc(var(--ring-unit)*8)","light":"light_rui_2ac4","heightS":"heightS_rui_e356","heightM":"heightM_rui_e356","heightL":"heightL_rui_e356","button":"button_rui_e356","active":"active_rui_e356","withIcon":"withIcon_rui_e356","icon":"icon_rui_e356","primary":"primary_rui_e356","loader":"loader_rui_e356","loaderBackground":"loaderBackground_rui_e356","danger":"danger_rui_e356","text":"text_rui_e356","content":"content_rui_e356","text-loading":"text-loading_rui_e356","inline":"inline_rui_e356","withNormalIcon":"withNormalIcon_rui_e356","withDangerIcon":"withDangerIcon_rui_e356","progress":"progress_rui_e356","delayed":"delayed_rui_e356","short":"short_rui_e356","dropdownIcon":"dropdownIcon_rui_e356","outerContainer":"outerContainer_rui_e356","borderless":"borderless_rui_e356","container":"container_rui_e356","input":"input_rui_e356","error":"error_rui_e356","clearable":"clearable_rui_e356","clear":"clear_rui_e356","empty":"empty_rui_e356","errorText":"errorText_rui_e356","sizeS":"sizeS_rui_e356","sizeM":"sizeM_rui_e356","sizeL":"sizeL_rui_e356","sizeFULL":"sizeFULL_rui_e356"};
|
18
|
+
|
19
|
+
var _excluded = ["size", "active", "multiline", "borderless", "label", "labelType", "error", "className", "inputClassName", "children", "value", "onClear", "disabled", "inputRef", "onChange", "enableShortcuts", "id", "placeholder", "icon", "translations", "height", "afterInput"];
|
20
|
+
function noop() {}
|
21
|
+
/**
|
22
|
+
* @name Input
|
23
|
+
*/
|
24
|
+
var Size;
|
25
|
+
(function (Size) {
|
26
|
+
Size["AUTO"] = "Auto";
|
27
|
+
Size["S"] = "S";
|
28
|
+
Size["M"] = "M";
|
29
|
+
Size["L"] = "L";
|
30
|
+
Size["FULL"] = "FULL";
|
31
|
+
})(Size || (Size = {}));
|
32
|
+
var Input = /*#__PURE__*/function (_PureComponent) {
|
33
|
+
_inherits(Input, _PureComponent);
|
34
|
+
var _super = _createSuper(Input);
|
35
|
+
function Input() {
|
36
|
+
var _this;
|
37
|
+
_classCallCheck(this, Input);
|
38
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
39
|
+
args[_key] = arguments[_key];
|
40
|
+
}
|
41
|
+
_this = _super.call.apply(_super, [this].concat(args));
|
42
|
+
_defineProperty(_assertThisInitialized(_this), "state", {
|
43
|
+
empty: true
|
44
|
+
});
|
45
|
+
_defineProperty(_assertThisInitialized(_this), "frame", void 0);
|
46
|
+
_defineProperty(_assertThisInitialized(_this), "input", void 0);
|
47
|
+
_defineProperty(_assertThisInitialized(_this), "id", getUID('ring-input-'));
|
48
|
+
_defineProperty(_assertThisInitialized(_this), "inputRef", function (el) {
|
49
|
+
_this.input = el;
|
50
|
+
});
|
51
|
+
_defineProperty(_assertThisInitialized(_this), "clear", function (e) {
|
52
|
+
_this.props.onClear && _this.props.onClear(e);
|
53
|
+
});
|
54
|
+
_defineProperty(_assertThisInitialized(_this), "handleInputChange", function (e) {
|
55
|
+
if (!_this.props.multiline) {
|
56
|
+
var _this$props$onChange, _this$props;
|
57
|
+
(_this$props$onChange = (_this$props = _this.props).onChange) === null || _this$props$onChange === void 0 || _this$props$onChange.call(_this$props, e);
|
58
|
+
_this.checkValue();
|
59
|
+
}
|
60
|
+
});
|
61
|
+
_defineProperty(_assertThisInitialized(_this), "handleTextareaChange", function (e) {
|
62
|
+
if (_this.props.multiline) {
|
63
|
+
var _this$props$onChange2, _this$props2;
|
64
|
+
(_this$props$onChange2 = (_this$props2 = _this.props).onChange) === null || _this$props$onChange2 === void 0 || _this$props$onChange2.call(_this$props2, e);
|
65
|
+
_this.checkValue();
|
66
|
+
}
|
67
|
+
});
|
68
|
+
return _this;
|
69
|
+
}
|
70
|
+
_createClass(Input, [{
|
71
|
+
key: "componentDidMount",
|
72
|
+
value: function componentDidMount() {
|
73
|
+
var _this2 = this;
|
74
|
+
this.frame = requestAnimationFrame(function () {
|
75
|
+
return _this2.adapt();
|
76
|
+
});
|
77
|
+
}
|
78
|
+
}, {
|
79
|
+
key: "componentDidUpdate",
|
80
|
+
value: function componentDidUpdate() {
|
81
|
+
this.adapt();
|
82
|
+
}
|
83
|
+
}, {
|
84
|
+
key: "componentWillUnmount",
|
85
|
+
value: function componentWillUnmount() {
|
86
|
+
if (this.frame != null) {
|
87
|
+
cancelAnimationFrame(this.frame);
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}, {
|
91
|
+
key: "getId",
|
92
|
+
value: function getId() {
|
93
|
+
return this.props.id || this.id;
|
94
|
+
}
|
95
|
+
}, {
|
96
|
+
key: "checkValue",
|
97
|
+
value: function checkValue() {
|
98
|
+
var _this$input;
|
99
|
+
this.setState({
|
100
|
+
empty: !((_this$input = this.input) !== null && _this$input !== void 0 && _this$input.value)
|
101
|
+
});
|
102
|
+
if (this.props.multiline && this.input != null && this.input.scrollHeight >= this.input.clientHeight) {
|
103
|
+
this.stretch(this.input);
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}, {
|
107
|
+
key: "stretch",
|
108
|
+
value: function stretch(el) {
|
109
|
+
if (!el || !el.style) {
|
110
|
+
return;
|
111
|
+
}
|
112
|
+
el.style.height = '0'; // To know the real scrollHeight
|
113
|
+
el.style.height = "".concat(el.scrollHeight + 2, "px");
|
114
|
+
}
|
115
|
+
}, {
|
116
|
+
key: "adapt",
|
117
|
+
value: function adapt() {
|
118
|
+
this.checkValue();
|
119
|
+
}
|
120
|
+
}, {
|
121
|
+
key: "render",
|
122
|
+
value: function render() {
|
123
|
+
var _this3 = this;
|
124
|
+
var _this$props3 = this.props,
|
125
|
+
size = _this$props3.size,
|
126
|
+
active = _this$props3.active,
|
127
|
+
multiline = _this$props3.multiline,
|
128
|
+
borderless = _this$props3.borderless,
|
129
|
+
label = _this$props3.label,
|
130
|
+
labelType = _this$props3.labelType,
|
131
|
+
error = _this$props3.error,
|
132
|
+
className = _this$props3.className,
|
133
|
+
inputClassName = _this$props3.inputClassName,
|
134
|
+
children = _this$props3.children,
|
135
|
+
value = _this$props3.value,
|
136
|
+
onClear = _this$props3.onClear,
|
137
|
+
disabled = _this$props3.disabled,
|
138
|
+
inputRef = _this$props3.inputRef;
|
139
|
+
_this$props3.onChange;
|
140
|
+
var enableShortcuts = _this$props3.enableShortcuts;
|
141
|
+
_this$props3.id;
|
142
|
+
var placeholder = _this$props3.placeholder,
|
143
|
+
icon = _this$props3.icon,
|
144
|
+
translations = _this$props3.translations,
|
145
|
+
_this$props3$height = _this$props3.height,
|
146
|
+
height = _this$props3$height === void 0 ? this.context : _this$props3$height,
|
147
|
+
afterInput = _this$props3.afterInput,
|
148
|
+
restProps = _objectWithoutProperties(_this$props3, _excluded);
|
149
|
+
var empty = this.state.empty;
|
150
|
+
var clearable = !!onClear;
|
151
|
+
var classes = classNames(className, modules_88cfaf40.outerContainer, [modules_88cfaf40["size".concat(size)]], [modules_88cfaf40["height".concat(height)]], {
|
152
|
+
'ring-js-shortcuts': enableShortcuts === true,
|
153
|
+
[modules_88cfaf40.active]: active,
|
154
|
+
[modules_88cfaf40.error]: error != null,
|
155
|
+
[modules_88cfaf40.empty]: empty,
|
156
|
+
[modules_88cfaf40.noLabel]: !this.props.label,
|
157
|
+
[modules_88cfaf40.withIcon]: icon != null,
|
158
|
+
[modules_88cfaf40.clearable]: clearable,
|
159
|
+
[modules_88cfaf40.borderless]: borderless
|
160
|
+
});
|
161
|
+
var inputClasses = classNames(modules_88cfaf40.input, inputClassName);
|
162
|
+
var text = value != null ? value : children;
|
163
|
+
var commonProps = {
|
164
|
+
ref: composeRefs(this.inputRef, inputRef),
|
165
|
+
className: inputClasses,
|
166
|
+
value: text,
|
167
|
+
disabled,
|
168
|
+
id: this.getId(),
|
169
|
+
placeholder,
|
170
|
+
'aria-label': typeof label === 'string' && label ? label : placeholder,
|
171
|
+
'data-enabled-shortcuts': Array.isArray(enableShortcuts) ? enableShortcuts.join(',') : null
|
172
|
+
};
|
173
|
+
return /*#__PURE__*/React.createElement(I18nContext.Consumer, null, function (_ref) {
|
174
|
+
var _translations$clear;
|
175
|
+
var translate = _ref.translate;
|
176
|
+
return /*#__PURE__*/React.createElement("div", {
|
177
|
+
className: classes,
|
178
|
+
"data-test": "ring-input"
|
179
|
+
}, label && /*#__PURE__*/React.createElement(ControlLabel, {
|
180
|
+
htmlFor: _this3.getId(),
|
181
|
+
disabled: disabled,
|
182
|
+
type: labelType
|
183
|
+
}, label), /*#__PURE__*/React.createElement("div", {
|
184
|
+
className: modules_88cfaf40.container
|
185
|
+
}, icon && /*#__PURE__*/React.createElement(Icon, {
|
186
|
+
glyph: icon,
|
187
|
+
className: modules_88cfaf40.icon
|
188
|
+
}), multiline ? /*#__PURE__*/React.createElement("textarea", _extends({
|
189
|
+
onChange: _this3.handleTextareaChange,
|
190
|
+
rows: 1
|
191
|
+
}, commonProps, restProps)) : /*#__PURE__*/React.createElement("input", _extends({
|
192
|
+
onChange: _this3.handleInputChange
|
193
|
+
}, commonProps, restProps)), clearable && !disabled && /*#__PURE__*/React.createElement(Button, {
|
194
|
+
title: (_translations$clear = translations === null || translations === void 0 ? void 0 : translations.clear) !== null && _translations$clear !== void 0 ? _translations$clear : translate('clear'),
|
195
|
+
"data-test": "ring-input-clear",
|
196
|
+
className: modules_88cfaf40.clear,
|
197
|
+
icon: closeIcon,
|
198
|
+
onClick: _this3.clear
|
199
|
+
}), afterInput), error && /*#__PURE__*/React.createElement("div", {
|
200
|
+
className: modules_88cfaf40.errorText
|
201
|
+
}, error));
|
202
|
+
});
|
203
|
+
}
|
204
|
+
}]);
|
205
|
+
return Input;
|
206
|
+
}(PureComponent);
|
207
|
+
_defineProperty(Input, "defaultProps", {
|
208
|
+
size: Size.M,
|
209
|
+
onChange: noop,
|
210
|
+
inputRef: noop,
|
211
|
+
enableShortcuts: ['esc']
|
212
|
+
});
|
213
|
+
_defineProperty(Input, "contextType", ControlsHeightContext);
|
214
|
+
Input.propTypes = {
|
215
|
+
value: PropTypes.string,
|
216
|
+
className: PropTypes.string,
|
217
|
+
inputClassName: PropTypes.string,
|
218
|
+
size: PropTypes.oneOf(Object.values(Size)).isRequired,
|
219
|
+
label: PropTypes.node,
|
220
|
+
active: PropTypes.bool,
|
221
|
+
error: PropTypes.string,
|
222
|
+
multiline: PropTypes.bool,
|
223
|
+
onChange: PropTypes.func,
|
224
|
+
onClear: PropTypes.func,
|
225
|
+
inputRef: PropTypes.oneOfType([PropTypes.func, refObject(PropTypes.instanceOf(HTMLInputElement)), refObject(PropTypes.instanceOf(HTMLTextAreaElement))]),
|
226
|
+
children: PropTypes.string,
|
227
|
+
enableShortcuts: PropTypes.oneOfType([PropTypes.bool, PropTypes.arrayOf(PropTypes.string.isRequired)]),
|
228
|
+
disabled: PropTypes.bool,
|
229
|
+
id: PropTypes.string,
|
230
|
+
placeholder: PropTypes.string,
|
231
|
+
translations: PropTypes.object,
|
232
|
+
icon: PropTypes.oneOfType([PropTypes.string, PropTypes.elementType])
|
233
|
+
};
|
234
|
+
|
235
|
+
export { Input as I, Size as S, modules_88cfaf40 as m };
|
@@ -0,0 +1,3 @@
|
|
1
|
+
var modules_e6a056e1 = {"gradientStart":"rgba(255, 255, 255, 0)","gradientStop":"var(--ring-content-background-color)","light":"light_rui_2ac4","island":"island_rui_1d72","withTransparentBottomBorder":"withTransparentBottomBorder_rui_1d72","header":"header_rui_1d72","withBottomBorder":"withBottomBorder_rui_1d72","title":"title_rui_1d72","narrowIsland":"narrowIsland_rui_1d72","content":"content_rui_1d72","scrollableWrapper":"scrollableWrapper_rui_1d72","withoutPaddings":"withoutPaddings_rui_1d72","contentWithTopFade":"contentWithTopFade_rui_1d72","contentWithBottomFade":"contentWithBottomFade_rui_1d72"};
|
2
|
+
|
3
|
+
export { modules_e6a056e1 as m };
|
@@ -0,0 +1,3 @@
|
|
1
|
+
var modules_3b67a421 = {"light":"light_rui_2ac4","list":"list_rui_93ef","simpleInner":"simpleInner_rui_93ef","scrolling":"scrolling_rui_93ef","separator":"separator_rui_93ef","separator_first":"separator_first_rui_93ef","item":"item_rui_93ef","itemContainer":"itemContainer_rui_93ef","compact":"compact_rui_93ef","error":"error_rui_93ef","add":"add_rui_93ef","top":"top_rui_93ef","left":"left_rui_93ef","label":"label_rui_93ef","description":"description_rui_93ef","right":"right_rui_93ef","details":"details_rui_93ef","padded":"padded_rui_93ef","hint":"hint_rui_93ef","action":"action_rui_93ef","actionLink":"actionLink_rui_93ef","hover":"hover_rui_93ef","icon":"icon_rui_93ef","highlight":"highlight_rui_93ef","service":"service_rui_93ef","glyph":"glyph_rui_93ef","avatar":"avatar_rui_93ef glyph_rui_93ef","rightGlyph":"rightGlyph_rui_93ef glyph_rui_93ef","checkboxContainer":"checkboxContainer_rui_93ef","title":"title_rui_93ef","title_first":"title_first_rui_93ef","text":"text_rui_93ef","fade":"fade_rui_93ef","disabled":"disabled_rui_93ef"};
|
2
|
+
|
3
|
+
export { modules_3b67a421 as m };
|