@atlaskit/smart-card 46.1.13 → 46.1.14

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.
Files changed (139) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/cjs/common/ui/icons/blog-icon.js +0 -3
  3. package/dist/cjs/common/ui/icons/live-document-icon.js +0 -3
  4. package/dist/cjs/common/ui/icons/transform-smart-link-size-to-icon-tile-size.js +3 -16
  5. package/dist/cjs/extractors/common/icon/extractIcon.js +9 -19
  6. package/dist/cjs/extractors/common/icon/extractIconFromDocument.js +2 -4
  7. package/dist/cjs/extractors/common/icon/extractIconFromTask.js +10 -15
  8. package/dist/cjs/extractors/flexible/icon/extract-document-type-icon.js +14 -37
  9. package/dist/cjs/extractors/flexible/icon/extract-file-formatIcon.js +1 -4
  10. package/dist/cjs/extractors/flexible/icon/extract-jira-task-icon.js +15 -40
  11. package/dist/cjs/extractors/flexible/icon/extract-jsonld-data-icon.js +48 -127
  12. package/dist/cjs/extractors/inline/index.js +7 -11
  13. package/dist/cjs/utils/analytics/analytics.js +1 -1
  14. package/dist/cjs/utils/get-icon-for-file-type.js +7 -20
  15. package/dist/cjs/utils/get-lazy-icons.js +10 -31
  16. package/dist/cjs/view/FlexibleCard/components/common/atlaskit-icon/index.js +5 -13
  17. package/dist/cjs/view/FlexibleCard/components/elements/common/base-icon-element/index.js +15 -23
  18. package/dist/cjs/view/FlexibleCard/components/elements/link-icon-element/index.js +10 -25
  19. package/dist/cjs/view/LinkUrl/index.js +1 -1
  20. package/dist/cjs/view/common/image-icon/index.js +2 -14
  21. package/dist/es2019/common/ui/icons/blog-icon.js +0 -3
  22. package/dist/es2019/common/ui/icons/live-document-icon.js +0 -3
  23. package/dist/es2019/common/ui/icons/transform-smart-link-size-to-icon-tile-size.js +3 -16
  24. package/dist/es2019/extractors/common/icon/extractIcon.js +7 -13
  25. package/dist/es2019/extractors/common/icon/extractIconFromDocument.js +2 -4
  26. package/dist/es2019/extractors/common/icon/extractIconFromTask.js +10 -13
  27. package/dist/es2019/extractors/flexible/icon/extract-document-type-icon.js +13 -36
  28. package/dist/es2019/extractors/flexible/icon/extract-file-formatIcon.js +2 -5
  29. package/dist/es2019/extractors/flexible/icon/extract-jira-task-icon.js +14 -39
  30. package/dist/es2019/extractors/flexible/icon/extract-jsonld-data-icon.js +46 -131
  31. package/dist/es2019/extractors/inline/index.js +7 -11
  32. package/dist/es2019/utils/analytics/analytics.js +1 -1
  33. package/dist/es2019/utils/get-icon-for-file-type.js +7 -20
  34. package/dist/es2019/utils/get-lazy-icons.js +20 -21
  35. package/dist/es2019/view/FlexibleCard/components/common/atlaskit-icon/index.js +5 -12
  36. package/dist/es2019/view/FlexibleCard/components/elements/common/base-icon-element/index.js +15 -24
  37. package/dist/es2019/view/FlexibleCard/components/elements/link-icon-element/index.js +9 -24
  38. package/dist/es2019/view/LinkUrl/index.js +1 -1
  39. package/dist/es2019/view/common/image-icon/index.js +2 -15
  40. package/dist/esm/common/ui/icons/blog-icon.js +0 -3
  41. package/dist/esm/common/ui/icons/live-document-icon.js +0 -3
  42. package/dist/esm/common/ui/icons/transform-smart-link-size-to-icon-tile-size.js +3 -16
  43. package/dist/esm/extractors/common/icon/extractIcon.js +9 -19
  44. package/dist/esm/extractors/common/icon/extractIconFromDocument.js +2 -4
  45. package/dist/esm/extractors/common/icon/extractIconFromTask.js +10 -15
  46. package/dist/esm/extractors/flexible/icon/extract-document-type-icon.js +14 -37
  47. package/dist/esm/extractors/flexible/icon/extract-file-formatIcon.js +1 -4
  48. package/dist/esm/extractors/flexible/icon/extract-jira-task-icon.js +15 -40
  49. package/dist/esm/extractors/flexible/icon/extract-jsonld-data-icon.js +48 -127
  50. package/dist/esm/extractors/inline/index.js +7 -11
  51. package/dist/esm/utils/analytics/analytics.js +1 -1
  52. package/dist/esm/utils/get-icon-for-file-type.js +7 -20
  53. package/dist/esm/utils/get-lazy-icons.js +20 -21
  54. package/dist/esm/view/FlexibleCard/components/common/atlaskit-icon/index.js +5 -13
  55. package/dist/esm/view/FlexibleCard/components/elements/common/base-icon-element/index.js +15 -24
  56. package/dist/esm/view/FlexibleCard/components/elements/link-icon-element/index.js +9 -24
  57. package/dist/esm/view/LinkUrl/index.js +1 -1
  58. package/dist/esm/view/common/image-icon/index.js +2 -14
  59. package/dist/types/extractors/common/icon/extractIcon.d.ts +0 -1
  60. package/dist/types/extractors/flexible/icon/extract-document-type-icon.d.ts +1 -3
  61. package/dist/types/extractors/flexible/icon/extract-jira-task-icon.d.ts +1 -1
  62. package/package.json +2 -14
  63. package/dist/cjs/common/ui/icons/priority-blocker-icon.compiled.css +0 -5
  64. package/dist/cjs/common/ui/icons/priority-blocker-icon.js +0 -50
  65. package/dist/cjs/common/ui/icons/priority-critical-icon.compiled.css +0 -5
  66. package/dist/cjs/common/ui/icons/priority-critical-icon.js +0 -50
  67. package/dist/cjs/common/ui/icons/priority-high-icon.compiled.css +0 -5
  68. package/dist/cjs/common/ui/icons/priority-high-icon.js +0 -50
  69. package/dist/cjs/common/ui/icons/priority-highest-icon.compiled.css +0 -5
  70. package/dist/cjs/common/ui/icons/priority-highest-icon.js +0 -56
  71. package/dist/cjs/common/ui/icons/priority-icon.compiled.css +0 -4
  72. package/dist/cjs/common/ui/icons/priority-icon.js +0 -49
  73. package/dist/cjs/common/ui/icons/priority-low-icon.compiled.css +0 -5
  74. package/dist/cjs/common/ui/icons/priority-low-icon.js +0 -50
  75. package/dist/cjs/common/ui/icons/priority-lowest-icon.compiled.css +0 -5
  76. package/dist/cjs/common/ui/icons/priority-lowest-icon.js +0 -56
  77. package/dist/cjs/common/ui/icons/priority-major-icon.compiled.css +0 -5
  78. package/dist/cjs/common/ui/icons/priority-major-icon.js +0 -62
  79. package/dist/cjs/common/ui/icons/priority-medium-icon.compiled.css +0 -5
  80. package/dist/cjs/common/ui/icons/priority-medium-icon.js +0 -50
  81. package/dist/cjs/common/ui/icons/priority-minor-icon.compiled.css +0 -5
  82. package/dist/cjs/common/ui/icons/priority-minor-icon.js +0 -62
  83. package/dist/cjs/common/ui/icons/priority-trivial-icon.compiled.css +0 -5
  84. package/dist/cjs/common/ui/icons/priority-trivial-icon.js +0 -50
  85. package/dist/es2019/common/ui/icons/priority-blocker-icon.compiled.css +0 -5
  86. package/dist/es2019/common/ui/icons/priority-blocker-icon.js +0 -38
  87. package/dist/es2019/common/ui/icons/priority-critical-icon.compiled.css +0 -5
  88. package/dist/es2019/common/ui/icons/priority-critical-icon.js +0 -38
  89. package/dist/es2019/common/ui/icons/priority-high-icon.compiled.css +0 -5
  90. package/dist/es2019/common/ui/icons/priority-high-icon.js +0 -38
  91. package/dist/es2019/common/ui/icons/priority-highest-icon.compiled.css +0 -5
  92. package/dist/es2019/common/ui/icons/priority-highest-icon.js +0 -44
  93. package/dist/es2019/common/ui/icons/priority-icon.compiled.css +0 -4
  94. package/dist/es2019/common/ui/icons/priority-icon.js +0 -35
  95. package/dist/es2019/common/ui/icons/priority-low-icon.compiled.css +0 -5
  96. package/dist/es2019/common/ui/icons/priority-low-icon.js +0 -38
  97. package/dist/es2019/common/ui/icons/priority-lowest-icon.compiled.css +0 -5
  98. package/dist/es2019/common/ui/icons/priority-lowest-icon.js +0 -44
  99. package/dist/es2019/common/ui/icons/priority-major-icon.compiled.css +0 -5
  100. package/dist/es2019/common/ui/icons/priority-major-icon.js +0 -50
  101. package/dist/es2019/common/ui/icons/priority-medium-icon.compiled.css +0 -5
  102. package/dist/es2019/common/ui/icons/priority-medium-icon.js +0 -38
  103. package/dist/es2019/common/ui/icons/priority-minor-icon.compiled.css +0 -5
  104. package/dist/es2019/common/ui/icons/priority-minor-icon.js +0 -50
  105. package/dist/es2019/common/ui/icons/priority-trivial-icon.compiled.css +0 -5
  106. package/dist/es2019/common/ui/icons/priority-trivial-icon.js +0 -38
  107. package/dist/esm/common/ui/icons/priority-blocker-icon.compiled.css +0 -5
  108. package/dist/esm/common/ui/icons/priority-blocker-icon.js +0 -41
  109. package/dist/esm/common/ui/icons/priority-critical-icon.compiled.css +0 -5
  110. package/dist/esm/common/ui/icons/priority-critical-icon.js +0 -41
  111. package/dist/esm/common/ui/icons/priority-high-icon.compiled.css +0 -5
  112. package/dist/esm/common/ui/icons/priority-high-icon.js +0 -41
  113. package/dist/esm/common/ui/icons/priority-highest-icon.compiled.css +0 -5
  114. package/dist/esm/common/ui/icons/priority-highest-icon.js +0 -47
  115. package/dist/esm/common/ui/icons/priority-icon.compiled.css +0 -4
  116. package/dist/esm/common/ui/icons/priority-icon.js +0 -40
  117. package/dist/esm/common/ui/icons/priority-low-icon.compiled.css +0 -5
  118. package/dist/esm/common/ui/icons/priority-low-icon.js +0 -41
  119. package/dist/esm/common/ui/icons/priority-lowest-icon.compiled.css +0 -5
  120. package/dist/esm/common/ui/icons/priority-lowest-icon.js +0 -47
  121. package/dist/esm/common/ui/icons/priority-major-icon.compiled.css +0 -5
  122. package/dist/esm/common/ui/icons/priority-major-icon.js +0 -53
  123. package/dist/esm/common/ui/icons/priority-medium-icon.compiled.css +0 -5
  124. package/dist/esm/common/ui/icons/priority-medium-icon.js +0 -41
  125. package/dist/esm/common/ui/icons/priority-minor-icon.compiled.css +0 -5
  126. package/dist/esm/common/ui/icons/priority-minor-icon.js +0 -53
  127. package/dist/esm/common/ui/icons/priority-trivial-icon.compiled.css +0 -5
  128. package/dist/esm/common/ui/icons/priority-trivial-icon.js +0 -41
  129. package/dist/types/common/ui/icons/priority-blocker-icon.d.ts +0 -13
  130. package/dist/types/common/ui/icons/priority-critical-icon.d.ts +0 -13
  131. package/dist/types/common/ui/icons/priority-high-icon.d.ts +0 -13
  132. package/dist/types/common/ui/icons/priority-highest-icon.d.ts +0 -13
  133. package/dist/types/common/ui/icons/priority-icon.d.ts +0 -13
  134. package/dist/types/common/ui/icons/priority-low-icon.d.ts +0 -13
  135. package/dist/types/common/ui/icons/priority-lowest-icon.d.ts +0 -13
  136. package/dist/types/common/ui/icons/priority-major-icon.d.ts +0 -13
  137. package/dist/types/common/ui/icons/priority-medium-icon.d.ts +0 -13
  138. package/dist/types/common/ui/icons/priority-minor-icon.d.ts +0 -13
  139. package/dist/types/common/ui/icons/priority-trivial-icon.d.ts +0 -13
