@atlaskit/smart-card 17.7.4 → 17.7.5
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/classNames.js +2 -2
- package/dist/cjs/version.json +1 -1
- package/dist/cjs/view/BlockCard/actions/PreviewAction.js +1 -1
- package/dist/cjs/view/BlockCard/components/ActionList.js +1 -1
- package/dist/cjs/view/BlockCard/components/CollaboratorList.js +1 -1
- package/dist/cjs/view/BlockCard/components/Content.js +1 -1
- package/dist/cjs/view/BlockCard/components/ContentFooter.js +1 -1
- package/dist/cjs/view/BlockCard/components/Emoji.js +1 -1
- package/dist/cjs/view/BlockCard/components/Frame.js +1 -1
- package/dist/cjs/view/BlockCard/components/Name.js +1 -1
- package/dist/cjs/view/BlockCard/components/Provider.js +1 -1
- package/dist/cjs/view/BlockCard/components/Thumbnail.js +1 -1
- package/dist/cjs/view/BlockCard/views/ErroredView.js +1 -1
- package/dist/cjs/view/BlockCard/views/ForbiddenView.js +1 -1
- package/dist/cjs/view/BlockCard/views/NotFoundView.js +1 -1
- package/dist/cjs/view/BlockCard/views/ResolvedView.js +4 -4
- package/dist/cjs/view/BlockCard/views/ResolvingView.js +1 -1
- package/dist/cjs/view/BlockCard/views/UnauthorizedView.js +1 -1
- package/dist/cjs/view/EmbedCard/components/styled.js +1 -1
- package/dist/cjs/view/EmbedCard/views/ErroredView.js +1 -1
- package/dist/cjs/view/EmbedCard/views/UnresolvedView.js +1 -1
- package/dist/cjs/view/{BlockCard/components → common}/Byline.js +1 -1
- package/dist/cjs/view/{BlockCard/components → common}/Icon.js +1 -1
- package/dist/cjs/view/{BlockCard/components → common}/Metadata.js +1 -1
- package/dist/cjs/view/{BlockCard/components → common}/MetadataList.js +1 -1
- package/dist/cjs/view/{BlockCard/components → common}/Modal.js +1 -1
- package/dist/cjs/view/{BlockCard/components → common}/ModalHeader.js +1 -1
- package/dist/cjs/view/{BlockCard/utils/index.js → common/utils.js} +0 -0
- package/dist/es2019/classNames.js +2 -2
- package/dist/es2019/version.json +1 -1
- package/dist/es2019/view/BlockCard/actions/PreviewAction.js +1 -1
- package/dist/es2019/view/BlockCard/components/ActionList.js +1 -1
- package/dist/es2019/view/BlockCard/components/CollaboratorList.js +1 -1
- package/dist/es2019/view/BlockCard/components/Content.js +1 -1
- package/dist/es2019/view/BlockCard/components/ContentFooter.js +1 -1
- package/dist/es2019/view/BlockCard/components/Emoji.js +1 -1
- package/dist/es2019/view/BlockCard/components/Frame.js +1 -1
- package/dist/es2019/view/BlockCard/components/Name.js +1 -1
- package/dist/es2019/view/BlockCard/components/Provider.js +1 -1
- package/dist/es2019/view/BlockCard/components/Thumbnail.js +1 -1
- package/dist/es2019/view/BlockCard/views/ErroredView.js +1 -1
- package/dist/es2019/view/BlockCard/views/ForbiddenView.js +1 -1
- package/dist/es2019/view/BlockCard/views/NotFoundView.js +1 -1
- package/dist/es2019/view/BlockCard/views/ResolvedView.js +4 -4
- package/dist/es2019/view/BlockCard/views/ResolvingView.js +1 -1
- package/dist/es2019/view/BlockCard/views/UnauthorizedView.js +1 -1
- package/dist/es2019/view/EmbedCard/components/styled.js +1 -1
- package/dist/es2019/view/EmbedCard/views/ErroredView.js +1 -1
- package/dist/es2019/view/EmbedCard/views/UnresolvedView.js +1 -1
- package/dist/es2019/view/{BlockCard/components → common}/Byline.js +1 -1
- package/dist/es2019/view/{BlockCard/components → common}/Icon.js +1 -1
- package/dist/es2019/view/{BlockCard/components → common}/Metadata.js +1 -1
- package/dist/es2019/view/{BlockCard/components → common}/MetadataList.js +1 -1
- package/dist/es2019/view/{BlockCard/components → common}/Modal.js +1 -1
- package/dist/es2019/view/{BlockCard/components → common}/ModalHeader.js +1 -1
- package/dist/es2019/view/{BlockCard/utils/index.js → common/utils.js} +0 -0
- package/dist/esm/classNames.js +2 -2
- package/dist/esm/version.json +1 -1
- package/dist/esm/view/BlockCard/actions/PreviewAction.js +1 -1
- package/dist/esm/view/BlockCard/components/ActionList.js +1 -1
- package/dist/esm/view/BlockCard/components/CollaboratorList.js +1 -1
- package/dist/esm/view/BlockCard/components/Content.js +1 -1
- package/dist/esm/view/BlockCard/components/ContentFooter.js +1 -1
- package/dist/esm/view/BlockCard/components/Emoji.js +1 -1
- package/dist/esm/view/BlockCard/components/Frame.js +1 -1
- package/dist/esm/view/BlockCard/components/Name.js +1 -1
- package/dist/esm/view/BlockCard/components/Provider.js +1 -1
- package/dist/esm/view/BlockCard/components/Thumbnail.js +1 -1
- package/dist/esm/view/BlockCard/views/ErroredView.js +1 -1
- package/dist/esm/view/BlockCard/views/ForbiddenView.js +1 -1
- package/dist/esm/view/BlockCard/views/NotFoundView.js +1 -1
- package/dist/esm/view/BlockCard/views/ResolvedView.js +4 -4
- package/dist/esm/view/BlockCard/views/ResolvingView.js +1 -1
- package/dist/esm/view/BlockCard/views/UnauthorizedView.js +1 -1
- package/dist/esm/view/EmbedCard/components/styled.js +1 -1
- package/dist/esm/view/EmbedCard/views/ErroredView.js +1 -1
- package/dist/esm/view/EmbedCard/views/UnresolvedView.js +1 -1
- package/dist/esm/view/{BlockCard/components → common}/Byline.js +1 -1
- package/dist/esm/view/{BlockCard/components → common}/Icon.js +1 -1
- package/dist/esm/view/{BlockCard/components → common}/Metadata.js +1 -1
- package/dist/esm/view/{BlockCard/components → common}/MetadataList.js +1 -1
- package/dist/esm/view/{BlockCard/components → common}/Modal.js +1 -1
- package/dist/esm/view/{BlockCard/components → common}/ModalHeader.js +1 -1
- package/dist/esm/view/{BlockCard/utils/index.js → common/utils.js} +0 -0
- package/dist/types/classNames.d.ts +2 -2
- package/dist/types/view/BlockCard/actions/PreviewAction.d.ts +3 -3
- package/dist/types/view/BlockCard/views/ForbiddenView.d.ts +1 -1
- package/dist/types/view/BlockCard/views/NotFoundView.d.ts +1 -1
- package/dist/types/view/BlockCard/views/ResolvedView.d.ts +2 -2
- package/dist/types/view/BlockCard/views/UnauthorizedView.d.ts +1 -1
- package/dist/types/view/{BlockCard/components → common}/Byline.d.ts +0 -0
- package/dist/types/view/{BlockCard/components → common}/Icon.d.ts +0 -0
- package/dist/types/view/{BlockCard/components → common}/Metadata.d.ts +0 -0
- package/dist/types/view/{BlockCard/components → common}/MetadataList.d.ts +0 -0
- package/dist/types/view/{BlockCard/components → common}/Modal.d.ts +0 -0
- package/dist/types/view/{BlockCard/components → common}/ModalHeader.d.ts +0 -0
- package/dist/types/view/{BlockCard/utils/index.d.ts → common/utils.d.ts} +0 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/cjs/classNames.js
CHANGED
|
@@ -84,7 +84,7 @@ Object.defineProperty(exports, "metadataListClassName", {
|
|
|
84
84
|
|
|
85
85
|
var _ContentFooter = require("./view/BlockCard/components/ContentFooter");
|
|
86
86
|
|
|
87
|
-
var _MetadataList = require("./view/
|
|
87
|
+
var _MetadataList = require("./view/common/MetadataList");
|
|
88
88
|
|
|
89
89
|
var _ResolvingView = require("./view/BlockCard/views/ResolvingView");
|
|
90
90
|
|
|
@@ -92,7 +92,7 @@ var _ResolvedView = require("./view/BlockCard/views/ResolvedView");
|
|
|
92
92
|
|
|
93
93
|
var _ForbiddenView = require("./view/BlockCard/views/ForbiddenView");
|
|
94
94
|
|
|
95
|
-
var _Icon = require("./view/
|
|
95
|
+
var _Icon = require("./view/common/Icon");
|
|
96
96
|
|
|
97
97
|
var _Content = require("./view/BlockCard/components/Content");
|
|
98
98
|
|
package/dist/cjs/version.json
CHANGED
|
@@ -11,7 +11,7 @@ var _core = require("@emotion/core");
|
|
|
11
11
|
|
|
12
12
|
var _avatarGroup = _interopRequireDefault(require("@atlaskit/avatar-group"));
|
|
13
13
|
|
|
14
|
-
var _utils = require("
|
|
14
|
+
var _utils = require("../../common/utils");
|
|
15
15
|
|
|
16
16
|
/** @jsx jsx */
|
|
17
17
|
var CollaboratorList = function CollaboratorList(_ref) {
|
|
@@ -7,7 +7,7 @@ exports.blockCardContentClassName = exports.Content = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _core = require("@emotion/core");
|
|
9
9
|
|
|
10
|
-
var _utils = require("
|
|
10
|
+
var _utils = require("../../common/utils");
|
|
11
11
|
|
|
12
12
|
/** @jsx jsx */
|
|
13
13
|
var blockCardContentClassName = 'block-card-content';
|
|
@@ -7,7 +7,7 @@ exports.contentFooterClassName = exports.ContentFooter = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _core = require("@emotion/core");
|
|
9
9
|
|
|
10
|
-
var _utils = require("
|
|
10
|
+
var _utils = require("../../common/utils");
|
|
11
11
|
|
|
12
12
|
/** @jsx jsx */
|
|
13
13
|
var contentFooterClassName = 'smart-link-content-footer';
|
|
@@ -15,7 +15,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
15
15
|
|
|
16
16
|
var _colors = require("@atlaskit/theme/colors");
|
|
17
17
|
|
|
18
|
-
var _utils = require("
|
|
18
|
+
var _utils = require("../../common/utils");
|
|
19
19
|
|
|
20
20
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
21
21
|
|
|
@@ -9,7 +9,7 @@ var _core = require("@emotion/core");
|
|
|
9
9
|
|
|
10
10
|
var _constants = require("@atlaskit/theme/constants");
|
|
11
11
|
|
|
12
|
-
var _utils = require("
|
|
12
|
+
var _utils = require("../../common/utils");
|
|
13
13
|
|
|
14
14
|
/** @jsx jsx */
|
|
15
15
|
var blockCardContentHeaderNameClassName = 'block-card-content-header-name';
|
|
@@ -11,7 +11,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
11
11
|
|
|
12
12
|
var _core = require("@emotion/core");
|
|
13
13
|
|
|
14
|
-
var _utils = require("
|
|
14
|
+
var _utils = require("../../common/utils");
|
|
15
15
|
|
|
16
16
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
17
17
|
|
|
@@ -21,7 +21,7 @@ var _warning = _interopRequireDefault(require("@atlaskit/icon/glyph/warning"));
|
|
|
21
21
|
|
|
22
22
|
var _Frame = require("../components/Frame");
|
|
23
23
|
|
|
24
|
-
var _Byline = require("
|
|
24
|
+
var _Byline = require("../../common/Byline");
|
|
25
25
|
|
|
26
26
|
var _ActionList = require("../components/ActionList");
|
|
27
27
|
|
|
@@ -23,7 +23,7 @@ var _Frame = require("../components/Frame");
|
|
|
23
23
|
|
|
24
24
|
var _Provider = require("../components/Provider");
|
|
25
25
|
|
|
26
|
-
var _Byline = require("
|
|
26
|
+
var _Byline = require("../../common/Byline");
|
|
27
27
|
|
|
28
28
|
var _ActionList = require("../components/ActionList");
|
|
29
29
|
|
|
@@ -23,7 +23,7 @@ var _Frame = require("../components/Frame");
|
|
|
23
23
|
|
|
24
24
|
var _Provider = require("../components/Provider");
|
|
25
25
|
|
|
26
|
-
var _Byline = require("
|
|
26
|
+
var _Byline = require("../../common/Byline");
|
|
27
27
|
|
|
28
28
|
var _Content = require("../components/Content");
|
|
29
29
|
|
|
@@ -19,7 +19,7 @@ var _Provider = require("../components/Provider");
|
|
|
19
19
|
|
|
20
20
|
var _Name = require("../components/Name");
|
|
21
21
|
|
|
22
|
-
var _Byline = require("
|
|
22
|
+
var _Byline = require("../../common/Byline");
|
|
23
23
|
|
|
24
24
|
var _ActionList = require("../components/ActionList");
|
|
25
25
|
|
|
@@ -27,11 +27,11 @@ var _CollaboratorList = require("../components/CollaboratorList");
|
|
|
27
27
|
|
|
28
28
|
var _Emoji = require("../components/Emoji");
|
|
29
29
|
|
|
30
|
-
var _Icon = require("
|
|
30
|
+
var _Icon = require("../../common/Icon");
|
|
31
31
|
|
|
32
32
|
var _Content = require("../components/Content");
|
|
33
33
|
|
|
34
|
-
var _MetadataList = require("
|
|
34
|
+
var _MetadataList = require("../../common/MetadataList");
|
|
35
35
|
|
|
36
36
|
var _styled = require("../../InlineCard/IconAndTitleLayout/styled");
|
|
37
37
|
|
|
@@ -39,7 +39,7 @@ var _ContentHeader = require("../components/ContentHeader");
|
|
|
39
39
|
|
|
40
40
|
var _ContentFooter = require("../components/ContentFooter");
|
|
41
41
|
|
|
42
|
-
var _utils = require("
|
|
42
|
+
var _utils = require("../../common/utils");
|
|
43
43
|
|
|
44
44
|
var _handlers = require("../utils/handlers");
|
|
45
45
|
|
|
@@ -19,7 +19,7 @@ var _Frame = require("../components/Frame");
|
|
|
19
19
|
|
|
20
20
|
var _Provider = require("../components/Provider");
|
|
21
21
|
|
|
22
|
-
var _Byline = require("
|
|
22
|
+
var _Byline = require("../../common/Byline");
|
|
23
23
|
|
|
24
24
|
var _ActionList = require("../components/ActionList");
|
|
25
25
|
|
|
@@ -19,7 +19,7 @@ var _constants = require("@atlaskit/theme/constants");
|
|
|
19
19
|
|
|
20
20
|
var colors = _interopRequireWildcard(require("@atlaskit/theme/colors"));
|
|
21
21
|
|
|
22
|
-
var _utils = require("../../
|
|
22
|
+
var _utils = require("../../common/utils");
|
|
23
23
|
|
|
24
24
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16;
|
|
25
25
|
|
|
@@ -23,7 +23,7 @@ var _reactIntlNext = require("react-intl-next");
|
|
|
23
23
|
|
|
24
24
|
var _messages = require("@atlaskit/media-ui/messages");
|
|
25
25
|
|
|
26
|
-
var _utils = require("../../
|
|
26
|
+
var _utils = require("../../common/utils");
|
|
27
27
|
|
|
28
28
|
/** @jsx jsx */
|
|
29
29
|
var EmbedCardErroredView = function EmbedCardErroredView(_ref) {
|
|
@@ -19,7 +19,7 @@ var _reactIntlNext = require("react-intl-next");
|
|
|
19
19
|
|
|
20
20
|
var _messages = require("@atlaskit/media-ui/messages");
|
|
21
21
|
|
|
22
|
-
var _utils = require("../../
|
|
22
|
+
var _utils = require("../../common/utils");
|
|
23
23
|
|
|
24
24
|
/** @jsx jsx */
|
|
25
25
|
var EmbedCardUnresolvedView = function EmbedCardUnresolvedView(_ref) {
|
|
@@ -15,7 +15,7 @@ var _reactRenderImage = _interopRequireDefault(require("react-render-image"));
|
|
|
15
15
|
|
|
16
16
|
var _link = _interopRequireDefault(require("@atlaskit/icon/glyph/link"));
|
|
17
17
|
|
|
18
|
-
var _utils = require("
|
|
18
|
+
var _utils = require("./utils");
|
|
19
19
|
|
|
20
20
|
/** @jsx jsx */
|
|
21
21
|
var blockCardIconImageClassName = 'block-card-icon-image';
|
|
@@ -27,7 +27,7 @@ var _modalDialog = _interopRequireWildcard(require("@atlaskit/modal-dialog"));
|
|
|
27
27
|
|
|
28
28
|
var _ModalHeader = require("./ModalHeader");
|
|
29
29
|
|
|
30
|
-
var _utils = require("
|
|
30
|
+
var _utils = require("../../utils");
|
|
31
31
|
|
|
32
32
|
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); }
|
|
33
33
|
|
|
File without changes
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { contentFooterClassName } from './view/BlockCard/components/ContentFooter';
|
|
2
|
-
export { metadataListClassName } from './view/
|
|
2
|
+
export { metadataListClassName } from './view/common/MetadataList';
|
|
3
3
|
export { blockCardResolvingViewClassName } from './view/BlockCard/views/ResolvingView';
|
|
4
4
|
export { blockCardResolvedViewClassName, blockCardResolvedViewByClassName } from './view/BlockCard/views/ResolvedView';
|
|
5
5
|
export { blockCardForbiddenViewClassName, blockCardForbiddenViewLinkClassName } from './view/BlockCard/views/ForbiddenView';
|
|
6
|
-
export { blockCardIconImageClassName } from './view/
|
|
6
|
+
export { blockCardIconImageClassName } from './view/common/Icon';
|
|
7
7
|
export { blockCardContentClassName } from './view/BlockCard/components/Content';
|
|
8
8
|
export { blockCardContentHeaderClassName } from './view/BlockCard/components/ContentHeader';
|
|
9
9
|
export { blockCardContentHeaderNameClassName } from './view/BlockCard/components/Name';
|
package/dist/es2019/version.json
CHANGED
|
@@ -32,7 +32,7 @@ export async function previewFunction({
|
|
|
32
32
|
document.body.appendChild(popupMountPoint);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
let Modal = await import('
|
|
35
|
+
let Modal = await import('../../common/Modal');
|
|
36
36
|
ReactDOM.render( /*#__PURE__*/React.createElement(IntlProvider, {
|
|
37
37
|
locale: "en"
|
|
38
38
|
}, /*#__PURE__*/React.createElement(Modal.default, _extends({}, rest, {
|
|
@@ -7,7 +7,7 @@ import Button from '@atlaskit/button/standard-button';
|
|
|
7
7
|
import DropdownMenu, { DropdownItem, DropdownItemGroup } from '@atlaskit/dropdown-menu';
|
|
8
8
|
import MoreIcon from '@atlaskit/icon/glyph/more';
|
|
9
9
|
import { Action } from './Action';
|
|
10
|
-
import { gs, mq } from '
|
|
10
|
+
import { gs, mq } from '../../common/utils';
|
|
11
11
|
export const ActionList = ({
|
|
12
12
|
items
|
|
13
13
|
}) => {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx } from '@emotion/core';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { N20A, N30A, B200, N40A, N50A } from '@atlaskit/theme/colors';
|
|
5
|
-
import { gs, br, mq } from '
|
|
5
|
+
import { gs, br, mq } from '../../common/utils';
|
|
6
6
|
export const Frame = (props = {
|
|
7
7
|
isSelected: false,
|
|
8
8
|
isHoverable: false,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { jsx } from '@emotion/core';
|
|
3
3
|
import { fontSize } from '@atlaskit/theme/constants';
|
|
4
|
-
import { gs } from '
|
|
4
|
+
import { gs } from '../../common/utils';
|
|
5
5
|
export const blockCardContentHeaderNameClassName = 'block-card-content-header-name';
|
|
6
6
|
export const Name = ({
|
|
7
7
|
name,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { jsx } from '@emotion/core';
|
|
3
|
-
import { gs, mq } from '
|
|
3
|
+
import { gs, mq } from '../../common/utils';
|
|
4
4
|
export const Thumbnail = props => {
|
|
5
5
|
return props.color ? jsx(ThumbnailWithBackground, props) : jsx(ThumbnailDefault, props);
|
|
6
6
|
};
|
|
@@ -5,7 +5,7 @@ import { useMemo } from 'react';
|
|
|
5
5
|
import { R300 } from '@atlaskit/theme/colors';
|
|
6
6
|
import WarningIcon from '@atlaskit/icon/glyph/warning';
|
|
7
7
|
import { Frame } from '../components/Frame';
|
|
8
|
-
import { Byline } from '
|
|
8
|
+
import { Byline } from '../../common/Byline';
|
|
9
9
|
import { ActionList } from '../components/ActionList';
|
|
10
10
|
import { Content } from '../components/Content';
|
|
11
11
|
import { messages } from '@atlaskit/media-ui/messages';
|
|
@@ -7,7 +7,7 @@ import { R300 } from '@atlaskit/theme/colors';
|
|
|
7
7
|
import LockIcon from '@atlaskit/icon/glyph/lock-filled';
|
|
8
8
|
import { Frame } from '../components/Frame';
|
|
9
9
|
import { Provider } from '../components/Provider';
|
|
10
|
-
import { Byline } from '
|
|
10
|
+
import { Byline } from '../../common/Byline';
|
|
11
11
|
import { ActionList } from '../components/ActionList';
|
|
12
12
|
import { Content } from '../components/Content';
|
|
13
13
|
import { messages } from '@atlaskit/media-ui/messages';
|
|
@@ -6,7 +6,7 @@ import { R300 } from '@atlaskit/theme/colors';
|
|
|
6
6
|
import WarningIcon from '@atlaskit/icon/glyph/warning';
|
|
7
7
|
import { Frame } from '../components/Frame';
|
|
8
8
|
import { Provider } from '../components/Provider';
|
|
9
|
-
import { Byline } from '
|
|
9
|
+
import { Byline } from '../../common/Byline';
|
|
10
10
|
import { Content } from '../components/Content';
|
|
11
11
|
import { messages } from '@atlaskit/media-ui/messages';
|
|
12
12
|
import { ContentFooter } from '../components/ContentFooter';
|
|
@@ -5,17 +5,17 @@ import { Frame } from '../components/Frame';
|
|
|
5
5
|
import { Thumbnail } from '../components/Thumbnail';
|
|
6
6
|
import { Provider } from '../components/Provider';
|
|
7
7
|
import { Name } from '../components/Name';
|
|
8
|
-
import { Byline } from '
|
|
8
|
+
import { Byline } from '../../common/Byline';
|
|
9
9
|
import { ActionList } from '../components/ActionList';
|
|
10
10
|
import { CollaboratorList } from '../components/CollaboratorList';
|
|
11
11
|
import { Emoji } from '../components/Emoji';
|
|
12
|
-
import { Icon } from '
|
|
12
|
+
import { Icon } from '../../common/Icon';
|
|
13
13
|
import { Content } from '../components/Content';
|
|
14
|
-
import { MetadataList } from '
|
|
14
|
+
import { MetadataList } from '../../common/MetadataList';
|
|
15
15
|
import { LozengeBlockWrapper } from '../../InlineCard/IconAndTitleLayout/styled';
|
|
16
16
|
import { ContentHeader } from '../components/ContentHeader';
|
|
17
17
|
import { ContentFooter } from '../components/ContentFooter';
|
|
18
|
-
import { gs } from '
|
|
18
|
+
import { gs } from '../../common/utils';
|
|
19
19
|
import { handleClickCommon } from '../utils/handlers';
|
|
20
20
|
export const blockCardResolvedViewClassName = 'block-card-resolved-view';
|
|
21
21
|
export const blockCardResolvedViewByClassName = 'block-card-resolved-view-by';
|
|
@@ -4,7 +4,7 @@ import DocumentFilledIcon from '@atlaskit/icon/glyph/document-filled';
|
|
|
4
4
|
import { N50, N90 } from '@atlaskit/theme/colors';
|
|
5
5
|
import { fontSize } from '@atlaskit/theme/constants';
|
|
6
6
|
import { Frame } from '../components/Frame';
|
|
7
|
-
import { gs } from '
|
|
7
|
+
import { gs } from '../../common/utils';
|
|
8
8
|
import { FormattedMessage } from 'react-intl-next';
|
|
9
9
|
import { messages } from '@atlaskit/media-ui/messages';
|
|
10
10
|
export const blockCardResolvingViewClassName = 'block-card-resolving-view';
|
|
@@ -5,7 +5,7 @@ import { jsx } from '@emotion/core';
|
|
|
5
5
|
import { FormattedMessage } from 'react-intl-next';
|
|
6
6
|
import { Frame } from '../components/Frame';
|
|
7
7
|
import { Provider } from '../components/Provider';
|
|
8
|
-
import { Byline } from '
|
|
8
|
+
import { Byline } from '../../common/Byline';
|
|
9
9
|
import { ActionList } from '../components/ActionList';
|
|
10
10
|
import { Content } from '../components/Content';
|
|
11
11
|
import { messages } from '@atlaskit/media-ui/messages';
|
|
@@ -2,7 +2,7 @@ import styled from '@emotion/styled';
|
|
|
2
2
|
import { size as csssize, borderRadius, size, ellipsis } from '@atlaskit/media-ui';
|
|
3
3
|
import { fontFamily } from '@atlaskit/theme/constants';
|
|
4
4
|
import * as colors from '@atlaskit/theme/colors';
|
|
5
|
-
import { gs as gridSize } from '../../
|
|
5
|
+
import { gs as gridSize } from '../../common/utils';
|
|
6
6
|
export const className = 'media-card-frame';
|
|
7
7
|
export const cardShadow = ``;
|
|
8
8
|
|
|
@@ -7,7 +7,7 @@ import { R300 } from '@atlaskit/theme/colors';
|
|
|
7
7
|
import { Frame } from '../../BlockCard/components/Frame';
|
|
8
8
|
import { FormattedMessage } from 'react-intl-next';
|
|
9
9
|
import { messages } from '@atlaskit/media-ui/messages';
|
|
10
|
-
import { gs } from '../../
|
|
10
|
+
import { gs } from '../../common/utils';
|
|
11
11
|
export const EmbedCardErroredView = ({
|
|
12
12
|
onRetry,
|
|
13
13
|
isSelected = false,
|
|
@@ -6,7 +6,7 @@ import Button from '@atlaskit/button/custom-theme-button';
|
|
|
6
6
|
import { fontSize } from '@atlaskit/theme/constants';
|
|
7
7
|
import { FormattedMessage } from 'react-intl-next';
|
|
8
8
|
import { messages } from '@atlaskit/media-ui/messages';
|
|
9
|
-
import { gs as gridSize } from '../../
|
|
9
|
+
import { gs as gridSize } from '../../common/utils';
|
|
10
10
|
export const EmbedCardUnresolvedView = ({
|
|
11
11
|
image,
|
|
12
12
|
title,
|
|
@@ -3,7 +3,7 @@ import { jsx } from '@emotion/core';
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import ImageLoader from 'react-render-image';
|
|
5
5
|
import LinkIcon from '@atlaskit/icon/glyph/link';
|
|
6
|
-
import { gs } from '
|
|
6
|
+
import { gs } from './utils';
|
|
7
7
|
export const blockCardIconImageClassName = 'block-card-icon-image';
|
|
8
8
|
export const Icon = ({
|
|
9
9
|
url,
|
|
@@ -3,7 +3,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
3
3
|
/** @jsx jsx */
|
|
4
4
|
import { jsx } from '@emotion/core';
|
|
5
5
|
import { Metadata } from './Metadata';
|
|
6
|
-
import { gs } from '
|
|
6
|
+
import { gs } from './utils';
|
|
7
7
|
export const metadataListClassName = 'smart-link-metadata-list';
|
|
8
8
|
export const MetadataList = ({
|
|
9
9
|
items,
|
|
@@ -17,7 +17,7 @@ https://atlassian.design/components/modal-dialog/examples#customizing-modal-dial
|
|
|
17
17
|
import React, { useState } from 'react';
|
|
18
18
|
import ModalDialog, { ModalTransition, ModalBody } from '@atlaskit/modal-dialog';
|
|
19
19
|
import { Header } from './ModalHeader';
|
|
20
|
-
import { getIframeSandboxAttribute } from '
|
|
20
|
+
import { getIframeSandboxAttribute } from '../../utils';
|
|
21
21
|
const iframeStyles = {
|
|
22
22
|
width: `100%`,
|
|
23
23
|
height: 'calc(100vh - 248px)'
|
|
@@ -7,7 +7,7 @@ import ShortcutIcon from '@atlaskit/icon/glyph/shortcut';
|
|
|
7
7
|
import Button from '@atlaskit/button/custom-theme-button';
|
|
8
8
|
import { N100, N30A } from '@atlaskit/theme/colors';
|
|
9
9
|
import { FormattedMessage } from 'react-intl-next';
|
|
10
|
-
import { gs } from '
|
|
10
|
+
import { gs } from './utils';
|
|
11
11
|
import { Icon } from './Icon';
|
|
12
12
|
import { MetadataList } from './MetadataList';
|
|
13
13
|
import { Byline } from './Byline';
|
|
File without changes
|
package/dist/esm/classNames.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { contentFooterClassName } from './view/BlockCard/components/ContentFooter';
|
|
2
|
-
export { metadataListClassName } from './view/
|
|
2
|
+
export { metadataListClassName } from './view/common/MetadataList';
|
|
3
3
|
export { blockCardResolvingViewClassName } from './view/BlockCard/views/ResolvingView';
|
|
4
4
|
export { blockCardResolvedViewClassName, blockCardResolvedViewByClassName } from './view/BlockCard/views/ResolvedView';
|
|
5
5
|
export { blockCardForbiddenViewClassName, blockCardForbiddenViewLinkClassName } from './view/BlockCard/views/ForbiddenView';
|
|
6
|
-
export { blockCardIconImageClassName } from './view/
|
|
6
|
+
export { blockCardIconImageClassName } from './view/common/Icon';
|
|
7
7
|
export { blockCardContentClassName } from './view/BlockCard/components/Content';
|
|
8
8
|
export { blockCardContentHeaderClassName } from './view/BlockCard/components/ContentHeader';
|
|
9
9
|
export { blockCardContentHeaderNameClassName } from './view/BlockCard/components/Name';
|
package/dist/esm/version.json
CHANGED
|
@@ -9,7 +9,7 @@ import Button from '@atlaskit/button/standard-button';
|
|
|
9
9
|
import DropdownMenu, { DropdownItem, DropdownItemGroup } from '@atlaskit/dropdown-menu';
|
|
10
10
|
import MoreIcon from '@atlaskit/icon/glyph/more';
|
|
11
11
|
import { Action } from './Action';
|
|
12
|
-
import { gs, mq } from '
|
|
12
|
+
import { gs, mq } from '../../common/utils';
|
|
13
13
|
export var ActionList = function ActionList(_ref) {
|
|
14
14
|
var items = _ref.items;
|
|
15
15
|
var actionsToShow = items.slice(0, 2);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { jsx } from '@emotion/core';
|
|
3
3
|
import AvatarGroup from '@atlaskit/avatar-group';
|
|
4
|
-
import { mq } from '
|
|
4
|
+
import { mq } from '../../common/utils';
|
|
5
5
|
export var CollaboratorList = function CollaboratorList(_ref) {
|
|
6
6
|
var items = _ref.items,
|
|
7
7
|
_ref$handleAvatarClic = _ref.handleAvatarClick,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { jsx } from '@emotion/core';
|
|
3
|
-
import { gs, mq } from '
|
|
3
|
+
import { gs, mq } from '../../common/utils';
|
|
4
4
|
export var blockCardContentClassName = 'block-card-content';
|
|
5
5
|
export var Content = function Content(_ref) {
|
|
6
6
|
var children = _ref.children,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { jsx } from '@emotion/core';
|
|
3
|
-
import { gs, mq } from '
|
|
3
|
+
import { gs, mq } from '../../common/utils';
|
|
4
4
|
export var contentFooterClassName = 'smart-link-content-footer';
|
|
5
5
|
export var ContentFooter = function ContentFooter(_ref) {
|
|
6
6
|
var children = _ref.children,
|
|
@@ -8,7 +8,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
8
8
|
import { jsx } from '@emotion/core';
|
|
9
9
|
import React from 'react';
|
|
10
10
|
import { N20A, N30A, B200, N40A, N50A } from '@atlaskit/theme/colors';
|
|
11
|
-
import { gs, br, mq } from '
|
|
11
|
+
import { gs, br, mq } from '../../common/utils';
|
|
12
12
|
export var Frame = function Frame() {
|
|
13
13
|
var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
|
|
14
14
|
isSelected: false,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { jsx } from '@emotion/core';
|
|
3
3
|
import { fontSize } from '@atlaskit/theme/constants';
|
|
4
|
-
import { gs } from '
|
|
4
|
+
import { gs } from '../../common/utils';
|
|
5
5
|
export var blockCardContentHeaderNameClassName = 'block-card-content-header-name';
|
|
6
6
|
export var Name = function Name(_ref) {
|
|
7
7
|
var name = _ref.name,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { jsx } from '@emotion/core';
|
|
3
3
|
import { N300 } from '@atlaskit/theme/colors';
|
|
4
|
-
import { gs } from '
|
|
4
|
+
import { gs } from '../../common/utils';
|
|
5
5
|
export var Provider = function Provider(_ref) {
|
|
6
6
|
var name = _ref.name,
|
|
7
7
|
icon = _ref.icon;
|
|
@@ -6,7 +6,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
6
6
|
|
|
7
7
|
/** @jsx jsx */
|
|
8
8
|
import { jsx } from '@emotion/core';
|
|
9
|
-
import { gs, mq } from '
|
|
9
|
+
import { gs, mq } from '../../common/utils';
|
|
10
10
|
export var Thumbnail = function Thumbnail(props) {
|
|
11
11
|
return props.color ? jsx(ThumbnailWithBackground, props) : jsx(ThumbnailDefault, props);
|
|
12
12
|
};
|
|
@@ -11,7 +11,7 @@ import { useMemo } from 'react';
|
|
|
11
11
|
import { R300 } from '@atlaskit/theme/colors';
|
|
12
12
|
import WarningIcon from '@atlaskit/icon/glyph/warning';
|
|
13
13
|
import { Frame } from '../components/Frame';
|
|
14
|
-
import { Byline } from '
|
|
14
|
+
import { Byline } from '../../common/Byline';
|
|
15
15
|
import { ActionList } from '../components/ActionList';
|
|
16
16
|
import { Content } from '../components/Content';
|
|
17
17
|
import { messages } from '@atlaskit/media-ui/messages';
|
|
@@ -8,7 +8,7 @@ import { R300 } from '@atlaskit/theme/colors';
|
|
|
8
8
|
import LockIcon from '@atlaskit/icon/glyph/lock-filled';
|
|
9
9
|
import { Frame } from '../components/Frame';
|
|
10
10
|
import { Provider } from '../components/Provider';
|
|
11
|
-
import { Byline } from '
|
|
11
|
+
import { Byline } from '../../common/Byline';
|
|
12
12
|
import { ActionList } from '../components/ActionList';
|
|
13
13
|
import { Content } from '../components/Content';
|
|
14
14
|
import { messages } from '@atlaskit/media-ui/messages';
|
|
@@ -12,7 +12,7 @@ import { R300 } from '@atlaskit/theme/colors';
|
|
|
12
12
|
import WarningIcon from '@atlaskit/icon/glyph/warning';
|
|
13
13
|
import { Frame } from '../components/Frame';
|
|
14
14
|
import { Provider } from '../components/Provider';
|
|
15
|
-
import { Byline } from '
|
|
15
|
+
import { Byline } from '../../common/Byline';
|
|
16
16
|
import { Content } from '../components/Content';
|
|
17
17
|
import { messages } from '@atlaskit/media-ui/messages';
|
|
18
18
|
import { ContentFooter } from '../components/ContentFooter';
|
|
@@ -5,17 +5,17 @@ import { Frame } from '../components/Frame';
|
|
|
5
5
|
import { Thumbnail } from '../components/Thumbnail';
|
|
6
6
|
import { Provider } from '../components/Provider';
|
|
7
7
|
import { Name } from '../components/Name';
|
|
8
|
-
import { Byline } from '
|
|
8
|
+
import { Byline } from '../../common/Byline';
|
|
9
9
|
import { ActionList } from '../components/ActionList';
|
|
10
10
|
import { CollaboratorList } from '../components/CollaboratorList';
|
|
11
11
|
import { Emoji } from '../components/Emoji';
|
|
12
|
-
import { Icon } from '
|
|
12
|
+
import { Icon } from '../../common/Icon';
|
|
13
13
|
import { Content } from '../components/Content';
|
|
14
|
-
import { MetadataList } from '
|
|
14
|
+
import { MetadataList } from '../../common/MetadataList';
|
|
15
15
|
import { LozengeBlockWrapper } from '../../InlineCard/IconAndTitleLayout/styled';
|
|
16
16
|
import { ContentHeader } from '../components/ContentHeader';
|
|
17
17
|
import { ContentFooter } from '../components/ContentFooter';
|
|
18
|
-
import { gs } from '
|
|
18
|
+
import { gs } from '../../common/utils';
|
|
19
19
|
import { handleClickCommon } from '../utils/handlers';
|
|
20
20
|
export var blockCardResolvedViewClassName = 'block-card-resolved-view';
|
|
21
21
|
export var blockCardResolvedViewByClassName = 'block-card-resolved-view-by';
|
|
@@ -4,7 +4,7 @@ import DocumentFilledIcon from '@atlaskit/icon/glyph/document-filled';
|
|
|
4
4
|
import { N50, N90 } from '@atlaskit/theme/colors';
|
|
5
5
|
import { fontSize } from '@atlaskit/theme/constants';
|
|
6
6
|
import { Frame } from '../components/Frame';
|
|
7
|
-
import { gs } from '
|
|
7
|
+
import { gs } from '../../common/utils';
|
|
8
8
|
import { FormattedMessage } from 'react-intl-next';
|
|
9
9
|
import { messages } from '@atlaskit/media-ui/messages';
|
|
10
10
|
export var blockCardResolvingViewClassName = 'block-card-resolving-view';
|
|
@@ -10,7 +10,7 @@ import { jsx } from '@emotion/core';
|
|
|
10
10
|
import { FormattedMessage } from 'react-intl-next';
|
|
11
11
|
import { Frame } from '../components/Frame';
|
|
12
12
|
import { Provider } from '../components/Provider';
|
|
13
|
-
import { Byline } from '
|
|
13
|
+
import { Byline } from '../../common/Byline';
|
|
14
14
|
import { ActionList } from '../components/ActionList';
|
|
15
15
|
import { Content } from '../components/Content';
|
|
16
16
|
import { messages } from '@atlaskit/media-ui/messages';
|
|
@@ -6,7 +6,7 @@ import styled from '@emotion/styled';
|
|
|
6
6
|
import { size as csssize, borderRadius, size, ellipsis } from '@atlaskit/media-ui';
|
|
7
7
|
import { fontFamily } from '@atlaskit/theme/constants';
|
|
8
8
|
import * as colors from '@atlaskit/theme/colors';
|
|
9
|
-
import { gs as gridSize } from '../../
|
|
9
|
+
import { gs as gridSize } from '../../common/utils';
|
|
10
10
|
export var className = 'media-card-frame';
|
|
11
11
|
export var cardShadow = "";
|
|
12
12
|
|
|
@@ -7,7 +7,7 @@ import { R300 } from '@atlaskit/theme/colors';
|
|
|
7
7
|
import { Frame } from '../../BlockCard/components/Frame';
|
|
8
8
|
import { FormattedMessage } from 'react-intl-next';
|
|
9
9
|
import { messages } from '@atlaskit/media-ui/messages';
|
|
10
|
-
import { gs } from '../../
|
|
10
|
+
import { gs } from '../../common/utils';
|
|
11
11
|
export var EmbedCardErroredView = function EmbedCardErroredView(_ref) {
|
|
12
12
|
var onRetry = _ref.onRetry,
|
|
13
13
|
_ref$isSelected = _ref.isSelected,
|
|
@@ -6,7 +6,7 @@ import Button from '@atlaskit/button/custom-theme-button';
|
|
|
6
6
|
import { fontSize } from '@atlaskit/theme/constants';
|
|
7
7
|
import { FormattedMessage } from 'react-intl-next';
|
|
8
8
|
import { messages } from '@atlaskit/media-ui/messages';
|
|
9
|
-
import { gs as gridSize } from '../../
|
|
9
|
+
import { gs as gridSize } from '../../common/utils';
|
|
10
10
|
export var EmbedCardUnresolvedView = function EmbedCardUnresolvedView(_ref) {
|
|
11
11
|
var image = _ref.image,
|
|
12
12
|
title = _ref.title,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { jsx } from '@emotion/core';
|
|
3
3
|
import { N300 } from '@atlaskit/theme/colors';
|
|
4
|
-
import { gs, mq } from '
|
|
4
|
+
import { gs, mq } from './utils';
|
|
5
5
|
export var Byline = function Byline(_ref) {
|
|
6
6
|
var text = _ref.text,
|
|
7
7
|
children = _ref.children,
|
|
@@ -3,7 +3,7 @@ import { jsx } from '@emotion/core';
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import ImageLoader from 'react-render-image';
|
|
5
5
|
import LinkIcon from '@atlaskit/icon/glyph/link';
|
|
6
|
-
import { gs } from '
|
|
6
|
+
import { gs } from './utils';
|
|
7
7
|
export var blockCardIconImageClassName = 'block-card-icon-image';
|
|
8
8
|
export var Icon = function Icon(_ref) {
|
|
9
9
|
var url = _ref.url,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { jsx } from '@emotion/core';
|
|
3
3
|
import Tooltip from '@atlaskit/tooltip';
|
|
4
|
-
import { gs } from '
|
|
4
|
+
import { gs } from './utils';
|
|
5
5
|
import { N300 } from '@atlaskit/theme/colors';
|
|
6
6
|
export var Metadata = function Metadata(_ref) {
|
|
7
7
|
var text = _ref.text,
|
|
@@ -3,7 +3,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
3
3
|
/** @jsx jsx */
|
|
4
4
|
import { jsx } from '@emotion/core';
|
|
5
5
|
import { Metadata } from './Metadata';
|
|
6
|
-
import { gs } from '
|
|
6
|
+
import { gs } from './utils';
|
|
7
7
|
export var metadataListClassName = 'smart-link-metadata-list';
|
|
8
8
|
export var MetadataList = function MetadataList(_ref) {
|
|
9
9
|
var items = _ref.items,
|
|
@@ -28,7 +28,7 @@ https://atlassian.design/components/modal-dialog/examples#customizing-modal-dial
|
|
|
28
28
|
import React, { useState } from 'react';
|
|
29
29
|
import ModalDialog, { ModalTransition, ModalBody } from '@atlaskit/modal-dialog';
|
|
30
30
|
import { Header } from './ModalHeader';
|
|
31
|
-
import { getIframeSandboxAttribute } from '
|
|
31
|
+
import { getIframeSandboxAttribute } from '../../utils';
|
|
32
32
|
var iframeStyles = {
|
|
33
33
|
width: "100%",
|
|
34
34
|
height: 'calc(100vh - 248px)'
|
|
@@ -7,7 +7,7 @@ import ShortcutIcon from '@atlaskit/icon/glyph/shortcut';
|
|
|
7
7
|
import Button from '@atlaskit/button/custom-theme-button';
|
|
8
8
|
import { N100, N30A } from '@atlaskit/theme/colors';
|
|
9
9
|
import { FormattedMessage } from 'react-intl-next';
|
|
10
|
-
import { gs } from '
|
|
10
|
+
import { gs } from './utils';
|
|
11
11
|
import { Icon } from './Icon';
|
|
12
12
|
import { MetadataList } from './MetadataList';
|
|
13
13
|
import { Byline } from './Byline';
|
|
File without changes
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { contentFooterClassName } from './view/BlockCard/components/ContentFooter';
|
|
2
|
-
export { metadataListClassName } from './view/
|
|
2
|
+
export { metadataListClassName } from './view/common/MetadataList';
|
|
3
3
|
export { blockCardResolvingViewClassName } from './view/BlockCard/views/ResolvingView';
|
|
4
4
|
export { blockCardResolvedViewClassName, blockCardResolvedViewByClassName, } from './view/BlockCard/views/ResolvedView';
|
|
5
5
|
export { blockCardForbiddenViewClassName, blockCardForbiddenViewLinkClassName, } from './view/BlockCard/views/ForbiddenView';
|
|
6
|
-
export { blockCardIconImageClassName } from './view/
|
|
6
|
+
export { blockCardIconImageClassName } from './view/common/Icon';
|
|
7
7
|
export { blockCardContentClassName } from './view/BlockCard/components/Content';
|
|
8
8
|
export { blockCardContentHeaderClassName } from './view/BlockCard/components/ContentHeader';
|
|
9
9
|
export { blockCardContentHeaderNameClassName } from './view/BlockCard/components/Name';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { ErrorInfo } from 'react';
|
|
2
|
-
import { ModalProps } from '
|
|
2
|
+
import { ModalProps } from '../../common/Modal';
|
|
3
3
|
import { ActionProps } from '../components/Action';
|
|
4
|
-
import { IconProps } from '
|
|
5
|
-
import { MetadataProps } from '
|
|
4
|
+
import { IconProps } from '../../common/Icon';
|
|
5
|
+
import { MetadataProps } from '../../common/Metadata';
|
|
6
6
|
export interface PreviewFunctionArg extends ModalProps {
|
|
7
7
|
popupMountPointId: string;
|
|
8
8
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ActionProps } from '../components/Action';
|
|
3
|
-
import { IconProps } from '
|
|
3
|
+
import { IconProps } from '../../common/Icon';
|
|
4
4
|
import { RequestAccessContextProps } from '../../types';
|
|
5
5
|
export interface PermissionDeniedProps {
|
|
6
6
|
actions?: Array<ActionProps>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { AvatarClickEventHandler } from '@atlaskit/avatar';
|
|
3
3
|
import { Collaborator } from '../components/CollaboratorList';
|
|
4
|
-
import { IconProps } from '
|
|
4
|
+
import { IconProps } from '../../common/Icon';
|
|
5
5
|
import { ActionProps } from '../components/Action';
|
|
6
|
-
import { MetadataProps } from '
|
|
6
|
+
import { MetadataProps } from '../../common/Metadata';
|
|
7
7
|
import { ContextViewModel } from '../../types';
|
|
8
8
|
import { LozengeProps } from '../../../types';
|
|
9
9
|
export interface ResolvedViewProps {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|