@atlaskit/user-picker 10.20.0 → 10.20.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/dist/cjs/analytics.js +1 -1
- package/dist/cjs/components/BaseUserPicker.js +32 -15
- package/dist/es2019/analytics.js +1 -1
- package/dist/es2019/components/BaseUserPicker.js +32 -15
- package/dist/esm/analytics.js +1 -1
- package/dist/esm/components/BaseUserPicker.js +32 -15
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/user-picker
|
|
2
2
|
|
|
3
|
+
## 10.20.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#101781](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101781)
|
|
8
|
+
[`ea3386009a3f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ea3386009a3f) -
|
|
9
|
+
A bug has been fixed where aria-activedescendant on the input elemnt would be try to set to a
|
|
10
|
+
menu list item before the menu was rendered.
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
13
|
+
## 10.20.1
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 10.20.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
package/dist/cjs/analytics.js
CHANGED
|
@@ -12,7 +12,7 @@ var _utils = require("./components/utils");
|
|
|
12
12
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
13
13
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
14
14
|
var packageName = "@atlaskit/user-picker";
|
|
15
|
-
var packageVersion = "10.20.
|
|
15
|
+
var packageVersion = "10.20.2";
|
|
16
16
|
var UUID_REGEXP_TEAMS_GROUPS = /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;
|
|
17
17
|
var UUID_REGEXP_OLD_AAID = /^[a-fA-F0-9]{1,8}:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;
|
|
18
18
|
var UUID_REGEXP_NEW_AAID = /^[a-fA-F0-9]{24,24}$/;
|
|
@@ -315,7 +315,8 @@ var BaseUserPickerWithoutAnalytics = exports.BaseUserPickerWithoutAnalytics = /*
|
|
|
315
315
|
if (mutation.type === 'attributes' && mutation.attributeName === 'class') {
|
|
316
316
|
var target = mutation.target;
|
|
317
317
|
if (target.classList.contains(optionFocusedClass)) {
|
|
318
|
-
_this
|
|
318
|
+
var _this$selectRef$selec;
|
|
319
|
+
(_this$selectRef$selec = _this.selectRef.select.inputRef) === null || _this$selectRef$selec === void 0 || _this$selectRef$selec.setAttribute('aria-activedescendant', target.id);
|
|
319
320
|
break;
|
|
320
321
|
}
|
|
321
322
|
}
|
|
@@ -326,9 +327,9 @@ var BaseUserPickerWithoutAnalytics = exports.BaseUserPickerWithoutAnalytics = /*
|
|
|
326
327
|
_iterator2.f();
|
|
327
328
|
}
|
|
328
329
|
});
|
|
329
|
-
//
|
|
330
|
-
//
|
|
331
|
-
//
|
|
330
|
+
// Create a MutationObserver which will observe the menu list for changes. In
|
|
331
|
+
// node environments such as SSR, MutationObserver doesn't exist and this
|
|
332
|
+
// variable will be falsy.
|
|
332
333
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "focusedOptionObserver", typeof MutationObserver === 'function' && new MutationObserver(_this.focusedOptionObserverCallback));
|
|
333
334
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "handleKeyDown", function (event) {
|
|
334
335
|
if (!_this.isMenuOpenOnClickForSingleSelect) {
|
|
@@ -457,16 +458,36 @@ var BaseUserPickerWithoutAnalytics = exports.BaseUserPickerWithoutAnalytics = /*
|
|
|
457
458
|
resolving = _this$state2.resolving,
|
|
458
459
|
count = _this$state2.count,
|
|
459
460
|
inputValue = _this$state2.inputValue;
|
|
460
|
-
|
|
461
|
-
|
|
461
|
+
|
|
462
|
+
// Create a new session when the menu is opened and there is no session
|
|
463
|
+
if (menuIsOpen && !prevState.menuIsOpen && !this.session) {
|
|
464
|
+
this.startSession();
|
|
465
|
+
}
|
|
466
|
+
if ((0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.select-aria-activedescendant_psxzq')) {
|
|
467
|
+
var _this$selectRef, _this$selectRef2, _this$selectRef3;
|
|
468
|
+
// When the menu is opened, set aria-activedescendant attribute on the
|
|
469
|
+
// input and instrument a mutation observer. On the first opening of the
|
|
470
|
+
// menu, menuIsOpen is true but the menu isn't actually in the DOM yet.
|
|
471
|
+
// For this reason, we the use the existence of the attribute.
|
|
472
|
+
var inputHasAriaActiveDecendant = (_this$selectRef = this.selectRef) === null || _this$selectRef === void 0 || (_this$selectRef = _this$selectRef.select) === null || _this$selectRef === void 0 || (_this$selectRef = _this$selectRef.inputRef) === null || _this$selectRef === void 0 ? void 0 : _this$selectRef.getAttribute('aria-activedescendant');
|
|
473
|
+
var inputRef = (_this$selectRef2 = this.selectRef) === null || _this$selectRef2 === void 0 || (_this$selectRef2 = _this$selectRef2.select) === null || _this$selectRef2 === void 0 ? void 0 : _this$selectRef2.inputRef;
|
|
474
|
+
var menuRef = (_this$selectRef3 = this.selectRef) === null || _this$selectRef3 === void 0 || (_this$selectRef3 = _this$selectRef3.select) === null || _this$selectRef3 === void 0 ? void 0 : _this$selectRef3.menuListRef;
|
|
475
|
+
if (menuIsOpen && menuRef && !inputHasAriaActiveDecendant) {
|
|
462
476
|
var _menuRef$children$;
|
|
463
|
-
|
|
464
|
-
|
|
477
|
+
// Set the aria-activedescendant attribute on the input element
|
|
478
|
+
// to the first menu item
|
|
479
|
+
((_menuRef$children$ = menuRef.children[0]) === null || _menuRef$children$ === void 0 ? void 0 : _menuRef$children$.classList.contains(optionFocusedClass)) && inputRef && inputRef.setAttribute('aria-activedescendant', menuRef.children[0].id);
|
|
480
|
+
|
|
481
|
+
// Setup MutationObserver so when the selected option changes, update
|
|
482
|
+
// the aria-activedescendant attribute on the input element
|
|
465
483
|
this.focusedOptionObserver && this.focusedOptionObserver.observe(menuRef, observerOptions);
|
|
466
484
|
}
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
485
|
+
|
|
486
|
+
// Rewmoe the aria-active-descendant attribute and disconnect the observer
|
|
487
|
+
// when the menu is closed
|
|
488
|
+
if (!menuIsOpen && prevState.menuIsOpen) {
|
|
489
|
+
inputRef && inputRef.removeAttribute('aria-activedescendant');
|
|
490
|
+
this.focusedOptionObserver && this.focusedOptionObserver.disconnect();
|
|
470
491
|
}
|
|
471
492
|
}
|
|
472
493
|
|
|
@@ -477,10 +498,6 @@ var BaseUserPickerWithoutAnalytics = exports.BaseUserPickerWithoutAnalytics = /*
|
|
|
477
498
|
if (!menuIsOpen && prevState.menuIsOpen && this.session) {
|
|
478
499
|
this.fireEvent(_analytics.cancelEvent, prevState);
|
|
479
500
|
this.session = undefined;
|
|
480
|
-
if ((0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.select-aria-activedescendant_psxzq')) {
|
|
481
|
-
this.selectRef.select.inputRef.removeAttribute('aria-activedescendant');
|
|
482
|
-
this.focusedOptionObserver && this.focusedOptionObserver.disconnect();
|
|
483
|
-
}
|
|
484
501
|
}
|
|
485
502
|
if (menuIsOpen && (!prevState.menuIsOpen && options.length > 0 || options.length !== prevState.options.length)) {
|
|
486
503
|
this.fireEvent(_analytics.searchedEvent);
|
package/dist/es2019/analytics.js
CHANGED
|
@@ -2,7 +2,7 @@ import { createAndFireEvent } from '@atlaskit/analytics-next';
|
|
|
2
2
|
import { v4 as uuidv4 } from 'uuid';
|
|
3
3
|
import { isCustom, isExternalUser } from './components/utils';
|
|
4
4
|
const packageName = "@atlaskit/user-picker";
|
|
5
|
-
const packageVersion = "10.20.
|
|
5
|
+
const packageVersion = "10.20.2";
|
|
6
6
|
const UUID_REGEXP_TEAMS_GROUPS = /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;
|
|
7
7
|
const UUID_REGEXP_OLD_AAID = /^[a-fA-F0-9]{1,8}:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;
|
|
8
8
|
const UUID_REGEXP_NEW_AAID = /^[a-fA-F0-9]{24,24}$/;
|
|
@@ -300,15 +300,16 @@ export class BaseUserPickerWithoutAnalytics extends React.Component {
|
|
|
300
300
|
if (mutation.type === 'attributes' && mutation.attributeName === 'class') {
|
|
301
301
|
const target = mutation.target;
|
|
302
302
|
if (target.classList.contains(optionFocusedClass)) {
|
|
303
|
-
|
|
303
|
+
var _this$selectRef$selec;
|
|
304
|
+
(_this$selectRef$selec = this.selectRef.select.inputRef) === null || _this$selectRef$selec === void 0 ? void 0 : _this$selectRef$selec.setAttribute('aria-activedescendant', target.id);
|
|
304
305
|
break;
|
|
305
306
|
}
|
|
306
307
|
}
|
|
307
308
|
}
|
|
308
309
|
});
|
|
309
|
-
//
|
|
310
|
-
//
|
|
311
|
-
//
|
|
310
|
+
// Create a MutationObserver which will observe the menu list for changes. In
|
|
311
|
+
// node environments such as SSR, MutationObserver doesn't exist and this
|
|
312
|
+
// variable will be falsy.
|
|
312
313
|
_defineProperty(this, "focusedOptionObserver", typeof MutationObserver === 'function' && new MutationObserver(this.focusedOptionObserverCallback));
|
|
313
314
|
_defineProperty(this, "handleKeyDown", event => {
|
|
314
315
|
if (!this.isMenuOpenOnClickForSingleSelect) {
|
|
@@ -427,16 +428,36 @@ export class BaseUserPickerWithoutAnalytics extends React.Component {
|
|
|
427
428
|
count,
|
|
428
429
|
inputValue
|
|
429
430
|
} = this.state;
|
|
430
|
-
|
|
431
|
-
|
|
431
|
+
|
|
432
|
+
// Create a new session when the menu is opened and there is no session
|
|
433
|
+
if (menuIsOpen && !prevState.menuIsOpen && !this.session) {
|
|
434
|
+
this.startSession();
|
|
435
|
+
}
|
|
436
|
+
if (getBooleanFF('platform.design-system-team.select-aria-activedescendant_psxzq')) {
|
|
437
|
+
var _this$selectRef, _this$selectRef$selec2, _this$selectRef$selec3, _this$selectRef2, _this$selectRef2$sele, _this$selectRef3, _this$selectRef3$sele;
|
|
438
|
+
// When the menu is opened, set aria-activedescendant attribute on the
|
|
439
|
+
// input and instrument a mutation observer. On the first opening of the
|
|
440
|
+
// menu, menuIsOpen is true but the menu isn't actually in the DOM yet.
|
|
441
|
+
// For this reason, we the use the existence of the attribute.
|
|
442
|
+
const inputHasAriaActiveDecendant = (_this$selectRef = this.selectRef) === null || _this$selectRef === void 0 ? void 0 : (_this$selectRef$selec2 = _this$selectRef.select) === null || _this$selectRef$selec2 === void 0 ? void 0 : (_this$selectRef$selec3 = _this$selectRef$selec2.inputRef) === null || _this$selectRef$selec3 === void 0 ? void 0 : _this$selectRef$selec3.getAttribute('aria-activedescendant');
|
|
443
|
+
const inputRef = (_this$selectRef2 = this.selectRef) === null || _this$selectRef2 === void 0 ? void 0 : (_this$selectRef2$sele = _this$selectRef2.select) === null || _this$selectRef2$sele === void 0 ? void 0 : _this$selectRef2$sele.inputRef;
|
|
444
|
+
const menuRef = (_this$selectRef3 = this.selectRef) === null || _this$selectRef3 === void 0 ? void 0 : (_this$selectRef3$sele = _this$selectRef3.select) === null || _this$selectRef3$sele === void 0 ? void 0 : _this$selectRef3$sele.menuListRef;
|
|
445
|
+
if (menuIsOpen && menuRef && !inputHasAriaActiveDecendant) {
|
|
432
446
|
var _menuRef$children$;
|
|
433
|
-
|
|
434
|
-
|
|
447
|
+
// Set the aria-activedescendant attribute on the input element
|
|
448
|
+
// to the first menu item
|
|
449
|
+
((_menuRef$children$ = menuRef.children[0]) === null || _menuRef$children$ === void 0 ? void 0 : _menuRef$children$.classList.contains(optionFocusedClass)) && inputRef && inputRef.setAttribute('aria-activedescendant', menuRef.children[0].id);
|
|
450
|
+
|
|
451
|
+
// Setup MutationObserver so when the selected option changes, update
|
|
452
|
+
// the aria-activedescendant attribute on the input element
|
|
435
453
|
this.focusedOptionObserver && this.focusedOptionObserver.observe(menuRef, observerOptions);
|
|
436
454
|
}
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
455
|
+
|
|
456
|
+
// Rewmoe the aria-active-descendant attribute and disconnect the observer
|
|
457
|
+
// when the menu is closed
|
|
458
|
+
if (!menuIsOpen && prevState.menuIsOpen) {
|
|
459
|
+
inputRef && inputRef.removeAttribute('aria-activedescendant');
|
|
460
|
+
this.focusedOptionObserver && this.focusedOptionObserver.disconnect();
|
|
440
461
|
}
|
|
441
462
|
}
|
|
442
463
|
|
|
@@ -447,10 +468,6 @@ export class BaseUserPickerWithoutAnalytics extends React.Component {
|
|
|
447
468
|
if (!menuIsOpen && prevState.menuIsOpen && this.session) {
|
|
448
469
|
this.fireEvent(cancelEvent, prevState);
|
|
449
470
|
this.session = undefined;
|
|
450
|
-
if (getBooleanFF('platform.design-system-team.select-aria-activedescendant_psxzq')) {
|
|
451
|
-
this.selectRef.select.inputRef.removeAttribute('aria-activedescendant');
|
|
452
|
-
this.focusedOptionObserver && this.focusedOptionObserver.disconnect();
|
|
453
|
-
}
|
|
454
471
|
}
|
|
455
472
|
if (menuIsOpen && (!prevState.menuIsOpen && options.length > 0 || options.length !== prevState.options.length)) {
|
|
456
473
|
this.fireEvent(searchedEvent);
|
package/dist/esm/analytics.js
CHANGED
|
@@ -5,7 +5,7 @@ import { createAndFireEvent } from '@atlaskit/analytics-next';
|
|
|
5
5
|
import { v4 as uuidv4 } from 'uuid';
|
|
6
6
|
import { isCustom, isExternalUser } from './components/utils';
|
|
7
7
|
var packageName = "@atlaskit/user-picker";
|
|
8
|
-
var packageVersion = "10.20.
|
|
8
|
+
var packageVersion = "10.20.2";
|
|
9
9
|
var UUID_REGEXP_TEAMS_GROUPS = /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;
|
|
10
10
|
var UUID_REGEXP_OLD_AAID = /^[a-fA-F0-9]{1,8}:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;
|
|
11
11
|
var UUID_REGEXP_NEW_AAID = /^[a-fA-F0-9]{24,24}$/;
|
|
@@ -308,7 +308,8 @@ export var BaseUserPickerWithoutAnalytics = /*#__PURE__*/function (_React$Compon
|
|
|
308
308
|
if (mutation.type === 'attributes' && mutation.attributeName === 'class') {
|
|
309
309
|
var target = mutation.target;
|
|
310
310
|
if (target.classList.contains(optionFocusedClass)) {
|
|
311
|
-
_this
|
|
311
|
+
var _this$selectRef$selec;
|
|
312
|
+
(_this$selectRef$selec = _this.selectRef.select.inputRef) === null || _this$selectRef$selec === void 0 || _this$selectRef$selec.setAttribute('aria-activedescendant', target.id);
|
|
312
313
|
break;
|
|
313
314
|
}
|
|
314
315
|
}
|
|
@@ -319,9 +320,9 @@ export var BaseUserPickerWithoutAnalytics = /*#__PURE__*/function (_React$Compon
|
|
|
319
320
|
_iterator2.f();
|
|
320
321
|
}
|
|
321
322
|
});
|
|
322
|
-
//
|
|
323
|
-
//
|
|
324
|
-
//
|
|
323
|
+
// Create a MutationObserver which will observe the menu list for changes. In
|
|
324
|
+
// node environments such as SSR, MutationObserver doesn't exist and this
|
|
325
|
+
// variable will be falsy.
|
|
325
326
|
_defineProperty(_assertThisInitialized(_this), "focusedOptionObserver", typeof MutationObserver === 'function' && new MutationObserver(_this.focusedOptionObserverCallback));
|
|
326
327
|
_defineProperty(_assertThisInitialized(_this), "handleKeyDown", function (event) {
|
|
327
328
|
if (!_this.isMenuOpenOnClickForSingleSelect) {
|
|
@@ -450,16 +451,36 @@ export var BaseUserPickerWithoutAnalytics = /*#__PURE__*/function (_React$Compon
|
|
|
450
451
|
resolving = _this$state2.resolving,
|
|
451
452
|
count = _this$state2.count,
|
|
452
453
|
inputValue = _this$state2.inputValue;
|
|
453
|
-
|
|
454
|
-
|
|
454
|
+
|
|
455
|
+
// Create a new session when the menu is opened and there is no session
|
|
456
|
+
if (menuIsOpen && !prevState.menuIsOpen && !this.session) {
|
|
457
|
+
this.startSession();
|
|
458
|
+
}
|
|
459
|
+
if (getBooleanFF('platform.design-system-team.select-aria-activedescendant_psxzq')) {
|
|
460
|
+
var _this$selectRef, _this$selectRef2, _this$selectRef3;
|
|
461
|
+
// When the menu is opened, set aria-activedescendant attribute on the
|
|
462
|
+
// input and instrument a mutation observer. On the first opening of the
|
|
463
|
+
// menu, menuIsOpen is true but the menu isn't actually in the DOM yet.
|
|
464
|
+
// For this reason, we the use the existence of the attribute.
|
|
465
|
+
var inputHasAriaActiveDecendant = (_this$selectRef = this.selectRef) === null || _this$selectRef === void 0 || (_this$selectRef = _this$selectRef.select) === null || _this$selectRef === void 0 || (_this$selectRef = _this$selectRef.inputRef) === null || _this$selectRef === void 0 ? void 0 : _this$selectRef.getAttribute('aria-activedescendant');
|
|
466
|
+
var inputRef = (_this$selectRef2 = this.selectRef) === null || _this$selectRef2 === void 0 || (_this$selectRef2 = _this$selectRef2.select) === null || _this$selectRef2 === void 0 ? void 0 : _this$selectRef2.inputRef;
|
|
467
|
+
var menuRef = (_this$selectRef3 = this.selectRef) === null || _this$selectRef3 === void 0 || (_this$selectRef3 = _this$selectRef3.select) === null || _this$selectRef3 === void 0 ? void 0 : _this$selectRef3.menuListRef;
|
|
468
|
+
if (menuIsOpen && menuRef && !inputHasAriaActiveDecendant) {
|
|
455
469
|
var _menuRef$children$;
|
|
456
|
-
|
|
457
|
-
|
|
470
|
+
// Set the aria-activedescendant attribute on the input element
|
|
471
|
+
// to the first menu item
|
|
472
|
+
((_menuRef$children$ = menuRef.children[0]) === null || _menuRef$children$ === void 0 ? void 0 : _menuRef$children$.classList.contains(optionFocusedClass)) && inputRef && inputRef.setAttribute('aria-activedescendant', menuRef.children[0].id);
|
|
473
|
+
|
|
474
|
+
// Setup MutationObserver so when the selected option changes, update
|
|
475
|
+
// the aria-activedescendant attribute on the input element
|
|
458
476
|
this.focusedOptionObserver && this.focusedOptionObserver.observe(menuRef, observerOptions);
|
|
459
477
|
}
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
478
|
+
|
|
479
|
+
// Rewmoe the aria-active-descendant attribute and disconnect the observer
|
|
480
|
+
// when the menu is closed
|
|
481
|
+
if (!menuIsOpen && prevState.menuIsOpen) {
|
|
482
|
+
inputRef && inputRef.removeAttribute('aria-activedescendant');
|
|
483
|
+
this.focusedOptionObserver && this.focusedOptionObserver.disconnect();
|
|
463
484
|
}
|
|
464
485
|
}
|
|
465
486
|
|
|
@@ -470,10 +491,6 @@ export var BaseUserPickerWithoutAnalytics = /*#__PURE__*/function (_React$Compon
|
|
|
470
491
|
if (!menuIsOpen && prevState.menuIsOpen && this.session) {
|
|
471
492
|
this.fireEvent(cancelEvent, prevState);
|
|
472
493
|
this.session = undefined;
|
|
473
|
-
if (getBooleanFF('platform.design-system-team.select-aria-activedescendant_psxzq')) {
|
|
474
|
-
this.selectRef.select.inputRef.removeAttribute('aria-activedescendant');
|
|
475
|
-
this.focusedOptionObserver && this.focusedOptionObserver.disconnect();
|
|
476
|
-
}
|
|
477
494
|
}
|
|
478
495
|
if (menuIsOpen && (!prevState.menuIsOpen && options.length > 0 || options.length !== prevState.options.length)) {
|
|
479
496
|
this.fireEvent(searchedEvent);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/user-picker",
|
|
3
|
-
"version": "10.20.
|
|
3
|
+
"version": "10.20.2",
|
|
4
4
|
"description": "Fabric component for display a dropdown to select a user from",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -43,19 +43,19 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@atlaskit/analytics-next": "^9.3.0",
|
|
46
|
-
"@atlaskit/avatar": "^21.
|
|
47
|
-
"@atlaskit/icon": "^22.
|
|
48
|
-
"@atlaskit/logo": "^13.
|
|
46
|
+
"@atlaskit/avatar": "^21.9.0",
|
|
47
|
+
"@atlaskit/icon": "^22.3.0",
|
|
48
|
+
"@atlaskit/logo": "^13.17.0",
|
|
49
49
|
"@atlaskit/lozenge": "^11.7.0",
|
|
50
50
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
51
51
|
"@atlaskit/popper": "^5.5.0",
|
|
52
|
-
"@atlaskit/primitives": "^
|
|
53
|
-
"@atlaskit/select": "^17.
|
|
52
|
+
"@atlaskit/primitives": "^6.3.0",
|
|
53
|
+
"@atlaskit/select": "^17.9.0",
|
|
54
54
|
"@atlaskit/spinner": "^16.1.0",
|
|
55
55
|
"@atlaskit/teams-avatar": "^1.0.0",
|
|
56
|
-
"@atlaskit/theme": "^12.
|
|
57
|
-
"@atlaskit/tokens": "^1.
|
|
58
|
-
"@atlaskit/tooltip": "^18.
|
|
56
|
+
"@atlaskit/theme": "^12.8.0",
|
|
57
|
+
"@atlaskit/tokens": "^1.49.0",
|
|
58
|
+
"@atlaskit/tooltip": "^18.4.0",
|
|
59
59
|
"@atlaskit/ufo": "^0.2.0",
|
|
60
60
|
"@babel/runtime": "^7.0.0",
|
|
61
61
|
"@emotion/react": "^11.7.1",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@atlaskit/analytics-viewer": "^0.5.0",
|
|
73
73
|
"@atlaskit/elements-test-helpers": "^0.7.0",
|
|
74
|
-
"@atlaskit/heading": "^2.
|
|
74
|
+
"@atlaskit/heading": "^2.3.0",
|
|
75
75
|
"@atlaskit/visual-regression": "*",
|
|
76
76
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
77
77
|
"@emotion/styled": "^11.0.0",
|