@atlaskit/smart-card 34.2.0 → 34.2.2
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 +15 -0
- package/dist/cjs/common/ui/icons/angle-brackets-icon.js +22 -0
- package/dist/cjs/common/ui/icons/audio-icon.js +22 -0
- package/dist/cjs/common/ui/icons/chart-bar-icon.js +22 -0
- package/dist/cjs/common/ui/icons/file-icon.js +22 -0
- package/dist/cjs/common/ui/icons/folder-icon.js +22 -0
- package/dist/cjs/common/ui/icons/image-icon.js +22 -0
- package/dist/cjs/common/ui/icons/list-bullet-icon.js +22 -0
- package/dist/cjs/common/ui/icons/page-icon.js +23 -0
- package/dist/cjs/common/ui/icons/video-icon.js +22 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/utils/index.js +258 -2
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/cjs/view/RelatedLinksModal/components/related-links-list/index.js +1 -0
- package/dist/es2019/common/ui/icons/angle-brackets-icon.js +15 -0
- package/dist/es2019/common/ui/icons/audio-icon.js +15 -0
- package/dist/es2019/common/ui/icons/chart-bar-icon.js +15 -0
- package/dist/es2019/common/ui/icons/file-icon.js +15 -0
- package/dist/es2019/common/ui/icons/folder-icon.js +15 -0
- package/dist/es2019/common/ui/icons/image-icon.js +15 -0
- package/dist/es2019/common/ui/icons/list-bullet-icon.js +15 -0
- package/dist/es2019/common/ui/icons/page-icon.js +16 -0
- package/dist/es2019/common/ui/icons/video-icon.js +15 -0
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/utils/index.js +56 -2
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/es2019/view/RelatedLinksModal/components/related-links-list/index.js +1 -0
- package/dist/esm/common/ui/icons/angle-brackets-icon.js +15 -0
- package/dist/esm/common/ui/icons/audio-icon.js +15 -0
- package/dist/esm/common/ui/icons/chart-bar-icon.js +15 -0
- package/dist/esm/common/ui/icons/file-icon.js +15 -0
- package/dist/esm/common/ui/icons/folder-icon.js +15 -0
- package/dist/esm/common/ui/icons/image-icon.js +15 -0
- package/dist/esm/common/ui/icons/list-bullet-icon.js +15 -0
- package/dist/esm/common/ui/icons/page-icon.js +16 -0
- package/dist/esm/common/ui/icons/video-icon.js +15 -0
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/utils/index.js +158 -2
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/esm/view/RelatedLinksModal/components/related-links-list/index.js +1 -0
- package/dist/types/common/ui/icons/angle-brackets-icon.d.ts +7 -0
- package/dist/types/common/ui/icons/audio-icon.d.ts +7 -0
- package/dist/types/common/ui/icons/chart-bar-icon.d.ts +7 -0
- package/dist/types/common/ui/icons/file-icon.d.ts +7 -0
- package/dist/types/common/ui/icons/folder-icon.d.ts +7 -0
- package/dist/types/common/ui/icons/image-icon.d.ts +7 -0
- package/dist/types/common/ui/icons/list-bullet-icon.d.ts +7 -0
- package/dist/types/common/ui/icons/page-icon.d.ts +7 -0
- package/dist/types/common/ui/icons/video-icon.d.ts +7 -0
- package/dist/types-ts4.5/common/ui/icons/angle-brackets-icon.d.ts +7 -0
- package/dist/types-ts4.5/common/ui/icons/audio-icon.d.ts +7 -0
- package/dist/types-ts4.5/common/ui/icons/chart-bar-icon.d.ts +7 -0
- package/dist/types-ts4.5/common/ui/icons/file-icon.d.ts +7 -0
- package/dist/types-ts4.5/common/ui/icons/folder-icon.d.ts +7 -0
- package/dist/types-ts4.5/common/ui/icons/image-icon.d.ts +7 -0
- package/dist/types-ts4.5/common/ui/icons/list-bullet-icon.d.ts +7 -0
- package/dist/types-ts4.5/common/ui/icons/page-icon.d.ts +7 -0
- package/dist/types-ts4.5/common/ui/icons/video-icon.d.ts +7 -0
- package/package.json +8 -3
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { IconTile } from '@atlaskit/icon';
|
|
4
|
+
import LegacyIcon from '@atlaskit/icon-file-type/glyph/spreadsheet/16';
|
|
5
|
+
import ListBulletedIcon from '@atlaskit/icon/core/list-bulleted';
|
|
6
|
+
const ListBulletedIconWithColor = props => {
|
|
7
|
+
return /*#__PURE__*/React.createElement(IconTile, _extends({}, props, {
|
|
8
|
+
appearance: "greenBold",
|
|
9
|
+
icon: ListBulletedIcon,
|
|
10
|
+
size: "16",
|
|
11
|
+
LEGACY_fallbackComponent: /*#__PURE__*/React.createElement(LegacyIcon, props)
|
|
12
|
+
}));
|
|
13
|
+
};
|
|
14
|
+
ListBulletedIconWithColor.displayName = 'ListBulletedIconWithColor';
|
|
15
|
+
export default ListBulletedIconWithColor;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { IconTile } from '@atlaskit/icon';
|
|
4
|
+
import LegacyIcon from '@atlaskit/icon-file-type/glyph/document/16';
|
|
5
|
+
import PageIcon from '@atlaskit/icon/core/page';
|
|
6
|
+
const PageIconWithColor = props => {
|
|
7
|
+
return /*#__PURE__*/React.createElement(IconTile, _extends({
|
|
8
|
+
appearance: "blueBold",
|
|
9
|
+
icon: PageIcon,
|
|
10
|
+
size: "16"
|
|
11
|
+
}, props, {
|
|
12
|
+
LEGACY_fallbackComponent: /*#__PURE__*/React.createElement(LegacyIcon, props)
|
|
13
|
+
}));
|
|
14
|
+
};
|
|
15
|
+
PageIconWithColor.displayName = 'PageIconWithColor';
|
|
16
|
+
export default PageIconWithColor;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { IconTile } from '@atlaskit/icon';
|
|
4
|
+
import LegacyIcon from '@atlaskit/icon-file-type/glyph/video/16';
|
|
5
|
+
import VideoIcon from '@atlaskit/icon/core/video';
|
|
6
|
+
const VideoIconWithColor = props => {
|
|
7
|
+
return /*#__PURE__*/React.createElement(IconTile, _extends({}, props, {
|
|
8
|
+
appearance: "redBold",
|
|
9
|
+
icon: VideoIcon,
|
|
10
|
+
size: "16",
|
|
11
|
+
LEGACY_fallbackComponent: /*#__PURE__*/React.createElement(LegacyIcon, props)
|
|
12
|
+
}));
|
|
13
|
+
};
|
|
14
|
+
VideoIconWithColor.displayName = 'VideoIconWithColor';
|
|
15
|
+
export default VideoIconWithColor;
|
|
@@ -2,7 +2,7 @@ export const ANALYTICS_CHANNEL = 'media';
|
|
|
2
2
|
export const context = {
|
|
3
3
|
componentName: 'smart-cards',
|
|
4
4
|
packageName: "@atlaskit/smart-card",
|
|
5
|
-
packageVersion: "34.2.
|
|
5
|
+
packageVersion: "34.2.2"
|
|
6
6
|
};
|
|
7
7
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
8
8
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import Loadable from 'react-loadable';
|
|
3
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
3
4
|
import { themeObjectToString } from '@atlaskit/tokens';
|
|
4
5
|
export const isSpecialEvent = evt => evt.isDefaultPrevented() && (isIframe() || isSpecialKey(evt) || isSpecialClick(evt));
|
|
5
6
|
export const isIframe = () => window.parent !== parent;
|
|
@@ -19,7 +20,7 @@ export const getIconForFileType = fileMimeType => {
|
|
|
19
20
|
if (!fileMimeType) {
|
|
20
21
|
return;
|
|
21
22
|
}
|
|
22
|
-
let icon = typeToIcon[fileMimeType.toLowerCase()];
|
|
23
|
+
let icon = fg('platform-smart-card-icon-migration') ? getTypeToIconMap()[fileMimeType.toLowerCase()] : typeToIcon[fileMimeType.toLowerCase()];
|
|
23
24
|
if (!icon) {
|
|
24
25
|
return;
|
|
25
26
|
}
|
|
@@ -38,7 +39,7 @@ export const getIconForFileType = fileMimeType => {
|
|
|
38
39
|
});
|
|
39
40
|
};
|
|
40
41
|
export const getLabelForFileType = fileMimeType => {
|
|
41
|
-
let icon = typeToIcon[fileMimeType.toLowerCase()];
|
|
42
|
+
let icon = fg('platform-smart-card-icon-migration') ? getTypeToIconMap()[fileMimeType.toLowerCase()] : typeToIcon[fileMimeType.toLowerCase()];
|
|
42
43
|
if (!icon) {
|
|
43
44
|
return;
|
|
44
45
|
}
|
|
@@ -98,6 +99,59 @@ const typeToIcon = {
|
|
|
98
99
|
'application/sketch': ['Sketch', () => import('@atlaskit/icon-file-type/glyph/sketch/16')],
|
|
99
100
|
folder: ['Folder', () => import('@atlaskit/icon-file-type/glyph/folder/16')]
|
|
100
101
|
};
|
|
102
|
+
const getTypeToIconMap = () => ({
|
|
103
|
+
'text/plain': ['Document', () => import( /* webpackChunkName: "@atlaskit-internal_page-icon" */'../common/ui/icons/page-icon')],
|
|
104
|
+
'application/vnd.oasis.opendocument.text': ['Document', () => import( /* webpackChunkName: "@atlaskit-internal_page-icon" */'../common/ui/icons/page-icon')],
|
|
105
|
+
'application/vnd.apple.pages': ['Document', () => import( /* webpackChunkName: "@atlaskit-internal_page-icon" */'../common/ui/icons/page-icon')],
|
|
106
|
+
'application/vnd.google-apps.document': ['Google Doc', () => import('@atlaskit/icon-file-type/glyph/google-doc/16')],
|
|
107
|
+
'application/msword': ['Word document', () => import('@atlaskit/icon-file-type/glyph/word-document/16')],
|
|
108
|
+
'application/vnd.openxmlformats-officedocument.wordprocessingml.document': ['Word document', () => import('@atlaskit/icon-file-type/glyph/word-document/16')],
|
|
109
|
+
'application/pdf': ['PDF document', () => import('@atlaskit/icon-file-type/glyph/pdf-document/16')],
|
|
110
|
+
'application/vnd.oasis.opendocument.spreadsheet': ['Spreadsheet', () => import( /* webpackChunkName: "@atlaskit-internal_list-bullet-icon" */'../common/ui/icons/list-bullet-icon')],
|
|
111
|
+
'application/vnd.apple.numbers': ['Spreadsheet', () => import( /* webpackChunkName: "@atlaskit-internal_list-bullet-icon" */'../common/ui/icons/list-bullet-icon')],
|
|
112
|
+
'application/vnd.google-apps.spreadsheet': ['Google Sheet', () => import('@atlaskit/icon-file-type/glyph/google-sheet/16')],
|
|
113
|
+
'application/vnd.ms-excel': ['Excel spreadsheet', () => import('@atlaskit/icon-file-type/glyph/excel-spreadsheet/16')],
|
|
114
|
+
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': ['Excel spreadsheet', () => import('@atlaskit/icon-file-type/glyph/excel-spreadsheet/16')],
|
|
115
|
+
'application/vnd.oasis.opendocument.presentation': ['Presentation', () => import( /* webpackChunkName: "@atlaskit-internal_chart-bar-icon" */'../common/ui/icons/chart-bar-icon')],
|
|
116
|
+
'application/vnd.apple.keynote': ['Presentation', () => import( /* webpackChunkName: "@atlaskit-internal_chart-bar-icon" */'../common/ui/icons/chart-bar-icon')],
|
|
117
|
+
'application/vnd.google-apps.presentation': ['Google Slide', () => import('@atlaskit/icon-file-type/glyph/google-slide/16')],
|
|
118
|
+
'application/vnd.ms-powerpoint': ['PowerPoint presentation', () => import('@atlaskit/icon-file-type/glyph/powerpoint-presentation/16')],
|
|
119
|
+
'application/vnd.openxmlformats-officedocument.presentationml.presentation': ['PowerPoint presentation', () => import('@atlaskit/icon-file-type/glyph/powerpoint-presentation/16')],
|
|
120
|
+
'application/vnd.google-apps.form': ['Google Form', () => import('@atlaskit/icon-file-type/glyph/google-form/16')],
|
|
121
|
+
'image/png': ['Image', () => import( /* webpackChunkName: "@atlaskit-internal_image-icon" */'../common/ui/icons/image-icon')],
|
|
122
|
+
'image/jpeg': ['Image', () => import( /* webpackChunkName: "@atlaskit-internal_image-icon" */'../common/ui/icons/image-icon')],
|
|
123
|
+
'image/bmp': ['Image', () => import( /* webpackChunkName: "@atlaskit-internal_image-icon" */'../common/ui/icons/image-icon')],
|
|
124
|
+
'image/webp': ['Image', () => import( /* webpackChunkName: "@atlaskit-internal_image-icon" */'../common/ui/icons/image-icon')],
|
|
125
|
+
'image/svg+xml': ['Image', () => import( /* webpackChunkName: "@atlaskit-internal_image-icon" */'../common/ui/icons/image-icon')],
|
|
126
|
+
'image/gif': ['GIF', () => import('@atlaskit/icon-file-type/glyph/gif/16')],
|
|
127
|
+
'audio/midi': ['Audio', () => import( /* webpackChunkName: "@atlaskit-internal_audio-icon" */'../common/ui/icons/audio-icon')],
|
|
128
|
+
'audio/mpeg': ['Audio', () => import( /* webpackChunkName: "@atlaskit-internal_audio-icon" */'../common/ui/icons/audio-icon')],
|
|
129
|
+
'audio/webm': ['Audio', () => import( /* webpackChunkName: "@atlaskit-internal_audio-icon" */'../common/ui/icons/audio-icon')],
|
|
130
|
+
'audio/ogg': ['Audio', () => import( /* webpackChunkName: "@atlaskit-internal_audio-icon" */'../common/ui/icons/audio-icon')],
|
|
131
|
+
'audio/wav': ['Audio', () => import( /* webpackChunkName: "@atlaskit-internal_audio-icon" */'../common/ui/icons/audio-icon')],
|
|
132
|
+
'video/mp4': ['Video', () => import( /* webpackChunkName: "@atlaskit-internal_video-icon" */'../common/ui/icons/video-icon')],
|
|
133
|
+
'video/quicktime': ['Video', () => import( /* webpackChunkName: "@atlaskit-internal_video-icon" */'../common/ui/icons/video-icon')],
|
|
134
|
+
'video/mov': ['Video', () => import( /* webpackChunkName: "@atlaskit-internal_video-icon" */'../common/ui/icons/video-icon')],
|
|
135
|
+
'video/webm': ['Video', () => import( /* webpackChunkName: "@atlaskit-internal_video-icon" */'../common/ui/icons/video-icon')],
|
|
136
|
+
'video/ogg': ['Video', () => import( /* webpackChunkName: "@atlaskit-internal_video-icon" */'../common/ui/icons/video-icon')],
|
|
137
|
+
'video/x-ms-wmv': ['Video', () => import( /* webpackChunkName: "@atlaskit-internal_video-icon" */'../common/ui/icons/video-icon')],
|
|
138
|
+
'video/x-msvideo': ['Video', () => import( /* webpackChunkName: "@atlaskit-internal_video-icon" */'../common/ui/icons/video-icon')],
|
|
139
|
+
'application/zip': ['Archive', () => import('@atlaskit/icon-file-type/glyph/archive/16')],
|
|
140
|
+
'application/x-tar': ['Archive', () => import('@atlaskit/icon-file-type/glyph/archive/16')],
|
|
141
|
+
'application/x-gtar': ['Archive', () => import('@atlaskit/icon-file-type/glyph/archive/16')],
|
|
142
|
+
'application/x-7z-compressed': ['Archive', () => import('@atlaskit/icon-file-type/glyph/archive/16')],
|
|
143
|
+
'application/x-apple-diskimage': ['Archive', () => import('@atlaskit/icon-file-type/glyph/archive/16')],
|
|
144
|
+
'application/vnd.rar': ['Archive', () => import('@atlaskit/icon-file-type/glyph/archive/16')],
|
|
145
|
+
'application/dmg': ['Executable', () => import('@atlaskit/icon-file-type/glyph/executable/16')],
|
|
146
|
+
'text/css': ['Source Code', () => import( /* webpackChunkName: "@atlaskit-internal_angle-brackets-icon" */'../common/ui/icons/angle-brackets-icon')],
|
|
147
|
+
'text/html': ['Source Code', () => import( /* webpackChunkName: "@atlaskit-internal_angle-brackets-icon" */'../common/ui/icons/angle-brackets-icon')],
|
|
148
|
+
'application/javascript': ['Source Code', () => import( /* webpackChunkName: "@atlaskit-internal_angle-brackets-icon" */'../common/ui/icons/angle-brackets-icon')],
|
|
149
|
+
'application/octet-stream': ['Binary file', () => import( /* webpackChunkName: "@atlaskit-internal_file-icon" */'../common/ui/icons/file-icon')],
|
|
150
|
+
'application/invision.prototype': ['Prototype', () => import( /* webpackChunkName: "@atlaskit-internal_file-icon" */'../common/ui/icons/file-icon')],
|
|
151
|
+
// TODO: Figure a way to detect those
|
|
152
|
+
'application/sketch': ['Sketch', () => import('@atlaskit/icon-file-type/glyph/sketch/16')],
|
|
153
|
+
folder: ['Folder', () => import( /* webpackChunkName: "@atlaskit-internal_folder-icon" */'../common/ui/icons/folder-icon')]
|
|
154
|
+
});
|
|
101
155
|
export const getIframeSandboxAttribute = isTrusted => {
|
|
102
156
|
if (isTrusted) {
|
|
103
157
|
return undefined;
|
|
@@ -10,7 +10,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
10
10
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
11
11
|
const PACKAGE_DATA = {
|
|
12
12
|
packageName: "@atlaskit/smart-card",
|
|
13
|
-
packageVersion: "34.2.
|
|
13
|
+
packageVersion: "34.2.2",
|
|
14
14
|
componentName: 'linkUrl'
|
|
15
15
|
};
|
|
16
16
|
const Anchor = withLinkClickedEvent('a');
|
|
@@ -22,6 +22,7 @@ const RelatedLinksList = ({
|
|
|
22
22
|
,
|
|
23
23
|
xcss: xcss({
|
|
24
24
|
font: "var(--ds-font-heading-xxsmall, normal 600 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
25
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
25
26
|
textTransform: 'uppercase'
|
|
26
27
|
})
|
|
27
28
|
}, jsx(FormattedMessage, title)), urls.length > 0 && jsx(Box, null, urls.map((url, idx) => jsx(Stack, {
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { IconTile } from '@atlaskit/icon';
|
|
4
|
+
import LegacyIcon from '@atlaskit/icon-file-type/glyph/source-code/16';
|
|
5
|
+
import AngleBracketsIcon from '@atlaskit/icon/core/angle-brackets';
|
|
6
|
+
var AngleBracketsIconWithColor = function AngleBracketsIconWithColor(props) {
|
|
7
|
+
return /*#__PURE__*/React.createElement(IconTile, _extends({}, props, {
|
|
8
|
+
appearance: "blueBold",
|
|
9
|
+
icon: AngleBracketsIcon,
|
|
10
|
+
size: "16",
|
|
11
|
+
LEGACY_fallbackComponent: /*#__PURE__*/React.createElement(LegacyIcon, props)
|
|
12
|
+
}));
|
|
13
|
+
};
|
|
14
|
+
AngleBracketsIconWithColor.displayName = 'AngleBracketsIconWithColor';
|
|
15
|
+
export default AngleBracketsIconWithColor;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { IconTile } from '@atlaskit/icon';
|
|
4
|
+
import LegacyIcon from '@atlaskit/icon-file-type/glyph/audio/16';
|
|
5
|
+
import AudioIcon from '@atlaskit/icon/core/audio';
|
|
6
|
+
var AudioIconWithColor = function AudioIconWithColor(props) {
|
|
7
|
+
return /*#__PURE__*/React.createElement(IconTile, _extends({}, props, {
|
|
8
|
+
appearance: "redBold",
|
|
9
|
+
icon: AudioIcon,
|
|
10
|
+
size: "16",
|
|
11
|
+
LEGACY_fallbackComponent: /*#__PURE__*/React.createElement(LegacyIcon, props)
|
|
12
|
+
}));
|
|
13
|
+
};
|
|
14
|
+
AudioIconWithColor.displayName = 'AudioIconWithColor';
|
|
15
|
+
export default AudioIconWithColor;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { IconTile } from '@atlaskit/icon';
|
|
4
|
+
import LegacyIcon from '@atlaskit/icon-file-type/glyph/presentation/16';
|
|
5
|
+
import ChartBarIcon from '@atlaskit/icon/core/chart-bar';
|
|
6
|
+
var ChartBarIconWithColor = function ChartBarIconWithColor(props) {
|
|
7
|
+
return /*#__PURE__*/React.createElement(IconTile, _extends({}, props, {
|
|
8
|
+
appearance: "purpleBold",
|
|
9
|
+
icon: ChartBarIcon,
|
|
10
|
+
size: "16",
|
|
11
|
+
LEGACY_fallbackComponent: /*#__PURE__*/React.createElement(LegacyIcon, props)
|
|
12
|
+
}));
|
|
13
|
+
};
|
|
14
|
+
ChartBarIconWithColor.displayName = 'ChartBarIconWithColor';
|
|
15
|
+
export default ChartBarIconWithColor;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { IconTile } from '@atlaskit/icon';
|
|
4
|
+
import LegacyIcon from '@atlaskit/icon-file-type/glyph/generic/16';
|
|
5
|
+
import FileIcon from '@atlaskit/icon/core/file';
|
|
6
|
+
var FileIconWithColor = function FileIconWithColor(props) {
|
|
7
|
+
return /*#__PURE__*/React.createElement(IconTile, _extends({}, props, {
|
|
8
|
+
appearance: "grayBold",
|
|
9
|
+
icon: FileIcon,
|
|
10
|
+
size: "16",
|
|
11
|
+
LEGACY_fallbackComponent: /*#__PURE__*/React.createElement(LegacyIcon, props)
|
|
12
|
+
}));
|
|
13
|
+
};
|
|
14
|
+
FileIconWithColor.displayName = 'FileIconWithColor';
|
|
15
|
+
export default FileIconWithColor;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { IconTile } from '@atlaskit/icon';
|
|
4
|
+
import LegacyIcon from '@atlaskit/icon-file-type/glyph/folder/16';
|
|
5
|
+
import FolderClosedIcon from '@atlaskit/icon/core/folder-closed';
|
|
6
|
+
var FolderClosedIconWithColor = function FolderClosedIconWithColor(props) {
|
|
7
|
+
return /*#__PURE__*/React.createElement(IconTile, _extends({}, props, {
|
|
8
|
+
appearance: "blueBold",
|
|
9
|
+
icon: FolderClosedIcon,
|
|
10
|
+
size: "16",
|
|
11
|
+
LEGACY_fallbackComponent: /*#__PURE__*/React.createElement(LegacyIcon, props)
|
|
12
|
+
}));
|
|
13
|
+
};
|
|
14
|
+
FolderClosedIconWithColor.displayName = 'FolderClosedIconWithColor';
|
|
15
|
+
export default FolderClosedIconWithColor;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { IconTile } from '@atlaskit/icon';
|
|
4
|
+
import LegacyIcon from '@atlaskit/icon-file-type/glyph/image/16';
|
|
5
|
+
import ImageIcon from '@atlaskit/icon/core/image';
|
|
6
|
+
var ImageIconWithColor = function ImageIconWithColor(props) {
|
|
7
|
+
return /*#__PURE__*/React.createElement(IconTile, _extends({}, props, {
|
|
8
|
+
appearance: "yellowBold",
|
|
9
|
+
icon: ImageIcon,
|
|
10
|
+
size: "16",
|
|
11
|
+
LEGACY_fallbackComponent: /*#__PURE__*/React.createElement(LegacyIcon, props)
|
|
12
|
+
}));
|
|
13
|
+
};
|
|
14
|
+
ImageIconWithColor.displayName = 'ImageIconWithColor';
|
|
15
|
+
export default ImageIconWithColor;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { IconTile } from '@atlaskit/icon';
|
|
4
|
+
import LegacyIcon from '@atlaskit/icon-file-type/glyph/spreadsheet/16';
|
|
5
|
+
import ListBulletedIcon from '@atlaskit/icon/core/list-bulleted';
|
|
6
|
+
var ListBulletedIconWithColor = function ListBulletedIconWithColor(props) {
|
|
7
|
+
return /*#__PURE__*/React.createElement(IconTile, _extends({}, props, {
|
|
8
|
+
appearance: "greenBold",
|
|
9
|
+
icon: ListBulletedIcon,
|
|
10
|
+
size: "16",
|
|
11
|
+
LEGACY_fallbackComponent: /*#__PURE__*/React.createElement(LegacyIcon, props)
|
|
12
|
+
}));
|
|
13
|
+
};
|
|
14
|
+
ListBulletedIconWithColor.displayName = 'ListBulletedIconWithColor';
|
|
15
|
+
export default ListBulletedIconWithColor;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { IconTile } from '@atlaskit/icon';
|
|
4
|
+
import LegacyIcon from '@atlaskit/icon-file-type/glyph/document/16';
|
|
5
|
+
import PageIcon from '@atlaskit/icon/core/page';
|
|
6
|
+
var PageIconWithColor = function PageIconWithColor(props) {
|
|
7
|
+
return /*#__PURE__*/React.createElement(IconTile, _extends({
|
|
8
|
+
appearance: "blueBold",
|
|
9
|
+
icon: PageIcon,
|
|
10
|
+
size: "16"
|
|
11
|
+
}, props, {
|
|
12
|
+
LEGACY_fallbackComponent: /*#__PURE__*/React.createElement(LegacyIcon, props)
|
|
13
|
+
}));
|
|
14
|
+
};
|
|
15
|
+
PageIconWithColor.displayName = 'PageIconWithColor';
|
|
16
|
+
export default PageIconWithColor;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { IconTile } from '@atlaskit/icon';
|
|
4
|
+
import LegacyIcon from '@atlaskit/icon-file-type/glyph/video/16';
|
|
5
|
+
import VideoIcon from '@atlaskit/icon/core/video';
|
|
6
|
+
var VideoIconWithColor = function VideoIconWithColor(props) {
|
|
7
|
+
return /*#__PURE__*/React.createElement(IconTile, _extends({}, props, {
|
|
8
|
+
appearance: "redBold",
|
|
9
|
+
icon: VideoIcon,
|
|
10
|
+
size: "16",
|
|
11
|
+
LEGACY_fallbackComponent: /*#__PURE__*/React.createElement(LegacyIcon, props)
|
|
12
|
+
}));
|
|
13
|
+
};
|
|
14
|
+
VideoIconWithColor.displayName = 'VideoIconWithColor';
|
|
15
|
+
export default VideoIconWithColor;
|
|
@@ -4,7 +4,7 @@ export var ANALYTICS_CHANNEL = 'media';
|
|
|
4
4
|
export var context = {
|
|
5
5
|
componentName: 'smart-cards',
|
|
6
6
|
packageName: "@atlaskit/smart-card",
|
|
7
|
-
packageVersion: "34.2.
|
|
7
|
+
packageVersion: "34.2.2"
|
|
8
8
|
};
|
|
9
9
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
package/dist/esm/utils/index.js
CHANGED
|
@@ -3,6 +3,7 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
|
3
3
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import Loadable from 'react-loadable';
|
|
6
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
7
|
import { themeObjectToString } from '@atlaskit/tokens';
|
|
7
8
|
export var isSpecialEvent = function isSpecialEvent(evt) {
|
|
8
9
|
return evt.isDefaultPrevented() && (isIframe() || isSpecialKey(evt) || isSpecialClick(evt));
|
|
@@ -30,7 +31,7 @@ export var getIconForFileType = function getIconForFileType(fileMimeType) {
|
|
|
30
31
|
if (!fileMimeType) {
|
|
31
32
|
return;
|
|
32
33
|
}
|
|
33
|
-
var icon = typeToIcon[fileMimeType.toLowerCase()];
|
|
34
|
+
var icon = fg('platform-smart-card-icon-migration') ? getTypeToIconMap()[fileMimeType.toLowerCase()] : typeToIcon[fileMimeType.toLowerCase()];
|
|
34
35
|
if (!icon) {
|
|
35
36
|
return;
|
|
36
37
|
}
|
|
@@ -57,7 +58,7 @@ export var getIconForFileType = function getIconForFileType(fileMimeType) {
|
|
|
57
58
|
});
|
|
58
59
|
};
|
|
59
60
|
export var getLabelForFileType = function getLabelForFileType(fileMimeType) {
|
|
60
|
-
var icon = typeToIcon[fileMimeType.toLowerCase()];
|
|
61
|
+
var icon = fg('platform-smart-card-icon-migration') ? getTypeToIconMap()[fileMimeType.toLowerCase()] : typeToIcon[fileMimeType.toLowerCase()];
|
|
61
62
|
if (!icon) {
|
|
62
63
|
return;
|
|
63
64
|
}
|
|
@@ -218,6 +219,161 @@ var typeToIcon = {
|
|
|
218
219
|
return import('@atlaskit/icon-file-type/glyph/folder/16');
|
|
219
220
|
}]
|
|
220
221
|
};
|
|
222
|
+
var getTypeToIconMap = function getTypeToIconMap() {
|
|
223
|
+
return {
|
|
224
|
+
'text/plain': ['Document', function () {
|
|
225
|
+
return import( /* webpackChunkName: "@atlaskit-internal_page-icon" */'../common/ui/icons/page-icon');
|
|
226
|
+
}],
|
|
227
|
+
'application/vnd.oasis.opendocument.text': ['Document', function () {
|
|
228
|
+
return import( /* webpackChunkName: "@atlaskit-internal_page-icon" */'../common/ui/icons/page-icon');
|
|
229
|
+
}],
|
|
230
|
+
'application/vnd.apple.pages': ['Document', function () {
|
|
231
|
+
return import( /* webpackChunkName: "@atlaskit-internal_page-icon" */'../common/ui/icons/page-icon');
|
|
232
|
+
}],
|
|
233
|
+
'application/vnd.google-apps.document': ['Google Doc', function () {
|
|
234
|
+
return import('@atlaskit/icon-file-type/glyph/google-doc/16');
|
|
235
|
+
}],
|
|
236
|
+
'application/msword': ['Word document', function () {
|
|
237
|
+
return import('@atlaskit/icon-file-type/glyph/word-document/16');
|
|
238
|
+
}],
|
|
239
|
+
'application/vnd.openxmlformats-officedocument.wordprocessingml.document': ['Word document', function () {
|
|
240
|
+
return import('@atlaskit/icon-file-type/glyph/word-document/16');
|
|
241
|
+
}],
|
|
242
|
+
'application/pdf': ['PDF document', function () {
|
|
243
|
+
return import('@atlaskit/icon-file-type/glyph/pdf-document/16');
|
|
244
|
+
}],
|
|
245
|
+
'application/vnd.oasis.opendocument.spreadsheet': ['Spreadsheet', function () {
|
|
246
|
+
return import( /* webpackChunkName: "@atlaskit-internal_list-bullet-icon" */'../common/ui/icons/list-bullet-icon');
|
|
247
|
+
}],
|
|
248
|
+
'application/vnd.apple.numbers': ['Spreadsheet', function () {
|
|
249
|
+
return import( /* webpackChunkName: "@atlaskit-internal_list-bullet-icon" */'../common/ui/icons/list-bullet-icon');
|
|
250
|
+
}],
|
|
251
|
+
'application/vnd.google-apps.spreadsheet': ['Google Sheet', function () {
|
|
252
|
+
return import('@atlaskit/icon-file-type/glyph/google-sheet/16');
|
|
253
|
+
}],
|
|
254
|
+
'application/vnd.ms-excel': ['Excel spreadsheet', function () {
|
|
255
|
+
return import('@atlaskit/icon-file-type/glyph/excel-spreadsheet/16');
|
|
256
|
+
}],
|
|
257
|
+
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': ['Excel spreadsheet', function () {
|
|
258
|
+
return import('@atlaskit/icon-file-type/glyph/excel-spreadsheet/16');
|
|
259
|
+
}],
|
|
260
|
+
'application/vnd.oasis.opendocument.presentation': ['Presentation', function () {
|
|
261
|
+
return import( /* webpackChunkName: "@atlaskit-internal_chart-bar-icon" */'../common/ui/icons/chart-bar-icon');
|
|
262
|
+
}],
|
|
263
|
+
'application/vnd.apple.keynote': ['Presentation', function () {
|
|
264
|
+
return import( /* webpackChunkName: "@atlaskit-internal_chart-bar-icon" */'../common/ui/icons/chart-bar-icon');
|
|
265
|
+
}],
|
|
266
|
+
'application/vnd.google-apps.presentation': ['Google Slide', function () {
|
|
267
|
+
return import('@atlaskit/icon-file-type/glyph/google-slide/16');
|
|
268
|
+
}],
|
|
269
|
+
'application/vnd.ms-powerpoint': ['PowerPoint presentation', function () {
|
|
270
|
+
return import('@atlaskit/icon-file-type/glyph/powerpoint-presentation/16');
|
|
271
|
+
}],
|
|
272
|
+
'application/vnd.openxmlformats-officedocument.presentationml.presentation': ['PowerPoint presentation', function () {
|
|
273
|
+
return import('@atlaskit/icon-file-type/glyph/powerpoint-presentation/16');
|
|
274
|
+
}],
|
|
275
|
+
'application/vnd.google-apps.form': ['Google Form', function () {
|
|
276
|
+
return import('@atlaskit/icon-file-type/glyph/google-form/16');
|
|
277
|
+
}],
|
|
278
|
+
'image/png': ['Image', function () {
|
|
279
|
+
return import( /* webpackChunkName: "@atlaskit-internal_image-icon" */'../common/ui/icons/image-icon');
|
|
280
|
+
}],
|
|
281
|
+
'image/jpeg': ['Image', function () {
|
|
282
|
+
return import( /* webpackChunkName: "@atlaskit-internal_image-icon" */'../common/ui/icons/image-icon');
|
|
283
|
+
}],
|
|
284
|
+
'image/bmp': ['Image', function () {
|
|
285
|
+
return import( /* webpackChunkName: "@atlaskit-internal_image-icon" */'../common/ui/icons/image-icon');
|
|
286
|
+
}],
|
|
287
|
+
'image/webp': ['Image', function () {
|
|
288
|
+
return import( /* webpackChunkName: "@atlaskit-internal_image-icon" */'../common/ui/icons/image-icon');
|
|
289
|
+
}],
|
|
290
|
+
'image/svg+xml': ['Image', function () {
|
|
291
|
+
return import( /* webpackChunkName: "@atlaskit-internal_image-icon" */'../common/ui/icons/image-icon');
|
|
292
|
+
}],
|
|
293
|
+
'image/gif': ['GIF', function () {
|
|
294
|
+
return import('@atlaskit/icon-file-type/glyph/gif/16');
|
|
295
|
+
}],
|
|
296
|
+
'audio/midi': ['Audio', function () {
|
|
297
|
+
return import( /* webpackChunkName: "@atlaskit-internal_audio-icon" */'../common/ui/icons/audio-icon');
|
|
298
|
+
}],
|
|
299
|
+
'audio/mpeg': ['Audio', function () {
|
|
300
|
+
return import( /* webpackChunkName: "@atlaskit-internal_audio-icon" */'../common/ui/icons/audio-icon');
|
|
301
|
+
}],
|
|
302
|
+
'audio/webm': ['Audio', function () {
|
|
303
|
+
return import( /* webpackChunkName: "@atlaskit-internal_audio-icon" */'../common/ui/icons/audio-icon');
|
|
304
|
+
}],
|
|
305
|
+
'audio/ogg': ['Audio', function () {
|
|
306
|
+
return import( /* webpackChunkName: "@atlaskit-internal_audio-icon" */'../common/ui/icons/audio-icon');
|
|
307
|
+
}],
|
|
308
|
+
'audio/wav': ['Audio', function () {
|
|
309
|
+
return import( /* webpackChunkName: "@atlaskit-internal_audio-icon" */'../common/ui/icons/audio-icon');
|
|
310
|
+
}],
|
|
311
|
+
'video/mp4': ['Video', function () {
|
|
312
|
+
return import( /* webpackChunkName: "@atlaskit-internal_video-icon" */'../common/ui/icons/video-icon');
|
|
313
|
+
}],
|
|
314
|
+
'video/quicktime': ['Video', function () {
|
|
315
|
+
return import( /* webpackChunkName: "@atlaskit-internal_video-icon" */'../common/ui/icons/video-icon');
|
|
316
|
+
}],
|
|
317
|
+
'video/mov': ['Video', function () {
|
|
318
|
+
return import( /* webpackChunkName: "@atlaskit-internal_video-icon" */'../common/ui/icons/video-icon');
|
|
319
|
+
}],
|
|
320
|
+
'video/webm': ['Video', function () {
|
|
321
|
+
return import( /* webpackChunkName: "@atlaskit-internal_video-icon" */'../common/ui/icons/video-icon');
|
|
322
|
+
}],
|
|
323
|
+
'video/ogg': ['Video', function () {
|
|
324
|
+
return import( /* webpackChunkName: "@atlaskit-internal_video-icon" */'../common/ui/icons/video-icon');
|
|
325
|
+
}],
|
|
326
|
+
'video/x-ms-wmv': ['Video', function () {
|
|
327
|
+
return import( /* webpackChunkName: "@atlaskit-internal_video-icon" */'../common/ui/icons/video-icon');
|
|
328
|
+
}],
|
|
329
|
+
'video/x-msvideo': ['Video', function () {
|
|
330
|
+
return import( /* webpackChunkName: "@atlaskit-internal_video-icon" */'../common/ui/icons/video-icon');
|
|
331
|
+
}],
|
|
332
|
+
'application/zip': ['Archive', function () {
|
|
333
|
+
return import('@atlaskit/icon-file-type/glyph/archive/16');
|
|
334
|
+
}],
|
|
335
|
+
'application/x-tar': ['Archive', function () {
|
|
336
|
+
return import('@atlaskit/icon-file-type/glyph/archive/16');
|
|
337
|
+
}],
|
|
338
|
+
'application/x-gtar': ['Archive', function () {
|
|
339
|
+
return import('@atlaskit/icon-file-type/glyph/archive/16');
|
|
340
|
+
}],
|
|
341
|
+
'application/x-7z-compressed': ['Archive', function () {
|
|
342
|
+
return import('@atlaskit/icon-file-type/glyph/archive/16');
|
|
343
|
+
}],
|
|
344
|
+
'application/x-apple-diskimage': ['Archive', function () {
|
|
345
|
+
return import('@atlaskit/icon-file-type/glyph/archive/16');
|
|
346
|
+
}],
|
|
347
|
+
'application/vnd.rar': ['Archive', function () {
|
|
348
|
+
return import('@atlaskit/icon-file-type/glyph/archive/16');
|
|
349
|
+
}],
|
|
350
|
+
'application/dmg': ['Executable', function () {
|
|
351
|
+
return import('@atlaskit/icon-file-type/glyph/executable/16');
|
|
352
|
+
}],
|
|
353
|
+
'text/css': ['Source Code', function () {
|
|
354
|
+
return import( /* webpackChunkName: "@atlaskit-internal_angle-brackets-icon" */'../common/ui/icons/angle-brackets-icon');
|
|
355
|
+
}],
|
|
356
|
+
'text/html': ['Source Code', function () {
|
|
357
|
+
return import( /* webpackChunkName: "@atlaskit-internal_angle-brackets-icon" */'../common/ui/icons/angle-brackets-icon');
|
|
358
|
+
}],
|
|
359
|
+
'application/javascript': ['Source Code', function () {
|
|
360
|
+
return import( /* webpackChunkName: "@atlaskit-internal_angle-brackets-icon" */'../common/ui/icons/angle-brackets-icon');
|
|
361
|
+
}],
|
|
362
|
+
'application/octet-stream': ['Binary file', function () {
|
|
363
|
+
return import( /* webpackChunkName: "@atlaskit-internal_file-icon" */'../common/ui/icons/file-icon');
|
|
364
|
+
}],
|
|
365
|
+
'application/invision.prototype': ['Prototype', function () {
|
|
366
|
+
return import( /* webpackChunkName: "@atlaskit-internal_file-icon" */'../common/ui/icons/file-icon');
|
|
367
|
+
}],
|
|
368
|
+
// TODO: Figure a way to detect those
|
|
369
|
+
'application/sketch': ['Sketch', function () {
|
|
370
|
+
return import('@atlaskit/icon-file-type/glyph/sketch/16');
|
|
371
|
+
}],
|
|
372
|
+
folder: ['Folder', function () {
|
|
373
|
+
return import( /* webpackChunkName: "@atlaskit-internal_folder-icon" */'../common/ui/icons/folder-icon');
|
|
374
|
+
}]
|
|
375
|
+
};
|
|
376
|
+
};
|
|
221
377
|
export var getIframeSandboxAttribute = function getIframeSandboxAttribute(isTrusted) {
|
|
222
378
|
if (isTrusted) {
|
|
223
379
|
return undefined;
|
|
@@ -13,7 +13,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
13
13
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
14
14
|
var PACKAGE_DATA = {
|
|
15
15
|
packageName: "@atlaskit/smart-card",
|
|
16
|
-
packageVersion: "34.2.
|
|
16
|
+
packageVersion: "34.2.2",
|
|
17
17
|
componentName: 'linkUrl'
|
|
18
18
|
};
|
|
19
19
|
var Anchor = withLinkClickedEvent('a');
|
|
@@ -21,6 +21,7 @@ var RelatedLinksList = function RelatedLinksList(_ref) {
|
|
|
21
21
|
,
|
|
22
22
|
xcss: xcss({
|
|
23
23
|
font: "var(--ds-font-heading-xxsmall, normal 600 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
24
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
24
25
|
textTransform: 'uppercase'
|
|
25
26
|
})
|
|
26
27
|
}, jsx(FormattedMessage, title)), urls.length > 0 && jsx(Box, null, urls.map(function (url, idx) {
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import AngleBracketsIcon from '@atlaskit/icon/core/angle-brackets';
|
|
3
|
+
declare const AngleBracketsIconWithColor: {
|
|
4
|
+
(props: ComponentPropsWithoutRef<typeof AngleBracketsIcon>): JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default AngleBracketsIconWithColor;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import AudioIcon from '@atlaskit/icon/core/audio';
|
|
3
|
+
declare const AudioIconWithColor: {
|
|
4
|
+
(props: ComponentPropsWithoutRef<typeof AudioIcon>): JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default AudioIconWithColor;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import ChartBarIcon from '@atlaskit/icon/core/chart-bar';
|
|
3
|
+
declare const ChartBarIconWithColor: {
|
|
4
|
+
(props: ComponentPropsWithoutRef<typeof ChartBarIcon>): JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default ChartBarIconWithColor;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import FileIcon from '@atlaskit/icon/core/file';
|
|
3
|
+
declare const FileIconWithColor: {
|
|
4
|
+
(props: ComponentPropsWithoutRef<typeof FileIcon>): JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default FileIconWithColor;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import FolderClosedIcon from '@atlaskit/icon/core/folder-closed';
|
|
3
|
+
declare const FolderClosedIconWithColor: {
|
|
4
|
+
(props: ComponentPropsWithoutRef<typeof FolderClosedIcon>): JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default FolderClosedIconWithColor;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import ImageIcon from '@atlaskit/icon/core/image';
|
|
3
|
+
declare const ImageIconWithColor: {
|
|
4
|
+
(props: ComponentPropsWithoutRef<typeof ImageIcon>): JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default ImageIconWithColor;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import ListBulletedIcon from '@atlaskit/icon/core/list-bulleted';
|
|
3
|
+
declare const ListBulletedIconWithColor: {
|
|
4
|
+
(props: ComponentPropsWithoutRef<typeof ListBulletedIcon>): JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default ListBulletedIconWithColor;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import PageIcon from '@atlaskit/icon/core/page';
|
|
3
|
+
declare const PageIconWithColor: {
|
|
4
|
+
(props: ComponentPropsWithoutRef<typeof PageIcon>): JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default PageIconWithColor;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import VideoIcon from '@atlaskit/icon/core/video';
|
|
3
|
+
declare const VideoIconWithColor: {
|
|
4
|
+
(props: ComponentPropsWithoutRef<typeof VideoIcon>): JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default VideoIconWithColor;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import AngleBracketsIcon from '@atlaskit/icon/core/angle-brackets';
|
|
3
|
+
declare const AngleBracketsIconWithColor: {
|
|
4
|
+
(props: ComponentPropsWithoutRef<typeof AngleBracketsIcon>): JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default AngleBracketsIconWithColor;
|