@atlaskit/smart-card 44.3.9 → 44.3.10
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 +7 -0
- package/dist/cjs/__tests__/vr-tests/__snapshots__/block-card/block-card-error-view---linking-refresh-only--default.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/block-card/block-card-error-view-with-design-refresh-ff--default.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/block-card/block-card-resolved-icon-variations-resolvedclient-icontesturls-/342/200/224-flexible-extractsmartlinkicon-path---default.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/block-card/block-card-with-lazy-load-icons-slice-1--default.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/block-card/block-card-with-lazy-load-icons-slice-5--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/block-card/block-card-with-lazy-load-icons-slice-5--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/block-card/block-card-with-lazy-load-icons-slice-6--default.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flexible-card/flexible-ui-block-title--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flexible-card/flexible-ui-block-title--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flexible-card/flexible-ui-block-title--more-actions-hovered--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flexible-card/flexible-ui-block-title--more-actions-hovered--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flexible-card/flexible-ui-block-title--title-hovered--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flexible-card/flexible-ui-block-title--title-hovered--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-attachment--default.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-check-item--default.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-comment--default.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-priority-high--default.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-priority-low--default.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-priority-undefined--default.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-programming-language--default.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-react--default.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-sub-tasks-progress--default.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-subscriber--default.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-view--default.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-vote--default.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/icon-element-variations/icon-element-all-variations-with-experiments--default--platform-sl-3p-preauth-better-hovercard-killswitch-false-platform-sl-3p-preauth-better-hovercard-false.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/icon-element-variations/icon-element-all-variations-with-experiments--default--platform-sl-3p-preauth-better-hovercard-killswitch-false-platform-sl-3p-preauth-better-hovercard-true.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/icon-element-variations/icon-element-all-variations-with-experiments--default--platform-sl-3p-preauth-better-hovercard-killswitch-true-platform-sl-3p-preauth-better-hovercard-false.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/icon-element-variations/icon-element-all-variations-with-experiments--default--platform-sl-3p-preauth-better-hovercard-killswitch-true-platform-sl-3p-preauth-better-hovercard-true.png +2 -2
- package/dist/cjs/common/ui/icons/blog-icon.js +3 -0
- package/dist/cjs/common/ui/icons/live-document-icon.js +3 -0
- package/dist/cjs/common/ui/icons/priority-blocker-icon.js +8 -3
- package/dist/cjs/common/ui/icons/priority-critical-icon.js +8 -3
- package/dist/cjs/common/ui/icons/priority-high-icon.js +8 -3
- package/dist/cjs/common/ui/icons/priority-highest-icon.js +11 -3
- package/dist/cjs/common/ui/icons/priority-icon.compiled.css +4 -0
- package/dist/cjs/common/ui/icons/priority-icon.js +49 -0
- package/dist/cjs/common/ui/icons/priority-low-icon.js +8 -3
- package/dist/cjs/common/ui/icons/priority-lowest-icon.js +11 -3
- package/dist/cjs/common/ui/icons/priority-major-icon.js +14 -3
- package/dist/cjs/common/ui/icons/priority-medium-icon.js +8 -3
- package/dist/cjs/common/ui/icons/priority-minor-icon.js +14 -3
- package/dist/cjs/common/ui/icons/priority-trivial-icon.js +8 -3
- package/dist/cjs/common/ui/icons/utils.js +13 -0
- package/dist/cjs/extractors/common/icon/extractIconFromDocument.js +10 -2
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/utils/index.js +124 -105
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/test-utils.js +2 -2
- package/dist/cjs/view/FlexibleCard/components/common/atlaskit-icon/index.js +66 -23
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/__tests__/vr-tests/__snapshots__/block-card/block-card-error-view---linking-refresh-only--default.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/block-card/block-card-error-view-with-design-refresh-ff--default.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/block-card/block-card-resolved-icon-variations-resolvedclient-icontesturls-/342/200/224-flexible-extractsmartlinkicon-path---default.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/block-card/block-card-with-lazy-load-icons-slice-1--default.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/block-card/block-card-with-lazy-load-icons-slice-5--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/block-card/block-card-with-lazy-load-icons-slice-5--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/block-card/block-card-with-lazy-load-icons-slice-6--default.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flexible-card/flexible-ui-block-title--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flexible-card/flexible-ui-block-title--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flexible-card/flexible-ui-block-title--more-actions-hovered--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flexible-card/flexible-ui-block-title--more-actions-hovered--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flexible-card/flexible-ui-block-title--title-hovered--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flexible-card/flexible-ui-block-title--title-hovered--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-attachment--default.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-check-item--default.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-comment--default.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-priority-high--default.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-priority-low--default.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-priority-undefined--default.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-programming-language--default.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-react--default.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-sub-tasks-progress--default.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-subscriber--default.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-view--default.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-vote--default.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/icon-element-variations/icon-element-all-variations-with-experiments--default--platform-sl-3p-preauth-better-hovercard-killswitch-false-platform-sl-3p-preauth-better-hovercard-false.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/icon-element-variations/icon-element-all-variations-with-experiments--default--platform-sl-3p-preauth-better-hovercard-killswitch-false-platform-sl-3p-preauth-better-hovercard-true.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/icon-element-variations/icon-element-all-variations-with-experiments--default--platform-sl-3p-preauth-better-hovercard-killswitch-true-platform-sl-3p-preauth-better-hovercard-false.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/icon-element-variations/icon-element-all-variations-with-experiments--default--platform-sl-3p-preauth-better-hovercard-killswitch-true-platform-sl-3p-preauth-better-hovercard-true.png +2 -2
- package/dist/es2019/common/ui/icons/blog-icon.js +3 -0
- package/dist/es2019/common/ui/icons/live-document-icon.js +3 -0
- package/dist/es2019/common/ui/icons/priority-blocker-icon.js +8 -3
- package/dist/es2019/common/ui/icons/priority-critical-icon.js +8 -3
- package/dist/es2019/common/ui/icons/priority-high-icon.js +8 -3
- package/dist/es2019/common/ui/icons/priority-highest-icon.js +11 -3
- package/dist/es2019/common/ui/icons/priority-icon.compiled.css +4 -0
- package/dist/es2019/common/ui/icons/priority-icon.js +35 -0
- package/dist/es2019/common/ui/icons/priority-low-icon.js +8 -3
- package/dist/es2019/common/ui/icons/priority-lowest-icon.js +11 -3
- package/dist/es2019/common/ui/icons/priority-major-icon.js +14 -3
- package/dist/es2019/common/ui/icons/priority-medium-icon.js +8 -3
- package/dist/es2019/common/ui/icons/priority-minor-icon.js +14 -3
- package/dist/es2019/common/ui/icons/priority-trivial-icon.js +8 -3
- package/dist/es2019/common/ui/icons/utils.js +13 -0
- package/dist/es2019/extractors/common/icon/extractIconFromDocument.js +12 -4
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/utils/index.js +57 -45
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/test-utils.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/common/atlaskit-icon/index.js +63 -20
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/__tests__/vr-tests/__snapshots__/block-card/block-card-error-view---linking-refresh-only--default.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/block-card/block-card-error-view-with-design-refresh-ff--default.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/block-card/block-card-resolved-icon-variations-resolvedclient-icontesturls-/342/200/224-flexible-extractsmartlinkicon-path---default.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/block-card/block-card-with-lazy-load-icons-slice-1--default.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/block-card/block-card-with-lazy-load-icons-slice-5--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/block-card/block-card-with-lazy-load-icons-slice-5--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/block-card/block-card-with-lazy-load-icons-slice-6--default.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/flexible-card/flexible-ui-block-title--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/flexible-card/flexible-ui-block-title--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/flexible-card/flexible-ui-block-title--more-actions-hovered--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/flexible-card/flexible-ui-block-title--more-actions-hovered--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/flexible-card/flexible-ui-block-title--title-hovered--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/flexible-card/flexible-ui-block-title--title-hovered--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-attachment--default.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-check-item--default.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-comment--default.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-priority-high--default.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-priority-low--default.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-priority-undefined--default.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-programming-language--default.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-react--default.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-sub-tasks-progress--default.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-subscriber--default.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-view--default.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-vote--default.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/icon-element-variations/icon-element-all-variations-with-experiments--default--platform-sl-3p-preauth-better-hovercard-killswitch-false-platform-sl-3p-preauth-better-hovercard-false.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/icon-element-variations/icon-element-all-variations-with-experiments--default--platform-sl-3p-preauth-better-hovercard-killswitch-false-platform-sl-3p-preauth-better-hovercard-true.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/icon-element-variations/icon-element-all-variations-with-experiments--default--platform-sl-3p-preauth-better-hovercard-killswitch-true-platform-sl-3p-preauth-better-hovercard-false.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/icon-element-variations/icon-element-all-variations-with-experiments--default--platform-sl-3p-preauth-better-hovercard-killswitch-true-platform-sl-3p-preauth-better-hovercard-true.png +2 -2
- package/dist/esm/common/ui/icons/blog-icon.js +3 -0
- package/dist/esm/common/ui/icons/live-document-icon.js +3 -0
- package/dist/esm/common/ui/icons/priority-blocker-icon.js +8 -3
- package/dist/esm/common/ui/icons/priority-critical-icon.js +8 -3
- package/dist/esm/common/ui/icons/priority-high-icon.js +8 -3
- package/dist/esm/common/ui/icons/priority-highest-icon.js +11 -3
- package/dist/esm/common/ui/icons/priority-icon.compiled.css +4 -0
- package/dist/esm/common/ui/icons/priority-icon.js +40 -0
- package/dist/esm/common/ui/icons/priority-low-icon.js +8 -3
- package/dist/esm/common/ui/icons/priority-lowest-icon.js +11 -3
- package/dist/esm/common/ui/icons/priority-major-icon.js +14 -3
- package/dist/esm/common/ui/icons/priority-medium-icon.js +8 -3
- package/dist/esm/common/ui/icons/priority-minor-icon.js +14 -3
- package/dist/esm/common/ui/icons/priority-trivial-icon.js +8 -3
- package/dist/esm/common/ui/icons/utils.js +13 -0
- package/dist/esm/extractors/common/icon/extractIconFromDocument.js +12 -4
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/utils/index.js +90 -77
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/test-utils.js +1 -1
- package/dist/esm/view/FlexibleCard/components/common/atlaskit-icon/index.js +63 -20
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/types/common/ui/icons/priority-blocker-icon.d.ts +2 -5
- package/dist/types/common/ui/icons/priority-critical-icon.d.ts +2 -5
- package/dist/types/common/ui/icons/priority-high-icon.d.ts +2 -5
- package/dist/types/common/ui/icons/priority-highest-icon.d.ts +2 -5
- package/dist/types/common/ui/icons/priority-icon.d.ts +13 -0
- package/dist/types/common/ui/icons/priority-low-icon.d.ts +2 -5
- package/dist/types/common/ui/icons/priority-lowest-icon.d.ts +2 -5
- package/dist/types/common/ui/icons/priority-major-icon.d.ts +2 -5
- package/dist/types/common/ui/icons/priority-medium-icon.d.ts +2 -5
- package/dist/types/common/ui/icons/priority-minor-icon.d.ts +2 -5
- package/dist/types/common/ui/icons/priority-trivial-icon.d.ts +2 -5
- package/dist/types/common/ui/icons/utils.d.ts +3 -4
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/test-utils.d.ts +4 -1
- package/dist/types-ts4.5/common/ui/icons/priority-blocker-icon.d.ts +2 -5
- package/dist/types-ts4.5/common/ui/icons/priority-critical-icon.d.ts +2 -5
- package/dist/types-ts4.5/common/ui/icons/priority-high-icon.d.ts +2 -5
- package/dist/types-ts4.5/common/ui/icons/priority-highest-icon.d.ts +2 -5
- package/dist/types-ts4.5/common/ui/icons/priority-icon.d.ts +13 -0
- package/dist/types-ts4.5/common/ui/icons/priority-low-icon.d.ts +2 -5
- package/dist/types-ts4.5/common/ui/icons/priority-lowest-icon.d.ts +2 -5
- package/dist/types-ts4.5/common/ui/icons/priority-major-icon.d.ts +2 -5
- package/dist/types-ts4.5/common/ui/icons/priority-medium-icon.d.ts +2 -5
- package/dist/types-ts4.5/common/ui/icons/priority-minor-icon.d.ts +2 -5
- package/dist/types-ts4.5/common/ui/icons/priority-trivial-icon.d.ts +2 -5
- package/dist/types-ts4.5/common/ui/icons/utils.d.ts +3 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/test-utils.d.ts +4 -1
- package/package.json +10 -9
|
@@ -55,12 +55,10 @@ export const getIconForFileType = (fileMimeType, showIconLabel) => {
|
|
|
55
55
|
// prettier-ignore
|
|
56
56
|
export const getLazyIcons = () => {
|
|
57
57
|
return {
|
|
58
|
+
// IconTile wrappers (@atlaskit/icon/core/* wrapped in <IconTile> with color)
|
|
58
59
|
[IconType.Document]: {
|
|
59
60
|
default: () => import( /* webpackChunkName: "@atlaskit-internal_page-icon" */'../common/ui/icons/page-icon')
|
|
60
61
|
},
|
|
61
|
-
[IconType.Blog]: {
|
|
62
|
-
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphBlock" */'../common/ui/icons/blog-icon')
|
|
63
|
-
},
|
|
64
62
|
[IconType.Audio]: {
|
|
65
63
|
default: () => import( /* webpackChunkName: "@atlaskit-internal_audio-icon" */'../common/ui/icons/audio-icon')
|
|
66
64
|
},
|
|
@@ -88,6 +86,7 @@ export const getLazyIcons = () => {
|
|
|
88
86
|
[IconType.Video]: {
|
|
89
87
|
default: () => import( /* webpackChunkName: "@atlaskit-internal_video-icon" */'../common/ui/icons/video-icon')
|
|
90
88
|
},
|
|
89
|
+
// @atlaskit/icon/core/* (plain monochrome icons)
|
|
91
90
|
[IconType.Project]: {
|
|
92
91
|
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphProject" */'@atlaskit/icon/core/people-group')
|
|
93
92
|
},
|
|
@@ -103,6 +102,41 @@ export const getLazyIcons = () => {
|
|
|
103
102
|
[IconType.Error]: {
|
|
104
103
|
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphDefault" */'@atlaskit/icon/core/status-error')
|
|
105
104
|
},
|
|
105
|
+
// @atlaskit/icon/core/* (badge icons)
|
|
106
|
+
[IconType.Attachment]: {
|
|
107
|
+
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphAttachment" */'@atlaskit/icon/core/attachment')
|
|
108
|
+
},
|
|
109
|
+
[IconType.CheckItem]: {
|
|
110
|
+
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphAttachment" */'@atlaskit/icon/core/task')
|
|
111
|
+
},
|
|
112
|
+
[IconType.Component]: {
|
|
113
|
+
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphComponent" */'@atlaskit/icon/core/component')
|
|
114
|
+
},
|
|
115
|
+
[IconType.Comment]: {
|
|
116
|
+
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphComment" */'@atlaskit/icon/core/comment')
|
|
117
|
+
},
|
|
118
|
+
[IconType.View]: {
|
|
119
|
+
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphComment" */'@atlaskit/icon/core/eye-open')
|
|
120
|
+
},
|
|
121
|
+
[IconType.React]: {
|
|
122
|
+
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphComment" */'@atlaskit/icon/core/thumbs-up')
|
|
123
|
+
},
|
|
124
|
+
[IconType.Vote]: {
|
|
125
|
+
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphComment" */'@atlaskit/icon/core/arrow-up')
|
|
126
|
+
},
|
|
127
|
+
[IconType.PriorityUndefined]: {
|
|
128
|
+
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphUndefined" */'@atlaskit/icon/core/question-circle')
|
|
129
|
+
},
|
|
130
|
+
[IconType.ProgrammingLanguage]: {
|
|
131
|
+
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphProgrammingLanguage" */'@atlaskit/icon/core/angle-brackets')
|
|
132
|
+
},
|
|
133
|
+
[IconType.Subscriber]: {
|
|
134
|
+
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphSubscriber" */'@atlaskit/icon/core/people-group')
|
|
135
|
+
},
|
|
136
|
+
[IconType.SubTasksProgress]: {
|
|
137
|
+
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphSubtaskProgress" */'@atlaskit/icon/core/subtasks')
|
|
138
|
+
},
|
|
139
|
+
// @atlaskit/icon-file-type/glyph/* (file type icons with 16/24 size variants)
|
|
106
140
|
[IconType.Archive]: {
|
|
107
141
|
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphArchive" */'@atlaskit/icon-file-type/glyph/archive/16'),
|
|
108
142
|
large: () => import( /* webpackChunkName: "@atlaskit-internal_glyphArchive" */'@atlaskit/icon-file-type/glyph/archive/24')
|
|
@@ -151,7 +185,24 @@ export const getLazyIcons = () => {
|
|
|
151
185
|
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphSketch" */'@atlaskit/icon-file-type/glyph/sketch/16'),
|
|
152
186
|
large: () => import( /* webpackChunkName: "@atlaskit-internal_glyphSketch" */'@atlaskit/icon-file-type/glyph/sketch/24')
|
|
153
187
|
},
|
|
154
|
-
//
|
|
188
|
+
// @atlaskit/icon-object/glyph/* (object icons with 16/24 size variants)
|
|
189
|
+
...(fg('platform_sl_icons_refactor') ? {
|
|
190
|
+
[IconType.Blog]: {
|
|
191
|
+
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphBlog" */'@atlaskit/icon-object/glyph/blog/16'),
|
|
192
|
+
large: () => import( /* webpackChunkName: "@atlaskit-internal_glyphBlog" */'@atlaskit/icon-object/glyph/blog/24')
|
|
193
|
+
},
|
|
194
|
+
[IconType.LiveDocument]: {
|
|
195
|
+
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphPageLiveDoc" */'@atlaskit/icon-object/glyph/page-live-doc/16'),
|
|
196
|
+
large: () => import( /* webpackChunkName: "@atlaskit-internal_glyphPageLiveDoc" */'@atlaskit/icon-object/glyph/page-live-doc/24')
|
|
197
|
+
}
|
|
198
|
+
} : {
|
|
199
|
+
[IconType.Blog]: {
|
|
200
|
+
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphBlock" */'../common/ui/icons/blog-icon')
|
|
201
|
+
},
|
|
202
|
+
[IconType.LiveDocument]: {
|
|
203
|
+
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphPageLiveDoc" */'../common/ui/icons/live-document-icon')
|
|
204
|
+
}
|
|
205
|
+
}),
|
|
155
206
|
[IconType.Branch]: {
|
|
156
207
|
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphBranch" */'@atlaskit/icon-object/glyph/branch/16'),
|
|
157
208
|
large: () => import( /* webpackChunkName: "@atlaskit-internal_glyphBranch" */'@atlaskit/icon-object/glyph/branch/24')
|
|
@@ -168,7 +219,6 @@ export const getLazyIcons = () => {
|
|
|
168
219
|
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphRepo" */'@atlaskit/icon-object/glyph/code/16'),
|
|
169
220
|
large: () => import( /* webpackChunkName: "@atlaskit-internal_glyphRepo" */'@atlaskit/icon-object/glyph/code/24')
|
|
170
221
|
},
|
|
171
|
-
// Jira icons
|
|
172
222
|
[IconType.Bug]: {
|
|
173
223
|
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphBug" */'@atlaskit/icon-object/glyph/bug/16'),
|
|
174
224
|
large: () => import( /* webpackChunkName: "@atlaskit-internal_glyphBug" */'@atlaskit/icon-object/glyph/bug/24')
|
|
@@ -205,12 +255,7 @@ export const getLazyIcons = () => {
|
|
|
205
255
|
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphTask" */'@atlaskit/icon-object/glyph/task/16'),
|
|
206
256
|
large: () => import( /* webpackChunkName: "@atlaskit-internal_glyphTask" */'@atlaskit/icon-object/glyph/task/24')
|
|
207
257
|
},
|
|
208
|
-
//
|
|
209
|
-
[IconType.LiveDocument]: {
|
|
210
|
-
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphPageLiveDoc" */'@atlaskit/icon-object/glyph/page-live-doc/16'),
|
|
211
|
-
large: () => import( /* webpackChunkName: "@atlaskit-internal_glyphPageLiveDoc" */'@atlaskit/icon-object/glyph/page-live-doc/24')
|
|
212
|
-
},
|
|
213
|
-
// Provider icons
|
|
258
|
+
// @atlaskit/logo/* (product logos)
|
|
214
259
|
[IconType.Confluence]: {
|
|
215
260
|
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphConfluence" */'@atlaskit/logo/confluence-icon').then(({
|
|
216
261
|
ConfluenceIcon
|
|
@@ -225,28 +270,7 @@ export const getLazyIcons = () => {
|
|
|
225
270
|
default: JiraIcon
|
|
226
271
|
}))
|
|
227
272
|
},
|
|
228
|
-
//
|
|
229
|
-
[IconType.Attachment]: {
|
|
230
|
-
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphAttachment" */'@atlaskit/icon/core/attachment')
|
|
231
|
-
},
|
|
232
|
-
[IconType.CheckItem]: {
|
|
233
|
-
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphAttachment" */'@atlaskit/icon/core/task')
|
|
234
|
-
},
|
|
235
|
-
[IconType.Component]: {
|
|
236
|
-
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphComponent" */'@atlaskit/icon/core/component')
|
|
237
|
-
},
|
|
238
|
-
[IconType.Comment]: {
|
|
239
|
-
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphComment" */'@atlaskit/icon/core/comment')
|
|
240
|
-
},
|
|
241
|
-
[IconType.View]: {
|
|
242
|
-
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphComment" */'@atlaskit/icon/core/eye-open')
|
|
243
|
-
},
|
|
244
|
-
[IconType.React]: {
|
|
245
|
-
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphComment" */'@atlaskit/icon/core/thumbs-up')
|
|
246
|
-
},
|
|
247
|
-
[IconType.Vote]: {
|
|
248
|
-
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphComment" */'@atlaskit/icon/core/arrow-up')
|
|
249
|
-
},
|
|
273
|
+
// Local priority icons (custom SVG components)
|
|
250
274
|
[IconType.PriorityBlocker]: {
|
|
251
275
|
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphBlocker" */'../common/ui/icons/priority-blocker-icon')
|
|
252
276
|
},
|
|
@@ -276,18 +300,6 @@ export const getLazyIcons = () => {
|
|
|
276
300
|
},
|
|
277
301
|
[IconType.PriorityTrivial]: {
|
|
278
302
|
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphTrivial" */'../common/ui/icons/priority-trivial-icon')
|
|
279
|
-
},
|
|
280
|
-
[IconType.PriorityUndefined]: {
|
|
281
|
-
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphUndefined" */'@atlaskit/icon/core/question-circle')
|
|
282
|
-
},
|
|
283
|
-
[IconType.ProgrammingLanguage]: {
|
|
284
|
-
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphProgrammingLanguage" */'@atlaskit/icon/core/angle-brackets')
|
|
285
|
-
},
|
|
286
|
-
[IconType.Subscriber]: {
|
|
287
|
-
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphSubscriber" */'@atlaskit/icon/core/people-group')
|
|
288
|
-
},
|
|
289
|
-
[IconType.SubTasksProgress]: {
|
|
290
|
-
default: () => import( /* webpackChunkName: "@atlaskit-internal_glyphSubtaskProgress" */'@atlaskit/icon/core/subtasks')
|
|
291
303
|
}
|
|
292
304
|
};
|
|
293
305
|
};
|
|
@@ -2,9 +2,9 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
2
2
|
import React, { Component, Fragment } from 'react';
|
|
3
3
|
|
|
4
4
|
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
5
|
-
import { render } from '@testing-library/react';
|
|
6
5
|
import { IntlProvider } from 'react-intl';
|
|
7
6
|
import { DiProvider } from 'react-magnetic-di';
|
|
7
|
+
import { render } from '@atlassian/testing-library';
|
|
8
8
|
/**
|
|
9
9
|
* Creates a stubbed invocation API call for triggering rules. Will return
|
|
10
10
|
* the supplied invocation result for all objects the rule was called
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import Loadable from 'react-loadable';
|
|
4
|
+
import { IconTile } from '@atlaskit/icon';
|
|
4
5
|
import { ConfluenceIcon, JiraIcon } from '@atlaskit/logo';
|
|
5
6
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
7
|
import BlogIcon from '../../../../../common/ui/icons/blog-icon';
|
|
7
8
|
import LiveDocumentIcon from '../../../../../common/ui/icons/live-document-icon';
|
|
8
9
|
import DocumentIcon from '../../../../../common/ui/icons/page-icon';
|
|
10
|
+
import { transformSmartLinkSizeToIconTileSize } from '../../../../../common/ui/icons/utils';
|
|
9
11
|
import { IconType, SmartLinkSize } from '../../../../../constants';
|
|
10
12
|
import { getLazyIcons, isIconSizeLarge } from '../../../../../utils';
|
|
11
13
|
const getIconImportFn = (icon, size) => {
|
|
@@ -21,38 +23,72 @@ const importIcon = importFn => {
|
|
|
21
23
|
loading: () => null
|
|
22
24
|
}); // Because we're using dynamic loading here, TS will not be able to infer the type.
|
|
23
25
|
};
|
|
26
|
+
const isCoreIcon = icon => {
|
|
27
|
+
return [IconType.Project, IconType.Template, IconType.Forbidden, IconType.Default, IconType.Error, IconType.Attachment, IconType.CheckItem, IconType.Component, IconType.Comment, IconType.View, IconType.React, IconType.Vote, IconType.PriorityUndefined, IconType.ProgrammingLanguage, IconType.Subscriber, IconType.SubTasksProgress].includes(icon);
|
|
28
|
+
};
|
|
24
29
|
const AtlaskitIcon = ({
|
|
25
30
|
icon,
|
|
26
31
|
label,
|
|
27
32
|
testId,
|
|
28
33
|
size = SmartLinkSize.Medium
|
|
29
34
|
}) => {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
35
|
+
if (!fg('platform_sl_icons_refactor')) {
|
|
36
|
+
// Check for synchonously loaded icons first for SSR purposes
|
|
37
|
+
switch (icon) {
|
|
38
|
+
case IconType.Document:
|
|
39
|
+
return /*#__PURE__*/React.createElement(DocumentIcon, {
|
|
40
|
+
label: label !== null && label !== void 0 ? label : 'document',
|
|
41
|
+
testId: testId,
|
|
42
|
+
size: size
|
|
43
|
+
});
|
|
44
|
+
case IconType.Blog:
|
|
45
|
+
return /*#__PURE__*/React.createElement(BlogIcon, {
|
|
46
|
+
label: label !== null && label !== void 0 ? label : 'blog',
|
|
47
|
+
testId: testId,
|
|
48
|
+
size: size
|
|
49
|
+
});
|
|
50
|
+
case IconType.LiveDocument:
|
|
51
|
+
return /*#__PURE__*/React.createElement(LiveDocumentIcon, {
|
|
52
|
+
label: label !== null && label !== void 0 ? label : 'live-doc',
|
|
53
|
+
testId: testId,
|
|
54
|
+
size: size
|
|
55
|
+
});
|
|
56
|
+
}
|
|
50
57
|
}
|
|
51
58
|
const importFn = getIconImportFn(icon, size);
|
|
52
59
|
if (!importFn) {
|
|
53
60
|
return null;
|
|
54
61
|
}
|
|
55
62
|
const ImportedIcon = importIcon(importFn);
|
|
63
|
+
if (isCoreIcon(icon) && fg('platform_sl_icons_refactor')) {
|
|
64
|
+
switch (size) {
|
|
65
|
+
case SmartLinkSize.Small:
|
|
66
|
+
case SmartLinkSize.Medium:
|
|
67
|
+
let color;
|
|
68
|
+
if (icon === IconType.Error || icon === IconType.Forbidden) {
|
|
69
|
+
color = "var(--ds-icon-danger, #C9372C)";
|
|
70
|
+
}
|
|
71
|
+
return /*#__PURE__*/React.createElement(ImportedIcon, {
|
|
72
|
+
label: label,
|
|
73
|
+
testId: testId,
|
|
74
|
+
color: color
|
|
75
|
+
});
|
|
76
|
+
case SmartLinkSize.Large:
|
|
77
|
+
case SmartLinkSize.XLarge:
|
|
78
|
+
let appearance;
|
|
79
|
+
if (icon === IconType.Error || icon === IconType.Forbidden) {
|
|
80
|
+
appearance = 'redBold';
|
|
81
|
+
} else {
|
|
82
|
+
appearance = 'grayBold';
|
|
83
|
+
}
|
|
84
|
+
return /*#__PURE__*/React.createElement(IconTile, {
|
|
85
|
+
appearance: appearance,
|
|
86
|
+
icon: ImportedIcon,
|
|
87
|
+
size: transformSmartLinkSizeToIconTileSize(size),
|
|
88
|
+
label: label !== null && label !== void 0 ? label : ''
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
}
|
|
56
92
|
switch (icon) {
|
|
57
93
|
case IconType.Confluence:
|
|
58
94
|
return /*#__PURE__*/React.createElement(ConfluenceIcon, _extends({
|
|
@@ -72,6 +108,13 @@ const AtlaskitIcon = ({
|
|
|
72
108
|
} : undefined));
|
|
73
109
|
case IconType.Error:
|
|
74
110
|
case IconType.Forbidden:
|
|
111
|
+
if (fg('platform_sl_icons_refactor')) {
|
|
112
|
+
return /*#__PURE__*/React.createElement(ImportedIcon, {
|
|
113
|
+
label: label,
|
|
114
|
+
testId: testId,
|
|
115
|
+
size: size
|
|
116
|
+
});
|
|
117
|
+
}
|
|
75
118
|
return /*#__PURE__*/React.createElement(ImportedIcon, {
|
|
76
119
|
label: label,
|
|
77
120
|
testId: testId,
|
|
@@ -12,7 +12,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
12
12
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
13
13
|
const PACKAGE_DATA = {
|
|
14
14
|
packageName: "@atlaskit/smart-card",
|
|
15
|
-
packageVersion: "44.3.
|
|
15
|
+
packageVersion: "44.3.9",
|
|
16
16
|
componentName: 'linkUrl'
|
|
17
17
|
};
|
|
18
18
|
const Anchor = withLinkClickedEvent('a');
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:29715a0e137a7683491690f5e0b79b6bcd3e3570200a686d08aa6ef8e650904c
|
|
3
|
+
size 7006
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:29715a0e137a7683491690f5e0b79b6bcd3e3570200a686d08aa6ef8e650904c
|
|
3
|
+
size 7006
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:5d725fe406baf9184e3bf8bd9704760ce1414ca4c9f6658e779b757cde4a754e
|
|
3
|
+
size 251924
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:6e91d3ac67ba44126d749e029a5f05ac2716584e4834308f76cbda4a4e7a65d6
|
|
3
|
+
size 87318
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:dbebf1f1f7617af24b2611a97c2466e2c105b52ee8e3c05f2ce1e835f3a942e4
|
|
3
|
+
size 89434
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:51a3599023762f49ccf388dcc7ef779baf91a65b1389b71e7560f27a10807f21
|
|
3
|
+
size 89961
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:ecb3d731c90e314d7634fce44ed1715922dea9330dab32f21b6a89338e142419
|
|
3
|
+
size 21470
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:409dec762ed52e36082bbf5f214f8971e365a01c89ff41e95cb2dcc4bea61581
|
|
3
|
+
size 362534
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:26b9355f51a79909468010d04fcd39c57c1c807fee0fc8cec91ce46171dbedb6
|
|
3
|
+
size 363189
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:e0258743a1262eb3e923f0340f454935ef53ae409d7a568a8ff808c9714a7b26
|
|
3
|
+
size 363893
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:7744bbb2e81df4368b17bfff71ceabed83d3bde07fd98a1aed78cb357b764142
|
|
3
|
+
size 364557
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:21039d603e01711d8c4ae27c498b42c3efb6a02c5011cf9eaa8242dd615b563e
|
|
3
|
+
size 399542
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:0bfdd2afe27e7dc638ecc9f617d014820f4bf76c8f18e4857aa619022abca528
|
|
3
|
+
size 400208
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:15ee24cd6e53ba92affe8a9ff6a716ad273c15560c79a863f6e3c6467d3062cc
|
|
3
|
+
size 1087
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:f32a7085d479dc00930ec9a40b85f8ce689c4cf2a639b1098f536b634ddbe333
|
|
3
|
+
size 875
|
package/dist/esm/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-comment--default.png
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:631737fbb2701791bc2da871c7d17c8b93f5b626289d991420c7ffc3b2d6096c
|
|
3
|
+
size 837
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:8dc766b0223ae1b3c38c7373903a71eba020696337c591df3f0b81dcd60b7b6b
|
|
3
|
+
size 628
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:1b8b84b605769cb706aa74264a49c3ca30f8a6def7f7a75834258d65c2a06d82
|
|
3
|
+
size 618
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:8f3d5d26e101111401822681de91363fbfa08e7e9260cc55f1ea9a7bc70ff107
|
|
3
|
+
size 1270
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:691e2a98fcfcfdd971e9a6e2a32b62e3008637826e1b59db9b6aca030983aa78
|
|
3
|
+
size 1046
|
package/dist/esm/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-react--default.png
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:2b06c276591df756385c9b9f55ec1ce3c39a56c8978f3223aacf493b0d08894c
|
|
3
|
+
size 977
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:7b85af4e50cecfdb43056a949ecb5dd0ae922c4567390f086e40cf82fd24cc95
|
|
3
|
+
size 817
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:448e740e01d7e497445562beb4849afbd98c0881a3a97ba683458a13598fe4e5
|
|
3
|
+
size 1097
|
package/dist/esm/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-view--default.png
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:2d0270a08e24c96935f6d9e76cbeeba6aa317046c1057a708546b5634d264a1c
|
|
3
|
+
size 1173
|
package/dist/esm/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-vote--default.png
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:c522252ba10d7170d9ea5512b80d8c9644ae0b51885ee4fd45cb02ccb0f1fe59
|
|
3
|
+
size 752
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:6052313dd815dce2eb1125a7878ce27cdc9d87672326c77ab37839afecf45038
|
|
3
|
+
size 218155
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:6052313dd815dce2eb1125a7878ce27cdc9d87672326c77ab37839afecf45038
|
|
3
|
+
size 218155
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:acbe94e67ad0adf74414f4ca3f80fd03d8d9fde7ea6969ac37ec91910d8a0830
|
|
3
|
+
size 218386
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:acbe94e67ad0adf74414f4ca3f80fd03d8d9fde7ea6969ac37ec91910d8a0830
|
|
3
|
+
size 218386
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
// This file is the FG-OFF fallback for platform_sl_icons_refactor.
|
|
2
|
+
// Delete this file when platform_sl_icons_refactor is cleaned up.
|
|
3
|
+
|
|
1
4
|
import BlogIconSmall from '@atlaskit/icon-object/glyph/blog/16';
|
|
2
5
|
import BlogIconLarge from '@atlaskit/icon-object/glyph/blog/24';
|
|
3
6
|
import { renderIconPerSize } from './utils';
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
// This file is the FG-OFF fallback for platform_sl_icons_refactor.
|
|
2
|
+
// Delete this file when platform_sl_icons_refactor is cleaned up.
|
|
3
|
+
|
|
1
4
|
import LiveDocIconSmall from '@atlaskit/icon-object/glyph/page-live-doc/16';
|
|
2
5
|
import LiveDocIconLarge from '@atlaskit/icon-object/glyph/page-live-doc/24';
|
|
3
6
|
import { renderIconPerSize } from './utils';
|
|
@@ -5,11 +5,13 @@ var _excluded = ["label", "testId"];
|
|
|
5
5
|
import "./priority-blocker-icon.compiled.css";
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import { ax, ix } from "@compiled/react/runtime";
|
|
8
|
+
import { componentWithFG } from '@atlaskit/platform-feature-flags-react';
|
|
9
|
+
import { createPriorityIcon } from './priority-icon';
|
|
8
10
|
var style = {
|
|
9
11
|
span: "_1e0c1o8l _1o9zidpf",
|
|
10
12
|
svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
|
|
11
13
|
};
|
|
12
|
-
var
|
|
14
|
+
var PriorityBlockerIconLegacy = function PriorityBlockerIconLegacy(_ref) {
|
|
13
15
|
var label = _ref.label,
|
|
14
16
|
testId = _ref.testId,
|
|
15
17
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
@@ -31,5 +33,8 @@ var PriorityBlockerIcon = function PriorityBlockerIcon(_ref) {
|
|
|
31
33
|
fill: "#FF5630"
|
|
32
34
|
})));
|
|
33
35
|
};
|
|
34
|
-
|
|
35
|
-
export default PriorityBlockerIcon
|
|
36
|
+
PriorityBlockerIconLegacy.displayName = 'PriorityBlockerIcon';
|
|
37
|
+
export default 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);
|
|
@@ -5,11 +5,13 @@ var _excluded = ["label", "testId"];
|
|
|
5
5
|
import "./priority-critical-icon.compiled.css";
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import { ax, ix } from "@compiled/react/runtime";
|
|
8
|
+
import { componentWithFG } from '@atlaskit/platform-feature-flags-react';
|
|
9
|
+
import { createPriorityIcon } from './priority-icon';
|
|
8
10
|
var style = {
|
|
9
11
|
span: "_1e0c1o8l _1o9zidpf",
|
|
10
12
|
svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
|
|
11
13
|
};
|
|
12
|
-
var
|
|
14
|
+
var PriorityCriticalIconLegacy = function PriorityCriticalIconLegacy(_ref) {
|
|
13
15
|
var label = _ref.label,
|
|
14
16
|
testId = _ref.testId,
|
|
15
17
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
@@ -31,5 +33,8 @@ var PriorityCriticalIcon = function PriorityCriticalIcon(_ref) {
|
|
|
31
33
|
fill: "#FF5630"
|
|
32
34
|
})));
|
|
33
35
|
};
|
|
34
|
-
|
|
35
|
-
export default PriorityCriticalIcon
|
|
36
|
+
PriorityCriticalIconLegacy.displayName = 'PriorityCriticalIcon';
|
|
37
|
+
export default 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);
|
|
@@ -5,11 +5,13 @@ var _excluded = ["label", "testId"];
|
|
|
5
5
|
import "./priority-high-icon.compiled.css";
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import { ax, ix } from "@compiled/react/runtime";
|
|
8
|
+
import { componentWithFG } from '@atlaskit/platform-feature-flags-react';
|
|
9
|
+
import { createPriorityIcon } from './priority-icon';
|
|
8
10
|
var style = {
|
|
9
11
|
span: "_1e0c1o8l _1o9zidpf",
|
|
10
12
|
svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
|
|
11
13
|
};
|
|
12
|
-
var
|
|
14
|
+
var PriorityHighIconLegacy = function PriorityHighIconLegacy(_ref) {
|
|
13
15
|
var label = _ref.label,
|
|
14
16
|
testId = _ref.testId,
|
|
15
17
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
@@ -31,5 +33,8 @@ var PriorityHighIcon = function PriorityHighIcon(_ref) {
|
|
|
31
33
|
fill: "#FF5630"
|
|
32
34
|
})));
|
|
33
35
|
};
|
|
34
|
-
|
|
35
|
-
export default PriorityHighIcon
|
|
36
|
+
PriorityHighIconLegacy.displayName = 'PriorityHighIcon';
|
|
37
|
+
export default 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);
|