@jetbrains/ring-ui 5.0.127 → 5.0.128
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/alert/alert.js +2 -1
- package/components/alert/container.js +2 -1
- package/components/auth/auth__core.js +2 -1
- package/components/auth/request-builder.js +2 -1
- package/components/auth/response-parser.js +2 -1
- package/components/auth/token-validator.js +2 -1
- package/components/auth-dialog/auth-dialog.js +2 -1
- package/components/avatar/avatar.js +2 -1
- package/components/badge/badge.js +2 -1
- package/components/button/button.js +2 -1
- package/components/button-group/button-group.js +2 -1
- package/components/button-group/caption.js +2 -1
- package/components/button-set/button-set.js +2 -1
- package/components/button-toolbar/button-toolbar.js +2 -1
- package/components/caret/caret.js +2 -1
- package/components/checkbox/checkbox.js +2 -1
- package/components/code/code.js +2 -1
- package/components/confirm/confirm.js +2 -1
- package/components/content-layout/content-layout.js +2 -1
- package/components/content-layout/sidebar.js +2 -1
- package/components/data-list/data-list.js +2 -1
- package/components/data-list/item.js +2 -1
- package/components/date-picker/date-input.js +2 -1
- package/components/date-picker/date-picker.js +2 -1
- package/components/date-picker/date-popup.js +2 -1
- package/components/date-picker/day.js +2 -1
- package/components/date-picker/month-slider.js +2 -1
- package/components/date-picker/years.js +2 -1
- package/components/dialog/dialog.d.ts +4 -16
- package/components/dialog/dialog.js +6 -3
- package/components/dropdown/dropdown.js +2 -1
- package/components/error-bubble/error-bubble.js +2 -1
- package/components/error-message/error-message.js +2 -1
- package/components/footer/footer.js +1 -0
- package/components/global/react-dom-renderer.js +2 -1
- package/components/grid/col.js +2 -1
- package/components/grid/grid.js +2 -1
- package/components/grid/row.js +2 -1
- package/components/group/group.js +2 -1
- package/components/header/logo.js +2 -1
- package/components/header/profile.js +2 -1
- package/components/header/services-link.js +2 -1
- package/components/header/services.js +2 -1
- package/components/header/smart-profile.js +2 -1
- package/components/header/smart-services.js +2 -1
- package/components/header/tray-icon.js +2 -1
- package/components/header/tray.js +2 -1
- package/components/hub-source/hub-source.js +2 -1
- package/components/icon/icon.js +2 -1
- package/components/input/input.js +2 -1
- package/components/island/island.js +2 -1
- package/components/island-legacy/content-legacy.js +2 -1
- package/components/island-legacy/header-legacy.js +2 -1
- package/components/island-legacy/island-legacy.js +2 -1
- package/components/link/clickableLink.js +2 -1
- package/components/list/list.js +2 -1
- package/components/list/list__hint.js +2 -1
- package/components/list/list__users-groups-source.js +2 -1
- package/components/loader/loader.js +2 -1
- package/components/loader/loader__core.js +2 -1
- package/components/loader-screen/loader-screen.js +2 -1
- package/components/login-dialog/login-dialog.js +2 -1
- package/components/message/message.js +2 -1
- package/components/pager/pager.js +2 -1
- package/components/panel/panel.js +2 -1
- package/components/permissions/permissions.js +2 -1
- package/components/permissions/permissions__cache.js +2 -1
- package/components/popup/popup.js +2 -1
- package/components/popup-menu/popup-menu.js +2 -1
- package/components/progress-bar/progress-bar.js +2 -1
- package/components/query-assist/query-assist.js +4 -3
- package/components/radio/radio.js +2 -1
- package/components/radio/radio__item.js +2 -1
- package/components/select/select.js +2 -1
- package/components/select/select__filter.js +2 -1
- package/components/select/select__popup.js +4 -2
- package/components/shortcuts/shortcuts.js +2 -1
- package/components/storage/storage__fallback.js +2 -1
- package/components/tab-trap/tab-trap.js +2 -1
- package/components/table/cell.js +2 -1
- package/components/table/header-cell.js +2 -1
- package/components/table/header.js +2 -1
- package/components/table/multitable.js +2 -1
- package/components/table/row.js +3 -2
- package/components/table/table.js +4 -2
- package/components/tabs/smart-tabs.js +2 -1
- package/components/tabs/tab.js +2 -1
- package/components/tag/tag.js +2 -1
- package/components/tags-input/tags-input.d.ts +1 -1
- package/components/tags-input/tags-input.js +3 -2
- package/components/tags-list/tags-list.js +2 -1
- package/components/text/text.js +2 -1
- package/components/tooltip/tooltip.js +2 -1
- package/components/user-agreement/user-agreement.js +2 -1
- package/components/user-card/card.js +2 -1
- package/components/user-card/smart-user-card-tooltip.d.ts +1 -1
- package/components/user-card/smart-user-card-tooltip.js +2 -1
- package/components/user-card/tooltip.js +2 -1
- package/dist/_helpers/_rollupPluginBabelHelpers.js +1 -29
- package/dist/_helpers/anchor.js +1 -1
- package/dist/_helpers/card.js +44 -47
- package/dist/_helpers/footer.js +1 -0
- package/dist/_helpers/select__filter.js +10 -13
- package/dist/_helpers/services-link.js +10 -10
- package/dist/_helpers/sidebar.js +34 -37
- package/dist/_helpers/theme.js +1 -1
- package/dist/_helpers/title.js +12 -16
- package/dist/alert/alert.js +63 -66
- package/dist/alert/container.js +5 -5
- package/dist/alert-service/alert-service.js +5 -7
- package/dist/analytics/analytics.js +1 -2
- package/dist/analytics/analytics__custom-plugin.js +6 -8
- package/dist/auth/auth.js +1 -1
- package/dist/auth/auth__core.js +26 -26
- package/dist/auth/background-flow.js +4 -5
- package/dist/auth/iframe-flow.js +12 -12
- package/dist/auth/landing.js +1 -1
- package/dist/auth/request-builder.js +3 -5
- package/dist/auth/response-parser.js +5 -6
- package/dist/auth/storage.js +12 -12
- package/dist/auth/token-validator.js +13 -16
- package/dist/auth/window-flow.js +18 -19
- package/dist/auth-dialog/auth-dialog.js +54 -57
- package/dist/auth-dialog-service/auth-dialog-service.js +1 -1
- package/dist/auth-ng/auth-ng.js +1 -1
- package/dist/avatar/avatar.js +30 -33
- package/dist/avatar-ng/avatar-ng.js +1 -1
- package/dist/badge/badge.js +10 -10
- package/dist/badge-ng/badge-ng.js +1 -1
- package/dist/breadcrumb-ng/breadcrumb-ng.js +0 -1
- package/dist/button/button.js +24 -27
- package/dist/button-group/button-group.js +5 -5
- package/dist/button-group/caption.js +4 -4
- package/dist/button-ng/button-ng.js +68 -69
- package/dist/button-set/button-set.js +6 -6
- package/dist/button-toolbar/button-toolbar.js +6 -6
- package/dist/caret/caret.js +2 -4
- package/dist/checkbox/checkbox.js +27 -30
- package/dist/checkbox-ng/checkbox-ng.js +0 -1
- package/dist/code/code.js +17 -21
- package/dist/confirm/confirm.js +31 -34
- package/dist/confirm-ng/confirm-ng.js +1 -1
- package/dist/confirm-service/confirm-service.js +1 -1
- package/dist/content-layout/content-layout.js +17 -20
- package/dist/contenteditable/contenteditable.js +11 -11
- package/dist/data-list/data-list.js +49 -55
- package/dist/data-list/item.js +64 -67
- package/dist/data-list/selection.js +0 -1
- package/dist/data-list/title.js +1 -1
- package/dist/data-list-ng/data-list-ng.js +1 -1
- package/dist/date-picker/date-input.js +39 -42
- package/dist/date-picker/date-picker.js +162 -165
- package/dist/date-picker/date-popup.js +119 -119
- package/dist/date-picker/day.js +34 -38
- package/dist/date-picker/month-names.js +11 -14
- package/dist/date-picker/month-slider.js +24 -28
- package/dist/date-picker/month.js +1 -1
- package/dist/date-picker/months.js +1 -1
- package/dist/date-picker/years.js +9 -13
- package/dist/dialog/dialog.d.ts +4 -16
- package/dist/dialog/dialog.js +68 -65
- package/dist/dialog-ng/dialog-ng.js +21 -22
- package/dist/docked-panel-ng/docked-panel-ng.js +0 -1
- package/dist/dropdown/dropdown.js +101 -104
- package/dist/dropdown-menu/dropdown-menu.js +1 -1
- package/dist/editable-heading/editable-heading.js +1 -1
- package/dist/error-bubble/error-bubble.js +6 -6
- package/dist/error-message/error-message.js +10 -10
- package/dist/error-message-ng/error-message-ng.js +0 -1
- package/dist/footer-ng/footer-ng.js +19 -21
- package/dist/global/angular-component-factory.js +2 -3
- package/dist/global/dom.js +1 -5
- package/dist/global/focus-sensor-hoc.js +58 -61
- package/dist/global/listeners.js +1 -5
- package/dist/global/react-dom-renderer.js +8 -12
- package/dist/global/rerender-hoc.js +1 -5
- package/dist/global/ring-angular-component.js +1 -3
- package/dist/grid/col.js +13 -14
- package/dist/grid/grid.js +5 -5
- package/dist/grid/row.js +16 -17
- package/dist/group/group.js +5 -5
- package/dist/header/header.js +10 -10
- package/dist/header/logo.js +9 -9
- package/dist/header/profile.js +58 -58
- package/dist/header/services.js +19 -22
- package/dist/header/smart-profile.js +40 -43
- package/dist/header/smart-services.js +28 -31
- package/dist/header/tray-icon.js +6 -6
- package/dist/header/tray.js +5 -5
- package/dist/heading/heading.js +1 -1
- package/dist/heading-ng/heading-ng.js +1 -1
- package/dist/http/http.js +111 -107
- package/dist/http/http.mock.js +3 -4
- package/dist/hub-source/hub-source.js +7 -9
- package/dist/hub-source/hub-source__user.js +0 -1
- package/dist/hub-source/hub-source__users-groups.js +4 -5
- package/dist/icon/icon.js +18 -18
- package/dist/icon/icon__svg.js +1 -1
- package/dist/icon-ng/icon-ng.js +0 -1
- package/dist/input/input.js +35 -38
- package/dist/input-ng/input-ng.js +25 -26
- package/dist/island/adaptive-island-hoc.js +21 -25
- package/dist/island/content.js +62 -65
- package/dist/island/header.js +11 -11
- package/dist/island/island.js +8 -8
- package/dist/island-legacy/content-legacy.js +5 -5
- package/dist/island-legacy/header-legacy.js +5 -5
- package/dist/island-legacy/island-legacy.js +5 -5
- package/dist/link/clickableLink.js +27 -30
- package/dist/link/link.js +16 -16
- package/dist/list/list.js +389 -391
- package/dist/list/list__custom.js +6 -10
- package/dist/list/list__hint.js +3 -4
- package/dist/list/list__item.js +4 -7
- package/dist/list/list__link.js +1 -1
- package/dist/list/list__users-groups-source.js +3 -3
- package/dist/loader/loader.js +16 -19
- package/dist/loader/loader__core.js +62 -62
- package/dist/loader-inline/loader-inline.js +6 -6
- package/dist/loader-ng/loader-ng.js +3 -4
- package/dist/loader-screen/loader-screen.js +6 -6
- package/dist/loader-screen-ng/loader-screen-ng.js +0 -1
- package/dist/login-dialog/login-dialog.js +55 -58
- package/dist/login-dialog/service.js +1 -1
- package/dist/markdown/code.js +0 -1
- package/dist/markdown/markdown.js +1 -1
- package/dist/message/message.js +22 -25
- package/dist/old-browsers-message/white-list.js +2 -2
- package/dist/pager/pager.js +55 -58
- package/dist/pager-ng/pager-ng.js +1 -1
- package/dist/panel/panel.js +5 -5
- package/dist/panel-ng/panel-ng.js +0 -1
- package/dist/permissions/permissions.js +14 -16
- package/dist/permissions/permissions__cache.js +4 -6
- package/dist/permissions-ng/permissions-ng.js +1 -1
- package/dist/place-under-ng/place-under-ng.js +0 -1
- package/dist/popup/popup.js +118 -121
- package/dist/popup/popup.target.js +1 -1
- package/dist/popup/position.js +0 -1
- package/dist/popup-menu/popup-menu.js +19 -22
- package/dist/progress-bar/progress-bar.js +41 -44
- package/dist/progress-bar-ng/progress-bar-ng.js +1 -1
- package/dist/promised-click-ng/promised-click-ng.js +0 -1
- package/dist/query-assist/query-assist.js +507 -501
- package/dist/query-assist/query-assist__suggestions.js +1 -1
- package/dist/query-assist-ng/query-assist-ng.js +1 -1
- package/dist/radio/radio.js +10 -13
- package/dist/radio/radio__item.js +19 -22
- package/dist/select/select.js +350 -349
- package/dist/select/select__popup.js +148 -152
- package/dist/select-ng/select-ng.js +1 -1
- package/dist/select-ng/select-ng__lazy.js +4 -4
- package/dist/select-ng/select-ng__options.js +14 -15
- package/dist/shortcuts/core.js +35 -36
- package/dist/shortcuts/shortcuts-hoc.js +7 -11
- package/dist/shortcuts/shortcuts.js +10 -11
- package/dist/shortcuts-hint-ng/shortcuts-hint-ng.js +0 -1
- package/dist/shortcuts-ng/shortcuts-ng.js +0 -1
- package/dist/sidebar-ng/sidebar-ng.js +0 -1
- package/dist/storage/storage.js +1 -1
- package/dist/storage/storage__fallback.js +8 -10
- package/dist/storage/storage__local.js +2 -2
- package/dist/style.css +1 -1
- package/dist/tab-trap/tab-trap.js +84 -86
- package/dist/table/cell.js +6 -6
- package/dist/table/disable-hover-hoc.js +23 -25
- package/dist/table/header-cell.js +28 -31
- package/dist/table/header.js +58 -61
- package/dist/table/multitable.js +91 -95
- package/dist/table/row-with-focus-sensor.js +15 -18
- package/dist/table/row.js +51 -54
- package/dist/table/selection-shortcuts-hoc.js +145 -147
- package/dist/table/selection.js +7 -9
- package/dist/table/smart-table.js +21 -24
- package/dist/table/table.js +103 -109
- package/dist/table-legacy-ng/table-legacy-ng.js +1 -1
- package/dist/table-legacy-ng/table-legacy-ng__pager.js +1 -1
- package/dist/table-legacy-ng/table-legacy-ng__selection.js +1 -3
- package/dist/table-legacy-ng/table-legacy-ng__toolbar.js +0 -1
- package/dist/table-ng/smart-table-ng.js +1 -1
- package/dist/table-ng/table-ng.js +1 -1
- package/dist/tabs/collapsible-more.js +1 -1
- package/dist/tabs/collapsible-tab.js +1 -1
- package/dist/tabs/dumb-tabs.js +46 -49
- package/dist/tabs/smart-tabs.js +10 -10
- package/dist/tabs/tab.js +7 -8
- package/dist/tag/tag.js +42 -45
- package/dist/tags-input/tags-input.d.ts +1 -1
- package/dist/tags-input/tags-input.js +214 -213
- package/dist/tags-input-ng/tags-input-ng.js +1 -1
- package/dist/tags-list/tags-list.js +20 -20
- package/dist/template-ng/template-ng.js +25 -26
- package/dist/text/text.js +6 -6
- package/dist/toggle/toggle.js +19 -19
- package/dist/toggle-ng/toggle-ng.js +1 -1
- package/dist/tooltip/tooltip.js +86 -89
- package/dist/tooltip-ng/tooltip-ng.js +1 -1
- package/dist/user-agreement/service.js +207 -205
- package/dist/user-agreement/user-agreement.js +39 -42
- package/dist/user-card/smart-user-card-tooltip.d.ts +1 -1
- package/dist/user-card/smart-user-card-tooltip.js +32 -35
- package/dist/user-card/tooltip.js +26 -26
- package/dist/user-card-ng/user-card-ng.js +1 -1
- package/package.json +15 -15
|
@@ -54,7 +54,7 @@ const TypeToIconColor = {
|
|
|
54
54
|
/**
|
|
55
55
|
* **Alert** is a component for displaying contextual notifications. If you want to display a stack of notifications, use **Alerts** instead.
|
|
56
56
|
*/
|
|
57
|
-
|
|
57
|
+
class Alert extends PureComponent {
|
|
58
58
|
static propTypes = {
|
|
59
59
|
timeout: PropTypes.number,
|
|
60
60
|
/**
|
|
@@ -183,4 +183,5 @@ export default class Alert extends PureComponent {
|
|
|
183
183
|
</ThemeProvider>);
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
|
+
export default Alert;
|
|
186
187
|
export { default as Container } from './container';
|
|
@@ -3,7 +3,7 @@ import { createPortal } from 'react-dom';
|
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
import styles from './container.css';
|
|
6
|
-
|
|
6
|
+
class Alerts extends PureComponent {
|
|
7
7
|
static propTypes = {
|
|
8
8
|
children: PropTypes.node,
|
|
9
9
|
className: PropTypes.string
|
|
@@ -28,3 +28,4 @@ export default class Alerts extends PureComponent {
|
|
|
28
28
|
</div>, document.body);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
+
export default Alerts;
|
|
@@ -56,7 +56,7 @@ const DEFAULT_CONFIG = {
|
|
|
56
56
|
errorMessage: 'There may be a problem with your network connection. Make sure that you are online and'
|
|
57
57
|
}
|
|
58
58
|
};
|
|
59
|
-
|
|
59
|
+
class Auth {
|
|
60
60
|
static DEFAULT_CONFIG = DEFAULT_CONFIG;
|
|
61
61
|
static API_PATH = 'api/rest/';
|
|
62
62
|
static API_AUTH_PATH = 'oauth2/auth';
|
|
@@ -815,3 +815,4 @@ export default class Auth {
|
|
|
815
815
|
}
|
|
816
816
|
}
|
|
817
817
|
}
|
|
818
|
+
export default Auth;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import uuid from 'simply-uuid';
|
|
2
2
|
import { encodeURL } from '../global/url';
|
|
3
|
-
|
|
3
|
+
class AuthRequestBuilder {
|
|
4
4
|
config;
|
|
5
5
|
storage;
|
|
6
6
|
/**
|
|
@@ -62,3 +62,4 @@ export default class AuthRequestBuilder {
|
|
|
62
62
|
return this.storage?.saveState(id, storedState);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
+
export default AuthRequestBuilder;
|
|
@@ -21,7 +21,7 @@ export class AuthError extends ExtendableError {
|
|
|
21
21
|
* @property {?string} scope
|
|
22
22
|
* @property {?string} error
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
class AuthResponseParser {
|
|
25
25
|
_authResponse;
|
|
26
26
|
constructor() {
|
|
27
27
|
this._authResponse = this.readAuthResponseFromURL();
|
|
@@ -97,3 +97,4 @@ export default class AuthResponseParser {
|
|
|
97
97
|
return window.location.toString();
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
|
+
export default AuthResponseParser;
|
|
@@ -9,7 +9,7 @@ export class TokenValidationError extends ExtendableError {
|
|
|
9
9
|
this.authRedirect = true;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
|
|
12
|
+
class TokenValidator {
|
|
13
13
|
_getUser;
|
|
14
14
|
_config;
|
|
15
15
|
_storage;
|
|
@@ -167,3 +167,4 @@ export default class TokenValidator {
|
|
|
167
167
|
return storedToken.accessToken;
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
|
+
export default TokenValidator;
|
|
@@ -6,7 +6,7 @@ import Dialog from '../dialog/dialog';
|
|
|
6
6
|
import Button from '../button/button';
|
|
7
7
|
import { H2 } from '../heading/heading';
|
|
8
8
|
import styles from './auth-dialog.css';
|
|
9
|
-
|
|
9
|
+
class AuthDialog extends Component {
|
|
10
10
|
static propTypes = {
|
|
11
11
|
className: PropTypes.string,
|
|
12
12
|
title: PropTypes.string,
|
|
@@ -89,3 +89,4 @@ export default class AuthDialog extends Component {
|
|
|
89
89
|
</Dialog>);
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
+
export default AuthDialog;
|
|
@@ -19,7 +19,7 @@ export var Size;
|
|
|
19
19
|
Size[Size["Size48"] = 48] = "Size48";
|
|
20
20
|
Size[Size["Size56"] = 56] = "Size56";
|
|
21
21
|
})(Size || (Size = {}));
|
|
22
|
-
|
|
22
|
+
class Avatar extends PureComponent {
|
|
23
23
|
static propTypes = {
|
|
24
24
|
dpr: PropTypes.number,
|
|
25
25
|
className: PropTypes.string,
|
|
@@ -96,3 +96,4 @@ export default class Avatar extends PureComponent {
|
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
|
+
export default Avatar;
|
|
@@ -6,7 +6,7 @@ import style from './badge.css';
|
|
|
6
6
|
/**
|
|
7
7
|
* @name Badge
|
|
8
8
|
*/
|
|
9
|
-
|
|
9
|
+
class Badge extends PureComponent {
|
|
10
10
|
static propTypes = {
|
|
11
11
|
gray: PropTypes.bool,
|
|
12
12
|
valid: PropTypes.bool,
|
|
@@ -33,3 +33,4 @@ export default class Badge extends PureComponent {
|
|
|
33
33
|
</span>);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
+
export default Badge;
|
|
@@ -14,7 +14,7 @@ import { getButtonClasses } from './button__classes';
|
|
|
14
14
|
/**
|
|
15
15
|
* A component for displaying variously styled buttons.
|
|
16
16
|
*/
|
|
17
|
-
|
|
17
|
+
class Button extends PureComponent {
|
|
18
18
|
static propTypes = {
|
|
19
19
|
active: PropTypes.bool,
|
|
20
20
|
danger: PropTypes.bool,
|
|
@@ -67,5 +67,6 @@ export class Button extends PureComponent {
|
|
|
67
67
|
: (<button ref={this.buttonRef} type="button" {...commonProps}/>);
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
+
export { Button };
|
|
70
71
|
export { Size as IconSize };
|
|
71
72
|
export default Button;
|
|
@@ -7,7 +7,7 @@ import styles from './button-group.css';
|
|
|
7
7
|
/**
|
|
8
8
|
* @name Button Group
|
|
9
9
|
*/
|
|
10
|
-
|
|
10
|
+
class ButtonGroup extends PureComponent {
|
|
11
11
|
static propTypes = {
|
|
12
12
|
children: PropTypes.node,
|
|
13
13
|
className: PropTypes.string
|
|
@@ -18,4 +18,5 @@ export default class ButtonGroup extends PureComponent {
|
|
|
18
18
|
return (<div {...restProps} data-test={dataTests('ring-button-group', dataTest)} className={classes}/>);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
+
export default ButtonGroup;
|
|
21
22
|
export { Caption };
|
|
@@ -2,7 +2,7 @@ import React, { PureComponent } from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import styles from './button-group.css';
|
|
5
|
-
|
|
5
|
+
class Caption extends PureComponent {
|
|
6
6
|
static propTypes = {
|
|
7
7
|
className: PropTypes.node
|
|
8
8
|
};
|
|
@@ -12,3 +12,4 @@ export default class Caption extends PureComponent {
|
|
|
12
12
|
return (<span {...this.props} className={classes}/>);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
+
export default Caption;
|
|
@@ -6,7 +6,7 @@ import styles from './button-set.css';
|
|
|
6
6
|
/**
|
|
7
7
|
* @name Button Set
|
|
8
8
|
*/
|
|
9
|
-
|
|
9
|
+
class ButtonSet extends PureComponent {
|
|
10
10
|
static propTypes = {
|
|
11
11
|
children: PropTypes.node,
|
|
12
12
|
className: PropTypes.string,
|
|
@@ -20,3 +20,4 @@ export default class ButtonSet extends PureComponent {
|
|
|
20
20
|
</div>);
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
+
export default ButtonSet;
|
|
@@ -6,7 +6,7 @@ import styles from './button-toolbar.css';
|
|
|
6
6
|
/**
|
|
7
7
|
* @name Button Toolbar
|
|
8
8
|
*/
|
|
9
|
-
|
|
9
|
+
class ButtonToolbar extends PureComponent {
|
|
10
10
|
static propTypes = {
|
|
11
11
|
children: PropTypes.node,
|
|
12
12
|
className: PropTypes.string,
|
|
@@ -18,3 +18,4 @@ export default class ButtonToolbar extends PureComponent {
|
|
|
18
18
|
return (<div {...restProps} data-test={dataTests('ring-button-toolbar', dataTest)} className={classes}/>);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
+
export default ButtonToolbar;
|
|
@@ -2,7 +2,7 @@ import { getRect } from '../global/dom';
|
|
|
2
2
|
/**
|
|
3
3
|
* @name Caret
|
|
4
4
|
*/
|
|
5
|
-
|
|
5
|
+
class Caret {
|
|
6
6
|
/**
|
|
7
7
|
* Line endings RegExp
|
|
8
8
|
* @type {RegExp}
|
|
@@ -214,3 +214,4 @@ export default class Caret {
|
|
|
214
214
|
return offset;
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
|
+
export default Caret;
|
|
@@ -13,7 +13,7 @@ import styles from './checkbox.css';
|
|
|
13
13
|
/**
|
|
14
14
|
* Displays a checkbox.
|
|
15
15
|
*/
|
|
16
|
-
|
|
16
|
+
class Checkbox extends PureComponent {
|
|
17
17
|
static propTypes = {
|
|
18
18
|
name: PropTypes.string,
|
|
19
19
|
label: PropTypes.string,
|
|
@@ -70,3 +70,4 @@ export default class Checkbox extends PureComponent {
|
|
|
70
70
|
</label>);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
+
export default Checkbox;
|
package/components/code/code.js
CHANGED
|
@@ -17,7 +17,7 @@ const registerLanguage = memoize(async (language) => {
|
|
|
17
17
|
/**
|
|
18
18
|
* @name Code
|
|
19
19
|
*/
|
|
20
|
-
|
|
20
|
+
class Code extends PureComponent {
|
|
21
21
|
static propTypes = {
|
|
22
22
|
className: PropTypes.string,
|
|
23
23
|
code: PropTypes.string.isRequired,
|
|
@@ -90,5 +90,6 @@ export default class Code extends PureComponent {
|
|
|
90
90
|
</Tag>);
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
|
+
export default Code;
|
|
93
94
|
const code = trivialTemplateTag((source) => <Code code={source}/>);
|
|
94
95
|
export { code, highlight };
|
|
@@ -8,7 +8,7 @@ import styles from './confirm.css';
|
|
|
8
8
|
/**
|
|
9
9
|
* @name Confirm
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
class Confirm extends PureComponent {
|
|
12
12
|
static propTypes = {
|
|
13
13
|
className: PropTypes.string,
|
|
14
14
|
text: PropTypes.string,
|
|
@@ -57,3 +57,4 @@ export default class Confirm extends PureComponent {
|
|
|
57
57
|
</Dialog>);
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
+
export default Confirm;
|
|
@@ -6,7 +6,7 @@ import styles from './content-layout.css';
|
|
|
6
6
|
/**
|
|
7
7
|
* @name Content Layout
|
|
8
8
|
*/
|
|
9
|
-
|
|
9
|
+
class ContentLayout extends Component {
|
|
10
10
|
static propTypes = {
|
|
11
11
|
children: PropTypes.node,
|
|
12
12
|
className: PropTypes.string,
|
|
@@ -42,4 +42,5 @@ export default class ContentLayout extends Component {
|
|
|
42
42
|
</div>);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
+
export default ContentLayout;
|
|
45
46
|
export { default as Sidebar } from './sidebar';
|
|
@@ -5,7 +5,7 @@ import { Waypoint } from 'react-waypoint';
|
|
|
5
5
|
import styles from './content-layout.css';
|
|
6
6
|
const ABOVE = 'above';
|
|
7
7
|
const INSIDE = 'inside';
|
|
8
|
-
|
|
8
|
+
class Sidebar extends Component {
|
|
9
9
|
static propTypes = {
|
|
10
10
|
right: PropTypes.bool,
|
|
11
11
|
children: PropTypes.node,
|
|
@@ -74,3 +74,4 @@ export default class Sidebar extends Component {
|
|
|
74
74
|
</aside>);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
+
export default Sidebar;
|
|
@@ -109,7 +109,7 @@ DataList.propTypes = {
|
|
|
109
109
|
};
|
|
110
110
|
const getContainer = () => disableHoverHOC(selectionShortcutsHOC(focusSensorHOC(DataList)));
|
|
111
111
|
// eslint-disable-next-line react/no-multi-comp
|
|
112
|
-
|
|
112
|
+
class DataListContainer extends Component {
|
|
113
113
|
static propTypes = getContainer().propTypes;
|
|
114
114
|
// https://stackoverflow.com/a/53882322/6304152
|
|
115
115
|
DataList = getContainer();
|
|
@@ -117,3 +117,4 @@ export default class DataListContainer extends Component {
|
|
|
117
117
|
return <this.DataList {...this.props}/>;
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
|
+
export default DataListContainer;
|
|
@@ -18,7 +18,7 @@ export var moreLessButtonStates;
|
|
|
18
18
|
})(moreLessButtonStates || (moreLessButtonStates = {}));
|
|
19
19
|
const ITEM_LEFT_OFFSET = 32;
|
|
20
20
|
const LIST_LEFT_OFFSET = 24;
|
|
21
|
-
|
|
21
|
+
class Item extends PureComponent {
|
|
22
22
|
static defaultProps = {
|
|
23
23
|
items: [],
|
|
24
24
|
level: 0,
|
|
@@ -89,6 +89,7 @@ export default class Item extends PureComponent {
|
|
|
89
89
|
</li>);
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
+
export default Item;
|
|
92
93
|
Item.propTypes = {
|
|
93
94
|
item: PropTypes.shape({
|
|
94
95
|
id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired
|
|
@@ -5,7 +5,7 @@ import Input from '../input/input';
|
|
|
5
5
|
import { ControlsHeight } from '../global/controls-height';
|
|
6
6
|
import { dateType } from './consts';
|
|
7
7
|
import styles from './date-picker.css';
|
|
8
|
-
|
|
8
|
+
class DateInput extends React.PureComponent {
|
|
9
9
|
static propTypes = {
|
|
10
10
|
active: PropTypes.bool,
|
|
11
11
|
divider: PropTypes.bool,
|
|
@@ -96,3 +96,4 @@ export default class DateInput extends React.PureComponent {
|
|
|
96
96
|
return (<Input autoComplete="off" borderless height={ControlsHeight.L} data-name={name} inputRef={this.inputRef} className={classes} value={displayText} onChange={this.handleChange} onFocus={onActivate} onKeyDown={this.handleKeyDown} onClear={onClear} placeholder={placeholder}/>);
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
|
+
export default DateInput;
|
|
@@ -41,7 +41,7 @@ PopupComponent.propTypes = {
|
|
|
41
41
|
/**
|
|
42
42
|
* @name Date Picker
|
|
43
43
|
*/
|
|
44
|
-
|
|
44
|
+
class DatePicker extends PureComponent {
|
|
45
45
|
static propTypes = {
|
|
46
46
|
className: PropTypes.string,
|
|
47
47
|
popupClassName: PropTypes.string,
|
|
@@ -222,3 +222,4 @@ export default class DatePicker extends PureComponent {
|
|
|
222
222
|
</Dropdown>);
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
|
+
export default DatePicker;
|
|
@@ -13,7 +13,7 @@ import Weekdays from './weekdays';
|
|
|
13
13
|
import { dateType, parseTime } from './consts';
|
|
14
14
|
import styles from './date-picker.css';
|
|
15
15
|
const scrollExpDelay = 10;
|
|
16
|
-
|
|
16
|
+
class DatePopup extends Component {
|
|
17
17
|
static sameDay(next, prev) {
|
|
18
18
|
if (next && prev) {
|
|
19
19
|
return isSameDay(next, prev);
|
|
@@ -346,3 +346,4 @@ export default class DatePopup extends Component {
|
|
|
346
346
|
</div>);
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
|
+
export default DatePopup;
|
|
@@ -13,7 +13,7 @@ import startOfDay from 'date-fns/startOfDay';
|
|
|
13
13
|
import { dateType, weekdays } from './consts';
|
|
14
14
|
import styles from './date-picker.css';
|
|
15
15
|
let hoverTO;
|
|
16
|
-
|
|
16
|
+
class Day extends Component {
|
|
17
17
|
static propTypes = {
|
|
18
18
|
day: dateType,
|
|
19
19
|
from: dateType,
|
|
@@ -86,3 +86,4 @@ export default class Day extends Component {
|
|
|
86
86
|
</button>);
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
|
+
export default Day;
|
|
@@ -8,7 +8,7 @@ import linearFunction from '../global/linear-function';
|
|
|
8
8
|
import units, { dateType, yearScrollSpeed } from './consts';
|
|
9
9
|
import styles from './date-picker.css';
|
|
10
10
|
const COVERYEARS = 3;
|
|
11
|
-
|
|
11
|
+
class MonthSlider extends PureComponent {
|
|
12
12
|
static propTypes = {
|
|
13
13
|
scrollDate: dateType,
|
|
14
14
|
onScroll: PropTypes.func,
|
|
@@ -54,3 +54,4 @@ export default class MonthSlider extends PureComponent {
|
|
|
54
54
|
</div>);
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
+
export default MonthSlider;
|
|
@@ -16,7 +16,7 @@ const { yearHeight, calHeight } = units;
|
|
|
16
16
|
let scrollTO;
|
|
17
17
|
const YEARSBACK = 5;
|
|
18
18
|
const scrollDelay = 100;
|
|
19
|
-
|
|
19
|
+
class Years extends PureComponent {
|
|
20
20
|
static propTypes = {
|
|
21
21
|
scrollDate: dateType,
|
|
22
22
|
onScroll: PropTypes.func,
|
|
@@ -73,3 +73,4 @@ export default class Years extends PureComponent {
|
|
|
73
73
|
</div>);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
+
export default Years;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React, { PureComponent } from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import TabTrap, { TabTrapProps } from '../tab-trap/tab-trap';
|
|
4
|
+
import type { ShortcutsScopeOptions } from '../shortcuts/core';
|
|
4
5
|
export interface DialogProps extends Partial<TabTrapProps> {
|
|
5
6
|
show: boolean;
|
|
6
7
|
label: string;
|
|
@@ -9,6 +10,7 @@ export interface DialogProps extends Partial<TabTrapProps> {
|
|
|
9
10
|
onCloseClick: (event: React.MouseEvent<HTMLElement>) => void;
|
|
10
11
|
onCloseAttempt: (event: React.MouseEvent<HTMLElement> | KeyboardEvent) => void;
|
|
11
12
|
showCloseButton: boolean;
|
|
13
|
+
shortcutOptions: ShortcutsScopeOptions;
|
|
12
14
|
closeButtonInside: boolean;
|
|
13
15
|
closeButtonTitle?: string;
|
|
14
16
|
trapFocus: boolean;
|
|
@@ -17,10 +19,6 @@ export interface DialogProps extends Partial<TabTrapProps> {
|
|
|
17
19
|
'data-test'?: string | null | undefined;
|
|
18
20
|
dense?: boolean | null | undefined;
|
|
19
21
|
}
|
|
20
|
-
/**
|
|
21
|
-
* @name Dialog
|
|
22
|
-
*/
|
|
23
|
-
declare function noop(): void;
|
|
24
22
|
export default class Dialog extends PureComponent<DialogProps> {
|
|
25
23
|
static propTypes: {
|
|
26
24
|
label: PropTypes.Requireable<string>;
|
|
@@ -34,23 +32,14 @@ export default class Dialog extends PureComponent<DialogProps> {
|
|
|
34
32
|
onOverlayClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
35
33
|
onEscPress: PropTypes.Requireable<(...args: any[]) => any>;
|
|
36
34
|
onCloseClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
35
|
+
shortcutOptions: PropTypes.Requireable<object>;
|
|
37
36
|
onCloseAttempt: PropTypes.Requireable<(...args: any[]) => any>;
|
|
38
37
|
trapFocus: PropTypes.Requireable<boolean>;
|
|
39
38
|
portalTarget: PropTypes.Requireable<HTMLElement>;
|
|
40
39
|
autoFocusFirst: PropTypes.Requireable<boolean>;
|
|
41
40
|
'data-test': PropTypes.Requireable<string>;
|
|
42
41
|
};
|
|
43
|
-
static defaultProps:
|
|
44
|
-
label: string;
|
|
45
|
-
onOverlayClick: typeof noop;
|
|
46
|
-
onEscPress: typeof noop;
|
|
47
|
-
onCloseClick: typeof noop;
|
|
48
|
-
onCloseAttempt: typeof noop;
|
|
49
|
-
showCloseButton: boolean;
|
|
50
|
-
closeButtonInside: boolean;
|
|
51
|
-
trapFocus: boolean;
|
|
52
|
-
autoFocusFirst: boolean;
|
|
53
|
-
};
|
|
42
|
+
static defaultProps: Partial<DialogProps>;
|
|
54
43
|
state: {
|
|
55
44
|
shortcutsScope: string;
|
|
56
45
|
};
|
|
@@ -73,4 +62,3 @@ export default class Dialog extends PureComponent<DialogProps> {
|
|
|
73
62
|
render(): false | React.ReactPortal;
|
|
74
63
|
}
|
|
75
64
|
export type DialogAttrs = JSX.LibraryManagedAttributes<typeof Dialog, DialogProps>;
|
|
76
|
-
export {};
|
|
@@ -16,7 +16,7 @@ import styles from './dialog.css';
|
|
|
16
16
|
* @name Dialog
|
|
17
17
|
*/
|
|
18
18
|
function noop() { }
|
|
19
|
-
|
|
19
|
+
class Dialog extends PureComponent {
|
|
20
20
|
static propTypes = {
|
|
21
21
|
label: PropTypes.string,
|
|
22
22
|
className: PropTypes.string,
|
|
@@ -32,6 +32,7 @@ export default class Dialog extends PureComponent {
|
|
|
32
32
|
onOverlayClick: PropTypes.func,
|
|
33
33
|
onEscPress: PropTypes.func,
|
|
34
34
|
onCloseClick: PropTypes.func,
|
|
35
|
+
shortcutOptions: PropTypes.object,
|
|
35
36
|
// onCloseAttempt is a common callback for ESC pressing and overlay clicking.
|
|
36
37
|
// Use it if you don't need different behaviors for this cases.
|
|
37
38
|
onCloseAttempt: PropTypes.func,
|
|
@@ -49,6 +50,7 @@ export default class Dialog extends PureComponent {
|
|
|
49
50
|
onCloseAttempt: noop,
|
|
50
51
|
showCloseButton: false,
|
|
51
52
|
closeButtonInside: false,
|
|
53
|
+
shortcutOptions: { modal: false },
|
|
52
54
|
trapFocus: false,
|
|
53
55
|
autoFocusFirst: true
|
|
54
56
|
};
|
|
@@ -100,12 +102,12 @@ export default class Dialog extends PureComponent {
|
|
|
100
102
|
this.dialog = tabTrap && tabTrap.node;
|
|
101
103
|
};
|
|
102
104
|
render() {
|
|
103
|
-
const { show, showCloseButton, onOverlayClick, onCloseAttempt, onEscPress, onCloseClick, children, className, contentClassName, trapFocus, 'data-test': dataTest, closeButtonInside, portalTarget, label, closeButtonTitle, dense, ...restProps } = this.props;
|
|
105
|
+
const { show, showCloseButton, onOverlayClick, onCloseAttempt, onEscPress, onCloseClick, children, className, contentClassName, trapFocus, 'data-test': dataTest, closeButtonInside, portalTarget, label, closeButtonTitle, dense, shortcutOptions, ...restProps } = this.props;
|
|
104
106
|
const classes = classNames(styles.container, className);
|
|
105
107
|
const shortcutsMap = this.getShortcutsMap();
|
|
106
108
|
return show && createPortal(<PopupTarget id={this.uid} className={styles.popupTarget}>
|
|
107
109
|
{target => (<TabTrap trapDisabled={!trapFocus} data-test={dataTests('ring-dialog-container', dataTest)} ref={this.dialogRef} className={classes} role="presentation" {...restProps}>
|
|
108
|
-
<Shortcuts map={shortcutsMap} scope={this.state.shortcutsScope}/>
|
|
110
|
+
<Shortcuts map={shortcutsMap} scope={this.state.shortcutsScope} options={this.props.shortcutOptions}/>
|
|
109
111
|
{(onOverlayClick !== noop || onCloseAttempt !== noop) && (<div
|
|
110
112
|
// click handler is duplicated in close button
|
|
111
113
|
role="presentation" className={styles.clickableOverlay} onClick={this.handleClick}/>)}
|
|
@@ -124,3 +126,4 @@ export default class Dialog extends PureComponent {
|
|
|
124
126
|
</PopupTarget>, portalTarget instanceof HTMLElement ? portalTarget : document.body);
|
|
125
127
|
}
|
|
126
128
|
}
|
|
129
|
+
export default Dialog;
|
|
@@ -8,7 +8,7 @@ import styles from './dropdown.css';
|
|
|
8
8
|
/**
|
|
9
9
|
* @name Dropdown
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
class Dropdown extends Component {
|
|
12
12
|
static propTypes = {
|
|
13
13
|
/**
|
|
14
14
|
* Can be string, React element, or a function accepting an object with {active, pinned} properties and returning a React element
|
|
@@ -156,4 +156,5 @@ export default class Dropdown extends Component {
|
|
|
156
156
|
</div>);
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
|
+
export default Dropdown;
|
|
159
160
|
export { Anchor };
|
|
@@ -7,7 +7,7 @@ import styles from './error-bubble.css';
|
|
|
7
7
|
/**
|
|
8
8
|
* @name Error Bubble
|
|
9
9
|
*/
|
|
10
|
-
|
|
10
|
+
class ErrorBubble extends PureComponent {
|
|
11
11
|
static propTypes = {
|
|
12
12
|
error: PropTypes.string,
|
|
13
13
|
className: PropTypes.string,
|
|
@@ -26,3 +26,4 @@ export default class ErrorBubble extends PureComponent {
|
|
|
26
26
|
</div>);
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
+
export default ErrorBubble;
|
|
@@ -8,7 +8,7 @@ import styles from './error-message.css';
|
|
|
8
8
|
/**
|
|
9
9
|
* @name Error Message
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
class ErrorMessage extends Component {
|
|
12
12
|
static propTypes = {
|
|
13
13
|
icon: PropTypes.oneOfType([PropTypes.string, PropTypes.elementType]),
|
|
14
14
|
code: PropTypes.string,
|
|
@@ -35,3 +35,4 @@ export default class ErrorMessage extends Component {
|
|
|
35
35
|
</div>);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
+
export default ErrorMessage;
|
|
@@ -46,6 +46,7 @@ export function copyright(year) {
|
|
|
46
46
|
const FooterLine = memo(function FooterLine(props) {
|
|
47
47
|
const items = Array.isArray(props.item) ? props.item : [props.item];
|
|
48
48
|
function renderItem(item) {
|
|
49
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
49
50
|
if (isValidElement(item) || typeof item !== 'object') {
|
|
50
51
|
return item;
|
|
51
52
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
|
|
3
|
+
class Renderer extends Component {
|
|
4
4
|
static propTypes = {
|
|
5
5
|
className: PropTypes.string,
|
|
6
6
|
nodes: PropTypes.array
|
|
@@ -23,3 +23,4 @@ export default class Renderer extends Component {
|
|
|
23
23
|
return (<div className={className} ref={this.nodeRef}/>);
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
+
export default Renderer;
|
package/components/grid/col.js
CHANGED
|
@@ -23,7 +23,7 @@ function getClassNames(props) {
|
|
|
23
23
|
filter(([key]) => classMap[key]).
|
|
24
24
|
map(([key, value]) => styles[Number.isInteger(value) ? `${classMap[key]}-${value}` : classMap[key]]);
|
|
25
25
|
}
|
|
26
|
-
|
|
26
|
+
class Col extends Component {
|
|
27
27
|
static propTypes = {
|
|
28
28
|
xs: ModifierType,
|
|
29
29
|
sm: ModifierType,
|
|
@@ -47,3 +47,4 @@ export default class Col extends Component {
|
|
|
47
47
|
</div>);
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
+
export default Col;
|
package/components/grid/grid.js
CHANGED
|
@@ -5,7 +5,7 @@ import styles from './grid.css';
|
|
|
5
5
|
/**
|
|
6
6
|
* @name Grid
|
|
7
7
|
*/
|
|
8
|
-
|
|
8
|
+
class Grid extends Component {
|
|
9
9
|
static propTypes = {
|
|
10
10
|
className: PropTypes.string,
|
|
11
11
|
children: PropTypes.node
|
|
@@ -18,5 +18,6 @@ export class Grid extends Component {
|
|
|
18
18
|
</div>);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
+
export { Grid };
|
|
21
22
|
export { default as Row } from './row';
|
|
22
23
|
export { default as Col } from './col';
|
package/components/grid/row.js
CHANGED
|
@@ -22,7 +22,7 @@ function getModifierClassNames(props) {
|
|
|
22
22
|
return result;
|
|
23
23
|
}, []);
|
|
24
24
|
}
|
|
25
|
-
|
|
25
|
+
class Row extends Component {
|
|
26
26
|
static propTypes = {
|
|
27
27
|
reverse: PropTypes.bool,
|
|
28
28
|
start: ModifierType,
|
|
@@ -49,3 +49,4 @@ export default class Row extends Component {
|
|
|
49
49
|
</div>);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
+
export default Row;
|
|
@@ -5,7 +5,7 @@ import styles from './group.css';
|
|
|
5
5
|
/**
|
|
6
6
|
* @name Group
|
|
7
7
|
*/
|
|
8
|
-
|
|
8
|
+
class Group extends Component {
|
|
9
9
|
static propTypes = {
|
|
10
10
|
children: PropTypes.node,
|
|
11
11
|
className: PropTypes.string
|
|
@@ -18,3 +18,4 @@ export default class Group extends Component {
|
|
|
18
18
|
</span>);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
+
export default Group;
|