@atlaskit/smart-card 46.1.12 → 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 +21 -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 +3 -15
  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-minor-icon.tsx generated by @compiled/babel-plugin v3.0.2 */
2
- import _extends from "@babel/runtime/helpers/extends";
3
- import "./priority-minor-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 PriorityMinorIconLegacy = ({
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.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",
31
- fill: "#0065FF"
32
- }), /*#__PURE__*/React.createElement("path", {
33
- 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",
34
- fill: "#2684FF"
35
- }), /*#__PURE__*/React.createElement("path", {
36
- 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",
37
- fill: "#4C9AFF"
38
- })));
39
- PriorityMinorIconLegacy.displayName = 'PriorityMinorIcon';
40
- const _default_1 = componentWithFG('platform_sl_icons_refactor', createPriorityIcon('PriorityMinorIcon', [{
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
- }, {
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
- }, {
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
- }]), PriorityMinorIconLegacy);
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-trivial-icon.tsx generated by @compiled/babel-plugin v3.0.2 */
2
- import _extends from "@babel/runtime/helpers/extends";
3
- import "./priority-trivial-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 PriorityTrivialIconLegacy = ({
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 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",
31
- fill: "#7A8699"
32
- })));
33
- PriorityTrivialIconLegacy.displayName = 'PriorityTrivialIcon';
34
- const _default_1 = componentWithFG('platform_sl_icons_refactor', createPriorityIcon('PriorityTrivialIcon', [{
35
- 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',
36
- fill: '#7A8699'
37
- }]), PriorityTrivialIconLegacy);
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,41 +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 _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
- var _excluded = ["label", "testId"];
5
- import "./priority-blocker-icon.compiled.css";
6
- import * as React from 'react';
7
- import { ax, ix } from "@compiled/react/runtime";
8
- import { componentWithFG } from '@atlaskit/platform-feature-flags-react/component-with-fg';
9
- import { createPriorityIcon } from './priority-icon';
10
- var style = {
11
- span: "_1e0c1o8l _1o9zidpf",
12
- svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
13
- };
14
- var PriorityBlockerIconLegacy = function PriorityBlockerIconLegacy(_ref) {
15
- var label = _ref.label,
16
- testId = _ref.testId,
17
- props = _objectWithoutProperties(_ref, _excluded);
18
- return /*#__PURE__*/React.createElement("span", _extends({
19
- role: label ? 'img' : undefined,
20
- "aria-label": label,
21
- "aria-hidden": label ? undefined : true,
22
- "data-testid": testId
23
- }, props, {
24
- className: ax([style.span])
25
- }), /*#__PURE__*/React.createElement("svg", {
26
- width: "24",
27
- height: "24",
28
- viewBox: "0 0 24 24",
29
- role: "presentation",
30
- className: ax([style.svg])
31
- }, /*#__PURE__*/React.createElement("path", {
32
- 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",
33
- fill: "#FF5630"
34
- })));
35
- };
36
- PriorityBlockerIconLegacy.displayName = 'PriorityBlockerIcon';
37
- var _default_1 = componentWithFG('platform_sl_icons_refactor', createPriorityIcon('PriorityBlockerIcon', [{
38
- 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',
39
- fill: '#FF5630'
40
- }]), PriorityBlockerIconLegacy);
41
- 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,41 +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 _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
- var _excluded = ["label", "testId"];
5
- import "./priority-critical-icon.compiled.css";
6
- import * as React from 'react';
7
- import { ax, ix } from "@compiled/react/runtime";
8
- import { componentWithFG } from '@atlaskit/platform-feature-flags-react/component-with-fg';
9
- import { createPriorityIcon } from './priority-icon';
10
- var style = {
11
- span: "_1e0c1o8l _1o9zidpf",
12
- svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
13
- };
14
- var PriorityCriticalIconLegacy = function PriorityCriticalIconLegacy(_ref) {
15
- var label = _ref.label,
16
- testId = _ref.testId,
17
- props = _objectWithoutProperties(_ref, _excluded);
18
- return /*#__PURE__*/React.createElement("span", _extends({
19
- role: label ? 'img' : undefined,
20
- "aria-label": label,
21
- "aria-hidden": label ? undefined : true,
22
- "data-testid": testId
23
- }, props, {
24
- className: ax([style.span])
25
- }), /*#__PURE__*/React.createElement("svg", {
26
- width: "24",
27
- height: "24",
28
- viewBox: "0 0 24 24",
29
- role: "presentation",
30
- className: ax([style.svg])
31
- }, /*#__PURE__*/React.createElement("path", {
32
- 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",
33
- fill: "#FF5630"
34
- })));
35
- };
36
- PriorityCriticalIconLegacy.displayName = 'PriorityCriticalIcon';
37
- var _default_1 = componentWithFG('platform_sl_icons_refactor', createPriorityIcon('PriorityCriticalIcon', [{
38
- 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',
39
- fill: '#FF5630'
40
- }]), PriorityCriticalIconLegacy);
41
- 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,41 +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 _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
- var _excluded = ["label", "testId"];
5
- import "./priority-high-icon.compiled.css";
6
- import * as React from 'react';
7
- import { ax, ix } from "@compiled/react/runtime";
8
- import { componentWithFG } from '@atlaskit/platform-feature-flags-react/component-with-fg';
9
- import { createPriorityIcon } from './priority-icon';
10
- var style = {
11
- span: "_1e0c1o8l _1o9zidpf",
12
- svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
13
- };
14
- var PriorityHighIconLegacy = function PriorityHighIconLegacy(_ref) {
15
- var label = _ref.label,
16
- testId = _ref.testId,
17
- props = _objectWithoutProperties(_ref, _excluded);
18
- return /*#__PURE__*/React.createElement("span", _extends({
19
- role: label ? 'img' : undefined,
20
- "aria-label": label,
21
- "aria-hidden": label ? undefined : true,
22
- "data-testid": testId
23
- }, props, {
24
- className: ax([style.span])
25
- }), /*#__PURE__*/React.createElement("svg", {
26
- width: "24",
27
- height: "24",
28
- viewBox: "0 0 24 24",
29
- role: "presentation",
30
- className: ax([style.svg])
31
- }, /*#__PURE__*/React.createElement("path", {
32
- 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",
33
- fill: "#FF5630"
34
- })));
35
- };
36
- PriorityHighIconLegacy.displayName = 'PriorityHighIcon';
37
- var _default_1 = componentWithFG('platform_sl_icons_refactor', createPriorityIcon('PriorityHighIcon', [{
38
- 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',
39
- fill: '#FF5630'
40
- }]), PriorityHighIconLegacy);
41
- 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,47 +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 _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
- var _excluded = ["label", "testId"];
5
- import "./priority-highest-icon.compiled.css";
6
- import * as React from 'react';
7
- import { ax, ix } from "@compiled/react/runtime";
8
- import { componentWithFG } from '@atlaskit/platform-feature-flags-react/component-with-fg';
9
- import { createPriorityIcon } from './priority-icon';
10
- var style = {
11
- span: "_1e0c1o8l _1o9zidpf",
12
- svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
13
- };
14
- var PriorityHighestIconLegacy = function PriorityHighestIconLegacy(_ref) {
15
- var label = _ref.label,
16
- testId = _ref.testId,
17
- props = _objectWithoutProperties(_ref, _excluded);
18
- return /*#__PURE__*/React.createElement("span", _extends({
19
- role: label ? 'img' : undefined,
20
- "aria-label": label,
21
- "aria-hidden": label ? undefined : true,
22
- "data-testid": testId
23
- }, props, {
24
- className: ax([style.span])
25
- }), /*#__PURE__*/React.createElement("svg", {
26
- width: "24",
27
- height: "24",
28
- viewBox: "0 0 24 24",
29
- role: "presentation",
30
- className: ax([style.svg])
31
- }, /*#__PURE__*/React.createElement("path", {
32
- 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",
33
- fill: "#FF5630"
34
- }), /*#__PURE__*/React.createElement("path", {
35
- 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",
36
- fill: "#FF7452"
37
- })));
38
- };
39
- PriorityHighestIconLegacy.displayName = 'PriorityHighestIcon';
40
- var _default_1 = componentWithFG('platform_sl_icons_refactor', createPriorityIcon('PriorityHighestIcon', [{
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
- }, {
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
- }]), PriorityHighestIconLegacy);
47
- 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,40 +0,0 @@
1
- /* priority-icon.tsx generated by @compiled/babel-plugin v3.0.2 */
2
- import _extends from "@babel/runtime/helpers/extends";
3
- import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
- var _excluded = ["label", "testId"];
5
- import "./priority-icon.compiled.css";
6
- import * as React from 'react';
7
- import { ax, ix } from "@compiled/react/runtime";
8
- var style = {
9
- span: "_1e0c1o8l",
10
- svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
11
- };
12
- export var createPriorityIcon = function createPriorityIcon(displayName, paths) {
13
- var Icon = function Icon(_ref) {
14
- var label = _ref.label,
15
- testId = _ref.testId,
16
- props = _objectWithoutProperties(_ref, _excluded);
17
- return /*#__PURE__*/React.createElement("span", _extends({
18
- role: label ? 'img' : undefined,
19
- "aria-label": label,
20
- "aria-hidden": label ? undefined : true,
21
- "data-testid": testId
22
- }, props, {
23
- className: ax([style.span])
24
- }), /*#__PURE__*/React.createElement("svg", {
25
- width: "24",
26
- height: "24",
27
- viewBox: "0 0 24 24",
28
- role: "presentation",
29
- className: ax([style.svg])
30
- }, paths.map(function (p, i) {
31
- return /*#__PURE__*/React.createElement("path", {
32
- key: i,
33
- d: p.d,
34
- fill: p.fill
35
- });
36
- })));
37
- };
38
- Icon.displayName = displayName;
39
- return Icon;
40
- };
@@ -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,41 +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 _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
- var _excluded = ["label", "testId"];
5
- import "./priority-low-icon.compiled.css";
6
- import * as React from 'react';
7
- import { ax, ix } from "@compiled/react/runtime";
8
- import { componentWithFG } from '@atlaskit/platform-feature-flags-react/component-with-fg';
9
- import { createPriorityIcon } from './priority-icon';
10
- var style = {
11
- span: "_1e0c1o8l _1o9zidpf",
12
- svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
13
- };
14
- var PriorityLowIconLegacy = function PriorityLowIconLegacy(_ref) {
15
- var label = _ref.label,
16
- testId = _ref.testId,
17
- props = _objectWithoutProperties(_ref, _excluded);
18
- return /*#__PURE__*/React.createElement("span", _extends({
19
- role: label ? 'img' : undefined,
20
- "aria-label": label,
21
- "aria-hidden": label ? undefined : true,
22
- "data-testid": testId
23
- }, props, {
24
- className: ax([style.span])
25
- }), /*#__PURE__*/React.createElement("svg", {
26
- width: "24",
27
- height: "24",
28
- viewBox: "0 0 24 24",
29
- role: "presentation",
30
- className: ax([style.svg])
31
- }, /*#__PURE__*/React.createElement("path", {
32
- 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",
33
- fill: "#0065FF"
34
- })));
35
- };
36
- PriorityLowIconLegacy.displayName = 'PriorityLowIcon';
37
- var _default_1 = componentWithFG('platform_sl_icons_refactor', createPriorityIcon('PriorityLowIcon', [{
38
- 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',
39
- fill: '#0065FF'
40
- }]), PriorityLowIconLegacy);
41
- 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,47 +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 _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
- var _excluded = ["label", "testId"];
5
- import "./priority-lowest-icon.compiled.css";
6
- import * as React from 'react';
7
- import { ax, ix } from "@compiled/react/runtime";
8
- import { componentWithFG } from '@atlaskit/platform-feature-flags-react/component-with-fg';
9
- import { createPriorityIcon } from './priority-icon';
10
- var style = {
11
- span: "_1e0c1o8l _1o9zidpf",
12
- svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
13
- };
14
- var PriorityLowestIconLegacy = function PriorityLowestIconLegacy(_ref) {
15
- var label = _ref.label,
16
- testId = _ref.testId,
17
- props = _objectWithoutProperties(_ref, _excluded);
18
- return /*#__PURE__*/React.createElement("span", _extends({
19
- role: label ? 'img' : undefined,
20
- "aria-label": label,
21
- "aria-hidden": label ? undefined : true,
22
- "data-testid": testId
23
- }, props, {
24
- className: ax([style.span])
25
- }), /*#__PURE__*/React.createElement("svg", {
26
- width: "24",
27
- height: "24",
28
- viewBox: "0 0 24 24",
29
- role: "presentation",
30
- className: ax([style.svg])
31
- }, /*#__PURE__*/React.createElement("path", {
32
- 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",
33
- fill: "#0065FF"
34
- }), /*#__PURE__*/React.createElement("path", {
35
- 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",
36
- fill: "#2684FF"
37
- })));
38
- };
39
- PriorityLowestIconLegacy.displayName = 'PriorityLowestIcon';
40
- var _default_1 = componentWithFG('platform_sl_icons_refactor', createPriorityIcon('PriorityLowestIcon', [{
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
- }, {
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
- }]), PriorityLowestIconLegacy);
47
- 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,53 +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 _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
- var _excluded = ["label", "testId"];
5
- import "./priority-major-icon.compiled.css";
6
- import * as React from 'react';
7
- import { ax, ix } from "@compiled/react/runtime";
8
- import { componentWithFG } from '@atlaskit/platform-feature-flags-react/component-with-fg';
9
- import { createPriorityIcon } from './priority-icon';
10
- var style = {
11
- span: "_1e0c1o8l _1o9zidpf",
12
- svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
13
- };
14
- var PriorityMajorIconLegacy = function PriorityMajorIconLegacy(_ref) {
15
- var label = _ref.label,
16
- testId = _ref.testId,
17
- props = _objectWithoutProperties(_ref, _excluded);
18
- return /*#__PURE__*/React.createElement("span", _extends({
19
- role: label ? 'img' : undefined,
20
- "aria-label": label,
21
- "aria-hidden": label ? undefined : true,
22
- "data-testid": testId
23
- }, props, {
24
- className: ax([style.span])
25
- }), /*#__PURE__*/React.createElement("svg", {
26
- width: "24",
27
- height: "24",
28
- viewBox: "0 0 24 24",
29
- role: "presentation",
30
- className: ax([style.svg])
31
- }, /*#__PURE__*/React.createElement("path", {
32
- 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",
33
- fill: "#FF5630"
34
- }), /*#__PURE__*/React.createElement("path", {
35
- 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",
36
- fill: "#FF7452"
37
- }), /*#__PURE__*/React.createElement("path", {
38
- 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",
39
- fill: "#FF8F73"
40
- })));
41
- };
42
- PriorityMajorIconLegacy.displayName = 'PriorityMajorIcon';
43
- var _default_1 = componentWithFG('platform_sl_icons_refactor', createPriorityIcon('PriorityMajorIcon', [{
44
- 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',
45
- fill: '#FF5630'
46
- }, {
47
- 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',
48
- fill: '#FF7452'
49
- }, {
50
- 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',
51
- fill: '#FF8F73'
52
- }]), PriorityMajorIconLegacy);
53
- 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,41 +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 _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
- var _excluded = ["label", "testId"];
5
- import "./priority-medium-icon.compiled.css";
6
- import * as React from 'react';
7
- import { ax, ix } from "@compiled/react/runtime";
8
- import { componentWithFG } from '@atlaskit/platform-feature-flags-react/component-with-fg';
9
- import { createPriorityIcon } from './priority-icon';
10
- var style = {
11
- span: "_1e0c1o8l _1o9zidpf",
12
- svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
13
- };
14
- var PriorityMediumIconLegacy = function PriorityMediumIconLegacy(_ref) {
15
- var label = _ref.label,
16
- testId = _ref.testId,
17
- props = _objectWithoutProperties(_ref, _excluded);
18
- return /*#__PURE__*/React.createElement("span", _extends({
19
- role: label ? 'img' : undefined,
20
- "aria-label": label,
21
- "aria-hidden": label ? undefined : true,
22
- "data-testid": testId
23
- }, props, {
24
- className: ax([style.span])
25
- }), /*#__PURE__*/React.createElement("svg", {
26
- width: "24",
27
- height: "24",
28
- viewBox: "0 0 24 24",
29
- role: "presentation",
30
- className: ax([style.svg])
31
- }, /*#__PURE__*/React.createElement("path", {
32
- d: "M5 8h14a1 1 0 010 2H5a1 1 0 110-2zm0 6h14a1 1 0 010 2H5a1 1 0 010-2z",
33
- fill: "#FFAB00"
34
- })));
35
- };
36
- PriorityMediumIconLegacy.displayName = 'PriorityMediumIcon';
37
- var _default_1 = componentWithFG('platform_sl_icons_refactor', createPriorityIcon('PriorityMediumIcon', [{
38
- d: 'M5 8h14a1 1 0 010 2H5a1 1 0 110-2zm0 6h14a1 1 0 010 2H5a1 1 0 010-2z',
39
- fill: '#FFAB00'
40
- }]), PriorityMediumIconLegacy);
41
- 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,53 +0,0 @@
1
- /* priority-minor-icon.tsx generated by @compiled/babel-plugin v3.0.2 */
2
- import _extends from "@babel/runtime/helpers/extends";
3
- import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
- var _excluded = ["label", "testId"];
5
- import "./priority-minor-icon.compiled.css";
6
- import * as React from 'react';
7
- import { ax, ix } from "@compiled/react/runtime";
8
- import { componentWithFG } from '@atlaskit/platform-feature-flags-react/component-with-fg';
9
- import { createPriorityIcon } from './priority-icon';
10
- var style = {
11
- span: "_1e0c1o8l _1o9zidpf",
12
- svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
13
- };
14
- var PriorityMinorIconLegacy = function PriorityMinorIconLegacy(_ref) {
15
- var label = _ref.label,
16
- testId = _ref.testId,
17
- props = _objectWithoutProperties(_ref, _excluded);
18
- return /*#__PURE__*/React.createElement("span", _extends({
19
- role: label ? 'img' : undefined,
20
- "aria-label": label,
21
- "aria-hidden": label ? undefined : true,
22
- "data-testid": testId
23
- }, props, {
24
- className: ax([style.span])
25
- }), /*#__PURE__*/React.createElement("svg", {
26
- width: "24",
27
- height: "24",
28
- viewBox: "0 0 24 24",
29
- role: "presentation",
30
- className: ax([style.svg])
31
- }, /*#__PURE__*/React.createElement("path", {
32
- 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",
33
- fill: "#0065FF"
34
- }), /*#__PURE__*/React.createElement("path", {
35
- 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",
36
- fill: "#2684FF"
37
- }), /*#__PURE__*/React.createElement("path", {
38
- 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",
39
- fill: "#4C9AFF"
40
- })));
41
- };
42
- PriorityMinorIconLegacy.displayName = 'PriorityMinorIcon';
43
- var _default_1 = componentWithFG('platform_sl_icons_refactor', createPriorityIcon('PriorityMinorIcon', [{
44
- 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',
45
- fill: '#0065FF'
46
- }, {
47
- 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',
48
- fill: '#2684FF'
49
- }, {
50
- 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',
51
- fill: '#4C9AFF'
52
- }]), PriorityMinorIconLegacy);
53
- 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}