@atlaskit/user-picker 11.3.1 → 11.3.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 CHANGED
@@ -1,5 +1,14 @@
1
1
  # @atlaskit/user-picker
2
2
 
3
+ ## 11.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#178290](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/178290)
8
+ [`24b46e59f20ba`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/24b46e59f20ba) -
9
+ Clean up feature gate user-picker-show-clear-indicator
10
+ - Updated dependencies
11
+
3
12
  ## 11.3.1
4
13
 
5
14
  ### Patch Changes
@@ -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 = "11.3.0";
15
+ var packageVersion = "11.3.1";
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}$/;
@@ -105,7 +105,7 @@ var UserPickerWithoutAnalytics = exports.UserPickerWithoutAnalytics = /*#__PURE_
105
105
  styles: (0, _styles.getStyles)(width, isMulti, this.props.appearance === 'compact', this.props.styles, this.props.isInvalid,
106
106
  // eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
107
107
  (0, _platformFeatureFlags.fg)('platform-component-visual-refresh')),
108
- components: (0, _components.getComponents)(isMulti, anchor, showClearIndicator && (0, _platformFeatureFlags.fg)('user-picker-show-clear-indicator'), (_this$props2 = this.props) !== null && _this$props2 !== void 0 && _this$props2.components ? this.props.components : {}),
108
+ components: (0, _components.getComponents)(isMulti, anchor, showClearIndicator, (_this$props2 = this.props) !== null && _this$props2 !== void 0 && _this$props2.components ? this.props.components : {}),
109
109
  pickerProps: pickerProps
110
110
  })))));
111
111
  }
@@ -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 = "11.3.0";
5
+ const packageVersion = "11.3.1";
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}$/;
@@ -82,7 +82,7 @@ export class UserPickerWithoutAnalytics extends React.Component {
82
82
  styles: getStyles(width, isMulti, this.props.appearance === 'compact', this.props.styles, this.props.isInvalid,
83
83
  // eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
84
84
  fg('platform-component-visual-refresh')),
85
- components: getComponents(isMulti, anchor, showClearIndicator && fg('user-picker-show-clear-indicator'), (_this$props = this.props) !== null && _this$props !== void 0 && _this$props.components ? this.props.components : {}),
85
+ components: getComponents(isMulti, anchor, showClearIndicator, (_this$props = this.props) !== null && _this$props !== void 0 && _this$props.components ? this.props.components : {}),
86
86
  pickerProps: pickerProps
87
87
  })))));
88
88
  }
@@ -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 = "11.3.0";
8
+ var packageVersion = "11.3.1";
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}$/;
@@ -96,7 +96,7 @@ export var UserPickerWithoutAnalytics = /*#__PURE__*/function (_React$Component)
96
96
  styles: getStyles(width, isMulti, this.props.appearance === 'compact', this.props.styles, this.props.isInvalid,
97
97
  // eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
98
98
  fg('platform-component-visual-refresh')),
99
- components: getComponents(isMulti, anchor, showClearIndicator && fg('user-picker-show-clear-indicator'), (_this$props2 = this.props) !== null && _this$props2 !== void 0 && _this$props2.components ? this.props.components : {}),
99
+ components: getComponents(isMulti, anchor, showClearIndicator, (_this$props2 = this.props) !== null && _this$props2 !== void 0 && _this$props2.components ? this.props.components : {}),
100
100
  pickerProps: pickerProps
101
101
  })))));
102
102
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/user-picker",
3
- "version": "11.3.1",
3
+ "version": "11.3.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/"
@@ -52,12 +52,12 @@
52
52
  "@atlaskit/analytics-next": "^11.1.0",
53
53
  "@atlaskit/avatar": "^25.1.0",
54
54
  "@atlaskit/icon": "^27.2.0",
55
- "@atlaskit/logo": "^19.2.0",
55
+ "@atlaskit/logo": "^19.3.0",
56
56
  "@atlaskit/lozenge": "^13.0.0",
57
57
  "@atlaskit/people-teams-ui-public": "^3.1.0",
58
58
  "@atlaskit/platform-feature-flags": "^1.1.0",
59
59
  "@atlaskit/popper": "^7.1.0",
60
- "@atlaskit/primitives": "^14.9.0",
60
+ "@atlaskit/primitives": "^14.10.0",
61
61
  "@atlaskit/select": "^21.0.0",
62
62
  "@atlaskit/spinner": "^18.0.0",
63
63
  "@atlaskit/teams-avatar": "^2.3.0",
@@ -112,9 +112,6 @@
112
112
  "platform-component-visual-refresh": {
113
113
  "type": "boolean"
114
114
  },
115
- "user-picker-show-clear-indicator": {
116
- "type": "boolean"
117
- },
118
115
  "support_group_by_type_for_user_picker": {
119
116
  "type": "boolean"
120
117
  }