@atlaskit/share 6.16.7 → 6.16.8

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,13 @@
1
1
  # @atlaskit/share
2
2
 
3
+ ## 6.16.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [`beaa6ee463aa8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/beaa6ee463aa8) -
8
+ Internal changes to how border radius is applied.
9
+ - Updated dependencies
10
+
3
11
  ## 6.16.7
4
12
 
5
13
  ### Patch Changes
@@ -459,6 +459,11 @@ var ShareDialogContainerInternal = exports.ShareDialogContainerInternal = /*#__P
459
459
  }
460
460
  }]);
461
461
  }(_react.default.Component);
462
+ /**
463
+ * @deprecated
464
+ * ⚠️ DO NOT USE — This component has been replaced by @atlassian/jira-share-dialog.
465
+ * It will be removed once the switch-over is complete.
466
+ */
462
467
  (0, _defineProperty2.default)(ShareDialogContainerInternal, "defaultProps", {
463
468
  enableSmartUserPicker: false,
464
469
  shareeAction: 'view',
@@ -101,7 +101,7 @@ var requiredFieldInfoStyles = (0, _react2.css)({
101
101
  });
102
102
  var menuGroupContainerStyles = (0, _primitives.xcss)({
103
103
  color: 'color.text',
104
- borderRadius: 'border.radius',
104
+ borderRadius: 'radius.small',
105
105
  backgroundColor: 'elevation.surface.overlay',
106
106
  alignItems: 'flex-start',
107
107
  width: '150px',
@@ -1,5 +1,5 @@
1
1
  ._11c81o8v{font:var(--ds-font-body-small,normal 400 11px/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
2
- ._2rkoglpi{border-radius:var(--ds-border-radius,4px)}
2
+ ._2rko12b0{border-radius:var(--ds-radius-small,4px)}
3
3
  ._18zrutpp{padding-inline:var(--ds-space-150,9pt)}
4
4
  ._195g10v4{margin-inline:var(--ds-space-negative-300,-24px)}
5
5
  ._1moux0bf{margin-block:var(--ds-space-negative-100,-8px)}
@@ -52,7 +52,7 @@ var styles = {
52
52
  integrationWrapperStyles: "_1e0c1txw _4cvr1h6o",
53
53
  integrationIconWrapperStyles: "_otyr196n _2hwx1b66",
54
54
  requiredFieldInfoStyles: "_11c81o8v _otyrpxbi _syaz1n3s",
55
- menuGroupContainerStyles: "_2rkoglpi _1moux0bf _195g10v4 _syaz1fxt _4cvr1y6m _1bsb1w81"
55
+ menuGroupContainerStyles: "_2rko12b0 _1moux0bf _195g10v4 _syaz1fxt _4cvr1y6m _1bsb1w81"
56
56
  };
57
57
  var integrationTabText = function integrationTabText(integrationName) {
58
58
  return /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, (0, _extends2.default)({}, _i18n.messages.shareInIntegrationButtonText, {
@@ -17,7 +17,7 @@ var iconContainerStyles = (0, _primitives.xcss)({
17
17
  justifyContent: 'center',
18
18
  height: 'size.200',
19
19
  width: 'size.200',
20
- borderRadius: 'border.radius'
20
+ borderRadius: 'radius.small'
21
21
  });
22
22
  var ShareMenuItem = exports.ShareMenuItem = function ShareMenuItem(_ref) {
23
23
  var iconName = _ref.iconName,
@@ -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.16.6"
16
+ packageVersion: "0.0.0-development"
17
17
  }, attributes);
18
18
  };
19
19
  var createEvent = function createEvent(eventType, source, action, actionSubject, actionSubjectId) {
@@ -407,6 +407,12 @@ export class ShareDialogContainerInternal extends React.Component {
407
407
  })));
408
408
  }
409
409
  }
410
+
411
+ /**
412
+ * @deprecated
413
+ * ⚠️ DO NOT USE — This component has been replaced by @atlassian/jira-share-dialog.
414
+ * It will be removed once the switch-over is complete.
415
+ */
410
416
  _defineProperty(ShareDialogContainerInternal, "defaultProps", {
411
417
  enableSmartUserPicker: false,
412
418
  shareeAction: 'view',
@@ -86,7 +86,7 @@ const requiredFieldInfoStyles = css({
86
86
  });
87
87
  const menuGroupContainerStyles = xcss({
88
88
  color: 'color.text',
89
- borderRadius: 'border.radius',
89
+ borderRadius: 'radius.small',
90
90
  backgroundColor: 'elevation.surface.overlay',
91
91
  alignItems: 'flex-start',
92
92
  width: '150px',
@@ -1,5 +1,5 @@
1
1
  ._11c81o8v{font:var(--ds-font-body-small,normal 400 11px/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
2
- ._2rkoglpi{border-radius:var(--ds-border-radius,4px)}
2
+ ._2rko12b0{border-radius:var(--ds-radius-small,4px)}
3
3
  ._18zrutpp{padding-inline:var(--ds-space-150,9pt)}
4
4
  ._195g10v4{margin-inline:var(--ds-space-negative-300,-24px)}
5
5
  ._1moux0bf{margin-block:var(--ds-space-negative-100,-8px)}
@@ -34,7 +34,7 @@ const styles = {
34
34
  integrationWrapperStyles: "_1e0c1txw _4cvr1h6o",
35
35
  integrationIconWrapperStyles: "_otyr196n _2hwx1b66",
36
36
  requiredFieldInfoStyles: "_11c81o8v _otyrpxbi _syaz1n3s",
37
- menuGroupContainerStyles: "_2rkoglpi _1moux0bf _195g10v4 _syaz1fxt _4cvr1y6m _1bsb1w81"
37
+ menuGroupContainerStyles: "_2rko12b0 _1moux0bf _195g10v4 _syaz1fxt _4cvr1y6m _1bsb1w81"
38
38
  };
39
39
  const integrationTabText = integrationName => /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.shareInIntegrationButtonText, {
40
40
  values: {
@@ -9,7 +9,7 @@ const iconContainerStyles = xcss({
9
9
  justifyContent: 'center',
10
10
  height: 'size.200',
11
11
  width: 'size.200',
12
- borderRadius: 'border.radius'
12
+ borderRadius: 'radius.small'
13
13
  });
14
14
  export const ShareMenuItem = ({
15
15
  iconName,
@@ -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.16.6",
4
+ packageVersion: "0.0.0-development",
5
5
  ...attributes
6
6
  });
7
7
  const createEvent = (eventType, source, action, actionSubject, actionSubjectId, attributes = {}) => ({
@@ -1,3 +1,8 @@
1
+ /**
2
+ * @deprecated
3
+ * ⚠️ DO NOT USE — This package has been replaced by @atlassian/jira-share-dialog.
4
+ * It will be removed once the switch-over is complete.
5
+ */
1
6
  export { ShareDialogContainer } from './components/ShareDialogContainer';
2
7
  export { CopyLinkButton } from './components/CopyLinkButton';
3
8
  export {
@@ -452,6 +452,12 @@ export var ShareDialogContainerInternal = /*#__PURE__*/function (_React$Componen
452
452
  }
453
453
  }]);
454
454
  }(React.Component);
455
+
456
+ /**
457
+ * @deprecated
458
+ * ⚠️ DO NOT USE — This component has been replaced by @atlassian/jira-share-dialog.
459
+ * It will be removed once the switch-over is complete.
460
+ */
455
461
  _defineProperty(ShareDialogContainerInternal, "defaultProps", {
456
462
  enableSmartUserPicker: false,
457
463
  shareeAction: 'view',
@@ -95,7 +95,7 @@ var requiredFieldInfoStyles = css({
95
95
  });
96
96
  var menuGroupContainerStyles = xcss({
97
97
  color: 'color.text',
98
- borderRadius: 'border.radius',
98
+ borderRadius: 'radius.small',
99
99
  backgroundColor: 'elevation.surface.overlay',
100
100
  alignItems: 'flex-start',
101
101
  width: '150px',
@@ -1,5 +1,5 @@
1
1
  ._11c81o8v{font:var(--ds-font-body-small,normal 400 11px/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
2
- ._2rkoglpi{border-radius:var(--ds-border-radius,4px)}
2
+ ._2rko12b0{border-radius:var(--ds-radius-small,4px)}
3
3
  ._18zrutpp{padding-inline:var(--ds-space-150,9pt)}
4
4
  ._195g10v4{margin-inline:var(--ds-space-negative-300,-24px)}
5
5
  ._1moux0bf{margin-block:var(--ds-space-negative-100,-8px)}
@@ -43,7 +43,7 @@ var styles = {
43
43
  integrationWrapperStyles: "_1e0c1txw _4cvr1h6o",
44
44
  integrationIconWrapperStyles: "_otyr196n _2hwx1b66",
45
45
  requiredFieldInfoStyles: "_11c81o8v _otyrpxbi _syaz1n3s",
46
- menuGroupContainerStyles: "_2rkoglpi _1moux0bf _195g10v4 _syaz1fxt _4cvr1y6m _1bsb1w81"
46
+ menuGroupContainerStyles: "_2rko12b0 _1moux0bf _195g10v4 _syaz1fxt _4cvr1y6m _1bsb1w81"
47
47
  };
48
48
  var integrationTabText = function integrationTabText(integrationName) {
49
49
  return /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.shareInIntegrationButtonText, {
@@ -9,7 +9,7 @@ var iconContainerStyles = xcss({
9
9
  justifyContent: 'center',
10
10
  height: 'size.200',
11
11
  width: 'size.200',
12
- borderRadius: 'border.radius'
12
+ borderRadius: 'radius.small'
13
13
  });
14
14
  export var ShareMenuItem = function ShareMenuItem(_ref) {
15
15
  var iconName = _ref.iconName,
@@ -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.16.6"
9
+ packageVersion: "0.0.0-development"
10
10
  }, attributes);
11
11
  };
12
12
  var createEvent = function createEvent(eventType, source, action, actionSubject, actionSubjectId) {
package/dist/esm/index.js CHANGED
@@ -1,3 +1,8 @@
1
+ /**
2
+ * @deprecated
3
+ * ⚠️ DO NOT USE — This package has been replaced by @atlassian/jira-share-dialog.
4
+ * It will be removed once the switch-over is complete.
5
+ */
1
6
  export { ShareDialogContainer } from './components/ShareDialogContainer';
2
7
  export { CopyLinkButton } from './components/CopyLinkButton';
3
8
  export {
@@ -47,6 +47,11 @@ export declare class ShareDialogContainerInternal extends React.Component<ShareD
47
47
  getFormShareLink: () => string;
48
48
  render(): React.JSX.Element;
49
49
  }
50
+ /**
51
+ * @deprecated
52
+ * ⚠️ DO NOT USE — This component has been replaced by @atlassian/jira-share-dialog.
53
+ * It will be removed once the switch-over is complete.
54
+ */
50
55
  export declare const ShareDialogContainer: React.ForwardRefExoticComponent<Omit<Pick<Omit<ShareDialogContainerProps, keyof WithAnalyticsEventsProps>, never> & {
51
56
  integrationMode?: import("../types/ShareEntities").IntegrationMode | undefined;
52
57
  shareIntegrations?: Array<import("../types").Integration> | undefined;
@@ -1,3 +1,8 @@
1
+ /**
2
+ * @deprecated
3
+ * ⚠️ DO NOT USE — This package has been replaced by @atlassian/jira-share-dialog.
4
+ * It will be removed once the switch-over is complete.
5
+ */
1
6
  export { ShareDialogContainer } from './components/ShareDialogContainer';
2
7
  export { CopyLinkButton } from './components/CopyLinkButton';
3
8
  export { ADMIN_NOTIFIED, OBJECT_SHARED, } from './types';
@@ -47,6 +47,11 @@ export declare class ShareDialogContainerInternal extends React.Component<ShareD
47
47
  getFormShareLink: () => string;
48
48
  render(): React.JSX.Element;
49
49
  }
50
+ /**
51
+ * @deprecated
52
+ * ⚠️ DO NOT USE — This component has been replaced by @atlassian/jira-share-dialog.
53
+ * It will be removed once the switch-over is complete.
54
+ */
50
55
  export declare const ShareDialogContainer: React.ForwardRefExoticComponent<Omit<Pick<Omit<ShareDialogContainerProps, keyof WithAnalyticsEventsProps>, never> & {
51
56
  integrationMode?: import("../types/ShareEntities").IntegrationMode | undefined;
52
57
  shareIntegrations?: Array<import("../types").Integration> | undefined;
@@ -1,3 +1,8 @@
1
+ /**
2
+ * @deprecated
3
+ * ⚠️ DO NOT USE — This package has been replaced by @atlassian/jira-share-dialog.
4
+ * It will be removed once the switch-over is complete.
5
+ */
1
6
  export { ShareDialogContainer } from './components/ShareDialogContainer';
2
7
  export { CopyLinkButton } from './components/CopyLinkButton';
3
8
  export { ADMIN_NOTIFIED, OBJECT_SHARED, } from './types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/share",
3
- "version": "6.16.7",
3
+ "version": "6.16.8",
4
4
  "description": "Fabric Share Element",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -39,24 +39,24 @@
39
39
  "dependencies": {
40
40
  "@atlaskit/analytics-next": "^11.1.0",
41
41
  "@atlaskit/button": "^23.4.0",
42
- "@atlaskit/css": "^0.12.0",
42
+ "@atlaskit/css": "^0.13.0",
43
43
  "@atlaskit/dropdown-menu": "^16.3.0",
44
- "@atlaskit/form": "^12.2.0",
44
+ "@atlaskit/form": "^12.4.0",
45
45
  "@atlaskit/heading": "^5.2.0",
46
46
  "@atlaskit/icon": "^28.1.0",
47
47
  "@atlaskit/link": "^3.2.0",
48
- "@atlaskit/menu": "^8.3.0",
48
+ "@atlaskit/menu": "^8.4.0",
49
49
  "@atlaskit/platform-feature-flags": "^1.1.0",
50
50
  "@atlaskit/popper": "^7.1.0",
51
51
  "@atlaskit/popup": "^4.3.0",
52
52
  "@atlaskit/portal": "^5.1.0",
53
- "@atlaskit/primitives": "^14.12.0",
53
+ "@atlaskit/primitives": "^14.13.0",
54
54
  "@atlaskit/smart-user-picker": "^8.2.0",
55
55
  "@atlaskit/spinner": "^19.0.0",
56
56
  "@atlaskit/tabs": "^18.1.0",
57
57
  "@atlaskit/textarea": "^8.0.0",
58
58
  "@atlaskit/theme": "^20.0.0",
59
- "@atlaskit/tokens": "^6.1.0",
59
+ "@atlaskit/tokens": "^6.2.0",
60
60
  "@atlaskit/tooltip": "^20.4.0",
61
61
  "@atlaskit/ufo": "^0.4.0",
62
62
  "@atlaskit/user-picker": "^11.6.0",
@@ -73,7 +73,7 @@
73
73
  },
74
74
  "devDependencies": {
75
75
  "@atlaskit/editor-test-helpers": "workspace:^",
76
- "@atlaskit/flag": "^17.3.0",
76
+ "@atlaskit/flag": "^17.4.0",
77
77
  "@atlassian/feature-flags-test-utils": "^0.3.0",
78
78
  "@testing-library/react": "^13.4.0",
79
79
  "@testing-library/user-event": "^14.4.3",