@atlaskit/share 4.23.9 → 4.23.11

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/share
2
2
 
3
+ ## 4.23.11
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 4.23.10
10
+
11
+ ### Patch Changes
12
+
13
+ - [#98532](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98532)
14
+ [`2c9bdfdef47cc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2c9bdfdef47cc) -
15
+ Add an id to the ShareButton in order to improve targeting/triggering
16
+
3
17
  ## 4.23.9
4
18
 
5
19
  ### Patch Changes
@@ -17,6 +17,7 @@ function ShareButton(_ref, ref) {
17
17
  _ariaHasPopup = _ref['aria-haspopup'],
18
18
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
19
19
  return /*#__PURE__*/_react.default.createElement(_standardButton.default, (0, _extends2.default)({
20
+ id: "share-trigger-btn",
20
21
  ref: ref,
21
22
  "aria-haspopup": "dialog"
22
23
  }, props), text);
@@ -56,6 +56,7 @@ var centerAlignedIconWrapperStyles = (0, _react2.css)({
56
56
  paddingInline: "var(--ds-space-150, 12px)",
57
57
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
58
58
  '> div': {
59
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
59
60
  lineHeight: 1
60
61
  }
61
62
  });
@@ -17,6 +17,7 @@ var headerWrapperStyles = (0, _primitives.xcss)({
17
17
  overflow: 'hidden',
18
18
  textOverflow: 'ellipsis',
19
19
  whiteSpace: 'nowrap',
20
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
20
21
  lineHeight: 'space.400'
21
22
  });
22
23
  var ShareHeader = exports.ShareHeader = function ShareHeader(_ref) {
@@ -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: "4.23.9"
16
+ packageVersion: "4.23.11"
17
17
  }, attributes);
18
18
  };
19
19
  var createEvent = function createEvent(eventType, source, action, actionSubject, actionSubjectId) {
@@ -9,6 +9,7 @@ function ShareButton({
9
9
  ...props
10
10
  }, ref) {
11
11
  return /*#__PURE__*/React.createElement(Button, _extends({
12
+ id: "share-trigger-btn",
12
13
  ref: ref,
13
14
  "aria-haspopup": "dialog"
14
15
  }, props), text);
@@ -40,6 +40,7 @@ const centerAlignedIconWrapperStyles = css({
40
40
  paddingInline: "var(--ds-space-150, 12px)",
41
41
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
42
42
  '> div': {
43
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
43
44
  lineHeight: 1
44
45
  }
45
46
  });
@@ -10,6 +10,7 @@ const headerWrapperStyles = xcss({
10
10
  overflow: 'hidden',
11
11
  textOverflow: 'ellipsis',
12
12
  whiteSpace: 'nowrap',
13
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
13
14
  lineHeight: 'space.400'
14
15
  });
15
16
  export const ShareHeader = ({
@@ -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: "4.23.9",
4
+ packageVersion: "4.23.11",
5
5
  ...attributes
6
6
  });
7
7
  const createEvent = (eventType, source, action, actionSubject, actionSubjectId, attributes = {}) => ({
@@ -10,6 +10,7 @@ function ShareButton(_ref, ref) {
10
10
  _ariaHasPopup = _ref['aria-haspopup'],
11
11
  props = _objectWithoutProperties(_ref, _excluded);
12
12
  return /*#__PURE__*/React.createElement(Button, _extends({
13
+ id: "share-trigger-btn",
13
14
  ref: ref,
14
15
  "aria-haspopup": "dialog"
15
16
  }, props), text);
@@ -49,6 +49,7 @@ var centerAlignedIconWrapperStyles = css({
49
49
  paddingInline: "var(--ds-space-150, 12px)",
50
50
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
51
51
  '> div': {
52
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
52
53
  lineHeight: 1
53
54
  }
54
55
  });
@@ -10,6 +10,7 @@ var headerWrapperStyles = xcss({
10
10
  overflow: 'hidden',
11
11
  textOverflow: 'ellipsis',
12
12
  whiteSpace: 'nowrap',
13
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
13
14
  lineHeight: 'space.400'
14
15
  });
15
16
  export var ShareHeader = function ShareHeader(_ref) {
@@ -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: "4.23.9"
9
+ packageVersion: "4.23.11"
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": "4.23.9",
3
+ "version": "4.23.11",
4
4
  "description": "Fabric Share Element",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -40,10 +40,10 @@
40
40
  "dependencies": {
41
41
  "@atlaskit/analytics-next": "^10.2.0",
42
42
  "@atlaskit/button": "^20.3.0",
43
- "@atlaskit/dropdown-menu": "^12.23.0",
43
+ "@atlaskit/dropdown-menu": "^12.24.0",
44
44
  "@atlaskit/form": "^11.0.0",
45
45
  "@atlaskit/heading": "^4.0.0",
46
- "@atlaskit/icon": "^23.1.0",
46
+ "@atlaskit/icon": "^23.3.0",
47
47
  "@atlaskit/link": "^2.0.0",
48
48
  "@atlaskit/menu": "^2.13.0",
49
49
  "@atlaskit/platform-feature-flags": "^0.3.0",
@@ -56,7 +56,7 @@
56
56
  "@atlaskit/tabs": "^17.0.0",
57
57
  "@atlaskit/textarea": "^5.7.0",
58
58
  "@atlaskit/theme": "^14.0.0",
59
- "@atlaskit/tokens": "^2.5.0",
59
+ "@atlaskit/tokens": "^3.0.0",
60
60
  "@atlaskit/tooltip": "^19.0.0",
61
61
  "@atlaskit/ufo": "^0.3.0",
62
62
  "@atlaskit/user-picker": "^10.29.0",