@@ -1,50 +0,0 @@
1
- /* priority-medium-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-medium-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 PriorityMediumIconLegacy = function PriorityMediumIconLegacy(_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: "M5 8h14a1 1 0 010 2H5a1 1 0 110-2zm0 6h14a1 1 0 010 2H5a1 1 0 010-2z",
42
- fill: "#FFAB00"
43
- })));
44
- };
45
- PriorityMediumIconLegacy.displayName = 'PriorityMediumIcon';
46
- var _default_1 = (0, _componentWithFg.componentWithFG)('platform_sl_icons_refactor', (0, _priorityIcon.createPriorityIcon)('PriorityMediumIcon', [{
47
- d: 'M5 8h14a1 1 0 010 2H5a1 1 0 110-2zm0 6h14a1 1 0 010 2H5a1 1 0 010-2z',
48
- fill: '#FFAB00'
49
- }]), PriorityMediumIconLegacy);
50
- var _default = exports.default = _default_1;
@@ -1,5 +0,0 @@
1
- ._1e0c1o8l{display:inline-block}
2
- ._1o9zidpf{flex-shrink:0}
3
- ._c71l1osq{max-height:100%}
4
- ._p12f1osq{max-width:100%}
5
- ._s7n4yfq0{vertical-align:bottom}
@@ -1,62 +0,0 @@
1
- /* priority-minor-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-minor-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 PriorityMinorIconLegacy = function PriorityMinorIconLegacy(_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.449 14.975a1 1 0 011.027 1.716l-6.97 4.173a1 1 0 01-1.03-.002L4.57 16.69a1 1 0 011.034-1.712l6.391 3.862 6.454-3.864z",
42
- fill: "#0065FF"
43
- }), /*#__PURE__*/React.createElement("path", {
44
- d: "M11.995 12.837l6.454-3.865a1 1 0 011.027 1.716l-6.97 4.174a1 1 0 01-1.03-.002L4.57 10.686a1 1 0 011.034-1.712l6.391 3.863z",
45
- fill: "#2684FF"
46
- }), /*#__PURE__*/React.createElement("path", {
47
- d: "M11.995 6.823l6.454-3.865a1 1 0 111.027 1.716l-6.97 4.174a1 1 0 01-1.03-.002L4.57 4.672A1 1 0 015.604 2.96l6.391 3.863z",
48
- fill: "#4C9AFF"
49
- })));
50
- };
51
- PriorityMinorIconLegacy.displayName = 'PriorityMinorIcon';
52
- var _default_1 = (0, _componentWithFg.componentWithFG)('platform_sl_icons_refactor', (0, _priorityIcon.createPriorityIcon)('PriorityMinorIcon', [{
53
- d: 'M18.449 14.975a1 1 0 011.027 1.716l-6.97 4.173a1 1 0 01-1.03-.002L4.57 16.69a1 1 0 011.034-1.712l6.391 3.862 6.454-3.864z',
54
- fill: '#0065FF'
55
- }, {
56
- d: 'M11.995 12.837l6.454-3.865a1 1 0 011.027 1.716l-6.97 4.174a1 1 0 01-1.03-.002L4.57 10.686a1 1 0 011.034-1.712l6.391 3.863z',
57
- fill: '#2684FF'
58
- }, {
59
- d: 'M11.995 6.823l6.454-3.865a1 1 0 111.027 1.716l-6.97 4.174a1 1 0 01-1.03-.002L4.57 4.672A1 1 0 015.604 2.96l6.391 3.863z',
60
- fill: '#4C9AFF'
61
- }]), PriorityMinorIconLegacy);
62
- var _default = exports.default = _default_1;
@@ -1,5 +0,0 @@
1
- ._1e0c1o8l{display:inline-block}
2
- ._1o9zidpf{flex-shrink:0}
3
- ._c71l1osq{max-height:100%}
4
- ._p12f1osq{max-width:100%}
5
- ._s7n4yfq0{vertical-align:bottom}
@@ -1,50 +0,0 @@
1
- /* priority-trivial-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-trivial-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 PriorityTrivialIconLegacy = function PriorityTrivialIconLegacy(_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 20a8 8 0 100-16 8 8 0 000 16zm0 2C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10z",
42
- fill: "#7A8699"
43
- })));
44
- };
45
- PriorityTrivialIconLegacy.displayName = 'PriorityTrivialIcon';
46
- var _default_1 = (0, _componentWithFg.componentWithFG)('platform_sl_icons_refactor', (0, _priorityIcon.createPriorityIcon)('PriorityTrivialIcon', [{
47
- d: 'M12 20a8 8 0 100-16 8 8 0 000 16zm0 2C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10z',
48
- fill: '#7A8699'
49
- }]), PriorityTrivialIconLegacy);
50
- var _default = exports.default = _default_1;
@@ -1,5 +0,0 @@
1
- ._1e0c1o8l{display:inline-block}
2
- ._1o9zidpf{flex-shrink:0}
3
- ._c71l1osq{max-height:100%}
4
- ._p12f1osq{max-width:100%}
5
- ._s7n4yfq0{vertical-align:bottom}
@@ -1,38 +0,0 @@
1
- /* priority-blocker-icon.tsx generated by @compiled/babel-plugin v3.0.2 */
2
- import _extends from "@babel/runtime/helpers/extends";
3
- import "./priority-blocker-icon.compiled.css";
4
- import * as React from 'react';
5
- import { ax, ix } from "@compiled/react/runtime";
6
- import { componentWithFG } from '@atlaskit/platform-feature-flags-react/component-with-fg';
7
- import { createPriorityIcon } from './priority-icon';
8
- const style = {
9
- span: "_1e0c1o8l _1o9zidpf",
10
- svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
11
- };
12
- const PriorityBlockerIconLegacy = ({
13
- label,
14
- testId,
15
- ...props
16
- }) => /*#__PURE__*/React.createElement("span", _extends({
17
- role: label ? 'img' : undefined,
18
- "aria-label": label,
19
- "aria-hidden": label ? undefined : true,
20
- "data-testid": testId
21
- }, props, {
22
- className: ax([style.span])
23
- }), /*#__PURE__*/React.createElement("svg", {
24
- width: "24",
25
- height: "24",
26
- viewBox: "0 0 24 24",
27
- role: "presentation",
28
- className: ax([style.svg])
29
- }, /*#__PURE__*/React.createElement("path", {
30
- 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",
31
- fill: "#FF5630"
32
- })));
33
- PriorityBlockerIconLegacy.displayName = 'PriorityBlockerIcon';
34
- const _default_1 = componentWithFG('platform_sl_icons_refactor', createPriorityIcon('PriorityBlockerIcon', [{
35
- 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',
36
- fill: '#FF5630'
37
- }]), PriorityBlockerIconLegacy);
38
- export default _default_1;
@@ -1,5 +0,0 @@
1
- ._1e0c1o8l{display:inline-block}
2
- ._1o9zidpf{flex-shrink:0}
3
- ._c71l1osq{max-height:100%}
4
- ._p12f1osq{max-width:100%}
5
- ._s7n4yfq0{vertical-align:bottom}
@@ -1,38 +0,0 @@
1
- /* priority-critical-icon.tsx generated by @compiled/babel-plugin v3.0.2 */
2
- import _extends from "@babel/runtime/helpers/extends";
3
- import "./priority-critical-icon.compiled.css";
4
- import * as React from 'react';
5
- import { ax, ix } from "@compiled/react/runtime";
6
- import { componentWithFG } from '@atlaskit/platform-feature-flags-react/component-with-fg';
7
- import { createPriorityIcon } from './priority-icon';
8
- const style = {
9
- span: "_1e0c1o8l _1o9zidpf",
10
- svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
11
- };
12
- const PriorityCriticalIconLegacy = ({
13
- label,
14
- testId,
15
- ...props
16
- }) => /*#__PURE__*/React.createElement("span", _extends({
17
- role: label ? 'img' : undefined,
18
- "aria-label": label,
19
- "aria-hidden": label ? undefined : true,
20
- "data-testid": testId
21
- }, props, {
22
- className: ax([style.span])
23
- }), /*#__PURE__*/React.createElement("svg", {
24
- width: "24",
25
- height: "24",
26
- viewBox: "0 0 24 24",
27
- role: "presentation",
28
- className: ax([style.svg])
29
- }, /*#__PURE__*/React.createElement("path", {
30
- 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",
31
- fill: "#FF5630"
32
- })));
33
- PriorityCriticalIconLegacy.displayName = 'PriorityCriticalIcon';
34
- const _default_1 = componentWithFG('platform_sl_icons_refactor', createPriorityIcon('PriorityCriticalIcon', [{
35
- 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',
36
- fill: '#FF5630'
37
- }]), PriorityCriticalIconLegacy);
38
- export default _default_1;
@@ -1,5 +0,0 @@
1
- ._1e0c1o8l{display:inline-block}
2
- ._1o9zidpf{flex-shrink:0}
3
- ._c71l1osq{max-height:100%}
4
- ._p12f1osq{max-width:100%}
5
- ._s7n4yfq0{vertical-align:bottom}
@@ -1,38 +0,0 @@
1
- /* priority-high-icon.tsx generated by @compiled/babel-plugin v3.0.2 */
2
- import _extends from "@babel/runtime/helpers/extends";
3
- import "./priority-high-icon.compiled.css";
4
- import * as React from 'react';
5
- import { ax, ix } from "@compiled/react/runtime";
6
- import { componentWithFG } from '@atlaskit/platform-feature-flags-react/component-with-fg';
7
- import { createPriorityIcon } from './priority-icon';
8
- const style = {
9
- span: "_1e0c1o8l _1o9zidpf",
10
- svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
11
- };
12
- const PriorityHighIconLegacy = ({
13
- label,
14
- testId,
15
- ...props
16
- }) => /*#__PURE__*/React.createElement("span", _extends({
17
- role: label ? 'img' : undefined,
18
- "aria-label": label,
19
- "aria-hidden": label ? undefined : true,
20
- "data-testid": testId
21
- }, props, {
22
- className: ax([style.span])
23
- }), /*#__PURE__*/React.createElement("svg", {
24
- width: "24",
25
- height: "24",
26
- viewBox: "0 0 24 24",
27
- role: "presentation",
28
- className: ax([style.svg])
29
- }, /*#__PURE__*/React.createElement("path", {
30
- 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",
31
- fill: "#FF5630"
32
- })));
33
- PriorityHighIconLegacy.displayName = 'PriorityHighIcon';
34
- const _default_1 = componentWithFG('platform_sl_icons_refactor', createPriorityIcon('PriorityHighIcon', [{
35
- 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',
36
- fill: '#FF5630'
37
- }]), PriorityHighIconLegacy);
38
- export default _default_1;
@@ -1,5 +0,0 @@
1
- ._1e0c1o8l{display:inline-block}
2
- ._1o9zidpf{flex-shrink:0}
3
- ._c71l1osq{max-height:100%}
4
- ._p12f1osq{max-width:100%}
5
- ._s7n4yfq0{vertical-align:bottom}
@@ -1,44 +0,0 @@
1
- /* priority-highest-icon.tsx generated by @compiled/babel-plugin v3.0.2 */
2
- import _extends from "@babel/runtime/helpers/extends";
3
- import "./priority-highest-icon.compiled.css";
4
- import * as React from 'react';
5
- import { ax, ix } from "@compiled/react/runtime";
6
- import { componentWithFG } from '@atlaskit/platform-feature-flags-react/component-with-fg';
7
- import { createPriorityIcon } from './priority-icon';
8
- const style = {
9
- span: "_1e0c1o8l _1o9zidpf",
10
- svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
11
- };
12
- const PriorityHighestIconLegacy = ({
13
- label,
14
- testId,
15
- ...props
16
- }) => /*#__PURE__*/React.createElement("span", _extends({
17
- role: label ? 'img' : undefined,
18
- "aria-label": label,
19
- "aria-hidden": label ? undefined : true,
20
- "data-testid": testId
21
- }, props, {
22
- className: ax([style.span])
23
- }), /*#__PURE__*/React.createElement("svg", {
24
- width: "24",
25
- height: "24",
26
- viewBox: "0 0 24 24",
27
- role: "presentation",
28
- className: ax([style.svg])
29
- }, /*#__PURE__*/React.createElement("path", {
30
- 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",
31
- fill: "#FF5630"
32
- }), /*#__PURE__*/React.createElement("path", {
33
- 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",
34
- fill: "#FF7452"
35
- })));
36
- PriorityHighestIconLegacy.displayName = 'PriorityHighestIcon';
37
- const _default_1 = componentWithFG('platform_sl_icons_refactor', createPriorityIcon('PriorityHighestIcon', [{
38
- 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',
39
- fill: '#FF5630'
40
- }, {
41
- 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',
42
- fill: '#FF7452'
43
- }]), PriorityHighestIconLegacy);
44
- export default _default_1;
@@ -1,4 +0,0 @@
1
- ._1e0c1o8l{display:inline-block}
2
- ._c71l1osq{max-height:100%}
3
- ._p12f1osq{max-width:100%}
4
- ._s7n4yfq0{vertical-align:bottom}
@@ -1,35 +0,0 @@
1
- /* priority-icon.tsx generated by @compiled/babel-plugin v3.0.2 */
2
- import _extends from "@babel/runtime/helpers/extends";
3
- import "./priority-icon.compiled.css";
4
- import * as React from 'react';
5
- import { ax, ix } from "@compiled/react/runtime";
6
- const style = {
7
- span: "_1e0c1o8l",
8
- svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
9
- };
10
- export const createPriorityIcon = (displayName, paths) => {
11
- const Icon = ({
12
- label,
13
- testId,
14
- ...props
15
- }) => /*#__PURE__*/React.createElement("span", _extends({
16
- role: label ? 'img' : undefined,
17
- "aria-label": label,
18
- "aria-hidden": label ? undefined : true,
19
- "data-testid": testId
20
- }, props, {
21
- className: ax([style.span])
22
- }), /*#__PURE__*/React.createElement("svg", {
23
- width: "24",
24
- height: "24",
25
- viewBox: "0 0 24 24",
26
- role: "presentation",
27
- className: ax([style.svg])
28
- }, paths.map((p, i) => /*#__PURE__*/React.createElement("path", {
29
- key: i,
30
- d: p.d,
31
- fill: p.fill
32
- }))));
33
- Icon.displayName = displayName;
34
- return Icon;
35
- };
@@ -1,5 +0,0 @@
1
- ._1e0c1o8l{display:inline-block}
2
- ._1o9zidpf{flex-shrink:0}
3
- ._c71l1osq{max-height:100%}
4
- ._p12f1osq{max-width:100%}
5
- ._s7n4yfq0{vertical-align:bottom}
@@ -1,38 +0,0 @@
1
- /* priority-low-icon.tsx generated by @compiled/babel-plugin v3.0.2 */
2
- import _extends from "@babel/runtime/helpers/extends";
3
- import "./priority-low-icon.compiled.css";
4
- import * as React from 'react';
5
- import { ax, ix } from "@compiled/react/runtime";
6
- import { componentWithFG } from '@atlaskit/platform-feature-flags-react/component-with-fg';
7
- import { createPriorityIcon } from './priority-icon';
8
- const style = {
9
- span: "_1e0c1o8l _1o9zidpf",
10
- svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
11
- };
12
- const PriorityLowIconLegacy = ({
13
- label,
14
- testId,
15
- ...props
16
- }) => /*#__PURE__*/React.createElement("span", _extends({
17
- role: label ? 'img' : undefined,
18
- "aria-label": label,
19
- "aria-hidden": label ? undefined : true,
20
- "data-testid": testId
21
- }, props, {
22
- className: ax([style.span])
23
- }), /*#__PURE__*/React.createElement("svg", {
24
- width: "24",
25
- height: "24",
26
- viewBox: "0 0 24 24",
27
- role: "presentation",
28
- className: ax([style.svg])
29
- }, /*#__PURE__*/React.createElement("path", {
30
- 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",
31
- fill: "#0065FF"
32
- })));
33
- PriorityLowIconLegacy.displayName = 'PriorityLowIcon';
34
- const _default_1 = componentWithFG('platform_sl_icons_refactor', createPriorityIcon('PriorityLowIcon', [{
35
- 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',
36
- fill: '#0065FF'
37
- }]), PriorityLowIconLegacy);
38
- export default _default_1;
@@ -1,5 +0,0 @@
1
- ._1e0c1o8l{display:inline-block}
2
- ._1o9zidpf{flex-shrink:0}
3
- ._c71l1osq{max-height:100%}
4
- ._p12f1osq{max-width:100%}
5
- ._s7n4yfq0{vertical-align:bottom}
@@ -1,44 +0,0 @@
1
- /* priority-lowest-icon.tsx generated by @compiled/babel-plugin v3.0.2 */
2
- import _extends from "@babel/runtime/helpers/extends";
3
- import "./priority-lowest-icon.compiled.css";
4
- import * as React from 'react';
5
- import { ax, ix } from "@compiled/react/runtime";
6
- import { componentWithFG } from '@atlaskit/platform-feature-flags-react/component-with-fg';
7
- import { createPriorityIcon } from './priority-icon';
8
- const style = {
9
- span: "_1e0c1o8l _1o9zidpf",
10
- svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
11
- };
12
- const PriorityLowestIconLegacy = ({
13
- label,
14
- testId,
15
- ...props
16
- }) => /*#__PURE__*/React.createElement("span", _extends({
17
- role: label ? 'img' : undefined,
18
- "aria-label": label,
19
- "aria-hidden": label ? undefined : true,
20
- "data-testid": testId
21
- }, props, {
22
- className: ax([style.span])
23
- }), /*#__PURE__*/React.createElement("svg", {
24
- width: "24",
25
- height: "24",
26
- viewBox: "0 0 24 24",
27
- role: "presentation",
28
- className: ax([style.svg])
29
- }, /*#__PURE__*/React.createElement("path", {
30
- 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",
31
- fill: "#0065FF"
32
- }), /*#__PURE__*/React.createElement("path", {
33
- 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",
34
- fill: "#2684FF"
35
- })));
36
- PriorityLowestIconLegacy.displayName = 'PriorityLowestIcon';
37
- const _default_1 = componentWithFG('platform_sl_icons_refactor', createPriorityIcon('PriorityLowestIcon', [{
38
- 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',
39
- fill: '#0065FF'
40
- }, {
41
- 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',
42
- fill: '#2684FF'
43
- }]), PriorityLowestIconLegacy);
44
- export default _default_1;
@@ -1,5 +0,0 @@
1
- ._1e0c1o8l{display:inline-block}
2
- ._1o9zidpf{flex-shrink:0}
3
- ._c71l1osq{max-height:100%}
4
- ._p12f1osq{max-width:100%}
5
- ._s7n4yfq0{vertical-align:bottom}
@@ -1,50 +0,0 @@
1
- /* priority-major-icon.tsx generated by @compiled/babel-plugin v3.0.2 */
2
- import _extends from "@babel/runtime/helpers/extends";
3
- import "./priority-major-icon.compiled.css";
4
- import * as React from 'react';
5
- import { ax, ix } from "@compiled/react/runtime";
6
- import { componentWithFG } from '@atlaskit/platform-feature-flags-react/component-with-fg';
7
- import { createPriorityIcon } from './priority-icon';
8
- const style = {
9
- span: "_1e0c1o8l _1o9zidpf",
10
- svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
11
- };
12
- const PriorityMajorIconLegacy = ({
13
- label,
14
- testId,
15
- ...props
16
- }) => /*#__PURE__*/React.createElement("span", _extends({
17
- role: label ? 'img' : undefined,
18
- "aria-label": label,
19
- "aria-hidden": label ? undefined : true,
20
- "data-testid": testId
21
- }, props, {
22
- className: ax([style.span])
23
- }), /*#__PURE__*/React.createElement("svg", {
24
- width: "24",
25
- height: "24",
26
- viewBox: "0 0 24 24",
27
- role: "presentation",
28
- className: ax([style.svg])
29
- }, /*#__PURE__*/React.createElement("path", {
30
- 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",
31
- fill: "#FF5630"
32
- }), /*#__PURE__*/React.createElement("path", {
33
- 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",
34
- fill: "#FF7452"
35
- }), /*#__PURE__*/React.createElement("path", {
36
- 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",
37
- fill: "#FF8F73"
38
- })));
39
- PriorityMajorIconLegacy.displayName = 'PriorityMajorIcon';
40
- const _default_1 = componentWithFG('platform_sl_icons_refactor', createPriorityIcon('PriorityMajorIcon', [{
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
- }, {
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
- }, {
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
- }]), PriorityMajorIconLegacy);
50
- export default _default_1;
@@ -1,5 +0,0 @@
1
- ._1e0c1o8l{display:inline-block}
2
- ._1o9zidpf{flex-shrink:0}
3
- ._c71l1osq{max-height:100%}
4
- ._p12f1osq{max-width:100%}
5
- ._s7n4yfq0{vertical-align:bottom}
@@ -1,38 +0,0 @@
1
- /* priority-medium-icon.tsx generated by @compiled/babel-plugin v3.0.2 */
2
- import _extends from "@babel/runtime/helpers/extends";
3
- import "./priority-medium-icon.compiled.css";
4
- import * as React from 'react';
5
- import { ax, ix } from "@compiled/react/runtime";
6
- import { componentWithFG } from '@atlaskit/platform-feature-flags-react/component-with-fg';
7
- import { createPriorityIcon } from './priority-icon';
8
- const style = {
9
- span: "_1e0c1o8l _1o9zidpf",
10
- svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
11
- };
12
- const PriorityMediumIconLegacy = ({
13
- label,
14
- testId,
15
- ...props
16
- }) => /*#__PURE__*/React.createElement("span", _extends({
17
- role: label ? 'img' : undefined,
18
- "aria-label": label,
19
- "aria-hidden": label ? undefined : true,
20
- "data-testid": testId
21
- }, props, {
22
- className: ax([style.span])
23
- }), /*#__PURE__*/React.createElement("svg", {
24
- width: "24",
25
- height: "24",
26
- viewBox: "0 0 24 24",
27
- role: "presentation",
28
- className: ax([style.svg])
29
- }, /*#__PURE__*/React.createElement("path", {
30
- d: "M5 8h14a1 1 0 010 2H5a1 1 0 110-2zm0 6h14a1 1 0 010 2H5a1 1 0 010-2z",
31
- fill: "#FFAB00"
32
- })));
33
- PriorityMediumIconLegacy.displayName = 'PriorityMediumIcon';
34
- const _default_1 = componentWithFG('platform_sl_icons_refactor', createPriorityIcon('PriorityMediumIcon', [{
35
- d: 'M5 8h14a1 1 0 010 2H5a1 1 0 110-2zm0 6h14a1 1 0 010 2H5a1 1 0 010-2z',
36
- fill: '#FFAB00'
37
- }]), PriorityMediumIconLegacy);
38
- export default _default_1;
@@ -1,5 +0,0 @@
1
- ._1e0c1o8l{display:inline-block}
2
- ._1o9zidpf{flex-shrink:0}
3
- ._c71l1osq{max-height:100%}
4
- ._p12f1osq{max-width:100%}
5
- ._s7n4yfq0{vertical-align:bottom}