@atlaskit/share 6.9.0 → 6.10.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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @atlaskit/share
2
2
 
3
+ ## 6.10.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#167224](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/167224)
8
+ [`198e371fcf6c7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/198e371fcf6c7) -
9
+ We are testing adding `shouldRenderToProp` to Design System dropdown menu and popup components to
10
+ improve accessibility. If this fix is successful it will be available in a later release.
11
+
3
12
  ## 6.9.0
4
13
 
5
14
  ### Minor Changes
@@ -4,7 +4,7 @@
4
4
  "declaration": true,
5
5
  "target": "es5",
6
6
  "composite": true,
7
- "outDir": "../dist",
7
+ "outDir": "../../../../../confluence/tsDist/@atlaskit__share",
8
8
  "rootDir": "../"
9
9
  },
10
10
  "include": [
@@ -82,7 +82,8 @@ var SplitButtonDropdown = function SplitButtonDropdown(props) {
82
82
  },
83
83
  placement: "bottom-end",
84
84
  isOpen: isUsingSplitButton,
85
- onOpenChange: onOpenChange
85
+ onOpenChange: onOpenChange,
86
+ shouldRenderToParent: (0, _platformFeatureFlags.fg)('should-render-to-parent-should-be-true-people-and-')
86
87
  }, (0, _react2.jsx)(_dropdownMenu.DropdownItemGroup, null, shareIntegrations.map(function (integration) {
87
88
  return (0, _react2.jsx)(_dropdownMenu.DropdownItem, {
88
89
  key: integration.type,
@@ -13,7 +13,7 @@ var buildAttributes = function buildAttributes() {
13
13
  var attributes = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
14
14
  return _objectSpread({
15
15
  packageName: "@atlaskit/share",
16
- packageVersion: "6.9.0"
16
+ packageVersion: "6.10.0"
17
17
  }, attributes);
18
18
  };
19
19
  var createEvent = function createEvent(eventType, source, action, actionSubject, actionSubjectId) {
@@ -73,7 +73,8 @@ const SplitButtonDropdown = props => {
73
73
  })),
74
74
  placement: "bottom-end",
75
75
  isOpen: isUsingSplitButton,
76
- onOpenChange: onOpenChange
76
+ onOpenChange: onOpenChange,
77
+ shouldRenderToParent: fg('should-render-to-parent-should-be-true-people-and-')
77
78
  }, jsx(DropdownItemGroup, null, shareIntegrations.map(integration => jsx(DropdownItem, {
78
79
  key: integration.type,
79
80
  testId: `split-button-dropdownitem-${integration.type}`
@@ -1,7 +1,7 @@
1
1
  import { isEmail, isExternalUser, isGroup, isTeam, isUser } from '@atlaskit/smart-user-picker';
2
2
  const buildAttributes = (attributes = {}) => ({
3
3
  packageName: "@atlaskit/share",
4
- packageVersion: "6.9.0",
4
+ packageVersion: "6.10.0",
5
5
  ...attributes
6
6
  });
7
7
  const createEvent = (eventType, source, action, actionSubject, actionSubjectId, attributes = {}) => ({
@@ -75,7 +75,8 @@ var SplitButtonDropdown = function SplitButtonDropdown(props) {
75
75
  },
76
76
  placement: "bottom-end",
77
77
  isOpen: isUsingSplitButton,
78
- onOpenChange: onOpenChange
78
+ onOpenChange: onOpenChange,
79
+ shouldRenderToParent: fg('should-render-to-parent-should-be-true-people-and-')
79
80
  }, jsx(DropdownItemGroup, null, shareIntegrations.map(function (integration) {
80
81
  return jsx(DropdownItem, {
81
82
  key: integration.type,
@@ -6,7 +6,7 @@ var buildAttributes = function buildAttributes() {
6
6
  var attributes = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
7
7
  return _objectSpread({
8
8
  packageName: "@atlaskit/share",
9
- packageVersion: "6.9.0"
9
+ packageVersion: "6.10.0"
10
10
  }, attributes);
11
11
  };
12
12
  var createEvent = function createEvent(eventType, source, action, actionSubject, actionSubjectId) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/share",
3
- "version": "6.9.0",
3
+ "version": "6.10.0",
4
4
  "description": "Fabric Share Element",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -57,7 +57,7 @@
57
57
  "@atlaskit/tabs": "^18.1.0",
58
58
  "@atlaskit/textarea": "^8.0.0",
59
59
  "@atlaskit/theme": "^18.0.0",
60
- "@atlaskit/tokens": "^5.0.0",
60
+ "@atlaskit/tokens": "^5.1.0",
61
61
  "@atlaskit/tooltip": "^20.3.0",
62
62
  "@atlaskit/ufo": "^0.4.0",
63
63
  "@atlaskit/user-picker": "^11.2.0",
@@ -139,6 +139,9 @@
139
139
  },
140
140
  "dst-a11y__replace-anchor-with-link__people-and-tea": {
141
141
  "type": "boolean"
142
+ },
143
+ "should-render-to-parent-should-be-true-people-and-": {
144
+ "type": "boolean"
142
145
  }
143
146
  },
144
147
  "sideEffects": [