@atlaskit/share 4.18.7 → 4.18.9
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 +12 -0
- package/dist/cjs/components/CopyLinkButton.js +1 -1
- package/dist/cjs/components/IntegrationForm.js +1 -1
- package/dist/cjs/components/ShareForm.js +6 -4
- package/dist/cjs/components/analytics/analytics.js +1 -1
- package/dist/es2019/components/CopyLinkButton.js +1 -1
- package/dist/es2019/components/IntegrationForm.js +1 -1
- package/dist/es2019/components/ShareForm.js +6 -4
- package/dist/es2019/components/analytics/analytics.js +1 -1
- package/dist/esm/components/CopyLinkButton.js +1 -1
- package/dist/esm/components/IntegrationForm.js +1 -1
- package/dist/esm/components/ShareForm.js +6 -4
- package/dist/esm/components/analytics/analytics.js +1 -1
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -30,7 +30,7 @@ var Z_INDEX = _constants.layers.modal();
|
|
|
30
30
|
var AUTO_DISMISS_SECONDS = 8;
|
|
31
31
|
var AUTO_DISMISS_MS = exports.AUTO_DISMISS_MS = AUTO_DISMISS_SECONDS * 1000;
|
|
32
32
|
|
|
33
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
33
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
34
34
|
var messageContainerStyle = exports.messageContainerStyle = (0, _react2.css)({
|
|
35
35
|
display: 'flex',
|
|
36
36
|
alignItems: 'center',
|
|
@@ -12,7 +12,7 @@ var _typography = require("@atlaskit/theme/typography");
|
|
|
12
12
|
var _templateObject;
|
|
13
13
|
/** @jsx jsx */
|
|
14
14
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
15
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/design-system/no-css-tagged-template-expression -- Ignored via go/DSP-18766
|
|
16
16
|
var formWrapperStyle = exports.formWrapperStyle = (0, _react2.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t[class^='FormHeader__FormHeaderWrapper'] {\n\t\th1:first-child {\n\t\t\t", "\n\n\t\t\t> span {\n\t\t\t\t/* jira has a class override font settings on h1 > span in gh-custom-field-pickers.css */\n\t\t\t\tfont-size: inherit !important;\n\t\t\t\tline-height: inherit !important;\n\t\t\t\tletter-spacing: inherit !important;\n\t\t\t}\n\t\t}\n\t}\n\n\t[class^='FormSection__FormSectionWrapper'] {\n\t\tmargin-top: ", ";\n\t}\n\n\t[class^='FormFooter__FormFooterWrapper'] {\n\t\tjustify-content: space-between;\n\t\tmargin-top: ", ";\n\t\tmargin-bottom: ", ";\n\t}\n\n\t[class^='Field__FieldWrapper']:not(:first-child) {\n\t\tmargin-top: ", ";\n\t}\n"])), (0, _typography.h500)(), "var(--ds-space-0, 0px)", "var(--ds-space-150, 12px)", "var(--ds-space-300, 24px)", "var(--ds-space-150, 12px)");
|
|
17
17
|
var IntegrationForm = exports.IntegrationForm = function IntegrationForm(_ref) {
|
|
18
18
|
var Content = _ref.Content,
|
|
@@ -50,14 +50,15 @@ var submitButtonWrapperStyles = (0, _react2.css)({
|
|
|
50
50
|
var centerAlignedIconWrapperStyles = (0, _react2.css)({
|
|
51
51
|
display: 'flex',
|
|
52
52
|
alignSelf: 'center',
|
|
53
|
-
|
|
53
|
+
paddingBlock: "var(--ds-space-0, 0px)",
|
|
54
|
+
paddingInline: "var(--ds-space-150, 12px)",
|
|
54
55
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
55
56
|
'> div': {
|
|
56
57
|
lineHeight: 1
|
|
57
58
|
}
|
|
58
59
|
});
|
|
59
60
|
|
|
60
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
61
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
61
62
|
var formWrapperStyles = exports.formWrapperStyles = (0, _react2.css)({
|
|
62
63
|
marginTop: "var(--ds-space-100, 8px)",
|
|
63
64
|
width: '100%',
|
|
@@ -67,7 +68,7 @@ var formWrapperStyles = exports.formWrapperStyles = (0, _react2.css)({
|
|
|
67
68
|
}
|
|
68
69
|
});
|
|
69
70
|
|
|
70
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
71
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
71
72
|
var formFooterStyles = exports.formFooterStyles = (0, _react2.css)({
|
|
72
73
|
display: 'flex',
|
|
73
74
|
justifyContent: 'flex-start'
|
|
@@ -94,7 +95,8 @@ var menuGroupContainerStyles = (0, _primitives.xcss)({
|
|
|
94
95
|
backgroundColor: 'elevation.surface.overlay',
|
|
95
96
|
alignItems: 'flex-start',
|
|
96
97
|
width: '150px',
|
|
97
|
-
|
|
98
|
+
marginBlock: 'space.negative.100',
|
|
99
|
+
marginInline: 'space.negative.300'
|
|
98
100
|
});
|
|
99
101
|
var integrationTabText = function integrationTabText(integrationName) {
|
|
100
102
|
return (0, _react2.jsx)(_reactIntlNext.FormattedMessage, (0, _extends2.default)({}, _i18n.messages.shareInIntegrationButtonText, {
|
|
@@ -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.18.
|
|
16
|
+
packageVersion: "4.18.9"
|
|
17
17
|
}, attributes);
|
|
18
18
|
};
|
|
19
19
|
var createEvent = function createEvent(eventType, source, action, actionSubject, actionSubjectId) {
|
|
@@ -18,7 +18,7 @@ const Z_INDEX = layers.modal();
|
|
|
18
18
|
const AUTO_DISMISS_SECONDS = 8;
|
|
19
19
|
export const AUTO_DISMISS_MS = AUTO_DISMISS_SECONDS * 1000;
|
|
20
20
|
|
|
21
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
21
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
22
22
|
export const messageContainerStyle = css({
|
|
23
23
|
display: 'flex',
|
|
24
24
|
alignItems: 'center',
|
|
@@ -4,7 +4,7 @@ import React from 'react';
|
|
|
4
4
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
5
5
|
import { css, jsx } from '@emotion/react';
|
|
6
6
|
import { h500 } from '@atlaskit/theme/typography';
|
|
7
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/design-system/no-css-tagged-template-expression -- Ignored via go/DSP-18766
|
|
8
8
|
export const formWrapperStyle = css`
|
|
9
9
|
[class^='FormHeader__FormHeaderWrapper'] {
|
|
10
10
|
h1:first-child {
|
|
@@ -33,14 +33,15 @@ const submitButtonWrapperStyles = css({
|
|
|
33
33
|
const centerAlignedIconWrapperStyles = css({
|
|
34
34
|
display: 'flex',
|
|
35
35
|
alignSelf: 'center',
|
|
36
|
-
|
|
36
|
+
paddingBlock: "var(--ds-space-0, 0px)",
|
|
37
|
+
paddingInline: "var(--ds-space-150, 12px)",
|
|
37
38
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
38
39
|
'> div': {
|
|
39
40
|
lineHeight: 1
|
|
40
41
|
}
|
|
41
42
|
});
|
|
42
43
|
|
|
43
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
44
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
44
45
|
export const formWrapperStyles = css({
|
|
45
46
|
marginTop: "var(--ds-space-100, 8px)",
|
|
46
47
|
width: '100%',
|
|
@@ -50,7 +51,7 @@ export const formWrapperStyles = css({
|
|
|
50
51
|
}
|
|
51
52
|
});
|
|
52
53
|
|
|
53
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
54
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
54
55
|
export const formFooterStyles = css({
|
|
55
56
|
display: 'flex',
|
|
56
57
|
justifyContent: 'flex-start'
|
|
@@ -77,7 +78,8 @@ const menuGroupContainerStyles = xcss({
|
|
|
77
78
|
backgroundColor: 'elevation.surface.overlay',
|
|
78
79
|
alignItems: 'flex-start',
|
|
79
80
|
width: '150px',
|
|
80
|
-
|
|
81
|
+
marginBlock: 'space.negative.100',
|
|
82
|
+
marginInline: 'space.negative.300'
|
|
81
83
|
});
|
|
82
84
|
const integrationTabText = integrationName => jsx(FormattedMessage, _extends({}, messages.shareInIntegrationButtonText, {
|
|
83
85
|
values: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isEmail, isExternalUser, isTeam, isUser } from '@atlaskit/smart-user-picker';
|
|
2
2
|
const buildAttributes = (attributes = {}) => ({
|
|
3
3
|
packageName: "@atlaskit/share",
|
|
4
|
-
packageVersion: "4.18.
|
|
4
|
+
packageVersion: "4.18.9",
|
|
5
5
|
...attributes
|
|
6
6
|
});
|
|
7
7
|
const createEvent = (eventType, source, action, actionSubject, actionSubjectId, attributes = {}) => ({
|
|
@@ -26,7 +26,7 @@ var Z_INDEX = layers.modal();
|
|
|
26
26
|
var AUTO_DISMISS_SECONDS = 8;
|
|
27
27
|
export var AUTO_DISMISS_MS = AUTO_DISMISS_SECONDS * 1000;
|
|
28
28
|
|
|
29
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
29
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
30
30
|
export var messageContainerStyle = css({
|
|
31
31
|
display: 'flex',
|
|
32
32
|
alignItems: 'center',
|
|
@@ -6,7 +6,7 @@ import React from 'react';
|
|
|
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 { h500 } from '@atlaskit/theme/typography';
|
|
9
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/
|
|
9
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/design-system/no-css-tagged-template-expression -- Ignored via go/DSP-18766
|
|
10
10
|
export var formWrapperStyle = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t[class^='FormHeader__FormHeaderWrapper'] {\n\t\th1:first-child {\n\t\t\t", "\n\n\t\t\t> span {\n\t\t\t\t/* jira has a class override font settings on h1 > span in gh-custom-field-pickers.css */\n\t\t\t\tfont-size: inherit !important;\n\t\t\t\tline-height: inherit !important;\n\t\t\t\tletter-spacing: inherit !important;\n\t\t\t}\n\t\t}\n\t}\n\n\t[class^='FormSection__FormSectionWrapper'] {\n\t\tmargin-top: ", ";\n\t}\n\n\t[class^='FormFooter__FormFooterWrapper'] {\n\t\tjustify-content: space-between;\n\t\tmargin-top: ", ";\n\t\tmargin-bottom: ", ";\n\t}\n\n\t[class^='Field__FieldWrapper']:not(:first-child) {\n\t\tmargin-top: ", ";\n\t}\n"])), h500(), "var(--ds-space-0, 0px)", "var(--ds-space-150, 12px)", "var(--ds-space-300, 24px)", "var(--ds-space-150, 12px)");
|
|
11
11
|
export var IntegrationForm = function IntegrationForm(_ref) {
|
|
12
12
|
var Content = _ref.Content,
|
|
@@ -43,14 +43,15 @@ var submitButtonWrapperStyles = css({
|
|
|
43
43
|
var centerAlignedIconWrapperStyles = css({
|
|
44
44
|
display: 'flex',
|
|
45
45
|
alignSelf: 'center',
|
|
46
|
-
|
|
46
|
+
paddingBlock: "var(--ds-space-0, 0px)",
|
|
47
|
+
paddingInline: "var(--ds-space-150, 12px)",
|
|
47
48
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
48
49
|
'> div': {
|
|
49
50
|
lineHeight: 1
|
|
50
51
|
}
|
|
51
52
|
});
|
|
52
53
|
|
|
53
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
54
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
54
55
|
export var formWrapperStyles = css({
|
|
55
56
|
marginTop: "var(--ds-space-100, 8px)",
|
|
56
57
|
width: '100%',
|
|
@@ -60,7 +61,7 @@ export var formWrapperStyles = css({
|
|
|
60
61
|
}
|
|
61
62
|
});
|
|
62
63
|
|
|
63
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
64
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
64
65
|
export var formFooterStyles = css({
|
|
65
66
|
display: 'flex',
|
|
66
67
|
justifyContent: 'flex-start'
|
|
@@ -87,7 +88,8 @@ var menuGroupContainerStyles = xcss({
|
|
|
87
88
|
backgroundColor: 'elevation.surface.overlay',
|
|
88
89
|
alignItems: 'flex-start',
|
|
89
90
|
width: '150px',
|
|
90
|
-
|
|
91
|
+
marginBlock: 'space.negative.100',
|
|
92
|
+
marginInline: 'space.negative.300'
|
|
91
93
|
});
|
|
92
94
|
var integrationTabText = function integrationTabText(integrationName) {
|
|
93
95
|
return jsx(FormattedMessage, _extends({}, messages.shareInIntegrationButtonText, {
|
|
@@ -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.18.
|
|
9
|
+
packageVersion: "4.18.9"
|
|
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.18.
|
|
3
|
+
"version": "4.18.9",
|
|
4
4
|
"description": "Fabric Share Element",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -42,16 +42,16 @@
|
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@atlaskit/analytics-next": "^9.3.0",
|
|
45
|
-
"@atlaskit/button": "^18.
|
|
46
|
-
"@atlaskit/dropdown-menu": "^12.
|
|
45
|
+
"@atlaskit/button": "^18.3.0",
|
|
46
|
+
"@atlaskit/dropdown-menu": "^12.14.0",
|
|
47
47
|
"@atlaskit/form": "^10.4.0",
|
|
48
|
-
"@atlaskit/icon": "^22.
|
|
49
|
-
"@atlaskit/menu": "^2.
|
|
50
|
-
"@atlaskit/platform-feature-flags": "^0.
|
|
48
|
+
"@atlaskit/icon": "^22.6.0",
|
|
49
|
+
"@atlaskit/menu": "^2.7.0",
|
|
50
|
+
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
51
51
|
"@atlaskit/popper": "^6.1.0",
|
|
52
|
-
"@atlaskit/popup": "^1.
|
|
52
|
+
"@atlaskit/popup": "^1.20.0",
|
|
53
53
|
"@atlaskit/portal": "^4.6.0",
|
|
54
|
-
"@atlaskit/primitives": "^
|
|
54
|
+
"@atlaskit/primitives": "^11.0.0",
|
|
55
55
|
"@atlaskit/smart-user-picker": "^6.9.0",
|
|
56
56
|
"@atlaskit/spinner": "^16.2.0",
|
|
57
57
|
"@atlaskit/tabs": "^16.2.0",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"@atlaskit/tokens": "^1.53.0",
|
|
61
61
|
"@atlaskit/tooltip": "^18.5.0",
|
|
62
62
|
"@atlaskit/ufo": "^0.2.0",
|
|
63
|
-
"@atlaskit/user-picker": "^10.
|
|
63
|
+
"@atlaskit/user-picker": "^10.22.0",
|
|
64
64
|
"@atlaskit/util-service-support": "^6.2.0",
|
|
65
65
|
"@babel/runtime": "^7.0.0",
|
|
66
66
|
"@emotion/react": "^11.7.1",
|
|
@@ -75,8 +75,8 @@
|
|
|
75
75
|
"react": "^16.8.0"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
|
-
"@atlaskit/editor-test-helpers": "^18.
|
|
79
|
-
"@atlaskit/flag": "^15.
|
|
78
|
+
"@atlaskit/editor-test-helpers": "^18.25.0",
|
|
79
|
+
"@atlaskit/flag": "^15.7.0",
|
|
80
80
|
"@testing-library/react": "^12.1.5",
|
|
81
81
|
"@testing-library/user-event": "^14.4.3",
|
|
82
82
|
"enzyme": "^3.10.0",
|