@atlaskit/share 3.0.3 → 3.0.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 +6 -0
- package/dist/cjs/components/ShareForm.js +1 -1
- package/dist/cjs/components/colorSlackIcon.js +67 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/components/ShareForm.js +1 -0
- package/dist/es2019/components/colorSlackIcon.js +57 -0
- package/dist/es2019/version.json +1 -1
- package/dist/esm/components/ShareForm.js +1 -1
- package/dist/esm/components/colorSlackIcon.js +57 -0
- package/dist/esm/version.json +1 -1
- package/dist/types/components/colorSlackIcon.d.ts +3 -0
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -93,7 +93,7 @@ var FormField = _styledComponents.default.div(_templateObject5 || (_templateObje
|
|
|
93
93
|
|
|
94
94
|
var IntegrationWrapper = _styledComponents.default.div(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-items: center;\n"])));
|
|
95
95
|
|
|
96
|
-
var IntegrationIconWrapper = _styledComponents.default.span(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2.default)(["\n margin-right: 5px;\n"])));
|
|
96
|
+
var IntegrationIconWrapper = _styledComponents.default.span(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2.default)(["\n margin-bottom: -2px;\n margin-right: 5px;\n"])));
|
|
97
97
|
|
|
98
98
|
var integrationTabText = function integrationTabText(integrationName) {
|
|
99
99
|
return /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, (0, _extends2.default)({}, _i18n.messages.shareInIntegrationButtonText, {
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = void 0;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
|
|
12
|
+
var SlackIcon = function SlackIcon() {
|
|
13
|
+
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
14
|
+
width: "16",
|
|
15
|
+
height: "16",
|
|
16
|
+
viewBox: "0 0 125 125"
|
|
17
|
+
}, /*#__PURE__*/_react.default.createElement("style", null, '.prefix__st0{fill:#e01e5a}.prefix__st1{fill:#36c5f0}.prefix__st2{fill:#2eb67d}.prefix__st3{fill:#ecb22e}'), /*#__PURE__*/_react.default.createElement("path", {
|
|
18
|
+
fill: "none",
|
|
19
|
+
id: "prefix__canvas_background",
|
|
20
|
+
d: "M-1-1h127v127H-1z"
|
|
21
|
+
}), /*#__PURE__*/_react.default.createElement("g", null, /*#__PURE__*/_react.default.createElement("g", {
|
|
22
|
+
id: "prefix__svg_1"
|
|
23
|
+
}, /*#__PURE__*/_react.default.createElement("g", {
|
|
24
|
+
id: "prefix__svg_2"
|
|
25
|
+
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
26
|
+
id: "prefix__svg_3",
|
|
27
|
+
d: "M27.4 79.2c0 7.1-5.8 12.9-12.9 12.9-7.1 0-12.9-5.8-12.9-12.9 0-7.1 5.8-12.9 12.9-12.9h12.9v12.9z",
|
|
28
|
+
className: "prefix__st0"
|
|
29
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
30
|
+
id: "prefix__svg_4",
|
|
31
|
+
d: "M33.9 79.2c0-7.1 5.8-12.9 12.9-12.9s12.9 5.8 12.9 12.9v32.3c0 7.1-5.8 12.9-12.9 12.9s-12.9-5.8-12.9-12.9V79.2z",
|
|
32
|
+
className: "prefix__st0"
|
|
33
|
+
})), /*#__PURE__*/_react.default.createElement("g", {
|
|
34
|
+
id: "prefix__svg_5"
|
|
35
|
+
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
36
|
+
id: "prefix__svg_6",
|
|
37
|
+
d: "M46.8 27.4c-7.1 0-12.9-5.8-12.9-12.9 0-7.1 5.8-12.9 12.9-12.9s12.9 5.8 12.9 12.9v12.9H46.8z",
|
|
38
|
+
className: "prefix__st1"
|
|
39
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
40
|
+
id: "prefix__svg_7",
|
|
41
|
+
d: "M46.8 33.9c7.1 0 12.9 5.8 12.9 12.9s-5.8 12.9-12.9 12.9H14.5c-7.1 0-12.9-5.8-12.9-12.9s5.8-12.9 12.9-12.9h32.3z",
|
|
42
|
+
className: "prefix__st1"
|
|
43
|
+
})), /*#__PURE__*/_react.default.createElement("g", {
|
|
44
|
+
id: "prefix__svg_8"
|
|
45
|
+
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
46
|
+
id: "prefix__svg_9",
|
|
47
|
+
d: "M98.6 46.8c0-7.1 5.8-12.9 12.9-12.9 7.1 0 12.9 5.8 12.9 12.9s-5.8 12.9-12.9 12.9H98.6V46.8z",
|
|
48
|
+
className: "prefix__st2"
|
|
49
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
50
|
+
id: "prefix__svg_10",
|
|
51
|
+
d: "M92.1 46.8c0 7.1-5.8 12.9-12.9 12.9-7.1 0-12.9-5.8-12.9-12.9V14.5c0-7.1 5.8-12.9 12.9-12.9 7.1 0 12.9 5.8 12.9 12.9v32.3z",
|
|
52
|
+
className: "prefix__st2"
|
|
53
|
+
})), /*#__PURE__*/_react.default.createElement("g", {
|
|
54
|
+
id: "prefix__svg_11"
|
|
55
|
+
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
56
|
+
id: "prefix__svg_12",
|
|
57
|
+
d: "M79.2 98.6c7.1 0 12.9 5.8 12.9 12.9 0 7.1-5.8 12.9-12.9 12.9-7.1 0-12.9-5.8-12.9-12.9V98.6h12.9z",
|
|
58
|
+
className: "prefix__st3"
|
|
59
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
60
|
+
id: "prefix__svg_13",
|
|
61
|
+
d: "M79.2 92.1c-7.1 0-12.9-5.8-12.9-12.9 0-7.1 5.8-12.9 12.9-12.9h32.3c7.1 0 12.9 5.8 12.9 12.9 0 7.1-5.8 12.9-12.9 12.9H79.2z",
|
|
62
|
+
className: "prefix__st3"
|
|
63
|
+
})))));
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
var _default = SlackIcon;
|
|
67
|
+
exports.default = _default;
|
package/dist/cjs/version.json
CHANGED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
const SlackIcon = () => {
|
|
4
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
5
|
+
width: "16",
|
|
6
|
+
height: "16",
|
|
7
|
+
viewBox: "0 0 125 125"
|
|
8
|
+
}, /*#__PURE__*/React.createElement("style", null, '.prefix__st0{fill:#e01e5a}.prefix__st1{fill:#36c5f0}.prefix__st2{fill:#2eb67d}.prefix__st3{fill:#ecb22e}'), /*#__PURE__*/React.createElement("path", {
|
|
9
|
+
fill: "none",
|
|
10
|
+
id: "prefix__canvas_background",
|
|
11
|
+
d: "M-1-1h127v127H-1z"
|
|
12
|
+
}), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("g", {
|
|
13
|
+
id: "prefix__svg_1"
|
|
14
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
15
|
+
id: "prefix__svg_2"
|
|
16
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
17
|
+
id: "prefix__svg_3",
|
|
18
|
+
d: "M27.4 79.2c0 7.1-5.8 12.9-12.9 12.9-7.1 0-12.9-5.8-12.9-12.9 0-7.1 5.8-12.9 12.9-12.9h12.9v12.9z",
|
|
19
|
+
className: "prefix__st0"
|
|
20
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
21
|
+
id: "prefix__svg_4",
|
|
22
|
+
d: "M33.9 79.2c0-7.1 5.8-12.9 12.9-12.9s12.9 5.8 12.9 12.9v32.3c0 7.1-5.8 12.9-12.9 12.9s-12.9-5.8-12.9-12.9V79.2z",
|
|
23
|
+
className: "prefix__st0"
|
|
24
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
25
|
+
id: "prefix__svg_5"
|
|
26
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
27
|
+
id: "prefix__svg_6",
|
|
28
|
+
d: "M46.8 27.4c-7.1 0-12.9-5.8-12.9-12.9 0-7.1 5.8-12.9 12.9-12.9s12.9 5.8 12.9 12.9v12.9H46.8z",
|
|
29
|
+
className: "prefix__st1"
|
|
30
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
31
|
+
id: "prefix__svg_7",
|
|
32
|
+
d: "M46.8 33.9c7.1 0 12.9 5.8 12.9 12.9s-5.8 12.9-12.9 12.9H14.5c-7.1 0-12.9-5.8-12.9-12.9s5.8-12.9 12.9-12.9h32.3z",
|
|
33
|
+
className: "prefix__st1"
|
|
34
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
35
|
+
id: "prefix__svg_8"
|
|
36
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
37
|
+
id: "prefix__svg_9",
|
|
38
|
+
d: "M98.6 46.8c0-7.1 5.8-12.9 12.9-12.9 7.1 0 12.9 5.8 12.9 12.9s-5.8 12.9-12.9 12.9H98.6V46.8z",
|
|
39
|
+
className: "prefix__st2"
|
|
40
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
41
|
+
id: "prefix__svg_10",
|
|
42
|
+
d: "M92.1 46.8c0 7.1-5.8 12.9-12.9 12.9-7.1 0-12.9-5.8-12.9-12.9V14.5c0-7.1 5.8-12.9 12.9-12.9 7.1 0 12.9 5.8 12.9 12.9v32.3z",
|
|
43
|
+
className: "prefix__st2"
|
|
44
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
45
|
+
id: "prefix__svg_11"
|
|
46
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
47
|
+
id: "prefix__svg_12",
|
|
48
|
+
d: "M79.2 98.6c7.1 0 12.9 5.8 12.9 12.9 0 7.1-5.8 12.9-12.9 12.9-7.1 0-12.9-5.8-12.9-12.9V98.6h12.9z",
|
|
49
|
+
className: "prefix__st3"
|
|
50
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
51
|
+
id: "prefix__svg_13",
|
|
52
|
+
d: "M79.2 92.1c-7.1 0-12.9-5.8-12.9-12.9 0-7.1 5.8-12.9 12.9-12.9h32.3c7.1 0 12.9 5.8 12.9 12.9 0 7.1-5.8 12.9-12.9 12.9H79.2z",
|
|
53
|
+
className: "prefix__st3"
|
|
54
|
+
})))));
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
export default SlackIcon;
|
package/dist/es2019/version.json
CHANGED
|
@@ -43,7 +43,7 @@ export var FormWrapper = styled.div(_templateObject3 || (_templateObject3 = _tag
|
|
|
43
43
|
export var FormFooter = styled.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n margin-bottom: ", "px;\n display: flex;\n justify-content: flex-start;\n"])), gridSize);
|
|
44
44
|
var FormField = styled.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n margin-bottom: 12px;\n"])));
|
|
45
45
|
var IntegrationWrapper = styled.div(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n"])));
|
|
46
|
-
var IntegrationIconWrapper = styled.span(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n margin-right: 5px;\n"])));
|
|
46
|
+
var IntegrationIconWrapper = styled.span(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n margin-bottom: -2px;\n margin-right: 5px;\n"])));
|
|
47
47
|
|
|
48
48
|
var integrationTabText = function integrationTabText(integrationName) {
|
|
49
49
|
return /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.shareInIntegrationButtonText, {
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
var SlackIcon = function SlackIcon() {
|
|
4
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
5
|
+
width: "16",
|
|
6
|
+
height: "16",
|
|
7
|
+
viewBox: "0 0 125 125"
|
|
8
|
+
}, /*#__PURE__*/React.createElement("style", null, '.prefix__st0{fill:#e01e5a}.prefix__st1{fill:#36c5f0}.prefix__st2{fill:#2eb67d}.prefix__st3{fill:#ecb22e}'), /*#__PURE__*/React.createElement("path", {
|
|
9
|
+
fill: "none",
|
|
10
|
+
id: "prefix__canvas_background",
|
|
11
|
+
d: "M-1-1h127v127H-1z"
|
|
12
|
+
}), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("g", {
|
|
13
|
+
id: "prefix__svg_1"
|
|
14
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
15
|
+
id: "prefix__svg_2"
|
|
16
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
17
|
+
id: "prefix__svg_3",
|
|
18
|
+
d: "M27.4 79.2c0 7.1-5.8 12.9-12.9 12.9-7.1 0-12.9-5.8-12.9-12.9 0-7.1 5.8-12.9 12.9-12.9h12.9v12.9z",
|
|
19
|
+
className: "prefix__st0"
|
|
20
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
21
|
+
id: "prefix__svg_4",
|
|
22
|
+
d: "M33.9 79.2c0-7.1 5.8-12.9 12.9-12.9s12.9 5.8 12.9 12.9v32.3c0 7.1-5.8 12.9-12.9 12.9s-12.9-5.8-12.9-12.9V79.2z",
|
|
23
|
+
className: "prefix__st0"
|
|
24
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
25
|
+
id: "prefix__svg_5"
|
|
26
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
27
|
+
id: "prefix__svg_6",
|
|
28
|
+
d: "M46.8 27.4c-7.1 0-12.9-5.8-12.9-12.9 0-7.1 5.8-12.9 12.9-12.9s12.9 5.8 12.9 12.9v12.9H46.8z",
|
|
29
|
+
className: "prefix__st1"
|
|
30
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
31
|
+
id: "prefix__svg_7",
|
|
32
|
+
d: "M46.8 33.9c7.1 0 12.9 5.8 12.9 12.9s-5.8 12.9-12.9 12.9H14.5c-7.1 0-12.9-5.8-12.9-12.9s5.8-12.9 12.9-12.9h32.3z",
|
|
33
|
+
className: "prefix__st1"
|
|
34
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
35
|
+
id: "prefix__svg_8"
|
|
36
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
37
|
+
id: "prefix__svg_9",
|
|
38
|
+
d: "M98.6 46.8c0-7.1 5.8-12.9 12.9-12.9 7.1 0 12.9 5.8 12.9 12.9s-5.8 12.9-12.9 12.9H98.6V46.8z",
|
|
39
|
+
className: "prefix__st2"
|
|
40
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
41
|
+
id: "prefix__svg_10",
|
|
42
|
+
d: "M92.1 46.8c0 7.1-5.8 12.9-12.9 12.9-7.1 0-12.9-5.8-12.9-12.9V14.5c0-7.1 5.8-12.9 12.9-12.9 7.1 0 12.9 5.8 12.9 12.9v32.3z",
|
|
43
|
+
className: "prefix__st2"
|
|
44
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
45
|
+
id: "prefix__svg_11"
|
|
46
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
47
|
+
id: "prefix__svg_12",
|
|
48
|
+
d: "M79.2 98.6c7.1 0 12.9 5.8 12.9 12.9 0 7.1-5.8 12.9-12.9 12.9-7.1 0-12.9-5.8-12.9-12.9V98.6h12.9z",
|
|
49
|
+
className: "prefix__st3"
|
|
50
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
51
|
+
id: "prefix__svg_13",
|
|
52
|
+
d: "M79.2 92.1c-7.1 0-12.9-5.8-12.9-12.9 0-7.1 5.8-12.9 12.9-12.9h32.3c7.1 0 12.9 5.8 12.9 12.9 0 7.1-5.8 12.9-12.9 12.9H79.2z",
|
|
53
|
+
className: "prefix__st3"
|
|
54
|
+
})))));
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
export default SlackIcon;
|
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/share",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.4",
|
|
4
4
|
"description": "Fabric Share Element",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
"@atlaskit/dropdown-menu": "^11.0.0",
|
|
36
36
|
"@atlaskit/field-text-area": "^8.0.0",
|
|
37
37
|
"@atlaskit/form": "^8.4.0",
|
|
38
|
-
"@atlaskit/icon": "^21.
|
|
39
|
-
"@atlaskit/popup": "^1.
|
|
38
|
+
"@atlaskit/icon": "^21.10.0",
|
|
39
|
+
"@atlaskit/popup": "^1.3.0",
|
|
40
40
|
"@atlaskit/portal": "^4.0.0",
|
|
41
41
|
"@atlaskit/spinner": "^15.1.4",
|
|
42
42
|
"@atlaskit/tabs": "^13.2.3",
|
|
43
|
-
"@atlaskit/theme": "^12.
|
|
43
|
+
"@atlaskit/theme": "^12.1.0",
|
|
44
44
|
"@atlaskit/tooltip": "^17.5.0",
|
|
45
45
|
"@atlaskit/user-picker": "^8.3.0",
|
|
46
46
|
"@atlaskit/util-service-support": "^6.0.0",
|
|
@@ -59,11 +59,11 @@
|
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@atlaskit/docs": "^9.0.0",
|
|
61
61
|
"@atlaskit/editor-test-helpers": "^16.0.0",
|
|
62
|
-
"@atlaskit/flag": "^14.
|
|
62
|
+
"@atlaskit/flag": "^14.5.0",
|
|
63
63
|
"@atlaskit/section-message": "^6.0.0",
|
|
64
64
|
"@atlaskit/select": "^15.0.0",
|
|
65
|
-
"@atlaskit/toggle": "^12.
|
|
66
|
-
"@atlaskit/util-data-test": "^17.
|
|
65
|
+
"@atlaskit/toggle": "^12.4.0",
|
|
66
|
+
"@atlaskit/util-data-test": "^17.1.0",
|
|
67
67
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
68
68
|
"enzyme": "^3.10.0",
|
|
69
69
|
"enzyme-adapter-react-16": "^1.15.1",
|