@atlaskit/share 4.2.1 → 4.2.3
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/LazyShareForm/LazyShareForm.js +3 -1
- package/dist/cjs/components/ShareForm.js +1 -2
- package/dist/cjs/components/ShareFormWrapper/styled.js +2 -3
- package/dist/cjs/components/ShareHeader.js +1 -2
- package/dist/cjs/components/analytics/analytics.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/components/LazyShareForm/LazyShareForm.js +2 -1
- package/dist/es2019/components/ShareForm.js +1 -2
- package/dist/es2019/components/ShareFormWrapper/styled.js +2 -3
- package/dist/es2019/components/ShareHeader.js +3 -4
- package/dist/es2019/components/analytics/analytics.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/components/LazyShareForm/LazyShareForm.js +2 -1
- package/dist/esm/components/ShareForm.js +1 -2
- package/dist/esm/components/ShareFormWrapper/styled.js +2 -3
- package/dist/esm/components/ShareHeader.js +1 -2
- package/dist/esm/components/analytics/analytics.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types-ts4.5/clients/AtlassianUrlShortenerClient.d.ts +16 -0
- package/dist/types-ts4.5/clients/ShareServiceClient.d.ts +25 -0
- package/dist/types-ts4.5/clients/index.d.ts +2 -0
- package/dist/types-ts4.5/components/CommentField.d.ts +6 -0
- package/dist/types-ts4.5/components/CopyLinkButton.d.ts +37 -0
- package/dist/types-ts4.5/components/ErrorBoundary.d.ts +4 -0
- package/dist/types-ts4.5/components/IntegrationButton.d.ts +10 -0
- package/dist/types-ts4.5/components/IntegrationForm.d.ts +11 -0
- package/dist/types-ts4.5/components/LazyShareForm/LazyShareForm.d.ts +20 -0
- package/dist/types-ts4.5/components/LazyShareForm/index.d.ts +1 -0
- package/dist/types-ts4.5/components/LazyShareForm/lazy.d.ts +4 -0
- package/dist/types-ts4.5/components/MessagesIntlProvider.d.ts +9 -0
- package/dist/types-ts4.5/components/ShareButton.d.ts +13 -0
- package/dist/types-ts4.5/components/ShareDialogContainer.d.ts +57 -0
- package/dist/types-ts4.5/components/ShareDialogWithTrigger.d.ts +43 -0
- package/dist/types-ts4.5/components/ShareForm.d.ts +11 -0
- package/dist/types-ts4.5/components/ShareFormWrapper/ShareFormWrapper.d.ts +9 -0
- package/dist/types-ts4.5/components/ShareFormWrapper/index.d.ts +1 -0
- package/dist/types-ts4.5/components/ShareFormWrapper/styled.d.ts +10 -0
- package/dist/types-ts4.5/components/ShareHeader.d.ts +8 -0
- package/dist/types-ts4.5/components/SlackIcon.d.ts +3 -0
- package/dist/types-ts4.5/components/SplitButton.d.ts +19 -0
- package/dist/types-ts4.5/components/UserPickerField.d.ts +29 -0
- package/dist/types-ts4.5/components/analytics/analytics.d.ts +19 -0
- package/dist/types-ts4.5/components/analytics/ufoExperienceHelper.d.ts +2 -0
- package/dist/types-ts4.5/components/analytics/ufoExperiences.d.ts +3 -0
- package/dist/types-ts4.5/components/colorSlackIcon.d.ts +3 -0
- package/dist/types-ts4.5/components/localStorageUtils.d.ts +5 -0
- package/dist/types-ts4.5/components/monochromeSlackIcon.d.ts +3 -0
- package/dist/types-ts4.5/components/styles.d.ts +5 -0
- package/dist/types-ts4.5/components/utils.d.ts +19 -0
- package/dist/types-ts4.5/i18n/cs.d.ts +46 -0
- package/dist/types-ts4.5/i18n/da.d.ts +46 -0
- package/dist/types-ts4.5/i18n/de.d.ts +46 -0
- package/dist/types-ts4.5/i18n/en.d.ts +46 -0
- package/dist/types-ts4.5/i18n/en_GB.d.ts +46 -0
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +43 -0
- package/dist/types-ts4.5/i18n/es.d.ts +46 -0
- package/dist/types-ts4.5/i18n/et.d.ts +30 -0
- package/dist/types-ts4.5/i18n/fi.d.ts +46 -0
- package/dist/types-ts4.5/i18n/fr.d.ts +46 -0
- package/dist/types-ts4.5/i18n/hu.d.ts +46 -0
- package/dist/types-ts4.5/i18n/index.d.ts +36 -0
- package/dist/types-ts4.5/i18n/is.d.ts +33 -0
- package/dist/types-ts4.5/i18n/it.d.ts +46 -0
- package/dist/types-ts4.5/i18n/ja.d.ts +46 -0
- package/dist/types-ts4.5/i18n/ko.d.ts +46 -0
- package/dist/types-ts4.5/i18n/languages.d.ts +33 -0
- package/dist/types-ts4.5/i18n/nb.d.ts +46 -0
- package/dist/types-ts4.5/i18n/nl.d.ts +46 -0
- package/dist/types-ts4.5/i18n/pl.d.ts +46 -0
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +46 -0
- package/dist/types-ts4.5/i18n/pt_PT.d.ts +30 -0
- package/dist/types-ts4.5/i18n/ro.d.ts +33 -0
- package/dist/types-ts4.5/i18n/ru.d.ts +46 -0
- package/dist/types-ts4.5/i18n/sk.d.ts +30 -0
- package/dist/types-ts4.5/i18n/sv.d.ts +46 -0
- package/dist/types-ts4.5/i18n/th.d.ts +46 -0
- package/dist/types-ts4.5/i18n/tr.d.ts +46 -0
- package/dist/types-ts4.5/i18n/uk.d.ts +46 -0
- package/dist/types-ts4.5/i18n/vi.d.ts +46 -0
- package/dist/types-ts4.5/i18n/zh.d.ts +46 -0
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +46 -0
- package/dist/types-ts4.5/i18n.d.ts +187 -0
- package/dist/types-ts4.5/index.d.ts +4 -0
- package/dist/types-ts4.5/types/Flag.d.ts +13 -0
- package/dist/types-ts4.5/types/OriginTracing.d.ts +17 -0
- package/dist/types-ts4.5/types/Products.d.ts +3 -0
- package/dist/types-ts4.5/types/ShareButton.d.ts +2 -0
- package/dist/types-ts4.5/types/ShareContentState.d.ts +14 -0
- package/dist/types-ts4.5/types/ShareDialogContainer.d.ts +147 -0
- package/dist/types-ts4.5/types/ShareDialogWithTrigger.d.ts +45 -0
- package/dist/types-ts4.5/types/ShareEntities.d.ts +30 -0
- package/dist/types-ts4.5/types/ShareForm.d.ts +31 -0
- package/dist/types-ts4.5/types/User.d.ts +9 -0
- package/dist/types-ts4.5/types/form.d.ts +5 -0
- package/dist/types-ts4.5/types/index.d.ts +17 -0
- package/dist/types-ts4.5/util/i18n-util.d.ts +17 -0
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/share
|
|
2
2
|
|
|
3
|
+
## 4.2.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`d6d8c718bd8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6d8c718bd8) - Internal change to enforce token usage for spacing properties. There is no expected visual or behaviour change.
|
|
8
|
+
|
|
9
|
+
## 4.2.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
14
|
+
|
|
3
15
|
## 4.2.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -19,6 +19,8 @@ var _utils = require("../utils");
|
|
|
19
19
|
/** @jsx jsx */
|
|
20
20
|
/** @jsxFrag */
|
|
21
21
|
|
|
22
|
+
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
23
|
+
|
|
22
24
|
/**
|
|
23
25
|
* A Share form content which is lazy-loaded.
|
|
24
26
|
* Make sure this component is not exported inside main entry points `src/index.ts`
|
|
@@ -64,7 +66,7 @@ function LazyShareForm(props) {
|
|
|
64
66
|
}
|
|
65
67
|
}, bottomMessage) : null, customFooter && selectedIntegration === null && (0, _react2.jsx)("div", {
|
|
66
68
|
css: {
|
|
67
|
-
margin: "0 ".concat(-
|
|
69
|
+
margin: "0 calc(-1 * ".concat("var(--ds-space-300, 24px)", ") calc(-1 * ", "var(--ds-space-200, 16px)", ") calc(-1 * ", "var(--ds-space-300, 24px)", ")")
|
|
68
70
|
}
|
|
69
71
|
}, customFooter));
|
|
70
72
|
_react.default.useEffect(function () {
|
|
@@ -24,7 +24,6 @@ var _form = _interopRequireDefault(require("@atlaskit/form"));
|
|
|
24
24
|
var _error = _interopRequireDefault(require("@atlaskit/icon/glyph/error"));
|
|
25
25
|
var _tabs = _interopRequireWildcard(require("@atlaskit/tabs"));
|
|
26
26
|
var _colors = require("@atlaskit/theme/colors");
|
|
27
|
-
var _constants = require("@atlaskit/theme/constants");
|
|
28
27
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
29
28
|
var _i18n = require("../i18n");
|
|
30
29
|
var _types = require("../types");
|
|
@@ -44,7 +43,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
44
43
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
45
44
|
var submitButtonWrapperStyles = (0, _react2.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n margin-left: auto;\n"])));
|
|
46
45
|
var centerAlignedIconWrapperStyles = (0, _react2.css)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-self: center;\n padding: 0 10px;\n\n > div {\n line-height: 1;\n }\n"])));
|
|
47
|
-
var formWrapperStyles = (0, _react2.css)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n margin-top: ", "
|
|
46
|
+
var formWrapperStyles = (0, _react2.css)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n margin-top: ", ";\n width: 100%;\n\n /* jira has a class override font settings on h1 in gh-custom-field-pickers.css */\n #ghx-modes-tools #ghx-share & h1:first-child {\n margin-top: 0;\n }\n"])), "var(--ds-space-100, 8px)");
|
|
48
47
|
exports.formWrapperStyles = formWrapperStyles;
|
|
49
48
|
var formFooterStyles = (0, _react2.css)(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n justify-content: flex-start;\n"])));
|
|
50
49
|
exports.formFooterStyles = formFooterStyles;
|
|
@@ -7,14 +7,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.InlineDialogFormWrapper = exports.InlineDialogContentWrapper = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _react2 = require("@emotion/react");
|
|
10
|
-
var _constants = require("@atlaskit/theme/constants");
|
|
11
10
|
/** @jsx jsx */
|
|
12
11
|
|
|
13
12
|
var InlineDialogFormWrapper = function InlineDialogFormWrapper(_ref) {
|
|
14
13
|
var children = _ref.children;
|
|
15
14
|
return (0, _react2.jsx)("div", {
|
|
16
15
|
css: {
|
|
17
|
-
width: "".concat(
|
|
16
|
+
width: "".concat(8 * 44, "px")
|
|
18
17
|
}
|
|
19
18
|
}, children);
|
|
20
19
|
};
|
|
@@ -30,7 +29,7 @@ var InlineDialogContentWrapper = function InlineDialogContentWrapper(_ref2) {
|
|
|
30
29
|
var children = _ref2.children;
|
|
31
30
|
return (0, _react2.jsx)("div", {
|
|
32
31
|
css: {
|
|
33
|
-
padding: "
|
|
32
|
+
padding: "var(--ds-space-200, 16px)".concat(" ", "var(--ds-space-300, 24px)")
|
|
34
33
|
}
|
|
35
34
|
}, children);
|
|
36
35
|
};
|
|
@@ -9,14 +9,13 @@ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/hel
|
|
|
9
9
|
var _react = _interopRequireDefault(require("react"));
|
|
10
10
|
var _react2 = require("@emotion/react");
|
|
11
11
|
var _reactIntlNext = require("react-intl-next");
|
|
12
|
-
var _constants = require("@atlaskit/theme/constants");
|
|
13
12
|
var _typography = require("@atlaskit/theme/typography");
|
|
14
13
|
var _i18n = require("../i18n");
|
|
15
14
|
var _templateObject, _templateObject2;
|
|
16
15
|
/** @jsx jsx */
|
|
17
16
|
var headerWrapperStyles = (0, _react2.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n justify-content: space-between;\n"])));
|
|
18
17
|
var getFormHeaderTitleStyles = function getFormHeaderTitleStyles(theme) {
|
|
19
|
-
return (0, _react2.css)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n ", "\n line-height: ", "
|
|
18
|
+
return (0, _react2.css)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n ", "\n line-height: ", ";\n margin-right: ", ";\n margin-top: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n\n > span {\n font-size: initial;\n }\n"])), (0, _typography.h500)(theme), "var(--ds-font-lineHeight-500, 32px)", "var(--ds-space-400, 32px)", "var(--ds-space-400, 32px)");
|
|
20
19
|
};
|
|
21
20
|
exports.getFormHeaderTitleStyles = getFormHeaderTitleStyles;
|
|
22
21
|
var 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.2.
|
|
16
|
+
packageVersion: "4.2.3"
|
|
17
17
|
}, attributes);
|
|
18
18
|
};
|
|
19
19
|
var createEvent = function createEvent(eventType, source, action, actionSubject, actionSubjectId) {
|
package/dist/cjs/version.json
CHANGED
|
@@ -4,6 +4,7 @@ import React from 'react';
|
|
|
4
4
|
import { jsx } from '@emotion/react';
|
|
5
5
|
import { FormattedMessage } from 'react-intl-next';
|
|
6
6
|
import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
7
|
+
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
7
8
|
import { gridSize } from '@atlaskit/theme/constants';
|
|
8
9
|
import { messages } from '../../i18n';
|
|
9
10
|
import { INTEGRATION_MODAL_SOURCE } from '../analytics/analytics';
|
|
@@ -61,7 +62,7 @@ function LazyShareForm(props) {
|
|
|
61
62
|
}
|
|
62
63
|
}, bottomMessage) : null, customFooter && selectedIntegration === null && jsx("div", {
|
|
63
64
|
css: {
|
|
64
|
-
margin: `0 ${-
|
|
65
|
+
margin: `0 calc(-1 * ${"var(--ds-space-300, 24px)"}) calc(-1 * ${"var(--ds-space-200, 16px)"}) calc(-1 * ${"var(--ds-space-300, 24px)"})`
|
|
65
66
|
}
|
|
66
67
|
}, customFooter));
|
|
67
68
|
React.useEffect(() => {
|
|
@@ -10,7 +10,6 @@ import Form from '@atlaskit/form';
|
|
|
10
10
|
import ErrorIcon from '@atlaskit/icon/glyph/error';
|
|
11
11
|
import Tabs, { Tab, TabList, TabPanel } from '@atlaskit/tabs';
|
|
12
12
|
import { R400 } from '@atlaskit/theme/colors';
|
|
13
|
-
import { gridSize } from '@atlaskit/theme/constants';
|
|
14
13
|
import Tooltip from '@atlaskit/tooltip';
|
|
15
14
|
import { messages } from '../i18n';
|
|
16
15
|
import { TabType } from '../types';
|
|
@@ -34,7 +33,7 @@ const centerAlignedIconWrapperStyles = css`
|
|
|
34
33
|
}
|
|
35
34
|
`;
|
|
36
35
|
export const formWrapperStyles = css`
|
|
37
|
-
margin-top: ${
|
|
36
|
+
margin-top: ${"var(--ds-space-100, 8px)"};
|
|
38
37
|
width: 100%;
|
|
39
38
|
|
|
40
39
|
/* jira has a class override font settings on h1 in gh-custom-field-pickers.css */
|
|
@@ -2,12 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { jsx } from '@emotion/react';
|
|
5
|
-
import { gridSize } from '@atlaskit/theme/constants';
|
|
6
5
|
export const InlineDialogFormWrapper = ({
|
|
7
6
|
children
|
|
8
7
|
}) => jsx("div", {
|
|
9
8
|
css: {
|
|
10
|
-
width: `${
|
|
9
|
+
width: `${8 * 44}px`
|
|
11
10
|
}
|
|
12
11
|
}, children);
|
|
13
12
|
|
|
@@ -21,6 +20,6 @@ export const InlineDialogContentWrapper = ({
|
|
|
21
20
|
children
|
|
22
21
|
}) => jsx("div", {
|
|
23
22
|
css: {
|
|
24
|
-
padding: `${
|
|
23
|
+
padding: `${"var(--ds-space-200, 16px)"} ${"var(--ds-space-300, 24px)"}`
|
|
25
24
|
}
|
|
26
25
|
}, children);
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { css, jsx, useTheme } from '@emotion/react';
|
|
4
4
|
import { FormattedMessage } from 'react-intl-next';
|
|
5
|
-
import { gridSize } from '@atlaskit/theme/constants';
|
|
6
5
|
import { h500 } from '@atlaskit/theme/typography';
|
|
7
6
|
import { messages } from '../i18n';
|
|
8
7
|
const headerWrapperStyles = css`
|
|
@@ -11,9 +10,9 @@ const headerWrapperStyles = css`
|
|
|
11
10
|
`;
|
|
12
11
|
export const getFormHeaderTitleStyles = theme => css`
|
|
13
12
|
${h500(theme)}
|
|
14
|
-
line-height: ${
|
|
15
|
-
margin-right: ${
|
|
16
|
-
margin-top: ${
|
|
13
|
+
line-height: ${"var(--ds-font-lineHeight-500, 32px)"};
|
|
14
|
+
margin-right: ${"var(--ds-space-400, 32px)"};
|
|
15
|
+
margin-top: ${"var(--ds-space-400, 32px)"};
|
|
17
16
|
overflow: hidden;
|
|
18
17
|
text-overflow: ellipsis;
|
|
19
18
|
white-space: nowrap;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isEmail, isTeam, isUser } from '@atlaskit/smart-user-picker';
|
|
2
2
|
const buildAttributes = (attributes = {}) => ({
|
|
3
3
|
packageName: "@atlaskit/share",
|
|
4
|
-
packageVersion: "4.2.
|
|
4
|
+
packageVersion: "4.2.3",
|
|
5
5
|
...attributes
|
|
6
6
|
});
|
|
7
7
|
const createEvent = (eventType, source, action, actionSubject, actionSubjectId, attributes = {}) => ({
|
package/dist/es2019/version.json
CHANGED
|
@@ -4,6 +4,7 @@ import React from 'react';
|
|
|
4
4
|
import { jsx } from '@emotion/react';
|
|
5
5
|
import { FormattedMessage } from 'react-intl-next';
|
|
6
6
|
import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
7
|
+
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
7
8
|
import { gridSize } from '@atlaskit/theme/constants';
|
|
8
9
|
import { messages } from '../../i18n';
|
|
9
10
|
import { INTEGRATION_MODAL_SOURCE } from '../analytics/analytics';
|
|
@@ -56,7 +57,7 @@ function LazyShareForm(props) {
|
|
|
56
57
|
}
|
|
57
58
|
}, bottomMessage) : null, customFooter && selectedIntegration === null && jsx("div", {
|
|
58
59
|
css: {
|
|
59
|
-
margin: "0 ".concat(-
|
|
60
|
+
margin: "0 calc(-1 * ".concat("var(--ds-space-300, 24px)", ") calc(-1 * ", "var(--ds-space-200, 16px)", ") calc(-1 * ", "var(--ds-space-300, 24px)", ")")
|
|
60
61
|
}
|
|
61
62
|
}, customFooter));
|
|
62
63
|
React.useEffect(function () {
|
|
@@ -22,7 +22,6 @@ import Form from '@atlaskit/form';
|
|
|
22
22
|
import ErrorIcon from '@atlaskit/icon/glyph/error';
|
|
23
23
|
import Tabs, { Tab, TabList, TabPanel } from '@atlaskit/tabs';
|
|
24
24
|
import { R400 } from '@atlaskit/theme/colors';
|
|
25
|
-
import { gridSize } from '@atlaskit/theme/constants';
|
|
26
25
|
import Tooltip from '@atlaskit/tooltip';
|
|
27
26
|
import { messages } from '../i18n';
|
|
28
27
|
import { TabType } from '../types';
|
|
@@ -34,7 +33,7 @@ import { ShareHeader } from './ShareHeader';
|
|
|
34
33
|
import { UserPickerField } from './UserPickerField';
|
|
35
34
|
var submitButtonWrapperStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n margin-left: auto;\n"])));
|
|
36
35
|
var centerAlignedIconWrapperStyles = css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n align-self: center;\n padding: 0 10px;\n\n > div {\n line-height: 1;\n }\n"])));
|
|
37
|
-
export var formWrapperStyles = css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n margin-top: ", "
|
|
36
|
+
export var formWrapperStyles = css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n margin-top: ", ";\n width: 100%;\n\n /* jira has a class override font settings on h1 in gh-custom-field-pickers.css */\n #ghx-modes-tools #ghx-share & h1:first-child {\n margin-top: 0;\n }\n"])), "var(--ds-space-100, 8px)");
|
|
38
37
|
export var formFooterStyles = css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-start;\n"])));
|
|
39
38
|
var formFieldStyles = css(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n margin-bottom: 12px;\n"])));
|
|
40
39
|
var integrationWrapperStyles = css(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n"])));
|
|
@@ -2,12 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { jsx } from '@emotion/react';
|
|
5
|
-
import { gridSize } from '@atlaskit/theme/constants';
|
|
6
5
|
export var InlineDialogFormWrapper = function InlineDialogFormWrapper(_ref) {
|
|
7
6
|
var children = _ref.children;
|
|
8
7
|
return jsx("div", {
|
|
9
8
|
css: {
|
|
10
|
-
width: "".concat(
|
|
9
|
+
width: "".concat(8 * 44, "px")
|
|
11
10
|
}
|
|
12
11
|
}, children);
|
|
13
12
|
};
|
|
@@ -22,7 +21,7 @@ export var InlineDialogContentWrapper = function InlineDialogContentWrapper(_ref
|
|
|
22
21
|
var children = _ref2.children;
|
|
23
22
|
return jsx("div", {
|
|
24
23
|
css: {
|
|
25
|
-
padding: "".concat(
|
|
24
|
+
padding: "var(--ds-space-200, 16px)".concat(" ", "var(--ds-space-300, 24px)")
|
|
26
25
|
}
|
|
27
26
|
}, children);
|
|
28
27
|
};
|
|
@@ -4,12 +4,11 @@ var _templateObject, _templateObject2;
|
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { css, jsx, useTheme } from '@emotion/react';
|
|
6
6
|
import { FormattedMessage } from 'react-intl-next';
|
|
7
|
-
import { gridSize } from '@atlaskit/theme/constants';
|
|
8
7
|
import { h500 } from '@atlaskit/theme/typography';
|
|
9
8
|
import { messages } from '../i18n';
|
|
10
9
|
var headerWrapperStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n"])));
|
|
11
10
|
export var getFormHeaderTitleStyles = function getFormHeaderTitleStyles(theme) {
|
|
12
|
-
return css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n ", "\n line-height: ", "
|
|
11
|
+
return css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n ", "\n line-height: ", ";\n margin-right: ", ";\n margin-top: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n\n > span {\n font-size: initial;\n }\n"])), h500(theme), "var(--ds-font-lineHeight-500, 32px)", "var(--ds-space-400, 32px)", "var(--ds-space-400, 32px)");
|
|
13
12
|
};
|
|
14
13
|
export var ShareHeader = function ShareHeader(_ref) {
|
|
15
14
|
var title = _ref.title;
|
|
@@ -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.2.
|
|
9
|
+
packageVersion: "4.2.3"
|
|
10
10
|
}, attributes);
|
|
11
11
|
};
|
|
12
12
|
var createEvent = function createEvent(eventType, source, action, actionSubject, actionSubjectId) {
|
package/dist/esm/version.json
CHANGED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface ShortenRequest {
|
|
2
|
+
cloudId?: string;
|
|
3
|
+
product: string;
|
|
4
|
+
type: string;
|
|
5
|
+
params: Record<string, string>;
|
|
6
|
+
originId?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface ShortenResponse {
|
|
9
|
+
shortUrl: string;
|
|
10
|
+
}
|
|
11
|
+
export interface UrlShortenerClient {
|
|
12
|
+
shorten(data: ShortenRequest): Promise<ShortenResponse>;
|
|
13
|
+
}
|
|
14
|
+
export declare class AtlassianUrlShortenerClient implements UrlShortenerClient {
|
|
15
|
+
shorten(data: ShortenRequest): Promise<ShortenResponse>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ServiceConfig } from '@atlaskit/util-service-support';
|
|
2
|
+
import { Comment, Content, MetaData, User } from '../types';
|
|
3
|
+
export interface ShareClient {
|
|
4
|
+
share(content: Content, recipients: User[], metadata: MetaData, comment?: Comment): Promise<ShareResponse>;
|
|
5
|
+
getConfig(cloudId: string): Promise<ConfigResponse>;
|
|
6
|
+
}
|
|
7
|
+
export type ShareRequest = (content: Content, recipients: User[], metadata: MetaData, comment?: Comment) => Promise<ShareResponse>;
|
|
8
|
+
export type ShareResponse = {
|
|
9
|
+
shareRequestId: string;
|
|
10
|
+
};
|
|
11
|
+
export type ConfigResponse = {
|
|
12
|
+
disableSharingToEmails?: boolean;
|
|
13
|
+
};
|
|
14
|
+
export declare const DEFAULT_SHARE_PATH = "share";
|
|
15
|
+
export declare const SHARE_CONFIG_PATH = "share/configuration";
|
|
16
|
+
export declare const DEFAULT_SHARE_SERVICE_URL = "/gateway/api";
|
|
17
|
+
export declare class ShareServiceClient implements ShareClient {
|
|
18
|
+
private serviceConfig;
|
|
19
|
+
constructor(serviceConfig?: Partial<ServiceConfig>);
|
|
20
|
+
getConfig(cloudId: string): Promise<ConfigResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* To send a POST request to the share endpoint in Share service
|
|
23
|
+
*/
|
|
24
|
+
share(content: Content, recipients: User[], metadata: MetaData, comment?: Comment): Promise<ShareResponse>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import React, { ReactElement } from 'react';
|
|
3
|
+
import { jsx } from '@emotion/react';
|
|
4
|
+
import { TriggerProps } from '@atlaskit/popup';
|
|
5
|
+
export declare const AUTO_DISMISS_MS: number;
|
|
6
|
+
export declare const messageContainerStyle: import("@emotion/react").SerializedStyles;
|
|
7
|
+
type InputProps = {
|
|
8
|
+
text: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const HiddenInput: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
11
|
+
export type Props = {
|
|
12
|
+
onLinkCopy?: (link: string) => void;
|
|
13
|
+
link: string;
|
|
14
|
+
isDisabled?: boolean;
|
|
15
|
+
copyTooltipText?: string;
|
|
16
|
+
children?: string | ReactElement;
|
|
17
|
+
copyLinkButtonText: string;
|
|
18
|
+
copiedToClipboardText: string;
|
|
19
|
+
iconBefore?: ReactElement;
|
|
20
|
+
};
|
|
21
|
+
export type State = {
|
|
22
|
+
shouldShowCopiedMessage: boolean;
|
|
23
|
+
};
|
|
24
|
+
export declare class CopyLinkButton extends React.Component<Props, State> {
|
|
25
|
+
private autoDismiss;
|
|
26
|
+
private inputRef;
|
|
27
|
+
state: {
|
|
28
|
+
shouldShowCopiedMessage: boolean;
|
|
29
|
+
};
|
|
30
|
+
componentWillUnmount(): void;
|
|
31
|
+
private clearAutoDismiss;
|
|
32
|
+
private handleClick;
|
|
33
|
+
private handleDismissCopiedMessage;
|
|
34
|
+
renderTriggerButton: (triggerProps: TriggerProps) => jsx.JSX.Element;
|
|
35
|
+
render(): jsx.JSX.Element;
|
|
36
|
+
}
|
|
37
|
+
export default CopyLinkButton;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
3
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<WithAnalyticsEventsProps, keyof WithAnalyticsEventsProps> & React.RefAttributes<any>>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { CustomThemeButtonProps } from '@atlaskit/button/types';
|
|
4
|
+
type Props = CustomThemeButtonProps & {
|
|
5
|
+
text: React.ReactNode;
|
|
6
|
+
IntegrationIcon: React.ComponentType;
|
|
7
|
+
textColor?: string;
|
|
8
|
+
};
|
|
9
|
+
declare const IntegrationButton: React.FC<Props>;
|
|
10
|
+
export default IntegrationButton;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { jsx } from '@emotion/react';
|
|
4
|
+
import { IntegrationContentProps } from '../types';
|
|
5
|
+
export declare const formWrapperStyle: import("@emotion/react").SerializedStyles;
|
|
6
|
+
export type IntegrationFormProps = {
|
|
7
|
+
Content: React.ComponentType<IntegrationContentProps> | null;
|
|
8
|
+
onIntegrationClose?: () => void;
|
|
9
|
+
changeTab?: (index: number) => void;
|
|
10
|
+
};
|
|
11
|
+
export declare const IntegrationForm: ({ Content, onIntegrationClose, changeTab, }: IntegrationFormProps) => jsx.JSX.Element;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsx } from '@emotion/react';
|
|
2
|
+
import type { LoadOptions } from '@atlaskit/smart-user-picker';
|
|
3
|
+
import type { ShareData, ShareDialogWithTriggerProps, ShareDialogWithTriggerStates } from '../../types';
|
|
4
|
+
import { IntegrationFormProps } from '../IntegrationForm';
|
|
5
|
+
export type LazyShareFormProps = Pick<ShareDialogWithTriggerProps, 'copyLink' | 'config' | 'isFetchingConfig' | 'loadUserOptions' | 'shareFormTitle' | 'shareFormHelperMessage' | 'bottomMessage' | 'submitButtonLabel' | 'product' | 'customFooter' | 'enableSmartUserPicker' | 'loggedInAccountId' | 'cloudId' | 'shareFieldsFooter' | 'onUserSelectionChange' | 'isPublicLink' | 'copyTooltipText' | 'shareIntegrations' | 'integrationMode' | 'onDialogClose' | 'orgId' | 'isBrowseUsersDisabled'> & Pick<ShareDialogWithTriggerStates, 'showIntegrationForm' | 'selectedIntegration' | 'isSharing' | 'shareError' | 'defaultValue'> & Pick<IntegrationFormProps, 'Content'> & {
|
|
6
|
+
onLinkCopy: () => void;
|
|
7
|
+
onDismiss: (data: ShareData) => void;
|
|
8
|
+
onSubmit: (data: ShareData) => void;
|
|
9
|
+
onTabChange: (index: number) => void;
|
|
10
|
+
loadOptions?: LoadOptions;
|
|
11
|
+
selectPortalRef: any;
|
|
12
|
+
showTitle: boolean;
|
|
13
|
+
setIsLoading: (isLoading: boolean) => void;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* A Share form content which is lazy-loaded.
|
|
17
|
+
* Make sure this component is not exported inside main entry points `src/index.ts`
|
|
18
|
+
*/
|
|
19
|
+
declare function LazyShareForm(props: LazyShareFormProps): jsx.JSX.Element;
|
|
20
|
+
export default LazyShareForm;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './LazyShareForm';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
+
export interface Props {
|
|
4
|
+
children: React.ReactChild;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
|
|
7
|
+
WrappedComponent: React.ComponentType<Props & WrappedComponentProps<"intl">>;
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Appearance } from '@atlaskit/button/types';
|
|
3
|
+
export type Props = {
|
|
4
|
+
appearance?: Appearance;
|
|
5
|
+
iconBefore?: React.ReactChild;
|
|
6
|
+
isLoading?: boolean;
|
|
7
|
+
isSelected?: boolean;
|
|
8
|
+
isDisabled?: boolean;
|
|
9
|
+
onClick: (e: React.MouseEvent<HTMLElement>) => void;
|
|
10
|
+
text?: React.ReactNode;
|
|
11
|
+
};
|
|
12
|
+
export declare const ShareButton: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLElement>>;
|
|
13
|
+
export default ShareButton;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AnalyticsEventPayload, WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
3
|
+
import { ShortenRequest } from '../clients/AtlassianUrlShortenerClient';
|
|
4
|
+
import { ConfigResponse } from '../clients/ShareServiceClient';
|
|
5
|
+
import type { OriginTracing, OriginTracingFactory, ShareData, ShareDialogContainerProps } from '../types';
|
|
6
|
+
export declare const defaultConfig: ConfigResponse;
|
|
7
|
+
export type State = {
|
|
8
|
+
config?: ConfigResponse;
|
|
9
|
+
isFetchingConfig: boolean;
|
|
10
|
+
shareActionCount: number;
|
|
11
|
+
currentPageUrl: string;
|
|
12
|
+
shortenedCopyLink: null | string;
|
|
13
|
+
shortenedCopyLinkData?: ShortenRequest;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* This component serves as a Provider to provide customizable implementations
|
|
17
|
+
* to ShareDialogTrigger component
|
|
18
|
+
*/
|
|
19
|
+
export declare class ShareDialogContainerInternal extends React.Component<WithAnalyticsEventsProps & ShareDialogContainerProps, State> {
|
|
20
|
+
private shareClient;
|
|
21
|
+
private urlShortenerClient;
|
|
22
|
+
private _isMounted;
|
|
23
|
+
private _urlShorteningRequestCounter;
|
|
24
|
+
private _lastUrlShorteningWasTooSlow;
|
|
25
|
+
static defaultProps: {
|
|
26
|
+
enableSmartUserPicker: boolean;
|
|
27
|
+
shareeAction: "view" | "edit";
|
|
28
|
+
product: string;
|
|
29
|
+
};
|
|
30
|
+
constructor(props: ShareDialogContainerProps);
|
|
31
|
+
componentDidMount(): void;
|
|
32
|
+
componentWillUnmount(): void;
|
|
33
|
+
componentDidUpdate(prevProps: ShareDialogContainerProps): void;
|
|
34
|
+
private createAndFireEvent;
|
|
35
|
+
fetchConfig: () => void;
|
|
36
|
+
handleSubmitShare: ({ users, comment }: ShareData) => Promise<void>;
|
|
37
|
+
handleDialogOpen: () => Promise<void>;
|
|
38
|
+
decorateAnalytics: (payload: AnalyticsEventPayload) => AnalyticsEventPayload;
|
|
39
|
+
getUniqueCopyLinkOriginTracing: import("memoize-one").MemoizedFn<(link: string, originTracingFactory: OriginTracingFactory) => OriginTracing>;
|
|
40
|
+
getUniqueFormShareOriginTracing: import("memoize-one").MemoizedFn<(link: string, originTracingFactory: OriginTracingFactory, shareCount: number) => OriginTracing>;
|
|
41
|
+
getUpToDateShortenedCopyLink: (data: ShortenRequest, originId: string) => Promise<string | null>;
|
|
42
|
+
getRawLink(): string;
|
|
43
|
+
getCopyLinkOriginTracing(): OriginTracing;
|
|
44
|
+
getFormShareOriginTracing(): OriginTracing;
|
|
45
|
+
getFullCopyLink(): string;
|
|
46
|
+
shouldShortenCopyLink(): boolean;
|
|
47
|
+
getShortenedCopyLink(): string | undefined;
|
|
48
|
+
getCopyLink(): string;
|
|
49
|
+
updateShortCopyLink(): void;
|
|
50
|
+
getFormShareLink: () => string;
|
|
51
|
+
render(): JSX.Element;
|
|
52
|
+
}
|
|
53
|
+
export declare const ShareDialogContainer: React.ForwardRefExoticComponent<Pick<Omit<WithAnalyticsEventsProps & ShareDialogContainerProps, keyof WithAnalyticsEventsProps>, "onTriggerButtonClick" | "isAutoOpenDialog" | "shouldCloseOnEscapePress" | "dialogPlacement" | "loadUserOptions" | "onDialogOpen" | "onDialogClose" | "onUserSelectionChange" | "renderCustomTriggerButton" | "shareContentType" | "shareFormTitle" | "shareFormHelperMessage" | "showFlags" | "loggedInAccountId" | "triggerButtonAppearance" | "triggerButtonIcon" | "triggerButtonStyle" | "triggerButtonTooltipPosition" | "triggerButtonTooltipText" | "cloudId" | "bottomMessage" | "customFooter" | "isCopyDisabled" | "isPublicLink" | "integrationMode" | "shareFieldsFooter" | "shareIntegrations" | "shareAri" | "tabIndex" | "copyTooltipText" | "dialogZIndex" | "orgId" | "isBrowseUsersDisabled" | "shareClient" | "urlShortenerClient" | "shortLinkData" | "formatCopyLink" | "originTracingFactory" | "productId" | "shareLink" | "shareTitle" | "useUrlShortener"> & Partial<Pick<Omit<WithAnalyticsEventsProps & ShareDialogContainerProps, keyof WithAnalyticsEventsProps>, "enableSmartUserPicker" | "product" | "shareeAction">> & Partial<Pick<{
|
|
54
|
+
enableSmartUserPicker: boolean;
|
|
55
|
+
shareeAction: "view" | "edit";
|
|
56
|
+
product: string;
|
|
57
|
+
}, never>> & React.RefAttributes<any>>;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { jsx } from '@emotion/react';
|
|
4
|
+
import { WrappedComponentProps } from 'react-intl-next';
|
|
5
|
+
import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
6
|
+
import { TriggerProps } from '@atlaskit/popup';
|
|
7
|
+
import { Integration, ShareData, ShareDialogWithTriggerProps, ShareDialogWithTriggerStates } from '../types';
|
|
8
|
+
export declare const defaultShareContentState: ShareData;
|
|
9
|
+
type ShareDialogWithTriggerInternalProps = ShareDialogWithTriggerProps & WrappedComponentProps & WithAnalyticsEventsProps;
|
|
10
|
+
export declare class ShareDialogWithTriggerInternal extends React.PureComponent<ShareDialogWithTriggerInternalProps, ShareDialogWithTriggerStates> {
|
|
11
|
+
static defaultProps: Partial<ShareDialogWithTriggerProps>;
|
|
12
|
+
private containerRef;
|
|
13
|
+
/**
|
|
14
|
+
* Because the PopUp component has a higher zIndex it causes
|
|
15
|
+
* the select to be rendered within it, and add scrollbars.
|
|
16
|
+
* We will render the select options the PopUp outside,
|
|
17
|
+
*/
|
|
18
|
+
private selectPortalRef;
|
|
19
|
+
private start;
|
|
20
|
+
state: ShareDialogWithTriggerStates;
|
|
21
|
+
componentDidMount(): void;
|
|
22
|
+
componentDidUpdate(prevProps: ShareDialogWithTriggerProps): void;
|
|
23
|
+
private closeAndResetDialog;
|
|
24
|
+
private createAndFireEvent;
|
|
25
|
+
private onTabChange;
|
|
26
|
+
private getFlags;
|
|
27
|
+
private setIsLoading;
|
|
28
|
+
private focus;
|
|
29
|
+
private handleKeyDown;
|
|
30
|
+
private handleDialogOpen;
|
|
31
|
+
private onTriggerClick;
|
|
32
|
+
private handleCloseDialog;
|
|
33
|
+
private handleShareSubmit;
|
|
34
|
+
private handleFormDismiss;
|
|
35
|
+
handleCopyLink: () => void;
|
|
36
|
+
handleIntegrationClick: (integration: Integration) => void;
|
|
37
|
+
renderShareTriggerButton: (triggerProps: TriggerProps) => React.ReactNode;
|
|
38
|
+
handleOpenSplitButton: () => void;
|
|
39
|
+
handleCloseSplitButton: () => void;
|
|
40
|
+
render(): jsx.JSX.Element;
|
|
41
|
+
}
|
|
42
|
+
export declare const ShareDialogWithTrigger: React.ComponentType<ShareDialogWithTriggerProps>;
|
|
43
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { WrappedComponentProps } from 'react-intl-next';
|
|
4
|
+
import { FormChildrenArgs, ShareData, ShareFormProps, TabType } from '../types';
|
|
5
|
+
export declare const formWrapperStyles: import("@emotion/react").SerializedStyles;
|
|
6
|
+
export declare const formFooterStyles: import("@emotion/react").SerializedStyles;
|
|
7
|
+
export type State = {
|
|
8
|
+
selectedTab: TabType;
|
|
9
|
+
};
|
|
10
|
+
export type InternalFormProps = FormChildrenArgs<ShareData> & ShareFormProps & WrappedComponentProps;
|
|
11
|
+
export declare const ShareForm: React.FC<ShareFormProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ShareDialogWithTriggerProps } from '../../types';
|
|
3
|
+
export type ShareFormWrapperProps = Pick<ShareDialogWithTriggerProps, 'shareFormTitle'> & {
|
|
4
|
+
shouldShowTitle?: boolean;
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
footer?: ReactNode;
|
|
7
|
+
};
|
|
8
|
+
declare const ShareFormWrapper: ({ shareFormTitle, shouldShowTitle, children, footer, }: ShareFormWrapperProps) => JSX.Element;
|
|
9
|
+
export default ShareFormWrapper;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ShareFormWrapper } from './ShareFormWrapper';
|