@jetbrains/ring-ui 5.1.20 → 5.1.22
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/auth/request-builder.d.ts +1 -0
- package/components/code/code.d.ts +1 -0
- package/components/grid/row.js +3 -3
- package/components/header/profile.js +1 -1
- package/components/island/header.js +1 -1
- package/components/list/list.d.ts +0 -1
- package/components/list/list.js +5 -6
- package/components/loader/loader__core.js +6 -6
- package/components/popup/popup.js +3 -3
- package/components/progress-bar/progress-bar.css +6 -0
- package/components/progress-bar/progress-bar.d.ts +6 -0
- package/components/progress-bar/progress-bar.js +9 -3
- package/components/query-assist/query-assist.js +1 -1
- package/components/select/select-popup.css +4 -0
- package/components/select/select.js +21 -21
- package/dist/_helpers/select__filter.js +1 -1
- package/dist/alert/alert.js +2 -0
- package/dist/alert-service/alert-service.js +2 -0
- package/dist/analytics/analytics.js +1 -0
- package/dist/analytics/analytics__custom-plugin.js +1 -2
- package/dist/analytics/analytics__ga-plugin.js +1 -1
- package/dist/auth/auth.js +3 -0
- package/dist/auth/auth__core.js +38 -35
- package/dist/auth/background-flow.js +3 -2
- package/dist/auth/down-notification.js +2 -0
- package/dist/auth/iframe-flow.js +7 -3
- package/dist/auth/landing.js +3 -0
- package/dist/auth/request-builder.d.ts +1 -0
- package/dist/auth/request-builder.js +4 -1
- package/dist/auth/response-parser.js +1 -0
- package/dist/auth/storage.js +11 -4
- package/dist/auth/token-validator.js +5 -3
- package/dist/auth/window-flow.js +4 -3
- package/dist/auth-dialog/auth-dialog.js +2 -0
- package/dist/auth-dialog-service/auth-dialog-service.js +2 -0
- package/dist/auth-ng/auth-ng.js +3 -1
- package/dist/autofocus-ng/autofocus-ng.js +1 -0
- package/dist/avatar/avatar.js +3 -0
- package/dist/avatar/fallback-avatar.js +1 -0
- package/dist/avatar-editor-ng/avatar-editor-ng.js +3 -0
- package/dist/avatar-ng/avatar-ng.js +3 -0
- package/dist/badge-ng/badge-ng.js +1 -0
- package/dist/breadcrumb-ng/breadcrumb-ng.js +1 -0
- package/dist/button-ng/button-ng.js +2 -0
- package/dist/caret/caret.js +5 -4
- package/dist/checkbox-ng/checkbox-ng.js +1 -0
- package/dist/clipboard/clipboard-fallback.js +3 -3
- package/dist/clipboard/clipboard.js +2 -0
- package/dist/code/code.d.ts +1 -0
- package/dist/code/code.js +0 -1
- package/dist/confirm/confirm.js +2 -0
- package/dist/confirm-ng/confirm-ng.js +2 -0
- package/dist/confirm-service/confirm-service.js +2 -0
- package/dist/data-list/data-list.js +7 -2
- package/dist/data-list/item.js +1 -0
- package/dist/data-list/selection.js +2 -0
- package/dist/data-list-ng/data-list-ng.js +6 -0
- package/dist/date-picker/date-picker.js +3 -1
- package/dist/date-picker/date-popup.js +2 -2
- package/dist/dialog/dialog.js +2 -0
- package/dist/dialog-ng/dialog-ng.js +4 -0
- package/dist/docked-panel-ng/docked-panel-ng.js +1 -0
- package/dist/dropdown/dropdown.js +2 -2
- package/dist/dropdown-menu/dropdown-menu.js +5 -0
- package/dist/editable-heading/editable-heading.js +6 -4
- package/dist/error-bubble/error-bubble.js +2 -0
- package/dist/error-message-ng/error-message-ng.js +1 -0
- package/dist/form-ng/form-ng.js +2 -0
- package/dist/global/angular-component-factory.js +1 -0
- package/dist/global/dom.js +1 -0
- package/dist/global/focus-sensor-hoc.js +6 -6
- package/dist/global/normalize-indent.js +0 -1
- package/dist/global/react-dom-renderer.js +1 -0
- package/dist/global/rerender-hoc.js +1 -0
- package/dist/global/schedule-raf.js +1 -1
- package/dist/global/theme.js +2 -0
- package/dist/global/url.js +1 -0
- package/dist/grid/col.js +0 -1
- package/dist/grid/grid.js +0 -1
- package/dist/grid/row.js +7 -2
- package/dist/header/header.js +5 -0
- package/dist/header/profile.js +6 -0
- package/dist/header/services.js +2 -0
- package/dist/header/smart-profile.js +5 -0
- package/dist/header/smart-services.js +5 -2
- package/dist/heading-ng/heading-ng.js +1 -0
- package/dist/http/http.js +1 -0
- package/dist/http/http.mock.js +1 -0
- package/dist/hub-source/hub-source.js +2 -0
- package/dist/hub-source/hub-source__user.js +1 -0
- package/dist/hub-source/hub-source__users-groups.js +2 -0
- package/dist/icon-ng/icon-ng.js +1 -0
- package/dist/input/input.js +2 -2
- package/dist/input-ng/input-ng.js +2 -0
- package/dist/island/content.js +1 -1
- package/dist/island/header.js +1 -0
- package/dist/list/list.d.ts +0 -1
- package/dist/list/list.js +10 -3
- package/dist/list/list__item.js +3 -0
- package/dist/list/list__users-groups-source.js +5 -0
- package/dist/loader/loader.js +3 -1
- package/dist/loader/loader__core.js +21 -7
- package/dist/loader-ng/loader-ng.js +2 -0
- package/dist/loader-screen/loader-screen.js +2 -0
- package/dist/loader-screen-ng/loader-screen-ng.js +2 -2
- package/dist/login-dialog/login-dialog.js +4 -0
- package/dist/login-dialog/service.js +4 -0
- package/dist/markdown/code.js +1 -1
- package/dist/markdown/markdown.js +1 -1
- package/dist/message/message.js +2 -0
- package/dist/message-bundle-ng/message-bundle-ng.js +0 -1
- package/dist/old-browsers-message/white-list.js +2 -2
- package/dist/pager/pager.js +9 -4
- package/dist/pager-ng/pager-ng.js +5 -0
- package/dist/panel-ng/panel-ng.js +1 -0
- package/dist/permissions/permissions.js +1 -0
- package/dist/permissions-ng/permissions-ng.js +3 -0
- package/dist/place-under-ng/place-under-ng.js +1 -0
- package/dist/popup/popup.js +5 -0
- package/dist/popup/position.js +1 -0
- package/dist/popup-menu/popup-menu.js +5 -0
- package/dist/progress-bar/progress-bar.d.ts +6 -0
- package/dist/progress-bar/progress-bar.js +11 -4
- package/dist/progress-bar-ng/progress-bar-ng.js +1 -0
- package/dist/promised-click-ng/promised-click-ng.js +2 -0
- package/dist/query-assist/query-assist.js +18 -12
- package/dist/query-assist/query-assist__suggestions.js +5 -0
- package/dist/query-assist-ng/query-assist-ng.js +5 -0
- package/dist/save-field-ng/save-field-ng.js +5 -0
- package/dist/select/select.js +27 -2
- package/dist/select/select__filter.js +5 -0
- package/dist/select/select__popup.js +5 -0
- package/dist/select-ng/select-ng.js +5 -2
- package/dist/select-ng/select-ng__lazy.js +6 -1
- package/dist/select-ng/select-ng__options.js +1 -0
- package/dist/shortcuts/core.js +2 -0
- package/dist/shortcuts/shortcuts-hoc.js +2 -0
- package/dist/shortcuts/shortcuts.js +2 -0
- package/dist/shortcuts-hint-ng/shortcuts-hint-ng.js +4 -0
- package/dist/shortcuts-ng/shortcuts-ng.js +4 -0
- package/dist/sidebar-ng/sidebar-ng.js +2 -0
- package/dist/storage/storage.js +3 -0
- package/dist/storage/storage__fallback.js +5 -2
- package/dist/storage/storage__local.js +2 -0
- package/dist/style.css +1 -1
- package/dist/tab-trap/tab-trap.js +2 -1
- package/dist/table/multitable.js +8 -7
- package/dist/table/row-with-focus-sensor.js +6 -4
- package/dist/table/row.js +2 -0
- package/dist/table/selection-shortcuts-hoc.js +12 -11
- package/dist/table/selection.js +1 -0
- package/dist/table/smart-table.js +4 -0
- package/dist/table/table.js +4 -0
- package/dist/table-legacy-ng/table-legacy-ng.js +5 -0
- package/dist/table-legacy-ng/table-legacy-ng__pager.js +5 -0
- package/dist/table-legacy-ng/table-legacy-ng__selection.js +2 -0
- package/dist/table-legacy-ng/table-legacy-ng__toolbar.js +1 -0
- package/dist/table-ng/smart-table-ng.js +5 -0
- package/dist/table-ng/table-ng.js +5 -0
- package/dist/tabs/collapsible-more.js +5 -0
- package/dist/tabs/collapsible-tabs.js +5 -0
- package/dist/tabs/dumb-tabs.js +5 -0
- package/dist/tabs/smart-tabs.js +5 -0
- package/dist/tabs/tabs.js +5 -0
- package/dist/tabs-ng/tabs-ng.js +2 -0
- package/dist/tag/tag.js +1 -1
- package/dist/tags-input/tags-input.js +12 -7
- package/dist/tags-input-ng/tags-input-ng.js +5 -0
- package/dist/toggle-ng/toggle-ng.js +1 -0
- package/dist/tooltip/tooltip.js +4 -2
- package/dist/tooltip-ng/tooltip-ng.js +2 -0
- package/dist/user-agreement/service.js +4 -1
- package/dist/user-agreement/user-agreement.js +3 -1
- package/dist/user-card/card.js +4 -0
- package/dist/user-card/smart-user-card-tooltip.js +4 -0
- package/dist/user-card/tooltip.js +4 -0
- package/dist/user-card/user-card.js +4 -0
- package/dist/user-card-ng/user-card-ng.js +4 -0
- package/package.json +32 -32
package/components/grid/row.js
CHANGED
|
@@ -4,9 +4,9 @@ import classNames from 'classnames';
|
|
|
4
4
|
import styles from './grid.css';
|
|
5
5
|
const ModifierType = PropTypes.oneOf(['xs', 'sm', 'md', 'lg']);
|
|
6
6
|
const modifierKeys = [
|
|
7
|
-
'start', 'center', 'end',
|
|
8
|
-
'around', 'between',
|
|
9
|
-
'top', 'middle', 'baseline', 'bottom',
|
|
7
|
+
'start', 'center', 'end', // text-align, justify-content
|
|
8
|
+
'around', 'between', // justify-content
|
|
9
|
+
'top', 'middle', 'baseline', 'bottom', // align-items
|
|
10
10
|
'first', 'last' // order
|
|
11
11
|
];
|
|
12
12
|
/**
|
|
@@ -93,7 +93,7 @@ export default class Profile extends PureComponent {
|
|
|
93
93
|
{
|
|
94
94
|
rgItemType: PopupMenu.ListProps.Type.LINK,
|
|
95
95
|
label: translations?.profile ?? translate('profile'),
|
|
96
|
-
target: '_self',
|
|
96
|
+
target: '_self', // Full page reload in Angular
|
|
97
97
|
href: profileUrl,
|
|
98
98
|
LinkComponent
|
|
99
99
|
},
|
|
@@ -45,7 +45,7 @@ class Header extends Component {
|
|
|
45
45
|
});
|
|
46
46
|
const headerStyle = phase != null
|
|
47
47
|
? {
|
|
48
|
-
lineHeight: `${this.style('LINE_HEIGHT')}px`,
|
|
48
|
+
lineHeight: `${this.style('LINE_HEIGHT')}px`, // need to append px because number is a valid line-height value
|
|
49
49
|
paddingTop: this.style('PADDING_TOP'),
|
|
50
50
|
paddingBottom: this.style('PADDING_BOTTOM')
|
|
51
51
|
}
|
|
@@ -150,7 +150,6 @@ export default class List<T = unknown> extends Component<ListProps<T>, ListState
|
|
|
150
150
|
unmounted?: boolean;
|
|
151
151
|
container?: HTMLElement | null;
|
|
152
152
|
hoverHandler: (arg: number) => () => void;
|
|
153
|
-
private _activatableItems;
|
|
154
153
|
private _bufferSize;
|
|
155
154
|
sizeCacheKey: (index: number) => string | Type.ITEM | Type.MARGIN;
|
|
156
155
|
private _cache;
|
package/components/list/list.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @name List
|
|
3
3
|
*/
|
|
4
|
-
import React, {
|
|
4
|
+
import React, { Component } from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import classNames from 'classnames';
|
|
7
7
|
import VirtualizedList from 'react-virtualized/dist/es/List';
|
|
@@ -90,9 +90,9 @@ export default class List extends Component {
|
|
|
90
90
|
};
|
|
91
91
|
static defaultProps = {
|
|
92
92
|
data: [],
|
|
93
|
-
restoreActiveIndex: false,
|
|
94
|
-
activateSingleItem: false,
|
|
95
|
-
activateFirstItem: false,
|
|
93
|
+
restoreActiveIndex: false, // restore active item using its "key" property
|
|
94
|
+
activateSingleItem: false, // if there is only one item, activate it
|
|
95
|
+
activateFirstItem: false, // if there no active items, activate the first one
|
|
96
96
|
onMouseOut: noop,
|
|
97
97
|
onSelect: noop,
|
|
98
98
|
onScrollToBottom: noop,
|
|
@@ -196,7 +196,6 @@ export default class List extends Component {
|
|
|
196
196
|
});
|
|
197
197
|
}
|
|
198
198
|
}));
|
|
199
|
-
_activatableItems = false;
|
|
200
199
|
// eslint-disable-next-line @typescript-eslint/no-magic-numbers
|
|
201
200
|
_bufferSize = 10; // keep X items above and below of the visible area
|
|
202
201
|
// reuse size cache for similar items
|
|
@@ -492,7 +491,7 @@ export default class List extends Component {
|
|
|
492
491
|
</div>)}
|
|
493
492
|
</CellMeasurer>)
|
|
494
493
|
: (<div role="row" id={itemId} key={itemKey}>
|
|
495
|
-
<div role="cell">{
|
|
494
|
+
<div role="cell">{el}</div>
|
|
496
495
|
</div>);
|
|
497
496
|
};
|
|
498
497
|
addItemDataTestToProp = (props) => {
|
|
@@ -40,12 +40,12 @@ export default class LoaderCore {
|
|
|
40
40
|
stop: false,
|
|
41
41
|
deterministic: false,
|
|
42
42
|
colors: [
|
|
43
|
-
{ r: 215, g: 60, b: 234 },
|
|
44
|
-
{ r: 145, g: 53, b: 224 },
|
|
45
|
-
{ r: 88, g: 72, b: 224 },
|
|
46
|
-
{ r: 37, g: 183, b: 255 },
|
|
47
|
-
{ r: 89, g: 189, b: 0 },
|
|
48
|
-
{ r: 251, g: 172, b: 2 },
|
|
43
|
+
{ r: 215, g: 60, b: 234 }, //#D73CEA
|
|
44
|
+
{ r: 145, g: 53, b: 224 }, //#9135E0
|
|
45
|
+
{ r: 88, g: 72, b: 224 }, //#5848F4
|
|
46
|
+
{ r: 37, g: 183, b: 255 }, //#25B7FF
|
|
47
|
+
{ r: 89, g: 189, b: 0 }, //#59BD00
|
|
48
|
+
{ r: 251, g: 172, b: 2 }, //#FBAC02
|
|
49
49
|
{ r: 227, g: 37, b: 129 } //#E32581
|
|
50
50
|
]
|
|
51
51
|
};
|
|
@@ -287,9 +287,9 @@ Popup.propTypes = {
|
|
|
287
287
|
children: PropTypes.node.isRequired,
|
|
288
288
|
dontCloseOnAnchorClick: PropTypes.bool,
|
|
289
289
|
shortcuts: PropTypes.bool,
|
|
290
|
-
keepMounted: PropTypes.bool,
|
|
290
|
+
keepMounted: PropTypes.bool, // pass this prop to preserve the popup's DOM state while hidden
|
|
291
291
|
'data-test': PropTypes.string,
|
|
292
|
-
client: PropTypes.bool,
|
|
292
|
+
client: PropTypes.bool, // true means that it's never used in SSR
|
|
293
293
|
directions: PropTypes.arrayOf(PropTypes.string),
|
|
294
294
|
autoPositioning: PropTypes.bool,
|
|
295
295
|
autoCorrectTopOverflow: PropTypes.bool,
|
|
@@ -298,7 +298,7 @@ Popup.propTypes = {
|
|
|
298
298
|
maxHeight: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
299
299
|
minWidth: PropTypes.number,
|
|
300
300
|
sidePadding: PropTypes.number,
|
|
301
|
-
attached: PropTypes.bool,
|
|
301
|
+
attached: PropTypes.bool, // Popup adjacent to an input, without upper border and shadow
|
|
302
302
|
onMouseDown: PropTypes.func,
|
|
303
303
|
onMouseUp: PropTypes.func,
|
|
304
304
|
onMouseOver: PropTypes.func,
|
|
@@ -63,6 +63,12 @@
|
|
|
63
63
|
|
|
64
64
|
background-image: linear-gradient(to right, rgba(0, 0, 0, 0), var(--ring-progress-bar-line-background-color), rgba(0, 0, 0, 0));
|
|
65
65
|
background-repeat: no-repeat;
|
|
66
|
+
|
|
67
|
+
.staticLineColor & {
|
|
68
|
+
animation: none;
|
|
69
|
+
|
|
70
|
+
background-image: var(--ring-progress-bar-line-background-color);
|
|
71
|
+
}
|
|
66
72
|
}
|
|
67
73
|
}
|
|
68
74
|
|
|
@@ -5,6 +5,7 @@ export interface ProgressBarProps extends HTMLAttributes<HTMLElement> {
|
|
|
5
5
|
value: number;
|
|
6
6
|
label: string;
|
|
7
7
|
global?: boolean | null | undefined;
|
|
8
|
+
staticColor?: boolean;
|
|
8
9
|
}
|
|
9
10
|
/**
|
|
10
11
|
* @name Progress Bar
|
|
@@ -43,6 +44,11 @@ export default class ProgressBar extends PureComponent<ProgressBarProps> {
|
|
|
43
44
|
* @type {number}
|
|
44
45
|
*/
|
|
45
46
|
value: PropTypes.Requireable<number>;
|
|
47
|
+
/**
|
|
48
|
+
* Disables Disabled progress bar color animation and sets it to static color.
|
|
49
|
+
* @type {boolean}
|
|
50
|
+
*/
|
|
51
|
+
staticColor: PropTypes.Requireable<boolean>;
|
|
46
52
|
};
|
|
47
53
|
static defaultProps: {
|
|
48
54
|
max: number;
|
|
@@ -42,7 +42,12 @@ export default class ProgressBar extends PureComponent {
|
|
|
42
42
|
* A floating point number that specifies current task completion rate.
|
|
43
43
|
* @type {number}
|
|
44
44
|
*/
|
|
45
|
-
value: PropTypes.number
|
|
45
|
+
value: PropTypes.number,
|
|
46
|
+
/**
|
|
47
|
+
* Disables Disabled progress bar color animation and sets it to static color.
|
|
48
|
+
* @type {boolean}
|
|
49
|
+
*/
|
|
50
|
+
staticColor: PropTypes.bool
|
|
46
51
|
};
|
|
47
52
|
static defaultProps = {
|
|
48
53
|
max: 1.0,
|
|
@@ -58,10 +63,11 @@ export default class ProgressBar extends PureComponent {
|
|
|
58
63
|
this.progressbar = el;
|
|
59
64
|
};
|
|
60
65
|
render() {
|
|
61
|
-
const { className, global, max, value, label, ...otherProps } = this.props;
|
|
66
|
+
const { className, global, max, value, label, staticColor, ...otherProps } = this.props;
|
|
62
67
|
const width = value ? `${ProgressBar.toPercent(value, max)}%` : undefined;
|
|
63
68
|
const classes = classNames(styles.progressBar, className, {
|
|
64
|
-
[styles.globalMode]: global
|
|
69
|
+
[styles.globalMode]: global,
|
|
70
|
+
[styles.staticLineColor]: staticColor
|
|
65
71
|
});
|
|
66
72
|
return (<div {...otherProps} className={classes} ref={this.progressbarWrapperRef}>
|
|
67
73
|
<div className={styles.line} ref={this.progressbarRef} role="progressbar" aria-label={label} aria-valuenow={value} aria-valuemin={0} aria-valuemax={max} style={{ width }}/>
|
|
@@ -800,7 +800,7 @@ export default class QueryAssist extends Component {
|
|
|
800
800
|
const inputClasses = classNames(this.props.inputClassName, {
|
|
801
801
|
[`${styles.input} ring-js-shortcuts`]: true,
|
|
802
802
|
[styles.inputGap]: actions.length || this.isRenderingGlassOrLoader() && !glass,
|
|
803
|
-
[styles.inputGap2]: actions.length === 2,
|
|
803
|
+
[styles.inputGap2]: actions.length === 2, // TODO: replace with flex-box layout
|
|
804
804
|
[styles.inputRevertOrder]: !glass || huge
|
|
805
805
|
});
|
|
806
806
|
const placeholderStyles = classNames({
|
|
@@ -181,46 +181,46 @@ function isSameSelected(prevSelected, selected) {
|
|
|
181
181
|
export default class Select extends Component {
|
|
182
182
|
static defaultProps = {
|
|
183
183
|
data: [],
|
|
184
|
-
filter: false,
|
|
184
|
+
filter: false, // enable filter (not in INPUT modes)
|
|
185
185
|
filterIcon: null,
|
|
186
186
|
filterRef: noop,
|
|
187
|
-
multiple: false,
|
|
188
|
-
clear: false,
|
|
189
|
-
loading: false,
|
|
190
|
-
disabled: false,
|
|
187
|
+
multiple: false, // multiple can be an object - see demo for more information
|
|
188
|
+
clear: false, // enable clear button that clears the "selected" state
|
|
189
|
+
loading: false, // show a loading indicator while data is loading
|
|
190
|
+
disabled: false, // disable select
|
|
191
191
|
type: Type.BUTTON,
|
|
192
192
|
size: Size.M,
|
|
193
|
-
targetElement: null,
|
|
194
|
-
hideSelected: false,
|
|
195
|
-
allowAny: false,
|
|
196
|
-
hideArrow: false,
|
|
193
|
+
targetElement: null, // element to bind the popup to (select BUTTON or INPUT by default)
|
|
194
|
+
hideSelected: false, // INPUT mode: clears the input after an option is selected (useful when the selection is displayed in some custom way elsewhere)
|
|
195
|
+
allowAny: false, // INPUT mode: allows any value to be entered
|
|
196
|
+
hideArrow: false, // hide dropdown arrow icon
|
|
197
197
|
showPopup: false,
|
|
198
|
-
maxHeight: 600,
|
|
198
|
+
maxHeight: 600, // height of the options list, including the filter and the 'Add' button
|
|
199
199
|
directions: [
|
|
200
200
|
Popup.PopupProps.Directions.BOTTOM_RIGHT,
|
|
201
201
|
Popup.PopupProps.Directions.BOTTOM_LEFT,
|
|
202
202
|
Popup.PopupProps.Directions.TOP_LEFT,
|
|
203
203
|
Popup.PopupProps.Directions.TOP_RIGHT
|
|
204
204
|
],
|
|
205
|
-
selected: null,
|
|
206
|
-
label: null,
|
|
207
|
-
selectedLabel: null,
|
|
208
|
-
inputPlaceholder: '',
|
|
209
|
-
hint: null,
|
|
205
|
+
selected: null, // current selection (item / array of items)
|
|
206
|
+
label: null, // BUTTON or INPUT label (nothing selected)
|
|
207
|
+
selectedLabel: null, // BUTTON or INPUT label (something selected)
|
|
208
|
+
inputPlaceholder: '', // Placeholder for input modes
|
|
209
|
+
hint: null, // hint text to display under the list
|
|
210
210
|
shortcutsEnabled: false,
|
|
211
211
|
onBeforeOpen: noop,
|
|
212
212
|
onLoadMore: noop,
|
|
213
213
|
onOpen: noop,
|
|
214
214
|
onClose: noop,
|
|
215
|
-
onFilter: noop,
|
|
215
|
+
onFilter: noop, // search string as first argument
|
|
216
216
|
onFocus: noop,
|
|
217
217
|
onBlur: noop,
|
|
218
218
|
onKeyDown: noop,
|
|
219
|
-
onSelect: noop,
|
|
220
|
-
onDeselect: noop,
|
|
221
|
-
onOutsideClick: noop,
|
|
222
|
-
onChange: noop,
|
|
223
|
-
onAdd: noop,
|
|
219
|
+
onSelect: noop, // single + multi
|
|
220
|
+
onDeselect: noop, // multi
|
|
221
|
+
onOutsideClick: noop, // multi
|
|
222
|
+
onChange: noop, // multi
|
|
223
|
+
onAdd: noop, // search string as first argument
|
|
224
224
|
onDone: noop,
|
|
225
225
|
onReset: noop,
|
|
226
226
|
tags: null,
|
|
@@ -10,7 +10,7 @@ import sniffr from '../global/sniffer.js';
|
|
|
10
10
|
import { ActiveItemContext } from '../list/list.js';
|
|
11
11
|
import { I18nContext } from '../i18n/i18n-context.js';
|
|
12
12
|
|
|
13
|
-
var modules_b607bec2 = {"unit":"i__const_unit_0","filterWithTagsFocused":"filterWithTagsFocused_rui_531d","light":"light_rui_2ac4","filterWithTags":"filterWithTags_rui_531d","filterWrapper":"filterWrapper_rui_531d","filterWithTagsInput":"filterWithTagsInput_rui_531d","filter":"filter_rui_531d","filterIcon":"filterIcon_rui_531d","bottomLine":"bottomLine_rui_531d","bottomLineOverItem":"bottomLineOverItem_rui_531d","message":"message_rui_531d","selectAll":"selectAll_rui_531d"};
|
|
13
|
+
var modules_b607bec2 = {"unit":"i__const_unit_0","filterWithTagsFocused":"filterWithTagsFocused_rui_531d","light":"light_rui_2ac4","filterWithTags":"filterWithTags_rui_531d","filterWrapper":"filterWrapper_rui_531d","filterWithTagsInput":"filterWithTagsInput_rui_531d","filter":"filter_rui_531d","popup":"popup_rui_531d","filterIcon":"filterIcon_rui_531d","bottomLine":"bottomLine_rui_531d","bottomLineOverItem":"bottomLineOverItem_rui_531d","message":"message_rui_531d","selectAll":"selectAll_rui_531d"};
|
|
14
14
|
|
|
15
15
|
var _excluded = ["className", "listId"];
|
|
16
16
|
function noop() {}
|
package/dist/alert/alert.js
CHANGED
|
@@ -31,6 +31,7 @@ import 'core-js/modules/es.weak-map.js';
|
|
|
31
31
|
import '../_helpers/loader-inline.js';
|
|
32
32
|
import 'core-js/modules/es.array.reduce.js';
|
|
33
33
|
import 'core-js/modules/es.object.entries.js';
|
|
34
|
+
import 'core-js/modules/es.object.assign.js';
|
|
34
35
|
import 'core-js/modules/web.dom-collections.for-each.js';
|
|
35
36
|
import 'core-js/modules/es.array.filter.js';
|
|
36
37
|
import 'core-js/modules/es.string.split.js';
|
|
@@ -53,6 +54,7 @@ import 'core-js/modules/es.string.includes.js';
|
|
|
53
54
|
import 'core-js/modules/es.array.slice.js';
|
|
54
55
|
import 'core-js/modules/es.array.splice.js';
|
|
55
56
|
import 'core-js/modules/es.string.match.js';
|
|
57
|
+
import 'core-js/modules/es.array.find-index.js';
|
|
56
58
|
import 'combokeys';
|
|
57
59
|
import '../global/sniffer.js';
|
|
58
60
|
import 'sniffr';
|
|
@@ -36,6 +36,7 @@ import 'core-js/modules/es.array.reduce.js';
|
|
|
36
36
|
import 'core-js/modules/es.object.entries.js';
|
|
37
37
|
import '../_helpers/loader-inline.js';
|
|
38
38
|
import '../global/dom.js';
|
|
39
|
+
import 'core-js/modules/es.object.assign.js';
|
|
39
40
|
import 'core-js/modules/web.dom-collections.for-each.js';
|
|
40
41
|
import 'core-js/modules/es.string.split.js';
|
|
41
42
|
import 'core-js/modules/es.set.js';
|
|
@@ -55,6 +56,7 @@ import 'core-js/modules/es.string.includes.js';
|
|
|
55
56
|
import 'core-js/modules/es.array.slice.js';
|
|
56
57
|
import 'core-js/modules/es.array.splice.js';
|
|
57
58
|
import 'core-js/modules/es.string.match.js';
|
|
59
|
+
import 'core-js/modules/es.array.find-index.js';
|
|
58
60
|
import 'combokeys';
|
|
59
61
|
import '../global/sniffer.js';
|
|
60
62
|
import 'sniffr';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { d as _createClass, c as _classCallCheck, _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import 'core-js/modules/es.array.index-of.js';
|
|
2
3
|
import 'core-js/modules/es.object.to-string.js';
|
|
3
4
|
import 'core-js/modules/web.dom-collections.for-each.js';
|
|
4
5
|
import 'core-js/modules/es.regexp.exec.js';
|
|
@@ -64,7 +64,6 @@ var AnalyticsCustomPlugin = /*#__PURE__*/function () {
|
|
|
64
64
|
if (this._isDevelopment) {
|
|
65
65
|
console.log('TRACKING DATA = ', category, action, data); // eslint-disable-line no-console
|
|
66
66
|
}
|
|
67
|
-
|
|
68
67
|
var baseSendingData = {
|
|
69
68
|
category,
|
|
70
69
|
action,
|
|
@@ -80,7 +79,7 @@ var AnalyticsCustomPlugin = /*#__PURE__*/function () {
|
|
|
80
79
|
this._data.push(sendingData);
|
|
81
80
|
if (this._flushMaxPackSize != null && this._data.length >= this._flushMaxPackSize) {
|
|
82
81
|
var _this$_flush;
|
|
83
|
-
(_this$_flush = this._flush) === null || _this$_flush === void 0
|
|
82
|
+
(_this$_flush = this._flush) === null || _this$_flush === void 0 || _this$_flush.call(this);
|
|
84
83
|
}
|
|
85
84
|
}
|
|
86
85
|
}, {
|
|
@@ -31,7 +31,7 @@ var AnalyticsGAPlugin = /*#__PURE__*/function () {
|
|
|
31
31
|
var m = s.getElementsByTagName(o)[0];
|
|
32
32
|
a.async = true;
|
|
33
33
|
a.src = g;
|
|
34
|
-
(_m$parentNode = m.parentNode) === null || _m$parentNode === void 0
|
|
34
|
+
(_m$parentNode = m.parentNode) === null || _m$parentNode === void 0 || _m$parentNode.insertBefore(a, m);
|
|
35
35
|
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
|
|
36
36
|
/**
|
|
37
37
|
* UA-57284711-1 - ga key for development purpose
|
package/dist/auth/auth.js
CHANGED
|
@@ -8,6 +8,7 @@ import 'core-js/modules/es.object.to-string.js';
|
|
|
8
8
|
import 'core-js/modules/es.promise.js';
|
|
9
9
|
import './response-parser.js';
|
|
10
10
|
import 'core-js/modules/web.dom-collections.for-each.js';
|
|
11
|
+
import 'core-js/modules/es.array.index-of.js';
|
|
11
12
|
import 'core-js/modules/es.regexp.exec.js';
|
|
12
13
|
import 'core-js/modules/es.string.replace.js';
|
|
13
14
|
import 'core-js/modules/es.regexp.to-string.js';
|
|
@@ -46,6 +47,7 @@ import 'core-js/modules/es.array.reduce.js';
|
|
|
46
47
|
import 'core-js/modules/es.object.entries.js';
|
|
47
48
|
import '../_helpers/loader-inline.js';
|
|
48
49
|
import '../global/dom.js';
|
|
50
|
+
import 'core-js/modules/es.object.assign.js';
|
|
49
51
|
import 'core-js/modules/es.string.split.js';
|
|
50
52
|
import 'core-js/modules/es.set.js';
|
|
51
53
|
import '../button/button.js';
|
|
@@ -63,6 +65,7 @@ import 'core-js/modules/es.array.includes.js';
|
|
|
63
65
|
import 'core-js/modules/es.string.includes.js';
|
|
64
66
|
import 'core-js/modules/es.array.slice.js';
|
|
65
67
|
import 'core-js/modules/es.array.splice.js';
|
|
68
|
+
import 'core-js/modules/es.array.find-index.js';
|
|
66
69
|
import 'combokeys';
|
|
67
70
|
import '../global/sniffer.js';
|
|
68
71
|
import 'sniffr';
|