@atlaskit/smart-card 46.1.13 → 46.2.0
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 +22 -0
- package/dist/cjs/common/ui/icons/blog-icon.js +0 -3
- package/dist/cjs/common/ui/icons/live-document-icon.js +0 -3
- package/dist/cjs/common/ui/icons/transform-smart-link-size-to-icon-tile-size.js +3 -16
- package/dist/cjs/extractors/common/icon/extractIcon.js +9 -19
- package/dist/cjs/extractors/common/icon/extractIconFromDocument.js +2 -4
- package/dist/cjs/extractors/common/icon/extractIconFromTask.js +10 -15
- package/dist/cjs/extractors/flexible/icon/extract-document-type-icon.js +14 -37
- package/dist/cjs/extractors/flexible/icon/extract-file-formatIcon.js +1 -4
- package/dist/cjs/extractors/flexible/icon/extract-jira-task-icon.js +15 -40
- package/dist/cjs/extractors/flexible/icon/extract-jsonld-data-icon.js +48 -127
- package/dist/cjs/extractors/inline/index.js +7 -11
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/utils/get-icon-for-file-type.js +7 -20
- package/dist/cjs/utils/get-lazy-icons.js +10 -31
- package/dist/cjs/view/FlexibleCard/components/common/atlaskit-icon/index.js +5 -13
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-icon-element/index.js +15 -23
- package/dist/cjs/view/FlexibleCard/components/elements/link-icon-element/index.js +10 -25
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/cjs/view/common/image-icon/index.js +2 -14
- package/dist/es2019/common/ui/icons/blog-icon.js +0 -3
- package/dist/es2019/common/ui/icons/live-document-icon.js +0 -3
- package/dist/es2019/common/ui/icons/transform-smart-link-size-to-icon-tile-size.js +3 -16
- package/dist/es2019/extractors/common/icon/extractIcon.js +7 -13
- package/dist/es2019/extractors/common/icon/extractIconFromDocument.js +2 -4
- package/dist/es2019/extractors/common/icon/extractIconFromTask.js +10 -13
- package/dist/es2019/extractors/flexible/icon/extract-document-type-icon.js +13 -36
- package/dist/es2019/extractors/flexible/icon/extract-file-formatIcon.js +2 -5
- package/dist/es2019/extractors/flexible/icon/extract-jira-task-icon.js +14 -39
- package/dist/es2019/extractors/flexible/icon/extract-jsonld-data-icon.js +46 -131
- package/dist/es2019/extractors/inline/index.js +7 -11
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/utils/get-icon-for-file-type.js +7 -20
- package/dist/es2019/utils/get-lazy-icons.js +20 -21
- package/dist/es2019/view/FlexibleCard/components/common/atlaskit-icon/index.js +5 -12
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-icon-element/index.js +15 -24
- package/dist/es2019/view/FlexibleCard/components/elements/link-icon-element/index.js +9 -24
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/es2019/view/common/image-icon/index.js +2 -15
- package/dist/esm/common/ui/icons/blog-icon.js +0 -3
- package/dist/esm/common/ui/icons/live-document-icon.js +0 -3
- package/dist/esm/common/ui/icons/transform-smart-link-size-to-icon-tile-size.js +3 -16
- package/dist/esm/extractors/common/icon/extractIcon.js +9 -19
- package/dist/esm/extractors/common/icon/extractIconFromDocument.js +2 -4
- package/dist/esm/extractors/common/icon/extractIconFromTask.js +10 -15
- package/dist/esm/extractors/flexible/icon/extract-document-type-icon.js +14 -37
- package/dist/esm/extractors/flexible/icon/extract-file-formatIcon.js +1 -4
- package/dist/esm/extractors/flexible/icon/extract-jira-task-icon.js +15 -40
- package/dist/esm/extractors/flexible/icon/extract-jsonld-data-icon.js +48 -127
- package/dist/esm/extractors/inline/index.js +7 -11
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/utils/get-icon-for-file-type.js +7 -20
- package/dist/esm/utils/get-lazy-icons.js +20 -21
- package/dist/esm/view/FlexibleCard/components/common/atlaskit-icon/index.js +5 -13
- package/dist/esm/view/FlexibleCard/components/elements/common/base-icon-element/index.js +15 -24
- package/dist/esm/view/FlexibleCard/components/elements/link-icon-element/index.js +9 -24
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/esm/view/common/image-icon/index.js +2 -14
- package/dist/types/extractors/common/icon/extractIcon.d.ts +0 -1
- package/dist/types/extractors/flexible/icon/extract-document-type-icon.d.ts +1 -3
- package/dist/types/extractors/flexible/icon/extract-jira-task-icon.d.ts +1 -1
- package/package.json +6 -18
- package/dist/cjs/common/ui/icons/priority-blocker-icon.compiled.css +0 -5
- package/dist/cjs/common/ui/icons/priority-blocker-icon.js +0 -50
- package/dist/cjs/common/ui/icons/priority-critical-icon.compiled.css +0 -5
- package/dist/cjs/common/ui/icons/priority-critical-icon.js +0 -50
- package/dist/cjs/common/ui/icons/priority-high-icon.compiled.css +0 -5
- package/dist/cjs/common/ui/icons/priority-high-icon.js +0 -50
- package/dist/cjs/common/ui/icons/priority-highest-icon.compiled.css +0 -5
- package/dist/cjs/common/ui/icons/priority-highest-icon.js +0 -56
- package/dist/cjs/common/ui/icons/priority-icon.compiled.css +0 -4
- package/dist/cjs/common/ui/icons/priority-icon.js +0 -49
- package/dist/cjs/common/ui/icons/priority-low-icon.compiled.css +0 -5
- package/dist/cjs/common/ui/icons/priority-low-icon.js +0 -50
- package/dist/cjs/common/ui/icons/priority-lowest-icon.compiled.css +0 -5
- package/dist/cjs/common/ui/icons/priority-lowest-icon.js +0 -56
- package/dist/cjs/common/ui/icons/priority-major-icon.compiled.css +0 -5
- package/dist/cjs/common/ui/icons/priority-major-icon.js +0 -62
- package/dist/cjs/common/ui/icons/priority-medium-icon.compiled.css +0 -5
- package/dist/cjs/common/ui/icons/priority-medium-icon.js +0 -50
- package/dist/cjs/common/ui/icons/priority-minor-icon.compiled.css +0 -5
- package/dist/cjs/common/ui/icons/priority-minor-icon.js +0 -62
- package/dist/cjs/common/ui/icons/priority-trivial-icon.compiled.css +0 -5
- package/dist/cjs/common/ui/icons/priority-trivial-icon.js +0 -50
- package/dist/es2019/common/ui/icons/priority-blocker-icon.compiled.css +0 -5
- package/dist/es2019/common/ui/icons/priority-blocker-icon.js +0 -38
- package/dist/es2019/common/ui/icons/priority-critical-icon.compiled.css +0 -5
- package/dist/es2019/common/ui/icons/priority-critical-icon.js +0 -38
- package/dist/es2019/common/ui/icons/priority-high-icon.compiled.css +0 -5
- package/dist/es2019/common/ui/icons/priority-high-icon.js +0 -38
- package/dist/es2019/common/ui/icons/priority-highest-icon.compiled.css +0 -5
- package/dist/es2019/common/ui/icons/priority-highest-icon.js +0 -44
- package/dist/es2019/common/ui/icons/priority-icon.compiled.css +0 -4
- package/dist/es2019/common/ui/icons/priority-icon.js +0 -35
- package/dist/es2019/common/ui/icons/priority-low-icon.compiled.css +0 -5
- package/dist/es2019/common/ui/icons/priority-low-icon.js +0 -38
- package/dist/es2019/common/ui/icons/priority-lowest-icon.compiled.css +0 -5
- package/dist/es2019/common/ui/icons/priority-lowest-icon.js +0 -44
- package/dist/es2019/common/ui/icons/priority-major-icon.compiled.css +0 -5
- package/dist/es2019/common/ui/icons/priority-major-icon.js +0 -50
- package/dist/es2019/common/ui/icons/priority-medium-icon.compiled.css +0 -5
- package/dist/es2019/common/ui/icons/priority-medium-icon.js +0 -38
- package/dist/es2019/common/ui/icons/priority-minor-icon.compiled.css +0 -5
- package/dist/es2019/common/ui/icons/priority-minor-icon.js +0 -50
- package/dist/es2019/common/ui/icons/priority-trivial-icon.compiled.css +0 -5
- package/dist/es2019/common/ui/icons/priority-trivial-icon.js +0 -38
- package/dist/esm/common/ui/icons/priority-blocker-icon.compiled.css +0 -5
- package/dist/esm/common/ui/icons/priority-blocker-icon.js +0 -41
- package/dist/esm/common/ui/icons/priority-critical-icon.compiled.css +0 -5
- package/dist/esm/common/ui/icons/priority-critical-icon.js +0 -41
- package/dist/esm/common/ui/icons/priority-high-icon.compiled.css +0 -5
- package/dist/esm/common/ui/icons/priority-high-icon.js +0 -41
- package/dist/esm/common/ui/icons/priority-highest-icon.compiled.css +0 -5
- package/dist/esm/common/ui/icons/priority-highest-icon.js +0 -47
- package/dist/esm/common/ui/icons/priority-icon.compiled.css +0 -4
- package/dist/esm/common/ui/icons/priority-icon.js +0 -40
- package/dist/esm/common/ui/icons/priority-low-icon.compiled.css +0 -5
- package/dist/esm/common/ui/icons/priority-low-icon.js +0 -41
- package/dist/esm/common/ui/icons/priority-lowest-icon.compiled.css +0 -5
- package/dist/esm/common/ui/icons/priority-lowest-icon.js +0 -47
- package/dist/esm/common/ui/icons/priority-major-icon.compiled.css +0 -5
- package/dist/esm/common/ui/icons/priority-major-icon.js +0 -53
- package/dist/esm/common/ui/icons/priority-medium-icon.compiled.css +0 -5
- package/dist/esm/common/ui/icons/priority-medium-icon.js +0 -41
- package/dist/esm/common/ui/icons/priority-minor-icon.compiled.css +0 -5
- package/dist/esm/common/ui/icons/priority-minor-icon.js +0 -53
- package/dist/esm/common/ui/icons/priority-trivial-icon.compiled.css +0 -5
- package/dist/esm/common/ui/icons/priority-trivial-icon.js +0 -41
- package/dist/types/common/ui/icons/priority-blocker-icon.d.ts +0 -13
- package/dist/types/common/ui/icons/priority-critical-icon.d.ts +0 -13
- package/dist/types/common/ui/icons/priority-high-icon.d.ts +0 -13
- package/dist/types/common/ui/icons/priority-highest-icon.d.ts +0 -13
- package/dist/types/common/ui/icons/priority-icon.d.ts +0 -13
- package/dist/types/common/ui/icons/priority-low-icon.d.ts +0 -13
- package/dist/types/common/ui/icons/priority-lowest-icon.d.ts +0 -13
- package/dist/types/common/ui/icons/priority-major-icon.d.ts +0 -13
- package/dist/types/common/ui/icons/priority-medium-icon.d.ts +0 -13
- package/dist/types/common/ui/icons/priority-minor-icon.d.ts +0 -13
- package/dist/types/common/ui/icons/priority-trivial-icon.d.ts +0 -13
|
@@ -4,20 +4,11 @@ import "./index.compiled.css";
|
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
6
|
import { useEffect, useState } from 'react';
|
|
7
|
-
import { defineMessages, useIntl } from 'react-intl';
|
|
8
7
|
import ImageLoader from 'react-render-image';
|
|
9
|
-
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
10
8
|
import { LoadingSkeleton } from '../loading-skeleton';
|
|
11
9
|
var styles = {
|
|
12
10
|
roundImg: "_2rko1rr0"
|
|
13
11
|
};
|
|
14
|
-
var messages = defineMessages({
|
|
15
|
-
imageAltText: {
|
|
16
|
-
id: 'smart-link.image-icon.altText',
|
|
17
|
-
defaultMessage: 'Link Icon',
|
|
18
|
-
description: 'Alternative text for the link icon image displayed on a flexible smart link card, used by screen readers and when the image cannot be rendered.'
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
12
|
var ImageIcon = function ImageIcon(_ref) {
|
|
22
13
|
var label = _ref.label,
|
|
23
14
|
defaultIcon = _ref.defaultIcon,
|
|
@@ -35,9 +26,6 @@ var ImageIcon = function ImageIcon(_ref) {
|
|
|
35
26
|
_useState2 = _slicedToArray(_useState, 2),
|
|
36
27
|
hasImageErrored = _useState2[0],
|
|
37
28
|
setHasImageErrored = _useState2[1];
|
|
38
|
-
var _useIntl = useIntl(),
|
|
39
|
-
formatMessage = _useIntl.formatMessage;
|
|
40
|
-
|
|
41
29
|
// If url changes, reset state
|
|
42
30
|
useEffect(function () {
|
|
43
31
|
setHasImageErrored(false);
|
|
@@ -50,7 +38,7 @@ var ImageIcon = function ImageIcon(_ref) {
|
|
|
50
38
|
return /*#__PURE__*/React.createElement("img", {
|
|
51
39
|
src: url,
|
|
52
40
|
"data-testid": "".concat(testId, "-image"),
|
|
53
|
-
alt:
|
|
41
|
+
alt: (_label$trim = label === null || label === void 0 ? void 0 : label.trim()) !== null && _label$trim !== void 0 ? _label$trim : '',
|
|
54
42
|
style: {
|
|
55
43
|
width: width,
|
|
56
44
|
height: height
|
|
@@ -72,7 +60,7 @@ var ImageIcon = function ImageIcon(_ref) {
|
|
|
72
60
|
loaded: /*#__PURE__*/React.createElement("img", {
|
|
73
61
|
src: url,
|
|
74
62
|
"data-testid": "".concat(testId, "-image"),
|
|
75
|
-
alt:
|
|
63
|
+
alt: (_label$trim2 = label === null || label === void 0 ? void 0 : label.trim()) !== null && _label$trim2 !== void 0 ? _label$trim2 : '',
|
|
76
64
|
style: {
|
|
77
65
|
width: width,
|
|
78
66
|
height: height
|
|
@@ -10,6 +10,5 @@ export interface IconOpts {
|
|
|
10
10
|
provider?: LinkProvider;
|
|
11
11
|
showIconLabel?: boolean;
|
|
12
12
|
taskType?: LinkTaskType;
|
|
13
|
-
title?: string;
|
|
14
13
|
}
|
|
15
14
|
export declare const extractIcon: (jsonLd: JsonLd.Data.BaseData, priority?: IconPriority, showIconLabel?: boolean) => React.ReactNode | undefined;
|
|
@@ -11,10 +11,8 @@ import { type IconDescriptor } from './types';
|
|
|
11
11
|
* go/j/MODES-5864. Do not add more!
|
|
12
12
|
*
|
|
13
13
|
* @param documentType JSON-LD document type
|
|
14
|
-
* @param label human-readable label to be displayed on the icon
|
|
15
14
|
* @param providerId JSON-LD provider (generator ID)
|
|
16
15
|
* @returns an icon descriptor representing the document type
|
|
17
16
|
*/
|
|
18
|
-
declare const extractDocumentTypeIcon: (documentType: JsonLd.Primitives.ObjectType | 'atlassian:Template',
|
|
19
|
-
providerId?: string) => IconDescriptor | undefined;
|
|
17
|
+
declare const extractDocumentTypeIcon: (documentType: JsonLd.Primitives.ObjectType | 'atlassian:Template', providerId?: string) => IconDescriptor | undefined;
|
|
20
18
|
export default extractDocumentTypeIcon;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type IconDescriptor } from './types';
|
|
2
|
-
declare const extractJiraTaskIcon: (taskType?: string
|
|
2
|
+
declare const extractJiraTaskIcon: (taskType?: string) => IconDescriptor | undefined;
|
|
3
3
|
export default extractJiraTaskIcon;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-card",
|
|
3
|
-
"version": "46.
|
|
3
|
+
"version": "46.2.0",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"analytics:codegen": "afm workspace @atlassian/analytics-tooling analytics:codegen smart-card --output ./src/common/analytics/generated",
|
|
38
|
-
"ak-postbuild": "ls -d dist/* | xargs -n 1 copyfiles -u 1 -V src/**/*.{svg,png}"
|
|
38
|
+
"ak-postbuild": "ls -d dist/* | xargs -n 1 copyfiles -u 1 -V 'src/**/*.{svg,png}'"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@atlaskit/adf-utils": "^20.9.0",
|
|
42
|
-
"@atlaskit/afm-i18n-platform-linking-platform-smart-card": "2.
|
|
42
|
+
"@atlaskit/afm-i18n-platform-linking-platform-smart-card": "2.265.0",
|
|
43
43
|
"@atlaskit/analytics-cross-product": "^2.2.0",
|
|
44
44
|
"@atlaskit/analytics-gas-types": "^6.2.0",
|
|
45
45
|
"@atlaskit/analytics-next": "^12.5.0",
|
|
@@ -73,17 +73,17 @@
|
|
|
73
73
|
"@atlaskit/lozenge": "^17.0.0",
|
|
74
74
|
"@atlaskit/menu": "^11.0.0",
|
|
75
75
|
"@atlaskit/modal-dialog": "^17.0.0",
|
|
76
|
-
"@atlaskit/motion": "^9.
|
|
76
|
+
"@atlaskit/motion": "^9.1.0",
|
|
77
77
|
"@atlaskit/object": "^2.3.0",
|
|
78
78
|
"@atlaskit/outbound-auth-flow-client": "^4.2.0",
|
|
79
79
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
80
80
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
81
81
|
"@atlaskit/platform-feature-flags-react": "^1.2.0",
|
|
82
|
-
"@atlaskit/popup": "^8.
|
|
82
|
+
"@atlaskit/popup": "^8.1.0",
|
|
83
83
|
"@atlaskit/primitives": "^22.5.0",
|
|
84
84
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
85
85
|
"@atlaskit/react-ufo": "^8.0.0",
|
|
86
|
-
"@atlaskit/rovo-triggers": "^11.
|
|
86
|
+
"@atlaskit/rovo-triggers": "^11.7.0",
|
|
87
87
|
"@atlaskit/section-message": "^10.2.0",
|
|
88
88
|
"@atlaskit/select": "^23.1.0",
|
|
89
89
|
"@atlaskit/spinner": "^20.4.0",
|
|
@@ -198,21 +198,12 @@
|
|
|
198
198
|
"jfp-magma-platform-lozenge-jump-fix": {
|
|
199
199
|
"type": "boolean"
|
|
200
200
|
},
|
|
201
|
-
"platform_sl_priority_icon": {
|
|
202
|
-
"type": "boolean"
|
|
203
|
-
},
|
|
204
201
|
"jpx-1074-smart-links-iframe": {
|
|
205
202
|
"type": "boolean"
|
|
206
203
|
},
|
|
207
204
|
"platform_sl_3p_preauth_better_hovercard_killswitch": {
|
|
208
205
|
"type": "boolean"
|
|
209
206
|
},
|
|
210
|
-
"platform_navx_smart_link_icon_label_a11y": {
|
|
211
|
-
"type": "boolean"
|
|
212
|
-
},
|
|
213
|
-
"platform_navx_jira_issue_type_icon_label_a11y": {
|
|
214
|
-
"type": "boolean"
|
|
215
|
-
},
|
|
216
207
|
"platform_lp_use_generator_icon_for_provider": {
|
|
217
208
|
"type": "boolean"
|
|
218
209
|
},
|
|
@@ -236,9 +227,6 @@
|
|
|
236
227
|
"type": "boolean",
|
|
237
228
|
"referenceOnly": true
|
|
238
229
|
},
|
|
239
|
-
"platform_sl_icons_refactor": {
|
|
240
|
-
"type": "boolean"
|
|
241
|
-
},
|
|
242
230
|
"social-proof-3p-unauth-block-fg": {
|
|
243
231
|
"type": "boolean"
|
|
244
232
|
},
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/* priority-blocker-icon.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
-
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
-
Object.defineProperty(exports, "__esModule", {
|
|
7
|
-
value: true
|
|
8
|
-
});
|
|
9
|
-
exports.default = void 0;
|
|
10
|
-
require("./priority-blocker-icon.compiled.css");
|
|
11
|
-
var React = _interopRequireWildcard(require("react"));
|
|
12
|
-
var _runtime = require("@compiled/react/runtime");
|
|
13
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
14
|
-
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
15
|
-
var _componentWithFg = require("@atlaskit/platform-feature-flags-react/component-with-fg");
|
|
16
|
-
var _priorityIcon = require("./priority-icon");
|
|
17
|
-
var _excluded = ["label", "testId"];
|
|
18
|
-
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
19
|
-
var style = {
|
|
20
|
-
span: "_1e0c1o8l _1o9zidpf",
|
|
21
|
-
svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
|
|
22
|
-
};
|
|
23
|
-
var PriorityBlockerIconLegacy = function PriorityBlockerIconLegacy(_ref) {
|
|
24
|
-
var label = _ref.label,
|
|
25
|
-
testId = _ref.testId,
|
|
26
|
-
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
27
|
-
return /*#__PURE__*/React.createElement("span", (0, _extends2.default)({
|
|
28
|
-
role: label ? 'img' : undefined,
|
|
29
|
-
"aria-label": label,
|
|
30
|
-
"aria-hidden": label ? undefined : true,
|
|
31
|
-
"data-testid": testId
|
|
32
|
-
}, props, {
|
|
33
|
-
className: (0, _runtime.ax)([style.span])
|
|
34
|
-
}), /*#__PURE__*/React.createElement("svg", {
|
|
35
|
-
width: "24",
|
|
36
|
-
height: "24",
|
|
37
|
-
viewBox: "0 0 24 24",
|
|
38
|
-
role: "presentation",
|
|
39
|
-
className: (0, _runtime.ax)([style.svg])
|
|
40
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
41
|
-
d: "M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zM6 11a1 1 0 000 2h12a1 1 0 000-2H6z",
|
|
42
|
-
fill: "#FF5630"
|
|
43
|
-
})));
|
|
44
|
-
};
|
|
45
|
-
PriorityBlockerIconLegacy.displayName = 'PriorityBlockerIcon';
|
|
46
|
-
var _default_1 = (0, _componentWithFg.componentWithFG)('platform_sl_icons_refactor', (0, _priorityIcon.createPriorityIcon)('PriorityBlockerIcon', [{
|
|
47
|
-
d: 'M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zM6 11a1 1 0 000 2h12a1 1 0 000-2H6z',
|
|
48
|
-
fill: '#FF5630'
|
|
49
|
-
}]), PriorityBlockerIconLegacy);
|
|
50
|
-
var _default = exports.default = _default_1;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/* priority-critical-icon.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
-
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
-
Object.defineProperty(exports, "__esModule", {
|
|
7
|
-
value: true
|
|
8
|
-
});
|
|
9
|
-
exports.default = void 0;
|
|
10
|
-
require("./priority-critical-icon.compiled.css");
|
|
11
|
-
var React = _interopRequireWildcard(require("react"));
|
|
12
|
-
var _runtime = require("@compiled/react/runtime");
|
|
13
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
14
|
-
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
15
|
-
var _componentWithFg = require("@atlaskit/platform-feature-flags-react/component-with-fg");
|
|
16
|
-
var _priorityIcon = require("./priority-icon");
|
|
17
|
-
var _excluded = ["label", "testId"];
|
|
18
|
-
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
19
|
-
var style = {
|
|
20
|
-
span: "_1e0c1o8l _1o9zidpf",
|
|
21
|
-
svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
|
|
22
|
-
};
|
|
23
|
-
var PriorityCriticalIconLegacy = function PriorityCriticalIconLegacy(_ref) {
|
|
24
|
-
var label = _ref.label,
|
|
25
|
-
testId = _ref.testId,
|
|
26
|
-
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
27
|
-
return /*#__PURE__*/React.createElement("span", (0, _extends2.default)({
|
|
28
|
-
role: label ? 'img' : undefined,
|
|
29
|
-
"aria-label": label,
|
|
30
|
-
"aria-hidden": label ? undefined : true,
|
|
31
|
-
"data-testid": testId
|
|
32
|
-
}, props, {
|
|
33
|
-
className: (0, _runtime.ax)([style.span])
|
|
34
|
-
}), /*#__PURE__*/React.createElement("svg", {
|
|
35
|
-
width: "24",
|
|
36
|
-
height: "24",
|
|
37
|
-
viewBox: "0 0 24 24",
|
|
38
|
-
role: "presentation",
|
|
39
|
-
className: (0, _runtime.ax)([style.svg])
|
|
40
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
41
|
-
d: "M4.671 7.165l6.643-3.946a1.372 1.372 0 011.403.002l6.614 3.944c.415.247.669.695.669 1.178v11.253a1.372 1.372 0 01-2.074 1.179l-5.91-3.52-5.944 3.526A1.372 1.372 0 014 19.6V8.345c0-.484.255-.933.671-1.18z",
|
|
42
|
-
fill: "#FF5630"
|
|
43
|
-
})));
|
|
44
|
-
};
|
|
45
|
-
PriorityCriticalIconLegacy.displayName = 'PriorityCriticalIcon';
|
|
46
|
-
var _default_1 = (0, _componentWithFg.componentWithFG)('platform_sl_icons_refactor', (0, _priorityIcon.createPriorityIcon)('PriorityCriticalIcon', [{
|
|
47
|
-
d: 'M4.671 7.165l6.643-3.946a1.372 1.372 0 011.403.002l6.614 3.944c.415.247.669.695.669 1.178v11.253a1.372 1.372 0 01-2.074 1.179l-5.91-3.52-5.944 3.526A1.372 1.372 0 014 19.6V8.345c0-.484.255-.933.671-1.18z',
|
|
48
|
-
fill: '#FF5630'
|
|
49
|
-
}]), PriorityCriticalIconLegacy);
|
|
50
|
-
var _default = exports.default = _default_1;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/* priority-high-icon.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
-
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
-
Object.defineProperty(exports, "__esModule", {
|
|
7
|
-
value: true
|
|
8
|
-
});
|
|
9
|
-
exports.default = void 0;
|
|
10
|
-
require("./priority-high-icon.compiled.css");
|
|
11
|
-
var React = _interopRequireWildcard(require("react"));
|
|
12
|
-
var _runtime = require("@compiled/react/runtime");
|
|
13
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
14
|
-
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
15
|
-
var _componentWithFg = require("@atlaskit/platform-feature-flags-react/component-with-fg");
|
|
16
|
-
var _priorityIcon = require("./priority-icon");
|
|
17
|
-
var _excluded = ["label", "testId"];
|
|
18
|
-
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
19
|
-
var style = {
|
|
20
|
-
span: "_1e0c1o8l _1o9zidpf",
|
|
21
|
-
svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
|
|
22
|
-
};
|
|
23
|
-
var PriorityHighIconLegacy = function PriorityHighIconLegacy(_ref) {
|
|
24
|
-
var label = _ref.label,
|
|
25
|
-
testId = _ref.testId,
|
|
26
|
-
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
27
|
-
return /*#__PURE__*/React.createElement("span", (0, _extends2.default)({
|
|
28
|
-
role: label ? 'img' : undefined,
|
|
29
|
-
"aria-label": label,
|
|
30
|
-
"aria-hidden": label ? undefined : true,
|
|
31
|
-
"data-testid": testId
|
|
32
|
-
}, props, {
|
|
33
|
-
className: (0, _runtime.ax)([style.span])
|
|
34
|
-
}), /*#__PURE__*/React.createElement("svg", {
|
|
35
|
-
width: "24",
|
|
36
|
-
height: "24",
|
|
37
|
-
viewBox: "0 0 24 24",
|
|
38
|
-
role: "presentation",
|
|
39
|
-
className: (0, _runtime.ax)([style.svg])
|
|
40
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
41
|
-
d: "M12.017 11.182l-6.454 3.865a1 1 0 11-1.027-1.716l6.97-4.174a1 1 0 011.03.003l6.906 4.173a1 1 0 01-1.035 1.712l-6.39-3.863z",
|
|
42
|
-
fill: "#FF5630"
|
|
43
|
-
})));
|
|
44
|
-
};
|
|
45
|
-
PriorityHighIconLegacy.displayName = 'PriorityHighIcon';
|
|
46
|
-
var _default_1 = (0, _componentWithFg.componentWithFG)('platform_sl_icons_refactor', (0, _priorityIcon.createPriorityIcon)('PriorityHighIcon', [{
|
|
47
|
-
d: 'M12.017 11.182l-6.454 3.865a1 1 0 11-1.027-1.716l6.97-4.174a1 1 0 011.03.003l6.906 4.173a1 1 0 01-1.035 1.712l-6.39-3.863z',
|
|
48
|
-
fill: '#FF5630'
|
|
49
|
-
}]), PriorityHighIconLegacy);
|
|
50
|
-
var _default = exports.default = _default_1;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/* priority-highest-icon.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
-
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
-
Object.defineProperty(exports, "__esModule", {
|
|
7
|
-
value: true
|
|
8
|
-
});
|
|
9
|
-
exports.default = void 0;
|
|
10
|
-
require("./priority-highest-icon.compiled.css");
|
|
11
|
-
var React = _interopRequireWildcard(require("react"));
|
|
12
|
-
var _runtime = require("@compiled/react/runtime");
|
|
13
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
14
|
-
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
15
|
-
var _componentWithFg = require("@atlaskit/platform-feature-flags-react/component-with-fg");
|
|
16
|
-
var _priorityIcon = require("./priority-icon");
|
|
17
|
-
var _excluded = ["label", "testId"];
|
|
18
|
-
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
19
|
-
var style = {
|
|
20
|
-
span: "_1e0c1o8l _1o9zidpf",
|
|
21
|
-
svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
|
|
22
|
-
};
|
|
23
|
-
var PriorityHighestIconLegacy = function PriorityHighestIconLegacy(_ref) {
|
|
24
|
-
var label = _ref.label,
|
|
25
|
-
testId = _ref.testId,
|
|
26
|
-
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
27
|
-
return /*#__PURE__*/React.createElement("span", (0, _extends2.default)({
|
|
28
|
-
role: label ? 'img' : undefined,
|
|
29
|
-
"aria-label": label,
|
|
30
|
-
"aria-hidden": label ? undefined : true,
|
|
31
|
-
"data-testid": testId
|
|
32
|
-
}, props, {
|
|
33
|
-
className: (0, _runtime.ax)([style.span])
|
|
34
|
-
}), /*#__PURE__*/React.createElement("svg", {
|
|
35
|
-
width: "24",
|
|
36
|
-
height: "24",
|
|
37
|
-
viewBox: "0 0 24 24",
|
|
38
|
-
role: "presentation",
|
|
39
|
-
className: (0, _runtime.ax)([style.svg])
|
|
40
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
41
|
-
d: "M12.005 8.187l-6.453 3.865a1 1 0 01-1.028-1.716l6.97-4.174a1 1 0 011.031.002l6.906 4.174a1 1 0 11-1.035 1.712l-6.39-3.863z",
|
|
42
|
-
fill: "#FF5630"
|
|
43
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
44
|
-
d: "M5.552 18.054a1 1 0 11-1.028-1.715l6.97-4.174a1 1 0 011.031.002l6.906 4.174a1 1 0 11-1.035 1.711l-6.39-3.862-6.454 3.864z",
|
|
45
|
-
fill: "#FF7452"
|
|
46
|
-
})));
|
|
47
|
-
};
|
|
48
|
-
PriorityHighestIconLegacy.displayName = 'PriorityHighestIcon';
|
|
49
|
-
var _default_1 = (0, _componentWithFg.componentWithFG)('platform_sl_icons_refactor', (0, _priorityIcon.createPriorityIcon)('PriorityHighestIcon', [{
|
|
50
|
-
d: 'M12.005 8.187l-6.453 3.865a1 1 0 01-1.028-1.716l6.97-4.174a1 1 0 011.031.002l6.906 4.174a1 1 0 11-1.035 1.712l-6.39-3.863z',
|
|
51
|
-
fill: '#FF5630'
|
|
52
|
-
}, {
|
|
53
|
-
d: 'M5.552 18.054a1 1 0 11-1.028-1.715l6.97-4.174a1 1 0 011.031.002l6.906 4.174a1 1 0 11-1.035 1.711l-6.39-3.862-6.454 3.864z',
|
|
54
|
-
fill: '#FF7452'
|
|
55
|
-
}]), PriorityHighestIconLegacy);
|
|
56
|
-
var _default = exports.default = _default_1;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/* priority-icon.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
-
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
-
Object.defineProperty(exports, "__esModule", {
|
|
7
|
-
value: true
|
|
8
|
-
});
|
|
9
|
-
exports.createPriorityIcon = void 0;
|
|
10
|
-
require("./priority-icon.compiled.css");
|
|
11
|
-
var React = _interopRequireWildcard(require("react"));
|
|
12
|
-
var _runtime = require("@compiled/react/runtime");
|
|
13
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
14
|
-
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
15
|
-
var _excluded = ["label", "testId"];
|
|
16
|
-
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
17
|
-
var style = {
|
|
18
|
-
span: "_1e0c1o8l",
|
|
19
|
-
svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
|
|
20
|
-
};
|
|
21
|
-
var createPriorityIcon = exports.createPriorityIcon = function createPriorityIcon(displayName, paths) {
|
|
22
|
-
var Icon = function Icon(_ref) {
|
|
23
|
-
var label = _ref.label,
|
|
24
|
-
testId = _ref.testId,
|
|
25
|
-
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
26
|
-
return /*#__PURE__*/React.createElement("span", (0, _extends2.default)({
|
|
27
|
-
role: label ? 'img' : undefined,
|
|
28
|
-
"aria-label": label,
|
|
29
|
-
"aria-hidden": label ? undefined : true,
|
|
30
|
-
"data-testid": testId
|
|
31
|
-
}, props, {
|
|
32
|
-
className: (0, _runtime.ax)([style.span])
|
|
33
|
-
}), /*#__PURE__*/React.createElement("svg", {
|
|
34
|
-
width: "24",
|
|
35
|
-
height: "24",
|
|
36
|
-
viewBox: "0 0 24 24",
|
|
37
|
-
role: "presentation",
|
|
38
|
-
className: (0, _runtime.ax)([style.svg])
|
|
39
|
-
}, paths.map(function (p, i) {
|
|
40
|
-
return /*#__PURE__*/React.createElement("path", {
|
|
41
|
-
key: i,
|
|
42
|
-
d: p.d,
|
|
43
|
-
fill: p.fill
|
|
44
|
-
});
|
|
45
|
-
})));
|
|
46
|
-
};
|
|
47
|
-
Icon.displayName = displayName;
|
|
48
|
-
return Icon;
|
|
49
|
-
};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/* priority-low-icon.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
-
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
-
Object.defineProperty(exports, "__esModule", {
|
|
7
|
-
value: true
|
|
8
|
-
});
|
|
9
|
-
exports.default = void 0;
|
|
10
|
-
require("./priority-low-icon.compiled.css");
|
|
11
|
-
var React = _interopRequireWildcard(require("react"));
|
|
12
|
-
var _runtime = require("@compiled/react/runtime");
|
|
13
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
14
|
-
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
15
|
-
var _componentWithFg = require("@atlaskit/platform-feature-flags-react/component-with-fg");
|
|
16
|
-
var _priorityIcon = require("./priority-icon");
|
|
17
|
-
var _excluded = ["label", "testId"];
|
|
18
|
-
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
19
|
-
var style = {
|
|
20
|
-
span: "_1e0c1o8l _1o9zidpf",
|
|
21
|
-
svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
|
|
22
|
-
};
|
|
23
|
-
var PriorityLowIconLegacy = function PriorityLowIconLegacy(_ref) {
|
|
24
|
-
var label = _ref.label,
|
|
25
|
-
testId = _ref.testId,
|
|
26
|
-
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
27
|
-
return /*#__PURE__*/React.createElement("span", (0, _extends2.default)({
|
|
28
|
-
role: label ? 'img' : undefined,
|
|
29
|
-
"aria-label": label,
|
|
30
|
-
"aria-hidden": label ? undefined : true,
|
|
31
|
-
"data-testid": testId
|
|
32
|
-
}, props, {
|
|
33
|
-
className: (0, _runtime.ax)([style.span])
|
|
34
|
-
}), /*#__PURE__*/React.createElement("svg", {
|
|
35
|
-
width: "24",
|
|
36
|
-
height: "24",
|
|
37
|
-
viewBox: "0 0 24 24",
|
|
38
|
-
role: "presentation",
|
|
39
|
-
className: (0, _runtime.ax)([style.svg])
|
|
40
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
41
|
-
d: "M11.996 13.861l6.454-3.865a1 1 0 111.027 1.716l-6.97 4.174a1 1 0 01-1.03-.002L4.57 11.71A1 1 0 015.606 10l6.39 3.862z",
|
|
42
|
-
fill: "#0065FF"
|
|
43
|
-
})));
|
|
44
|
-
};
|
|
45
|
-
PriorityLowIconLegacy.displayName = 'PriorityLowIcon';
|
|
46
|
-
var _default_1 = (0, _componentWithFg.componentWithFG)('platform_sl_icons_refactor', (0, _priorityIcon.createPriorityIcon)('PriorityLowIcon', [{
|
|
47
|
-
d: 'M11.996 13.861l6.454-3.865a1 1 0 111.027 1.716l-6.97 4.174a1 1 0 01-1.03-.002L4.57 11.71A1 1 0 015.606 10l6.39 3.862z',
|
|
48
|
-
fill: '#0065FF'
|
|
49
|
-
}]), PriorityLowIconLegacy);
|
|
50
|
-
var _default = exports.default = _default_1;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/* priority-lowest-icon.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
-
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
-
Object.defineProperty(exports, "__esModule", {
|
|
7
|
-
value: true
|
|
8
|
-
});
|
|
9
|
-
exports.default = void 0;
|
|
10
|
-
require("./priority-lowest-icon.compiled.css");
|
|
11
|
-
var React = _interopRequireWildcard(require("react"));
|
|
12
|
-
var _runtime = require("@compiled/react/runtime");
|
|
13
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
14
|
-
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
15
|
-
var _componentWithFg = require("@atlaskit/platform-feature-flags-react/component-with-fg");
|
|
16
|
-
var _priorityIcon = require("./priority-icon");
|
|
17
|
-
var _excluded = ["label", "testId"];
|
|
18
|
-
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
19
|
-
var style = {
|
|
20
|
-
span: "_1e0c1o8l _1o9zidpf",
|
|
21
|
-
svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
|
|
22
|
-
};
|
|
23
|
-
var PriorityLowestIconLegacy = function PriorityLowestIconLegacy(_ref) {
|
|
24
|
-
var label = _ref.label,
|
|
25
|
-
testId = _ref.testId,
|
|
26
|
-
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
27
|
-
return /*#__PURE__*/React.createElement("span", (0, _extends2.default)({
|
|
28
|
-
role: label ? 'img' : undefined,
|
|
29
|
-
"aria-label": label,
|
|
30
|
-
"aria-hidden": label ? undefined : true,
|
|
31
|
-
"data-testid": testId
|
|
32
|
-
}, props, {
|
|
33
|
-
className: (0, _runtime.ax)([style.span])
|
|
34
|
-
}), /*#__PURE__*/React.createElement("svg", {
|
|
35
|
-
width: "24",
|
|
36
|
-
height: "24",
|
|
37
|
-
viewBox: "0 0 24 24",
|
|
38
|
-
role: "presentation",
|
|
39
|
-
className: (0, _runtime.ax)([style.svg])
|
|
40
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
41
|
-
d: "M18.46 11.936a1 1 0 111.028 1.716l-6.97 4.174a1 1 0 01-1.03-.002L4.581 13.65a1 1 0 011.034-1.711l6.391 3.862 6.454-3.865z",
|
|
42
|
-
fill: "#0065FF"
|
|
43
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
44
|
-
d: "M12.007 9.798l6.454-3.864a1 1 0 011.027 1.716l-6.97 4.173a1 1 0 01-1.03-.002L4.581 7.648a1 1 0 011.034-1.712l6.391 3.862z",
|
|
45
|
-
fill: "#2684FF"
|
|
46
|
-
})));
|
|
47
|
-
};
|
|
48
|
-
PriorityLowestIconLegacy.displayName = 'PriorityLowestIcon';
|
|
49
|
-
var _default_1 = (0, _componentWithFg.componentWithFG)('platform_sl_icons_refactor', (0, _priorityIcon.createPriorityIcon)('PriorityLowestIcon', [{
|
|
50
|
-
d: 'M18.46 11.936a1 1 0 111.028 1.716l-6.97 4.174a1 1 0 01-1.03-.002L4.581 13.65a1 1 0 011.034-1.711l6.391 3.862 6.454-3.865z',
|
|
51
|
-
fill: '#0065FF'
|
|
52
|
-
}, {
|
|
53
|
-
d: 'M12.007 9.798l6.454-3.864a1 1 0 011.027 1.716l-6.97 4.173a1 1 0 01-1.03-.002L4.581 7.648a1 1 0 011.034-1.712l6.391 3.862z',
|
|
54
|
-
fill: '#2684FF'
|
|
55
|
-
}]), PriorityLowestIconLegacy);
|
|
56
|
-
var _default = exports.default = _default_1;
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/* priority-major-icon.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
-
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
-
Object.defineProperty(exports, "__esModule", {
|
|
7
|
-
value: true
|
|
8
|
-
});
|
|
9
|
-
exports.default = void 0;
|
|
10
|
-
require("./priority-major-icon.compiled.css");
|
|
11
|
-
var React = _interopRequireWildcard(require("react"));
|
|
12
|
-
var _runtime = require("@compiled/react/runtime");
|
|
13
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
14
|
-
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
15
|
-
var _componentWithFg = require("@atlaskit/platform-feature-flags-react/component-with-fg");
|
|
16
|
-
var _priorityIcon = require("./priority-icon");
|
|
17
|
-
var _excluded = ["label", "testId"];
|
|
18
|
-
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
19
|
-
var style = {
|
|
20
|
-
span: "_1e0c1o8l _1o9zidpf",
|
|
21
|
-
svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
|
|
22
|
-
};
|
|
23
|
-
var PriorityMajorIconLegacy = function PriorityMajorIconLegacy(_ref) {
|
|
24
|
-
var label = _ref.label,
|
|
25
|
-
testId = _ref.testId,
|
|
26
|
-
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
27
|
-
return /*#__PURE__*/React.createElement("span", (0, _extends2.default)({
|
|
28
|
-
role: label ? 'img' : undefined,
|
|
29
|
-
"aria-label": label,
|
|
30
|
-
"aria-hidden": label ? undefined : true,
|
|
31
|
-
"data-testid": testId
|
|
32
|
-
}, props, {
|
|
33
|
-
className: (0, _runtime.ax)([style.span])
|
|
34
|
-
}), /*#__PURE__*/React.createElement("svg", {
|
|
35
|
-
width: "24",
|
|
36
|
-
height: "24",
|
|
37
|
-
viewBox: "0 0 24 24",
|
|
38
|
-
role: "presentation",
|
|
39
|
-
className: (0, _runtime.ax)([style.svg])
|
|
40
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
41
|
-
d: "M12.02 5.187L5.567 9.05A1 1 0 114.54 7.335l6.97-4.173a1 1 0 011.03.002l6.906 4.173A1 1 0 1118.41 9.05l-6.39-3.862z",
|
|
42
|
-
fill: "#FF5630"
|
|
43
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
44
|
-
d: "M5.567 15.054a1 1 0 11-1.027-1.716l6.97-4.174a1 1 0 011.03.002l6.906 4.174a1 1 0 11-1.035 1.712l-6.39-3.863-6.454 3.865z",
|
|
45
|
-
fill: "#FF7452"
|
|
46
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
47
|
-
d: "M5.567 21.068a1 1 0 11-1.027-1.716l6.97-4.174a1 1 0 011.03.002l6.906 4.174a1 1 0 11-1.035 1.712l-6.39-3.863-6.454 3.865z",
|
|
48
|
-
fill: "#FF8F73"
|
|
49
|
-
})));
|
|
50
|
-
};
|
|
51
|
-
PriorityMajorIconLegacy.displayName = 'PriorityMajorIcon';
|
|
52
|
-
var _default_1 = (0, _componentWithFg.componentWithFG)('platform_sl_icons_refactor', (0, _priorityIcon.createPriorityIcon)('PriorityMajorIcon', [{
|
|
53
|
-
d: 'M12.02 5.187L5.567 9.05A1 1 0 114.54 7.335l6.97-4.173a1 1 0 011.03.002l6.906 4.173A1 1 0 1118.41 9.05l-6.39-3.862z',
|
|
54
|
-
fill: '#FF5630'
|
|
55
|
-
}, {
|
|
56
|
-
d: 'M5.567 15.054a1 1 0 11-1.027-1.716l6.97-4.174a1 1 0 011.03.002l6.906 4.174a1 1 0 11-1.035 1.712l-6.39-3.863-6.454 3.865z',
|
|
57
|
-
fill: '#FF7452'
|
|
58
|
-
}, {
|
|
59
|
-
d: 'M5.567 21.068a1 1 0 11-1.027-1.716l6.97-4.174a1 1 0 011.03.002l6.906 4.174a1 1 0 11-1.035 1.712l-6.39-3.863-6.454 3.865z',
|
|
60
|
-
fill: '#FF8F73'
|
|
61
|
-
}]), PriorityMajorIconLegacy);
|
|
62
|
-
var _default = exports.default = _default_1;
|