@atlaskit/share 3.5.0 → 3.5.1
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/LazyShareForm/LazyShareForm.js +11 -3
- package/dist/cjs/components/LazyShareForm/lazy.js +9 -3
- package/dist/cjs/components/ShareFormWrapper/styled.js +19 -6
- package/dist/cjs/components/analytics/analytics.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/components/LazyShareForm/LazyShareForm.js +10 -2
- package/dist/es2019/components/LazyShareForm/lazy.js +9 -2
- package/dist/es2019/components/ShareFormWrapper/styled.js +17 -7
- package/dist/es2019/components/analytics/analytics.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/components/LazyShareForm/LazyShareForm.js +10 -2
- package/dist/esm/components/LazyShareForm/lazy.js +9 -2
- package/dist/esm/components/ShareFormWrapper/styled.js +19 -7
- package/dist/esm/components/analytics/analytics.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/components/ShareFormWrapper/styled.d.ts +4 -3
- package/package.json +3 -4
- package/dist/cjs/components/LazyShareForm/styled.js +0 -28
- package/dist/es2019/components/LazyShareForm/styled.js +0 -16
- package/dist/esm/components/LazyShareForm/styled.js +0 -9
- package/dist/types/components/LazyShareForm/styled.d.ts +0 -4
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,8 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
11
11
|
|
|
12
12
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
13
13
|
|
|
14
|
+
var _constants = require("@atlaskit/theme/constants");
|
|
15
|
+
|
|
14
16
|
var _analytics = require("../analytics/analytics");
|
|
15
17
|
|
|
16
18
|
var _IntegrationForm = require("../IntegrationForm");
|
|
@@ -19,8 +21,6 @@ var _ShareForm = require("../ShareForm");
|
|
|
19
21
|
|
|
20
22
|
var _ShareFormWrapper = require("../ShareFormWrapper");
|
|
21
23
|
|
|
22
|
-
var _styled = require("./styled");
|
|
23
|
-
|
|
24
24
|
/**
|
|
25
25
|
* A Share form content which is lazy-loaded.
|
|
26
26
|
* Make sure this component is not exported inside main entry points `src/index.ts`
|
|
@@ -60,7 +60,15 @@ function LazyShareForm(props) {
|
|
|
60
60
|
showTitle = props.showTitle,
|
|
61
61
|
orgId = props.orgId;
|
|
62
62
|
|
|
63
|
-
var footer = /*#__PURE__*/_react.default.createElement("div", null, bottomMessage ? /*#__PURE__*/_react.default.createElement(
|
|
63
|
+
var footer = /*#__PURE__*/_react.default.createElement("div", null, bottomMessage ? /*#__PURE__*/_react.default.createElement("div", {
|
|
64
|
+
css: {
|
|
65
|
+
width: "".concat((0, _constants.gridSize)() * 44, "px")
|
|
66
|
+
}
|
|
67
|
+
}, bottomMessage) : null, customFooter && selectedIntegration === null && /*#__PURE__*/_react.default.createElement("div", {
|
|
68
|
+
css: {
|
|
69
|
+
margin: "0 ".concat(-(0, _constants.gridSize)() * 3, "px ").concat(-(0, _constants.gridSize)() * 2, "px ").concat(-(0, _constants.gridSize)() * 3, "px")
|
|
70
|
+
}
|
|
71
|
+
}, customFooter));
|
|
64
72
|
|
|
65
73
|
_react.default.useEffect(function () {
|
|
66
74
|
setIsLoading(false);
|
|
@@ -17,8 +17,6 @@ var _spinner = _interopRequireDefault(require("@atlaskit/spinner"));
|
|
|
17
17
|
|
|
18
18
|
var _ShareFormWrapper = require("../ShareFormWrapper");
|
|
19
19
|
|
|
20
|
-
var _styled = require("./styled");
|
|
21
|
-
|
|
22
20
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
23
21
|
|
|
24
22
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || (0, _typeof2.default)(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
@@ -44,7 +42,15 @@ var LoadingDialog = function LoadingDialog(_ref) {
|
|
|
44
42
|
shareFormTitle: shareFormTitle // if `showTitle` is passed, we use it. Otherwise, we will show title for loading dialog.
|
|
45
43
|
,
|
|
46
44
|
shouldShowTitle: typeof showTitle === 'boolean' ? showTitle : true
|
|
47
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
45
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
46
|
+
css: {
|
|
47
|
+
width: '100%',
|
|
48
|
+
height: '100%',
|
|
49
|
+
display: 'flex',
|
|
50
|
+
justifyContent: 'center',
|
|
51
|
+
alignContent: 'center'
|
|
52
|
+
}
|
|
53
|
+
}, /*#__PURE__*/_react.default.createElement(_spinner.default, null)));
|
|
48
54
|
};
|
|
49
55
|
|
|
50
56
|
var _default = function _default(props) {
|
|
@@ -7,15 +7,21 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports.InlineDialogFormWrapper = exports.InlineDialogContentWrapper = void 0;
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _react2 = require("@emotion/react");
|
|
13
13
|
|
|
14
14
|
var _constants = require("@atlaskit/theme/constants");
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
var
|
|
16
|
+
/** @jsx jsx */
|
|
17
|
+
var InlineDialogFormWrapper = function InlineDialogFormWrapper(_ref) {
|
|
18
|
+
var children = _ref.children;
|
|
19
|
+
return (0, _react2.jsx)("div", {
|
|
20
|
+
css: {
|
|
21
|
+
width: "".concat((0, _constants.gridSize)() * 44, "px")
|
|
22
|
+
}
|
|
23
|
+
}, children);
|
|
24
|
+
};
|
|
19
25
|
/**
|
|
20
26
|
* Apply the same styling, as previous @atlaskit/inline-dialog had,
|
|
21
27
|
* compared to the @atlaskit/popup we are now using.
|
|
@@ -26,6 +32,13 @@ var InlineDialogFormWrapper = _styledComponents.default.div(_templateObject || (
|
|
|
26
32
|
|
|
27
33
|
exports.InlineDialogFormWrapper = InlineDialogFormWrapper;
|
|
28
34
|
|
|
29
|
-
var InlineDialogContentWrapper =
|
|
35
|
+
var InlineDialogContentWrapper = function InlineDialogContentWrapper(_ref2) {
|
|
36
|
+
var children = _ref2.children;
|
|
37
|
+
return (0, _react2.jsx)("div", {
|
|
38
|
+
css: {
|
|
39
|
+
padding: "".concat((0, _constants.gridSize)() * 2, "px ").concat((0, _constants.gridSize)() * 3, "px")
|
|
40
|
+
}
|
|
41
|
+
}, children);
|
|
42
|
+
};
|
|
30
43
|
|
|
31
44
|
exports.InlineDialogContentWrapper = InlineDialogContentWrapper;
|
|
@@ -19,7 +19,7 @@ var buildAttributes = function buildAttributes() {
|
|
|
19
19
|
var attributes = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
20
20
|
return _objectSpread({
|
|
21
21
|
packageName: "@atlaskit/share",
|
|
22
|
-
packageVersion: "3.5.
|
|
22
|
+
packageVersion: "3.5.1"
|
|
23
23
|
}, attributes);
|
|
24
24
|
};
|
|
25
25
|
|
package/dist/cjs/version.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
3
|
+
import { gridSize } from '@atlaskit/theme/constants';
|
|
3
4
|
import { INTEGRATION_MODAL_SOURCE } from '../analytics/analytics';
|
|
4
5
|
import { IntegrationForm } from '../IntegrationForm';
|
|
5
6
|
import { ShareForm } from '../ShareForm';
|
|
6
7
|
import { ShareFormWrapper } from '../ShareFormWrapper';
|
|
7
|
-
import { BottomMessageWrapper, CustomFooterWrapper } from './styled';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* A Share form content which is lazy-loaded.
|
|
@@ -49,7 +49,15 @@ function LazyShareForm(props) {
|
|
|
49
49
|
showTitle,
|
|
50
50
|
orgId
|
|
51
51
|
} = props;
|
|
52
|
-
const footer = /*#__PURE__*/React.createElement("div", null, bottomMessage ? /*#__PURE__*/React.createElement(
|
|
52
|
+
const footer = /*#__PURE__*/React.createElement("div", null, bottomMessage ? /*#__PURE__*/React.createElement("div", {
|
|
53
|
+
css: {
|
|
54
|
+
width: `${gridSize() * 44}px`
|
|
55
|
+
}
|
|
56
|
+
}, bottomMessage) : null, customFooter && selectedIntegration === null && /*#__PURE__*/React.createElement("div", {
|
|
57
|
+
css: {
|
|
58
|
+
margin: `0 ${-gridSize() * 3}px ${-gridSize() * 2}px ${-gridSize() * 3}px`
|
|
59
|
+
}
|
|
60
|
+
}, customFooter));
|
|
53
61
|
React.useEffect(() => {
|
|
54
62
|
setIsLoading(false);
|
|
55
63
|
});
|
|
@@ -2,7 +2,6 @@ import React from 'react';
|
|
|
2
2
|
import { lazyForPaint, LazySuspense } from 'react-loosely-lazy';
|
|
3
3
|
import Spinner from '@atlaskit/spinner';
|
|
4
4
|
import { ShareFormWrapper } from '../ShareFormWrapper';
|
|
5
|
-
import { SpinnerWrapper } from './styled';
|
|
6
5
|
const LazyShareFormLazy = lazyForPaint(() => import(
|
|
7
6
|
/* webpackChunkName: "@atlaskit-internal_share-form" */
|
|
8
7
|
'./LazyShareForm'), {
|
|
@@ -21,7 +20,15 @@ const LoadingDialog = ({
|
|
|
21
20
|
shareFormTitle: shareFormTitle // if `showTitle` is passed, we use it. Otherwise, we will show title for loading dialog.
|
|
22
21
|
,
|
|
23
22
|
shouldShowTitle: typeof showTitle === 'boolean' ? showTitle : true
|
|
24
|
-
}, /*#__PURE__*/React.createElement(
|
|
23
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
24
|
+
css: {
|
|
25
|
+
width: '100%',
|
|
26
|
+
height: '100%',
|
|
27
|
+
display: 'flex',
|
|
28
|
+
justifyContent: 'center',
|
|
29
|
+
alignContent: 'center'
|
|
30
|
+
}
|
|
31
|
+
}, /*#__PURE__*/React.createElement(Spinner, null)));
|
|
25
32
|
};
|
|
26
33
|
|
|
27
34
|
export default (props => /*#__PURE__*/React.createElement(LazySuspense, {
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { jsx } from '@emotion/react';
|
|
2
4
|
import { gridSize } from '@atlaskit/theme/constants';
|
|
3
|
-
export const InlineDialogFormWrapper =
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
export const InlineDialogFormWrapper = ({
|
|
6
|
+
children
|
|
7
|
+
}) => jsx("div", {
|
|
8
|
+
css: {
|
|
9
|
+
width: `${gridSize() * 44}px`
|
|
10
|
+
}
|
|
11
|
+
}, children);
|
|
6
12
|
/**
|
|
7
13
|
* Apply the same styling, as previous @atlaskit/inline-dialog had,
|
|
8
14
|
* compared to the @atlaskit/popup we are now using.
|
|
@@ -10,6 +16,10 @@ export const InlineDialogFormWrapper = styled.div`
|
|
|
10
16
|
* packages/design-system/inline-dialog/src/InlineDialog/styled.ts:20:3
|
|
11
17
|
*/
|
|
12
18
|
|
|
13
|
-
export const InlineDialogContentWrapper =
|
|
14
|
-
|
|
15
|
-
|
|
19
|
+
export const InlineDialogContentWrapper = ({
|
|
20
|
+
children
|
|
21
|
+
}) => jsx("div", {
|
|
22
|
+
css: {
|
|
23
|
+
padding: `${gridSize() * 2}px ${gridSize() * 3}px`
|
|
24
|
+
}
|
|
25
|
+
}, children);
|
package/dist/es2019/version.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
3
|
+
import { gridSize } from '@atlaskit/theme/constants';
|
|
3
4
|
import { INTEGRATION_MODAL_SOURCE } from '../analytics/analytics';
|
|
4
5
|
import { IntegrationForm } from '../IntegrationForm';
|
|
5
6
|
import { ShareForm } from '../ShareForm';
|
|
6
7
|
import { ShareFormWrapper } from '../ShareFormWrapper';
|
|
7
|
-
import { BottomMessageWrapper, CustomFooterWrapper } from './styled';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* A Share form content which is lazy-loaded.
|
|
@@ -44,7 +44,15 @@ function LazyShareForm(props) {
|
|
|
44
44
|
defaultValue = props.defaultValue,
|
|
45
45
|
showTitle = props.showTitle,
|
|
46
46
|
orgId = props.orgId;
|
|
47
|
-
var footer = /*#__PURE__*/React.createElement("div", null, bottomMessage ? /*#__PURE__*/React.createElement(
|
|
47
|
+
var footer = /*#__PURE__*/React.createElement("div", null, bottomMessage ? /*#__PURE__*/React.createElement("div", {
|
|
48
|
+
css: {
|
|
49
|
+
width: "".concat(gridSize() * 44, "px")
|
|
50
|
+
}
|
|
51
|
+
}, bottomMessage) : null, customFooter && selectedIntegration === null && /*#__PURE__*/React.createElement("div", {
|
|
52
|
+
css: {
|
|
53
|
+
margin: "0 ".concat(-gridSize() * 3, "px ").concat(-gridSize() * 2, "px ").concat(-gridSize() * 3, "px")
|
|
54
|
+
}
|
|
55
|
+
}, customFooter));
|
|
48
56
|
React.useEffect(function () {
|
|
49
57
|
setIsLoading(false);
|
|
50
58
|
});
|
|
@@ -2,7 +2,6 @@ import React from 'react';
|
|
|
2
2
|
import { lazyForPaint, LazySuspense } from 'react-loosely-lazy';
|
|
3
3
|
import Spinner from '@atlaskit/spinner';
|
|
4
4
|
import { ShareFormWrapper } from '../ShareFormWrapper';
|
|
5
|
-
import { SpinnerWrapper } from './styled';
|
|
6
5
|
var LazyShareFormLazy = lazyForPaint(function () {
|
|
7
6
|
return import(
|
|
8
7
|
/* webpackChunkName: "@atlaskit-internal_share-form" */
|
|
@@ -22,7 +21,15 @@ var LoadingDialog = function LoadingDialog(_ref) {
|
|
|
22
21
|
shareFormTitle: shareFormTitle // if `showTitle` is passed, we use it. Otherwise, we will show title for loading dialog.
|
|
23
22
|
,
|
|
24
23
|
shouldShowTitle: typeof showTitle === 'boolean' ? showTitle : true
|
|
25
|
-
}, /*#__PURE__*/React.createElement(
|
|
24
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
25
|
+
css: {
|
|
26
|
+
width: '100%',
|
|
27
|
+
height: '100%',
|
|
28
|
+
display: 'flex',
|
|
29
|
+
justifyContent: 'center',
|
|
30
|
+
alignContent: 'center'
|
|
31
|
+
}
|
|
32
|
+
}, /*#__PURE__*/React.createElement(Spinner, null)));
|
|
26
33
|
};
|
|
27
34
|
|
|
28
35
|
export default (function (props) {
|
|
@@ -1,10 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import styled from 'styled-components';
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { jsx } from '@emotion/react';
|
|
6
4
|
import { gridSize } from '@atlaskit/theme/constants';
|
|
7
|
-
export var InlineDialogFormWrapper =
|
|
5
|
+
export var InlineDialogFormWrapper = function InlineDialogFormWrapper(_ref) {
|
|
6
|
+
var children = _ref.children;
|
|
7
|
+
return jsx("div", {
|
|
8
|
+
css: {
|
|
9
|
+
width: "".concat(gridSize() * 44, "px")
|
|
10
|
+
}
|
|
11
|
+
}, children);
|
|
12
|
+
};
|
|
8
13
|
/**
|
|
9
14
|
* Apply the same styling, as previous @atlaskit/inline-dialog had,
|
|
10
15
|
* compared to the @atlaskit/popup we are now using.
|
|
@@ -12,4 +17,11 @@ export var InlineDialogFormWrapper = styled.div(_templateObject || (_templateObj
|
|
|
12
17
|
* packages/design-system/inline-dialog/src/InlineDialog/styled.ts:20:3
|
|
13
18
|
*/
|
|
14
19
|
|
|
15
|
-
export var InlineDialogContentWrapper =
|
|
20
|
+
export var InlineDialogContentWrapper = function InlineDialogContentWrapper(_ref2) {
|
|
21
|
+
var children = _ref2.children;
|
|
22
|
+
return jsx("div", {
|
|
23
|
+
css: {
|
|
24
|
+
padding: "".concat(gridSize() * 2, "px ").concat(gridSize() * 3, "px")
|
|
25
|
+
}
|
|
26
|
+
}, children);
|
|
27
|
+
};
|
|
@@ -10,7 +10,7 @@ var buildAttributes = function buildAttributes() {
|
|
|
10
10
|
var attributes = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
11
11
|
return _objectSpread({
|
|
12
12
|
packageName: "@atlaskit/share",
|
|
13
|
-
packageVersion: "3.5.
|
|
13
|
+
packageVersion: "3.5.1"
|
|
14
14
|
}, attributes);
|
|
15
15
|
};
|
|
16
16
|
|
package/dist/esm/version.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export declare const InlineDialogFormWrapper: React.FC;
|
|
3
4
|
/**
|
|
4
5
|
* Apply the same styling, as previous @atlaskit/inline-dialog had,
|
|
5
6
|
* compared to the @atlaskit/popup we are now using.
|
|
6
7
|
*
|
|
7
8
|
* packages/design-system/inline-dialog/src/InlineDialog/styled.ts:20:3
|
|
8
9
|
*/
|
|
9
|
-
export declare const InlineDialogContentWrapper:
|
|
10
|
+
export declare const InlineDialogContentWrapper: React.FC;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/share",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.1",
|
|
4
4
|
"description": "Fabric Share Element",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@atlaskit/analytics-next": "^8.2.0",
|
|
34
34
|
"@atlaskit/button": "^16.3.0",
|
|
35
|
-
"@atlaskit/dropdown-menu": "^11.
|
|
35
|
+
"@atlaskit/dropdown-menu": "^11.5.0",
|
|
36
36
|
"@atlaskit/form": "^8.5.0",
|
|
37
37
|
"@atlaskit/icon": "^21.10.0",
|
|
38
38
|
"@atlaskit/popup": "^1.4.0",
|
|
@@ -56,8 +56,7 @@
|
|
|
56
56
|
"tiny-invariant": "^1.2.0"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
|
-
"react": "^16.8.0"
|
|
60
|
-
"styled-components": "^3.2.6"
|
|
59
|
+
"react": "^16.8.0"
|
|
61
60
|
},
|
|
62
61
|
"devDependencies": {
|
|
63
62
|
"@atlaskit/docs": "^9.0.0",
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.SpinnerWrapper = exports.CustomFooterWrapper = exports.BottomMessageWrapper = void 0;
|
|
9
|
-
|
|
10
|
-
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
|
11
|
-
|
|
12
|
-
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
13
|
-
|
|
14
|
-
var _constants = require("@atlaskit/theme/constants");
|
|
15
|
-
|
|
16
|
-
var _templateObject, _templateObject2, _templateObject3;
|
|
17
|
-
|
|
18
|
-
var BottomMessageWrapper = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n width: ", "px;\n"])), (0, _constants.gridSize)() * 44);
|
|
19
|
-
|
|
20
|
-
exports.BottomMessageWrapper = BottomMessageWrapper;
|
|
21
|
-
|
|
22
|
-
var CustomFooterWrapper = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n /* Must match inline dialog padding. */\n margin: 0 ", "px ", "px ", "px;\n"])), -(0, _constants.gridSize)() * 3, -(0, _constants.gridSize)() * 2, -(0, _constants.gridSize)() * 3);
|
|
23
|
-
|
|
24
|
-
exports.CustomFooterWrapper = CustomFooterWrapper;
|
|
25
|
-
|
|
26
|
-
var SpinnerWrapper = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-content: center;\n"])));
|
|
27
|
-
|
|
28
|
-
exports.SpinnerWrapper = SpinnerWrapper;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import styled from 'styled-components';
|
|
2
|
-
import { gridSize } from '@atlaskit/theme/constants';
|
|
3
|
-
export const BottomMessageWrapper = styled.div`
|
|
4
|
-
width: ${gridSize() * 44}px;
|
|
5
|
-
`;
|
|
6
|
-
export const CustomFooterWrapper = styled.div`
|
|
7
|
-
/* Must match inline dialog padding. */
|
|
8
|
-
margin: 0 ${-gridSize() * 3}px ${-gridSize() * 2}px ${-gridSize() * 3}px;
|
|
9
|
-
`;
|
|
10
|
-
export const SpinnerWrapper = styled.div`
|
|
11
|
-
width: 100%;
|
|
12
|
-
height: 100%;
|
|
13
|
-
display: flex;
|
|
14
|
-
justify-content: center;
|
|
15
|
-
align-content: center;
|
|
16
|
-
`;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
|
2
|
-
|
|
3
|
-
var _templateObject, _templateObject2, _templateObject3;
|
|
4
|
-
|
|
5
|
-
import styled from 'styled-components';
|
|
6
|
-
import { gridSize } from '@atlaskit/theme/constants';
|
|
7
|
-
export var BottomMessageWrapper = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n width: ", "px;\n"])), gridSize() * 44);
|
|
8
|
-
export var CustomFooterWrapper = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n /* Must match inline dialog padding. */\n margin: 0 ", "px ", "px ", "px;\n"])), -gridSize() * 3, -gridSize() * 2, -gridSize() * 3);
|
|
9
|
-
export var SpinnerWrapper = styled.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-content: center;\n"])));
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const BottomMessageWrapper: import("styled-components").StyledComponentClass<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, any, import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>>;
|
|
3
|
-
export declare const CustomFooterWrapper: import("styled-components").StyledComponentClass<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, any, import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>>;
|
|
4
|
-
export declare const SpinnerWrapper: import("styled-components").StyledComponentClass<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, any, import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>>;
|