@atlaskit/user-picker 13.8.2 → 13.8.4

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,19 @@
1
1
  # @atlaskit/user-picker
2
2
 
3
+ ## 13.8.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [`f834c7d669731`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f834c7d669731) -
8
+ Removed feature gate TWCG-444 for Unified Share Dialogue experiment. No change in functionality
9
+ - Updated dependencies
10
+
11
+ ## 13.8.3
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 13.8.2
4
18
 
5
19
  ### Patch Changes
@@ -15,7 +15,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
15
15
  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; } // eslint-disable-next-line @typescript-eslint/consistent-type-imports
16
16
  // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
17
17
  var packageName = "@atlaskit/user-picker";
18
- var packageVersion = "13.8.1";
18
+ var packageVersion = "13.8.3";
19
19
  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}$/;
20
20
  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}$/;
21
21
  var UUID_REGEXP_NEW_AAID = /^[a-fA-F0-9]{24,24}$/;
@@ -8,7 +8,6 @@ exports.AddOptionAvatar = void 0;
8
8
  var _email = _interopRequireDefault(require("@atlaskit/icon/core/email"));
9
9
  var _react = require("@emotion/react");
10
10
  var _react2 = _interopRequireDefault(require("react"));
11
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
12
11
  /**
13
12
  * @jsxRuntime classic
14
13
  * @jsx jsx
@@ -18,7 +17,7 @@ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
18
17
 
19
18
  var getEmailAvatarWrapperStyle = function getEmailAvatarWrapperStyle(isLozenge, isPendingAction) {
20
19
  var padding = isLozenge ? "var(--ds-space-0, 0px)" : "var(--ds-space-050, 4px)";
21
- var backgroundColor = isPendingAction && (0, _platformFeatureFlags.fg)('twcg-444-invite-usd-improvements-m2-gate') ? "var(--ds-background-warning, #FFF5DB)" : "var(--ds-background-neutral, #0515240F)";
20
+ var backgroundColor = isPendingAction ? "var(--ds-background-warning, #FFF5DB)" : "var(--ds-background-neutral, #0515240F)";
22
21
  return (0, _react.css)({
23
22
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
24
23
  padding: padding,
@@ -41,7 +40,7 @@ var AddOptionAvatar = exports.AddOptionAvatar = function AddOptionAvatar(_ref) {
41
40
  }, (0, _react.jsx)(_email.default, {
42
41
  testId: "add-option-avatar-email-icon",
43
42
  label: label || '',
44
- color: isPendingAction && (0, _platformFeatureFlags.fg)('twcg-444-invite-usd-improvements-m2-gate') ? "var(--ds-text-warning, #9E4C00)" : "var(--ds-text-subtle, #505258)"
43
+ color: isPendingAction ? "var(--ds-text-warning, #9E4C00)" : "var(--ds-text-subtle, #505258)"
45
44
  }))
46
45
  );
47
46
  };
@@ -6,7 +6,7 @@ import { fg } from '@atlaskit/platform-feature-flags';
6
6
  import { v4 as uuidv4 } from 'uuid';
7
7
  import { isCustom, isExternalUser } from './components/utils';
8
8
  const packageName = "@atlaskit/user-picker";
9
- const packageVersion = "13.8.1";
9
+ const packageVersion = "13.8.3";
10
10
  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}$/;
11
11
  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}$/;
12
12
  const UUID_REGEXP_NEW_AAID = /^[a-fA-F0-9]{24,24}$/;
@@ -6,10 +6,9 @@ import EmailIcon from '@atlaskit/icon/core/email';
6
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
7
  import { css, jsx } from '@emotion/react';
8
8
  import React from 'react';
9
- import { fg } from '@atlaskit/platform-feature-flags';
10
9
  const getEmailAvatarWrapperStyle = (isLozenge, isPendingAction) => {
11
10
  const padding = isLozenge ? `${"var(--ds-space-0, 0px)"}` : `${"var(--ds-space-050, 4px)"}`;
12
- const backgroundColor = isPendingAction && fg('twcg-444-invite-usd-improvements-m2-gate') ? "var(--ds-background-warning, #FFF5DB)" : "var(--ds-background-neutral, #0515240F)";
11
+ const backgroundColor = isPendingAction ? "var(--ds-background-warning, #FFF5DB)" : "var(--ds-background-neutral, #0515240F)";
13
12
  return css({
14
13
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
15
14
  padding,
@@ -33,7 +32,7 @@ export const AddOptionAvatar = ({
33
32
  }, jsx(EmailIcon, {
34
33
  testId: "add-option-avatar-email-icon",
35
34
  label: label || '',
36
- color: isPendingAction && fg('twcg-444-invite-usd-improvements-m2-gate') ? "var(--ds-text-warning, #9E4C00)" : "var(--ds-text-subtle, #505258)"
35
+ color: isPendingAction ? "var(--ds-text-warning, #9E4C00)" : "var(--ds-text-subtle, #505258)"
37
36
  }))
38
37
  );
39
38
  };
@@ -9,7 +9,7 @@ import { fg } from '@atlaskit/platform-feature-flags';
9
9
  import { v4 as uuidv4 } from 'uuid';
10
10
  import { isCustom, isExternalUser } from './components/utils';
11
11
  var packageName = "@atlaskit/user-picker";
12
- var packageVersion = "13.8.1";
12
+ var packageVersion = "13.8.3";
13
13
  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}$/;
14
14
  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}$/;
15
15
  var UUID_REGEXP_NEW_AAID = /^[a-fA-F0-9]{24,24}$/;
@@ -6,10 +6,9 @@ import EmailIcon from '@atlaskit/icon/core/email';
6
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
7
  import { css, jsx } from '@emotion/react';
8
8
  import React from 'react';
9
- import { fg } from '@atlaskit/platform-feature-flags';
10
9
  var getEmailAvatarWrapperStyle = function getEmailAvatarWrapperStyle(isLozenge, isPendingAction) {
11
10
  var padding = isLozenge ? "var(--ds-space-0, 0px)" : "var(--ds-space-050, 4px)";
12
- var backgroundColor = isPendingAction && fg('twcg-444-invite-usd-improvements-m2-gate') ? "var(--ds-background-warning, #FFF5DB)" : "var(--ds-background-neutral, #0515240F)";
11
+ var backgroundColor = isPendingAction ? "var(--ds-background-warning, #FFF5DB)" : "var(--ds-background-neutral, #0515240F)";
13
12
  return css({
14
13
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
15
14
  padding: padding,
@@ -32,7 +31,7 @@ export var AddOptionAvatar = function AddOptionAvatar(_ref) {
32
31
  }, jsx(EmailIcon, {
33
32
  testId: "add-option-avatar-email-icon",
34
33
  label: label || '',
35
- color: isPendingAction && fg('twcg-444-invite-usd-improvements-m2-gate') ? "var(--ds-text-warning, #9E4C00)" : "var(--ds-text-subtle, #505258)"
34
+ color: isPendingAction ? "var(--ds-text-warning, #9E4C00)" : "var(--ds-text-subtle, #505258)"
36
35
  }))
37
36
  );
38
37
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/user-picker",
3
- "version": "13.8.2",
3
+ "version": "13.8.4",
4
4
  "description": "Fabric component for display a dropdown to select a user from",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -17,7 +17,7 @@
17
17
  "@af/search-test-utils": "workspace:^",
18
18
  "@af/visual-regression": "workspace:^",
19
19
  "@atlaskit/heading": "^7.0.0",
20
- "@atlassian/a11y-jest-testing": "^0.13.0",
20
+ "@atlassian/a11y-jest-testing": "^0.14.0",
21
21
  "@atlassian/a11y-playwright-testing": "^0.10.0",
22
22
  "@atlassian/feature-flags-test-utils": "^1.2.0",
23
23
  "@emotion/styled": "^11.0.0",
@@ -69,7 +69,7 @@
69
69
  "@atlaskit/feature-gate-js-client": "^6.0.0",
70
70
  "@atlaskit/icon": "^37.2.0",
71
71
  "@atlaskit/logo": "^21.4.0",
72
- "@atlaskit/lozenge": "^14.1.0",
72
+ "@atlaskit/lozenge": "^15.0.0",
73
73
  "@atlaskit/people-teams-ui-public": "^5.1.0",
74
74
  "@atlaskit/platform-feature-flags": "^2.1.0",
75
75
  "@atlaskit/popper": "^8.5.0",
@@ -109,9 +109,6 @@
109
109
  "platform-component-visual-refresh": {
110
110
  "type": "boolean"
111
111
  },
112
- "twcg-444-invite-usd-improvements-m2-gate": {
113
- "type": "boolean"
114
- },
115
112
  "product-terminology-refresh": {
116
113
  "type": "boolean"
117
114
  },