@jetbrains/ring-ui-built 7.0.0-beta.9 → 7.0.0
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/_helpers/anchor.js +4 -4
- package/components/_helpers/button__classes.js +13 -13
- package/components/_helpers/caption.js +3 -3
- package/components/_helpers/card.js +23 -20
- package/components/_helpers/date-picker.js +2 -2
- package/components/_helpers/dialog__body-scroll-preventer.js +4 -4
- package/components/_helpers/grid.js +2 -2
- package/components/_helpers/header.js +2 -2
- package/components/_helpers/heading.js +2 -2
- package/components/_helpers/icon__svg.js +6 -6
- package/components/_helpers/input.js +14 -14
- package/components/_helpers/island.js +2 -2
- package/components/_helpers/link.js +2 -2
- package/components/_helpers/list.js +2 -2
- package/components/_helpers/query-assist__suggestions.js +7 -7
- package/components/_helpers/select__filter.js +3 -3
- package/components/_helpers/services-link.js +3 -3
- package/components/_helpers/sidebar.js +9 -9
- package/components/_helpers/tab-link.js +7 -7
- package/components/_helpers/table.js +2 -2
- package/components/_helpers/theme.js +10 -10
- package/components/_helpers/title.js +7 -7
- package/components/alert/alert.d.ts +2 -2
- package/components/alert/alert.js +12 -13
- package/components/alert/container.js +4 -4
- package/components/alert-service/alert-service.js +0 -1
- package/components/auth/auth.js +0 -1
- package/components/auth/auth__core.js +1 -2
- package/components/auth/background-flow.js +2 -2
- package/components/auth/down-notification.js +5 -6
- package/components/auth/iframe-flow.js +0 -1
- package/components/auth/storage.js +0 -1
- package/components/auth/token-validator.js +1 -1
- package/components/auth-dialog/auth-dialog.js +10 -11
- package/components/auth-dialog-service/auth-dialog-service.js +2 -3
- package/components/avatar/avatar.js +6 -6
- package/components/breadcrumbs/breadcrumbs.js +2 -2
- package/components/button/button.js +4 -4
- package/components/button/button__classes.d.ts +1 -1
- package/components/button-group/button-group.js +3 -4
- package/components/button-set/button-set.js +2 -3
- package/components/button-toolbar/button-toolbar.d.ts +1 -1
- package/components/button-toolbar/button-toolbar.js +2 -3
- package/components/checkbox/checkbox.js +8 -8
- package/components/clipboard/clipboard.js +0 -1
- package/components/code/code.d.ts +1 -1
- package/components/code/code.js +7 -7
- package/components/collapse/collapse-content.d.ts +1 -2
- package/components/collapse/collapse-content.js +25 -11
- package/components/collapse/collapse-control.js +0 -1
- package/components/confirm/confirm.d.ts +2 -2
- package/components/confirm/confirm.js +3 -4
- package/components/confirm-service/confirm-service.d.ts +1 -1
- package/components/confirm-service/confirm-service.js +1 -2
- package/components/content-layout/content-layout.js +4 -4
- package/components/contenteditable/contenteditable.d.ts +1 -1
- package/components/control-help/control-help.js +2 -2
- package/components/control-label/control-label.js +5 -5
- package/components/data-list/data-list.d.ts +2 -2
- package/components/data-list/data-list.js +6 -7
- package/components/data-list/data-list.mock.js +16 -10
- package/components/data-list/item.js +8 -9
- package/components/date-picker/date-input.js +2 -2
- package/components/date-picker/date-picker.d.ts +2 -1
- package/components/date-picker/date-picker.js +12 -12
- package/components/date-picker/date-popup.js +4 -5
- package/components/date-picker/day.js +15 -15
- package/components/date-picker/month-names.js +5 -5
- package/components/date-picker/month-slider.js +3 -3
- package/components/date-picker/month.js +3 -3
- package/components/date-picker/months.js +3 -3
- package/components/date-picker/weekdays.js +4 -4
- package/components/date-picker/years.js +5 -5
- package/components/dialog/dialog.d.ts +1 -0
- package/components/dialog/dialog.js +22 -18
- package/components/dropdown/dropdown.d.ts +2 -2
- package/components/dropdown/dropdown.js +2 -3
- package/components/dropdown-menu/dropdown-menu.js +0 -1
- package/components/editable-heading/editable-heading.js +19 -19
- package/components/error-bubble/error-bubble.js +5 -5
- package/components/error-message/error-message.js +6 -7
- package/components/footer/footer.js +9 -10
- package/components/form/form.js +2 -3
- package/components/global/compose.js +0 -2
- package/components/global/data-tests.js +0 -1
- package/components/global/theme.js +1 -2
- package/components/grid/col.js +5 -4
- package/components/grid/grid.js +5 -4
- package/components/grid/row.js +5 -5
- package/components/group/group.js +5 -3
- package/components/header/header-icon.js +4 -4
- package/components/header/header.js +3 -4
- package/components/header/links.js +2 -2
- package/components/header/logo.js +2 -2
- package/components/header/profile.d.ts +2 -2
- package/components/header/profile.js +10 -11
- package/components/header/services-link.js +0 -1
- package/components/header/services.js +7 -8
- package/components/header/smart-profile.js +0 -1
- package/components/header/smart-services.js +0 -1
- package/components/header/tray.js +3 -3
- package/components/heading/heading.js +3 -3
- package/components/http/http.d.ts +3 -3
- package/components/icon/icon.js +8 -6
- package/components/input/input-legacy.js +2 -3
- package/components/input-size/input-size.js +2 -3
- package/components/island/content.js +7 -7
- package/components/island/header.js +4 -4
- package/components/island/island.js +4 -5
- package/components/link/link.js +7 -8
- package/components/list/list.d.ts +1 -1
- package/components/list/list.js +5 -6
- package/components/list/list__custom.js +5 -6
- package/components/list/list__hint.js +2 -2
- package/components/list/list__item.js +22 -23
- package/components/list/list__link.js +5 -6
- package/components/list/list__separator.js +3 -3
- package/components/list/list__title.js +5 -5
- package/components/list/list__users-groups-source.js +0 -1
- package/components/loader/loader.js +0 -1
- package/components/loader/loader__core.js +5 -5
- package/components/loader-inline/loader-inline.js +3 -4
- package/components/loader-screen/loader-screen.js +4 -5
- package/components/login-dialog/login-dialog.js +6 -7
- package/components/login-dialog/service.js +1 -2
- package/components/markdown/markdown.d.ts +2 -2
- package/components/markdown/markdown.js +6 -6
- package/components/message/message.js +9 -10
- package/components/old-browsers-message/old-browsers-message.js +0 -1
- package/components/old-browsers-message/old-browsers-message__stop.js +0 -1
- package/components/old-browsers-message/white-list.js +2 -3
- package/components/pager/pager.js +9 -10
- package/components/panel/panel.js +2 -2
- package/components/permissions/permissions.js +0 -1
- package/components/permissions/permissions__cache.js +2 -3
- package/components/popup/popup.js +6 -7
- package/components/popup/position.js +2 -2
- package/components/popup-menu/popup-menu.js +0 -1
- package/components/progress-bar/progress-bar.d.ts +2 -2
- package/components/progress-bar/progress-bar.js +5 -5
- package/components/query-assist/query-assist.js +27 -28
- package/components/query-assist/query-assist__suggestions.js +0 -1
- package/components/radio/radio__item.js +5 -5
- package/components/scrollable-section/scrollable-section.js +6 -6
- package/components/select/select.d.ts +1 -1
- package/components/select/select.js +25 -25
- package/components/select/select__filter.js +0 -1
- package/components/select/select__popup.js +11 -12
- package/components/shortcuts/core.js +1 -1
- package/components/slider/slider.js +20 -20
- package/components/storage/storage.js +0 -1
- package/components/storage/storage__local.js +0 -1
- package/components/style.css +1 -1
- package/components/tab-trap/tab-trap.js +2 -2
- package/components/table/cell.js +2 -3
- package/components/table/header-cell.js +8 -9
- package/components/table/header.d.ts +1 -2
- package/components/table/header.js +7 -14
- package/components/table/row-with-focus-sensor.js +0 -1
- package/components/table/row.d.ts +0 -1
- package/components/table/row.js +11 -18
- package/components/table/selection.d.ts +2 -3
- package/components/table/simple-table.js +2 -3
- package/components/table/smart-table.js +0 -1
- package/components/table/table.d.ts +0 -1
- package/components/table/table.js +17 -20
- package/components/tabs/collapsible-more.d.ts +1 -1
- package/components/tabs/collapsible-more.js +6 -7
- package/components/tabs/collapsible-tab.js +4 -5
- package/components/tabs/collapsible-tabs.d.ts +2 -2
- package/components/tabs/collapsible-tabs.js +5 -6
- package/components/tabs/dumb-tabs.js +5 -6
- package/components/tabs/smart-tabs.js +0 -1
- package/components/tabs/tab-link.js +0 -1
- package/components/tabs/tab.js +0 -1
- package/components/tabs/tabs.js +0 -1
- package/components/tag/tag.d.ts +1 -1
- package/components/tag/tag.js +14 -15
- package/components/tags-input/tags-input.js +8 -9
- package/components/tags-list/tags-list.d.ts +2 -2
- package/components/tags-list/tags-list.js +2 -2
- package/components/text/text.js +7 -7
- package/components/toggle/toggle.d.ts +2 -2
- package/components/toggle/toggle.js +12 -13
- package/components/tooltip/tooltip.js +12 -6
- package/components/user-agreement/service.js +1 -2
- package/components/user-agreement/user-agreement.js +7 -8
- package/components/user-card/card.js +3 -2
- package/components/user-card/smart-user-card-tooltip.js +5 -4
- package/components/user-card/tooltip.js +5 -4
- package/components/user-card/user-card.js +3 -2
- package/package.json +6 -5
- package/typings.d.ts +2 -4
- package/components/_helpers/badge.js +0 -3
- package/components/badge/badge.d.ts +0 -14
- package/components/badge/badge.js +0 -47
- package/components/island-legacy/content-legacy.d.ts +0 -5
- package/components/island-legacy/content-legacy.js +0 -23
- package/components/island-legacy/header-legacy.d.ts +0 -5
- package/components/island-legacy/header-legacy.js +0 -26
- package/components/island-legacy/island-legacy.d.ts +0 -7
- package/components/island-legacy/island-legacy.js +0 -25
@@ -6,7 +6,7 @@ import Icon from '../icon/icon.js';
|
|
6
6
|
import { Button } from '../button/button.js';
|
7
7
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
8
8
|
|
9
|
-
var
|
9
|
+
var styles = {"dropdown":"dropdown_rui_8ec5","anchor":"anchor_rui_8ec5","chevron":"chevron_rui_8ec5"};
|
10
10
|
|
11
11
|
const _excluded = ["children", "className"];
|
12
12
|
const Anchor = _ref => {
|
@@ -18,14 +18,14 @@ const Anchor = _ref => {
|
|
18
18
|
return /*#__PURE__*/jsxs(Button, _objectSpread2(_objectSpread2({
|
19
19
|
"data-test-ring-dropdown-anchor": true,
|
20
20
|
text: true,
|
21
|
-
className: classNames(
|
21
|
+
className: classNames(styles.anchor, className)
|
22
22
|
}, restProps), {}, {
|
23
23
|
children: [children, /*#__PURE__*/jsx(Icon, {
|
24
24
|
glyph: chevronDown,
|
25
|
-
className:
|
25
|
+
className: styles.chevron
|
26
26
|
})]
|
27
27
|
}));
|
28
28
|
};
|
29
29
|
var Anchor$1 = /*#__PURE__*/memo(Anchor);
|
30
30
|
|
31
|
-
export { Anchor$1 as A,
|
31
|
+
export { Anchor$1 as A, styles as s };
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import classNames from 'classnames';
|
2
2
|
|
3
|
-
var
|
3
|
+
var styles = {"heightS":"heightS_rui_6ad6","heightM":"heightM_rui_6ad6","heightL":"heightL_rui_6ad6","button":"button_rui_6ad6","block":"block_rui_6ad6","inline":"inline_rui_6ad6","icon":"icon_rui_6ad6","withNormalIcon":"withNormalIcon_rui_6ad6","active":"active_rui_6ad6","primaryBlock":"primaryBlock_rui_6ad6","disabled":"disabled_rui_6ad6","loader":"loader_rui_6ad6","loaderBackground":"loaderBackground_rui_6ad6","danger":"danger_rui_6ad6","iconOnly":"iconOnly_rui_6ad6","text-loading":"text-loading_rui_6ad6","progress":"progress_rui_6ad6","delayed":"delayed_rui_6ad6","short":"short_rui_6ad6","dropdownIcon":"dropdownIcon_rui_6ad6","primary":"primary_rui_6ad6"};
|
4
4
|
|
5
5
|
function getButtonClasses(_ref) {
|
6
6
|
let {
|
@@ -20,18 +20,18 @@ function getButtonClasses(_ref) {
|
|
20
20
|
const iconOnly = icon && !children;
|
21
21
|
const primaryBlock = primary && !inline;
|
22
22
|
const withNormalIcon = icon && !active && !danger && !primary && !disabled && (!inline || iconOnly);
|
23
|
-
return classNames(
|
24
|
-
[
|
25
|
-
[
|
26
|
-
[
|
27
|
-
[
|
28
|
-
[
|
29
|
-
[
|
30
|
-
[
|
31
|
-
[
|
32
|
-
[
|
33
|
-
[
|
23
|
+
return classNames(styles.button, className, styles["height".concat(height)], inline ? styles.inline : styles.block, {
|
24
|
+
[styles.active]: active,
|
25
|
+
[styles.danger]: danger,
|
26
|
+
[styles.delayed]: delayed,
|
27
|
+
[styles.withNormalIcon]: withNormalIcon,
|
28
|
+
[styles.loader]: loader,
|
29
|
+
[styles.primary]: primary,
|
30
|
+
[styles.primaryBlock]: primaryBlock,
|
31
|
+
[styles.short]: short,
|
32
|
+
[styles.disabled]: disabled,
|
33
|
+
[styles.iconOnly]: iconOnly
|
34
34
|
});
|
35
35
|
}
|
36
36
|
|
37
|
-
export { getButtonClasses as g,
|
37
|
+
export { getButtonClasses as g, styles as s };
|
@@ -3,18 +3,18 @@ import { PureComponent } from 'react';
|
|
3
3
|
import classNames from 'classnames';
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
5
5
|
|
6
|
-
var
|
6
|
+
var styles = {"button":"button_rui_6ad6","active":"active_rui_6ad6","primary":"primary_rui_6ad6","buttonGroup":"buttonGroup_rui_f794 common_rui_f794 buttonGroup_rui_5c90","common":"common_rui_f794","split":"split_rui_f794 common_rui_f794 buttonGroup_rui_5c90","caption":"caption_rui_f794 font_rui_f295","help":"help_rui_f794"};
|
7
7
|
|
8
8
|
class Caption extends PureComponent {
|
9
9
|
render() {
|
10
10
|
const {
|
11
11
|
className
|
12
12
|
} = this.props;
|
13
|
-
const classes = classNames(
|
13
|
+
const classes = classNames(styles.caption, className);
|
14
14
|
return /*#__PURE__*/jsx("span", _objectSpread2(_objectSpread2({}, this.props), {}, {
|
15
15
|
className: classes
|
16
16
|
}));
|
17
17
|
}
|
18
18
|
}
|
19
19
|
|
20
|
-
export { Caption as C,
|
20
|
+
export { Caption as C, styles as s };
|
@@ -6,13 +6,14 @@ import copyIcon from '@jetbrains/icons/copy';
|
|
6
6
|
import Avatar, { Size } from '../avatar/avatar.js';
|
7
7
|
import Link from '../link/link.js';
|
8
8
|
import clipboard from '../clipboard/clipboard.js';
|
9
|
-
import
|
9
|
+
import Tag from '../tag/tag.js';
|
10
10
|
import Icon from '../icon/icon.js';
|
11
11
|
import { I18nContext } from '../i18n/i18n-context.js';
|
12
|
+
import Tooltip from '../tooltip/tooltip.js';
|
12
13
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
13
14
|
import { Size as Size$1 } from '../icon/icon__constants.js';
|
14
15
|
|
15
|
-
var
|
16
|
+
var styles = {"userCardSpaced":"userCardSpaced_rui_6680","userInformationContainer":"userInformationContainer_rui_6680","userAvatar":"userAvatar_rui_6680","userInformation":"userInformation_rui_6680","userInformationGeneral":"userInformationGeneral_rui_6680","userNameLine":"userNameLine_rui_6680","userName":"userName_rui_6680","userLogin":"userLogin_rui_6680","userEmail":"userEmail_rui_6680","userCopyIcon":"userCopyIcon_rui_6680","userEmailWrapper":"userEmailWrapper_rui_6680","unverifiedLabel":"unverifiedLabel_rui_6680","userNameInfo":"userNameInfo_rui_6680","banLabel":"banLabel_rui_6680","userActiveStatus":"userActiveStatus_rui_6680","online":"online_rui_6680"};
|
16
17
|
|
17
18
|
const _excluded = ["children", "info", "className", "user", "avatarInfo"];
|
18
19
|
class UserCard extends PureComponent {
|
@@ -43,60 +44,62 @@ class UserCard extends PureComponent {
|
|
43
44
|
} = this.context;
|
44
45
|
const translations = this.props.translations;
|
45
46
|
const classes = classNames(className, {});
|
46
|
-
const userActiveStatusClasses = classNames(
|
47
|
+
const userActiveStatusClasses = classNames(styles.userActiveStatus, user.online ? styles.online : '');
|
47
48
|
return /*#__PURE__*/jsx("div", _objectSpread2(_objectSpread2({
|
48
49
|
className: classes
|
49
50
|
}, restProps), {}, {
|
50
51
|
children: /*#__PURE__*/jsxs("div", {
|
51
|
-
className:
|
52
|
+
className: styles.userInformationContainer,
|
52
53
|
children: [/*#__PURE__*/jsxs("div", {
|
53
|
-
className:
|
54
|
+
className: styles.userAvatar,
|
54
55
|
children: [/*#__PURE__*/jsx(Avatar, {
|
55
56
|
size: Size.Size56,
|
56
57
|
url: user.avatarUrl,
|
57
58
|
round: true
|
58
59
|
}), !!avatarInfo && avatarInfo]
|
59
60
|
}), /*#__PURE__*/jsxs("div", {
|
60
|
-
className:
|
61
|
+
className: styles.userInformation,
|
61
62
|
children: [/*#__PURE__*/jsxs("div", {
|
62
|
-
className:
|
63
|
+
className: styles.userInformationGeneral,
|
63
64
|
children: [/*#__PURE__*/jsxs("div", {
|
64
|
-
className:
|
65
|
+
className: styles.userNameLine,
|
65
66
|
children: [user.href && /*#__PURE__*/jsx(Link, {
|
66
67
|
href: user.href,
|
67
|
-
className:
|
68
|
+
className: styles.userName,
|
68
69
|
children: user.name
|
69
70
|
}), !user.href && /*#__PURE__*/jsx("span", {
|
70
|
-
className:
|
71
|
+
className: styles.userName,
|
71
72
|
children: user.name
|
72
73
|
}), typeof user.online === 'boolean' && /*#__PURE__*/jsx("span", {
|
73
74
|
className: userActiveStatusClasses,
|
74
75
|
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')
|
75
76
|
}), !!info && /*#__PURE__*/jsx("span", {
|
76
|
-
className:
|
77
|
+
className: styles.userNameInfo,
|
77
78
|
children: info
|
78
|
-
}), user.banned && /*#__PURE__*/jsx(
|
79
|
-
className: classNames(modules_6c9187df.badge, modules_6c9187df.invalid),
|
79
|
+
}), user.banned && /*#__PURE__*/jsx(Tooltip, {
|
80
80
|
title: user.banReason,
|
81
|
-
children: (
|
81
|
+
children: /*#__PURE__*/jsx(Tag, {
|
82
|
+
className: styles.banLabel,
|
83
|
+
children: (_translations$banned = translations === null || translations === void 0 ? void 0 : translations.banned) !== null && _translations$banned !== void 0 ? _translations$banned : translate('banned')
|
84
|
+
})
|
82
85
|
})]
|
83
86
|
}), /*#__PURE__*/jsx("div", {
|
84
|
-
className:
|
87
|
+
className: styles.userLogin,
|
85
88
|
children: user.login
|
86
89
|
}), user.email && /*#__PURE__*/jsxs("span", {
|
87
|
-
className:
|
90
|
+
className: styles.userEmailWrapper,
|
88
91
|
children: [/*#__PURE__*/jsx(Link, {
|
89
92
|
href: "mailto:".concat(user.email),
|
90
93
|
title: "mailto:".concat(user.email),
|
91
94
|
target: "_blank",
|
92
|
-
className:
|
95
|
+
className: styles.userEmail,
|
93
96
|
children: user.email
|
94
97
|
}), user.unverifiedEmail && /*#__PURE__*/jsx("span", {
|
95
|
-
className:
|
98
|
+
className: styles.unverifiedLabel,
|
96
99
|
children: (_translations$unverif = translations === null || translations === void 0 ? void 0 : translations.unverified) !== null && _translations$unverif !== void 0 ? _translations$unverif : translate('unverified')
|
97
100
|
}), /*#__PURE__*/jsx(Icon, {
|
98
101
|
title: (_translations$copyToC = translations === null || translations === void 0 ? void 0 : translations.copyToClipboard) !== null && _translations$copyToC !== void 0 ? _translations$copyToC : translate('copyToClipboard'),
|
99
|
-
className:
|
102
|
+
className: styles.userCopyIcon,
|
100
103
|
onClick: this.copyEmail,
|
101
104
|
glyph: copyIcon,
|
102
105
|
size: Size$1.Size14,
|
@@ -111,4 +114,4 @@ class UserCard extends PureComponent {
|
|
111
114
|
}
|
112
115
|
_defineProperty(UserCard, "contextType", I18nContext);
|
113
116
|
|
114
|
-
export { UserCard as U,
|
117
|
+
export { UserCard as U, styles as s };
|
@@ -1,3 +1,3 @@
|
|
1
|
-
var
|
1
|
+
var styles = {"container":"container_rui_57d7","hoverable":"hoverable_rui_57d7","datePicker":"datePicker_rui_57d7","inline":"inline_rui_57d7","sizeS":"sizeS_rui_57d7","sizeM":"sizeM_rui_57d7","sizeL":"sizeL_rui_57d7","sizeFULL":"sizeFULL_rui_57d7","sizeAUTO":"sizeAUTO_rui_57d7","displayDate":"displayDate_rui_57d7","displayRange":"displayRange_rui_57d7","clear":"clear_rui_57d7","datePopup":"datePopup_rui_57d7","filterWrapper":"filterWrapper_rui_57d7 filterWrapper_rui_4b23","filter":"filter_rui_57d7 filter_rui_4b23","calendarIcon":"calendarIcon_rui_57d7","anchor":"anchor_rui_57d7","anchorContent":"anchorContent_rui_57d7","chevronDownIcon":"chevronDownIcon_rui_57d7","fromInput":"fromInput_rui_57d7","fromInputWithDivider":"fromInputWithDivider_rui_57d7","toInput":"toInput_rui_57d7","dateInput":"dateInput_rui_57d7","timeInputWithDivider":"timeInputWithDivider_rui_57d7","weekdays":"weekdays_rui_57d7","weekday":"weekday_rui_57d7","weekend":"weekend_rui_57d7","calendar":"calendar_rui_57d7","months":"months_rui_57d7","days":"days_rui_57d7","month":"month_rui_57d7","monthTitle":"monthTitle_rui_57d7","day":"day_rui_57d7 resetButton_rui_f295","between":"between_rui_57d7","activeBetween":"activeBetween_rui_57d7","current":"current_rui_57d7","active":"active_rui_57d7","disabled":"disabled_rui_57d7","from":"from_rui_57d7","to":"to_rui_57d7","Day1":"Day1_rui_57d7","spread":"spread_rui_57d7","activeSpread":"activeSpread_rui_57d7","first":"first_rui_57d7","Day2":"Day2_rui_57d7","Day5":"Day5_rui_57d7","Day6":"Day6_rui_57d7","Day7":"Day7_rui_57d7","empty":"empty_rui_57d7","today":"today_rui_57d7","year":"year_rui_57d7 hoverable_rui_57d7 resetButton_rui_f295","monthNames":"monthNames_rui_57d7","monthName":"monthName_rui_57d7 hoverable_rui_57d7 resetButton_rui_f295","monthSlider":"monthSlider_rui_57d7 resetButton_rui_f295","dragging":"dragging_rui_57d7","range":"range_rui_57d7","years":"years_rui_57d7","currentYear":"currentYear_rui_57d7"};
|
2
2
|
|
3
|
-
export {
|
3
|
+
export { styles as s };
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import 'core-js/modules/web.dom-collections.iterator.js';
|
2
2
|
import scrollbarWidth from 'scrollbar-width';
|
3
3
|
|
4
|
-
var
|
4
|
+
var styles = {"header":"header_rui_c019","scrollableWrapper":"scrollableWrapper_rui_c019","container":"container_rui_027b","nativeDialog":"nativeDialog_rui_027b","innerContainer":"innerContainer_rui_027b","content":"content_rui_027b","panel":"panel_rui_027b","clickableOverlay":"clickableOverlay_rui_027b","closeIcon":"closeIcon_rui_027b","closeButton":"closeButton_rui_027b","closeButtonOutside":"closeButtonOutside_rui_027b","closeButtonInside":"closeButtonInside_rui_027b","documentWithoutScroll":"documentWithoutScroll_rui_027b","popupTarget":"popupTarget_rui_027b","dense":"dense_rui_027b"};
|
5
5
|
|
6
6
|
const isPrevented = new Set();
|
7
7
|
let previousDocumentWidth = null;
|
@@ -14,7 +14,7 @@ const prevent = key => {
|
|
14
14
|
return;
|
15
15
|
}
|
16
16
|
const documentHasScroll = document.documentElement.scrollHeight > window.innerHeight || getComputedStyle(document.documentElement).overflowY === 'scroll';
|
17
|
-
document.documentElement.classList.add(
|
17
|
+
document.documentElement.classList.add(styles.documentWithoutScroll);
|
18
18
|
const scrollWidth = scrollbarWidth();
|
19
19
|
if (documentHasScroll && scrollWidth != null && scrollWidth > 0) {
|
20
20
|
previousDocumentWidth = document.documentElement.style.width;
|
@@ -29,7 +29,7 @@ const reset = key => {
|
|
29
29
|
if (isPrevented.size > 0) {
|
30
30
|
return;
|
31
31
|
}
|
32
|
-
document.documentElement.classList.remove(
|
32
|
+
document.documentElement.classList.remove(styles.documentWithoutScroll);
|
33
33
|
if (previousDocumentWidth !== null) {
|
34
34
|
document.documentElement.style.width = previousDocumentWidth;
|
35
35
|
previousDocumentWidth = null;
|
@@ -44,4 +44,4 @@ const preventerFactory = key => {
|
|
44
44
|
};
|
45
45
|
var dialog__bodyScrollPreventer = preventerFactory('default-preventer');
|
46
46
|
|
47
|
-
export { dialog__bodyScrollPreventer as d,
|
47
|
+
export { dialog__bodyScrollPreventer as d, preventerFactory as p, styles as s };
|
@@ -1,3 +1,3 @@
|
|
1
|
-
var
|
1
|
+
var styles = {"breakpoint-small":"640px","breakpoint-middle":"960px","breakpoint-large":"1200px","large-screen-media":"(min-width: 1200px)","middle-screen-media":"(min-width: 960px) and (max-width: 1199px)","small-screen-media":"(min-width: 640px) and (max-width: 959px)","container-fluid":"container-fluid_rui_8bbe","container":"container_rui_8bbe","row":"row_rui_8bbe","reverse":"reverse_rui_8bbe","col":"col_rui_8bbe","col-xs":"col-xs_rui_8bbe","col-xs-1":"col-xs-1_rui_8bbe","col-xs-2":"col-xs-2_rui_8bbe","col-xs-3":"col-xs-3_rui_8bbe","col-xs-4":"col-xs-4_rui_8bbe","col-xs-5":"col-xs-5_rui_8bbe","col-xs-6":"col-xs-6_rui_8bbe","col-xs-7":"col-xs-7_rui_8bbe","col-xs-8":"col-xs-8_rui_8bbe","col-xs-9":"col-xs-9_rui_8bbe","col-xs-10":"col-xs-10_rui_8bbe","col-xs-11":"col-xs-11_rui_8bbe","col-xs-12":"col-xs-12_rui_8bbe","col-xs-offset-0":"col-xs-offset-0_rui_8bbe","col-xs-offset-1":"col-xs-offset-1_rui_8bbe","col-xs-offset-2":"col-xs-offset-2_rui_8bbe","col-xs-offset-3":"col-xs-offset-3_rui_8bbe","col-xs-offset-4":"col-xs-offset-4_rui_8bbe","col-xs-offset-5":"col-xs-offset-5_rui_8bbe","col-xs-offset-6":"col-xs-offset-6_rui_8bbe","col-xs-offset-7":"col-xs-offset-7_rui_8bbe","col-xs-offset-8":"col-xs-offset-8_rui_8bbe","col-xs-offset-9":"col-xs-offset-9_rui_8bbe","col-xs-offset-10":"col-xs-offset-10_rui_8bbe","col-xs-offset-11":"col-xs-offset-11_rui_8bbe","col-xs-offset-12":"col-xs-offset-12_rui_8bbe","start-xs":"start-xs_rui_8bbe","center-xs":"center-xs_rui_8bbe","end-xs":"end-xs_rui_8bbe","top-xs":"top-xs_rui_8bbe","middle-xs":"middle-xs_rui_8bbe","baseline-xs":"baseline-xs_rui_8bbe","bottom-xs":"bottom-xs_rui_8bbe","around-xs":"around-xs_rui_8bbe","between-xs":"between-xs_rui_8bbe","first-xs":"first-xs_rui_8bbe","last-xs":"last-xs_rui_8bbe","col-sm":"col-sm_rui_8bbe","col-sm-1":"col-sm-1_rui_8bbe","col-sm-2":"col-sm-2_rui_8bbe","col-sm-3":"col-sm-3_rui_8bbe","col-sm-4":"col-sm-4_rui_8bbe","col-sm-5":"col-sm-5_rui_8bbe","col-sm-6":"col-sm-6_rui_8bbe","col-sm-7":"col-sm-7_rui_8bbe","col-sm-8":"col-sm-8_rui_8bbe","col-sm-9":"col-sm-9_rui_8bbe","col-sm-10":"col-sm-10_rui_8bbe","col-sm-11":"col-sm-11_rui_8bbe","col-sm-12":"col-sm-12_rui_8bbe","col-sm-offset-0":"col-sm-offset-0_rui_8bbe","col-sm-offset-1":"col-sm-offset-1_rui_8bbe","col-sm-offset-2":"col-sm-offset-2_rui_8bbe","col-sm-offset-3":"col-sm-offset-3_rui_8bbe","col-sm-offset-4":"col-sm-offset-4_rui_8bbe","col-sm-offset-5":"col-sm-offset-5_rui_8bbe","col-sm-offset-6":"col-sm-offset-6_rui_8bbe","col-sm-offset-7":"col-sm-offset-7_rui_8bbe","col-sm-offset-8":"col-sm-offset-8_rui_8bbe","col-sm-offset-9":"col-sm-offset-9_rui_8bbe","col-sm-offset-10":"col-sm-offset-10_rui_8bbe","col-sm-offset-11":"col-sm-offset-11_rui_8bbe","col-sm-offset-12":"col-sm-offset-12_rui_8bbe","start-sm":"start-sm_rui_8bbe","center-sm":"center-sm_rui_8bbe","end-sm":"end-sm_rui_8bbe","top-sm":"top-sm_rui_8bbe","middle-sm":"middle-sm_rui_8bbe","baseline-sm":"baseline-sm_rui_8bbe","bottom-sm":"bottom-sm_rui_8bbe","around-sm":"around-sm_rui_8bbe","between-sm":"between-sm_rui_8bbe","first-sm":"first-sm_rui_8bbe","last-sm":"last-sm_rui_8bbe","col-md":"col-md_rui_8bbe","col-md-1":"col-md-1_rui_8bbe","col-md-2":"col-md-2_rui_8bbe","col-md-3":"col-md-3_rui_8bbe","col-md-4":"col-md-4_rui_8bbe","col-md-5":"col-md-5_rui_8bbe","col-md-6":"col-md-6_rui_8bbe","col-md-7":"col-md-7_rui_8bbe","col-md-8":"col-md-8_rui_8bbe","col-md-9":"col-md-9_rui_8bbe","col-md-10":"col-md-10_rui_8bbe","col-md-11":"col-md-11_rui_8bbe","col-md-12":"col-md-12_rui_8bbe","col-md-offset-0":"col-md-offset-0_rui_8bbe","col-md-offset-1":"col-md-offset-1_rui_8bbe","col-md-offset-2":"col-md-offset-2_rui_8bbe","col-md-offset-3":"col-md-offset-3_rui_8bbe","col-md-offset-4":"col-md-offset-4_rui_8bbe","col-md-offset-5":"col-md-offset-5_rui_8bbe","col-md-offset-6":"col-md-offset-6_rui_8bbe","col-md-offset-7":"col-md-offset-7_rui_8bbe","col-md-offset-8":"col-md-offset-8_rui_8bbe","col-md-offset-9":"col-md-offset-9_rui_8bbe","col-md-offset-10":"col-md-offset-10_rui_8bbe","col-md-offset-11":"col-md-offset-11_rui_8bbe","col-md-offset-12":"col-md-offset-12_rui_8bbe","start-md":"start-md_rui_8bbe","center-md":"center-md_rui_8bbe","end-md":"end-md_rui_8bbe","top-md":"top-md_rui_8bbe","middle-md":"middle-md_rui_8bbe","baseline-md":"baseline-md_rui_8bbe","bottom-md":"bottom-md_rui_8bbe","around-md":"around-md_rui_8bbe","between-md":"between-md_rui_8bbe","first-md":"first-md_rui_8bbe","last-md":"last-md_rui_8bbe","col-lg":"col-lg_rui_8bbe","col-lg-1":"col-lg-1_rui_8bbe","col-lg-2":"col-lg-2_rui_8bbe","col-lg-3":"col-lg-3_rui_8bbe","col-lg-4":"col-lg-4_rui_8bbe","col-lg-5":"col-lg-5_rui_8bbe","col-lg-6":"col-lg-6_rui_8bbe","col-lg-7":"col-lg-7_rui_8bbe","col-lg-8":"col-lg-8_rui_8bbe","col-lg-9":"col-lg-9_rui_8bbe","col-lg-10":"col-lg-10_rui_8bbe","col-lg-11":"col-lg-11_rui_8bbe","col-lg-12":"col-lg-12_rui_8bbe","col-lg-offset-0":"col-lg-offset-0_rui_8bbe","col-lg-offset-1":"col-lg-offset-1_rui_8bbe","col-lg-offset-2":"col-lg-offset-2_rui_8bbe","col-lg-offset-3":"col-lg-offset-3_rui_8bbe","col-lg-offset-4":"col-lg-offset-4_rui_8bbe","col-lg-offset-5":"col-lg-offset-5_rui_8bbe","col-lg-offset-6":"col-lg-offset-6_rui_8bbe","col-lg-offset-7":"col-lg-offset-7_rui_8bbe","col-lg-offset-8":"col-lg-offset-8_rui_8bbe","col-lg-offset-9":"col-lg-offset-9_rui_8bbe","col-lg-offset-10":"col-lg-offset-10_rui_8bbe","col-lg-offset-11":"col-lg-offset-11_rui_8bbe","col-lg-offset-12":"col-lg-offset-12_rui_8bbe","start-lg":"start-lg_rui_8bbe","center-lg":"center-lg_rui_8bbe","end-lg":"end-lg_rui_8bbe","top-lg":"top-lg_rui_8bbe","middle-lg":"middle-lg_rui_8bbe","baseline-lg":"baseline-lg_rui_8bbe","bottom-lg":"bottom-lg_rui_8bbe","around-lg":"around-lg_rui_8bbe","between-lg":"between-lg_rui_8bbe","first-lg":"first-lg_rui_8bbe","last-lg":"last-lg_rui_8bbe"};
|
2
2
|
|
3
|
-
export {
|
3
|
+
export { styles as s };
|
@@ -1,3 +1,3 @@
|
|
1
|
-
var
|
1
|
+
var styles = {"link":"link_rui_20da","active":"active_rui_20da","header":"header_rui_30aa","headerSpaced":"headerSpaced_rui_30aa","headerVertical":"headerVertical_rui_30aa","logo":"logo_rui_30aa","links":"links_rui_30aa","tray":"tray_rui_30aa","trayItemContent":"trayItemContent_rui_30aa","icon":"icon_rui_30aa","main":"main_rui_30aa","rotatable":"rotatable_rui_30aa","rotated":"rotated_rui_30aa","profileEmpty":"profileEmpty_rui_30aa","profile":"profile_rui_30aa profileEmpty_rui_30aa","anchorClassName":"anchorClassName_rui_30aa resetButton_rui_f295","avatarWrapper":"avatarWrapper_rui_30aa","hasUpdates":"hasUpdates_rui_30aa"};
|
2
2
|
|
3
|
-
export {
|
3
|
+
export { styles as s };
|
@@ -1,3 +1,3 @@
|
|
1
|
-
var
|
1
|
+
var styles = {"contentWithHeadings":"contentWithHeadings_rui_af41","heading":"heading_rui_af41 font_rui_f295 contentWithHeadings_rui_af41","caps":"caps_rui_af41","bold":"bold_rui_af41"};
|
2
2
|
|
3
|
-
export {
|
3
|
+
export { styles as s };
|
@@ -6,7 +6,7 @@ import classNames from 'classnames';
|
|
6
6
|
import memoize from '../global/memoize.js';
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
8
8
|
|
9
|
-
var
|
9
|
+
var styles = {"icon":"icon_rui_c997","glyph":"glyph_rui_c997","compatibilityMode":"compatibilityMode_rui_c997","gray":"gray_rui_c997","hover":"hover_rui_c997","green":"green_rui_c997","magenta":"magenta_rui_c997","red":"red_rui_c997","blue":"blue_rui_c997","white":"white_rui_c997","loading":"loading_rui_c997","icon-loading":"icon-loading_rui_c997"};
|
10
10
|
|
11
11
|
const _excluded = ["src", "className"];
|
12
12
|
function convertReactSVGDOMProperty(str) {
|
@@ -45,8 +45,8 @@ const getSVGFromSource = memoize(src => {
|
|
45
45
|
};
|
46
46
|
});
|
47
47
|
function isCompatibilityMode(iconSrc) {
|
48
|
-
const hasWidth = /width="[\d\.]+"/
|
49
|
-
const hasHeight = /height="[\d\.]+"/
|
48
|
+
const hasWidth = /width="[\d\.]+"/gi.test(iconSrc);
|
49
|
+
const hasHeight = /height="[\d\.]+"/gi.test(iconSrc);
|
50
50
|
return !hasWidth || !hasHeight;
|
51
51
|
}
|
52
52
|
function IconSVG(_ref) {
|
@@ -55,8 +55,8 @@ function IconSVG(_ref) {
|
|
55
55
|
className
|
56
56
|
} = _ref,
|
57
57
|
rest = _objectWithoutProperties(_ref, _excluded);
|
58
|
-
const glyphClasses = classNames(
|
59
|
-
[
|
58
|
+
const glyphClasses = classNames(styles.glyph, {
|
59
|
+
[styles.compatibilityMode]: isCompatibilityMode(src)
|
60
60
|
}, className);
|
61
61
|
const {
|
62
62
|
props,
|
@@ -71,4 +71,4 @@ function IconSVG(_ref) {
|
|
71
71
|
}
|
72
72
|
var IconSVG$1 = /*#__PURE__*/memo(IconSVG);
|
73
73
|
|
74
|
-
export { IconSVG$1 as I,
|
74
|
+
export { IconSVG$1 as I, styles as s };
|
@@ -13,7 +13,7 @@ import { ControlLabel } from '../control-label/control-label.js';
|
|
13
13
|
import ControlHelp from '../control-help/control-help.js';
|
14
14
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
15
15
|
|
16
|
-
var
|
16
|
+
var inputStyles = {"outerContainer":"outerContainer_rui_1f0c","borderless":"borderless_rui_1f0c","container":"container_rui_1f0c","input":"input_rui_1f0c","error":"error_rui_1f0c","withIcon":"withIcon_rui_1f0c","clearable":"clearable_rui_1f0c","icon":"icon_rui_1f0c","clear":"clear_rui_1f0c","empty":"empty_rui_1f0c","errorText":"errorText_rui_1f0c","helpText":"helpText_rui_1f0c","sizeS":"sizeS_rui_1f0c","sizeM":"sizeM_rui_1f0c","sizeL":"sizeL_rui_1f0c","sizeFULL":"sizeFULL_rui_1f0c","heightS":"heightS_rui_1f0c","heightM":"heightM_rui_1f0c","heightL":"heightL_rui_1f0c"};
|
17
17
|
|
18
18
|
const _excluded = ["size", "multiline", "borderless", "label", "labelType", "error", "help", "className", "inputClassName", "children", "value", "onClear", "disabled", "inputRef", "onChange", "enableShortcuts", "id", "placeholder", "icon", "translations", "height", "afterInput"];
|
19
19
|
function noop() {}
|
@@ -126,15 +126,15 @@ class Input extends PureComponent {
|
|
126
126
|
empty
|
127
127
|
} = this.state;
|
128
128
|
const clearable = !!onClear;
|
129
|
-
const classes = classNames(className,
|
129
|
+
const classes = classNames(className, inputStyles.outerContainer, [inputStyles["size".concat(size)]], [inputStyles["height".concat(height)]], {
|
130
130
|
'ring-js-shortcuts': enableShortcuts === true,
|
131
|
-
[
|
132
|
-
[
|
133
|
-
[
|
134
|
-
[
|
135
|
-
[
|
131
|
+
[inputStyles.error]: error != null,
|
132
|
+
[inputStyles.empty]: empty,
|
133
|
+
[inputStyles.withIcon]: icon != null,
|
134
|
+
[inputStyles.clearable]: clearable,
|
135
|
+
[inputStyles.borderless]: borderless
|
136
136
|
});
|
137
|
-
const inputClasses = classNames(
|
137
|
+
const inputClasses = classNames(inputStyles.input, inputClassName);
|
138
138
|
const text = value != null ? value : children;
|
139
139
|
const commonProps = {
|
140
140
|
ref: this.composedInputRef(this.inputRef, inputRef),
|
@@ -161,10 +161,10 @@ class Input extends PureComponent {
|
|
161
161
|
type: labelType,
|
162
162
|
children: label
|
163
163
|
}), /*#__PURE__*/jsxs("div", {
|
164
|
-
className:
|
164
|
+
className: inputStyles.container,
|
165
165
|
children: [icon && /*#__PURE__*/jsx(Icon, {
|
166
166
|
glyph: icon,
|
167
|
-
className:
|
167
|
+
className: inputStyles.icon
|
168
168
|
}), multiline ? /*#__PURE__*/jsx("textarea", _objectSpread2(_objectSpread2({
|
169
169
|
onChange: this.handleTextareaChange,
|
170
170
|
rows: 1
|
@@ -173,15 +173,15 @@ class Input extends PureComponent {
|
|
173
173
|
}, commonProps), restProps)), clearable && !disabled && /*#__PURE__*/jsx(Button, {
|
174
174
|
title: (_translations$clear = translations === null || translations === void 0 ? void 0 : translations.clear) !== null && _translations$clear !== void 0 ? _translations$clear : translate('clear'),
|
175
175
|
"data-test": "ring-input-clear",
|
176
|
-
className:
|
176
|
+
className: inputStyles.clear,
|
177
177
|
icon: closeIcon,
|
178
178
|
onClick: this.clear
|
179
179
|
}), afterInput]
|
180
180
|
}), error ? /*#__PURE__*/jsx("div", {
|
181
|
-
className:
|
181
|
+
className: inputStyles.errorText,
|
182
182
|
children: error
|
183
183
|
}) : help && /*#__PURE__*/jsx(ControlHelp, {
|
184
|
-
className:
|
184
|
+
className: inputStyles.helpText,
|
185
185
|
children: help
|
186
186
|
})]
|
187
187
|
});
|
@@ -197,4 +197,4 @@ _defineProperty(Input, "defaultProps", {
|
|
197
197
|
});
|
198
198
|
_defineProperty(Input, "contextType", ControlsHeightContext);
|
199
199
|
|
200
|
-
export { Input as I, Size as S,
|
200
|
+
export { Input as I, Size as S, inputStyles as i };
|
@@ -1,3 +1,3 @@
|
|
1
|
-
var
|
1
|
+
var styles = {"island":"island_rui_c019","withTransparentBottomBorder":"withTransparentBottomBorder_rui_c019","header":"header_rui_c019","withBottomBorder":"withBottomBorder_rui_c019","title":"title_rui_c019","narrowIsland":"narrowIsland_rui_c019","content":"content_rui_c019","scrollableWrapper":"scrollableWrapper_rui_c019","withoutPaddings":"withoutPaddings_rui_c019","contentWithTopFade":"contentWithTopFade_rui_c019","contentWithBottomFade":"contentWithBottomFade_rui_c019"};
|
2
2
|
|
3
|
-
export {
|
3
|
+
export { styles as s };
|
@@ -1,3 +1,3 @@
|
|
1
|
-
var
|
1
|
+
var linkStyles = {"link":"link_rui_20da","withLinks":"withLinks_rui_20da","hover":"hover_rui_20da","pseudo":"pseudo_rui_20da","active":"active_rui_20da","inherit":"inherit_rui_20da"};
|
2
2
|
|
3
|
-
export {
|
3
|
+
export { linkStyles as l };
|
@@ -1,3 +1,3 @@
|
|
1
|
-
var
|
1
|
+
var styles = {"list":"list_rui_50dc","simpleInner":"simpleInner_rui_50dc","scrolling":"scrolling_rui_50dc","separator":"separator_rui_50dc","separator_first":"separator_first_rui_50dc","item":"item_rui_50dc","itemContainer":"itemContainer_rui_50dc","compact":"compact_rui_50dc","error":"error_rui_50dc","add":"add_rui_50dc","top":"top_rui_50dc","left":"left_rui_50dc","label":"label_rui_50dc","description":"description_rui_50dc","right":"right_rui_50dc","details":"details_rui_50dc","padded":"padded_rui_50dc","hint":"hint_rui_50dc","action":"action_rui_50dc","actionLink":"actionLink_rui_50dc","hover":"hover_rui_50dc","icon":"icon_rui_50dc","highlight":"highlight_rui_50dc","service":"service_rui_50dc","glyph":"glyph_rui_50dc","avatar":"avatar_rui_50dc glyph_rui_50dc","rightGlyph":"rightGlyph_rui_50dc glyph_rui_50dc","checkboxContainer":"checkboxContainer_rui_50dc","title":"title_rui_50dc","title_first":"title_first_rui_50dc","text":"text_rui_50dc","fade":"fade_rui_50dc","overscrollNone":"overscrollNone_rui_50dc","disabled":"disabled_rui_50dc"};
|
2
2
|
|
3
|
-
export {
|
3
|
+
export { styles as s };
|
@@ -2,13 +2,13 @@ import 'core-js/modules/es.symbol.description.js';
|
|
2
2
|
import List from '../list/list.js';
|
3
3
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
4
4
|
|
5
|
-
var
|
5
|
+
var styles = {"queryAssist":"queryAssist_rui_0eb8","error":"error_rui_0eb8","queryAssistDisabled":"queryAssistDisabled_rui_0eb8","huge":"huge_rui_0eb8","actions":"actions_rui_0eb8","input":"input_rui_0eb8","letter-text":"letter-text_rui_0eb8","letterDefault":"letterDefault_rui_0eb8","letter-field-name":"letter-field-name_rui_0eb8","letter-field-value":"letter-field-value_rui_0eb8","letter-operator":"letter-operator_rui_0eb8","letter-error":"letter-error_rui_0eb8","highlight":"highlight_rui_0eb8","service":"service_rui_0eb8","placeholder":"placeholder_rui_0eb8 resetButton_rui_f295","hugePlaceholder":"hugePlaceholder_rui_0eb8","letter":"letter_rui_0eb8","icon":"icon_rui_0eb8","rightSearchButton":"rightSearchButton_rui_0eb8","clear":"clear_rui_0eb8","withoutGlass":"withoutGlass_rui_0eb8","loaderActive":"loaderActive_rui_0eb8","loaderOnTheRight":"loaderOnTheRight_rui_0eb8","inputRevertOrder":"inputRevertOrder_rui_0eb8"};
|
6
6
|
|
7
7
|
const ICON_ID_LENGTH = 44;
|
8
8
|
class QueryAssistSuggestions {
|
9
9
|
/*
|
10
|
-
|
11
|
-
|
10
|
+
* Pay attention that this method produces not a 100% unique key.
|
11
|
+
* Consider to use a unique identifier provided by a server.
|
12
12
|
*/
|
13
13
|
static createKey(suggestion) {
|
14
14
|
const {
|
@@ -36,7 +36,7 @@ class QueryAssistSuggestions {
|
|
36
36
|
if (matchingStart !== matchingEnd) {
|
37
37
|
before = option.substring(0, matchingStart);
|
38
38
|
wrappedOption = /*#__PURE__*/jsx("span", {
|
39
|
-
className:
|
39
|
+
className: styles.highlight,
|
40
40
|
children: option.substring(matchingStart, matchingEnd)
|
41
41
|
});
|
42
42
|
after = option.substring(matchingEnd);
|
@@ -44,11 +44,11 @@ class QueryAssistSuggestions {
|
|
44
44
|
wrappedOption = option;
|
45
45
|
}
|
46
46
|
const wrappedPrefix = prefix && /*#__PURE__*/jsx("span", {
|
47
|
-
className:
|
47
|
+
className: styles.service,
|
48
48
|
children: prefix
|
49
49
|
});
|
50
50
|
const wrappedSuffix = suffix && /*#__PURE__*/jsx("span", {
|
51
|
-
className:
|
51
|
+
className: styles.service,
|
52
52
|
children: suffix
|
53
53
|
});
|
54
54
|
return /*#__PURE__*/jsxs("span", {
|
@@ -87,4 +87,4 @@ class QueryAssistSuggestions {
|
|
87
87
|
}
|
88
88
|
}
|
89
89
|
|
90
|
-
export { QueryAssistSuggestions as Q,
|
90
|
+
export { QueryAssistSuggestions as Q, styles as s };
|
@@ -8,7 +8,7 @@ import { ActiveItemContext } from '../list/list.js';
|
|
8
8
|
import { I18nContext } from '../i18n/i18n-context.js';
|
9
9
|
import { jsx } from 'react/jsx-runtime';
|
10
10
|
|
11
|
-
var
|
11
|
+
var styles = {"filterWithTagsFocused":"filterWithTagsFocused_rui_4b23","filterWithTags":"filterWithTags_rui_4b23","filterWrapper":"filterWrapper_rui_4b23","filterWithTagsInput":"filterWithTagsInput_rui_4b23","filter":"filter_rui_4b23","popup":"popup_rui_4b23","filterIcon":"filterIcon_rui_4b23","bottomLine":"bottomLine_rui_4b23","bottomLineOverItem":"bottomLineOverItem_rui_4b23","message":"message_rui_4b23","selectAll":"selectAll_rui_4b23"};
|
12
12
|
|
13
13
|
const _excluded = ["className", "listId"];
|
14
14
|
function noop() {}
|
@@ -48,7 +48,7 @@ class SelectFilter extends Component {
|
|
48
48
|
listId
|
49
49
|
} = _this$props,
|
50
50
|
restProps = _objectWithoutProperties(_this$props, _excluded);
|
51
|
-
const classes = classNames(
|
51
|
+
const classes = classNames(styles.filter, className);
|
52
52
|
return /*#__PURE__*/jsx(ActiveItemContext.ValueContext.Consumer, {
|
53
53
|
children: activeItemId => /*#__PURE__*/jsx(I18nContext.Consumer, {
|
54
54
|
children: _ref => {
|
@@ -75,4 +75,4 @@ _defineProperty(SelectFilter, "defaultProps", {
|
|
75
75
|
inputRef: noop
|
76
76
|
});
|
77
77
|
|
78
|
-
export { SelectFilter as S,
|
78
|
+
export { SelectFilter as S, styles as s };
|
@@ -3,7 +3,7 @@ import { PureComponent } from 'react';
|
|
3
3
|
import Link from '../link/link.js';
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
5
5
|
|
6
|
-
var
|
6
|
+
var styles = {"services":"services_rui_27f4","active":"active_rui_27f4","item":"item_rui_27f4","itemLogo":"itemLogo_rui_27f4","activeItem":"activeItem_rui_27f4 item_rui_27f4 active_rui_27f4","line":"line_rui_27f4","itemStacked":"itemStacked_rui_27f4","activeItemStacked":"activeItemStacked_rui_27f4 itemStacked_rui_27f4 active_rui_27f4"};
|
7
7
|
|
8
8
|
const _excluded = ["service"];
|
9
9
|
class ServicesLink extends PureComponent {
|
@@ -18,7 +18,7 @@ class ServicesLink extends PureComponent {
|
|
18
18
|
href: service.homeUrl
|
19
19
|
}, props), {}, {
|
20
20
|
children: service.iconUrl ? [/*#__PURE__*/jsx("span", {
|
21
|
-
className:
|
21
|
+
className: styles.itemLogo,
|
22
22
|
style: {
|
23
23
|
backgroundImage: "url(".concat(service.iconUrl, ")")
|
24
24
|
}
|
@@ -29,4 +29,4 @@ class ServicesLink extends PureComponent {
|
|
29
29
|
}
|
30
30
|
}
|
31
31
|
|
32
|
-
export { ServicesLink as S,
|
32
|
+
export { ServicesLink as S, styles as s };
|