@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
|
@@ -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
|
|
@@ -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/es2019/__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/es2019/__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/es2019/__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';
|
|
@@ -3,11 +3,13 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
3
3
|
import "./priority-blocker-icon.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
|
+
import { componentWithFG } from '@atlaskit/platform-feature-flags-react';
|
|
7
|
+
import { createPriorityIcon } from './priority-icon';
|
|
6
8
|
const style = {
|
|
7
9
|
span: "_1e0c1o8l _1o9zidpf",
|
|
8
10
|
svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
|
|
9
11
|
};
|
|
10
|
-
const
|
|
12
|
+
const PriorityBlockerIconLegacy = ({
|
|
11
13
|
label,
|
|
12
14
|
testId,
|
|
13
15
|
...props
|
|
@@ -28,5 +30,8 @@ const PriorityBlockerIcon = ({
|
|
|
28
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",
|
|
29
31
|
fill: "#FF5630"
|
|
30
32
|
})));
|
|
31
|
-
|
|
32
|
-
export default PriorityBlockerIcon
|
|
33
|
+
PriorityBlockerIconLegacy.displayName = 'PriorityBlockerIcon';
|
|
34
|
+
export default 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);
|
|
@@ -3,11 +3,13 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
3
3
|
import "./priority-critical-icon.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
|
+
import { componentWithFG } from '@atlaskit/platform-feature-flags-react';
|
|
7
|
+
import { createPriorityIcon } from './priority-icon';
|
|
6
8
|
const style = {
|
|
7
9
|
span: "_1e0c1o8l _1o9zidpf",
|
|
8
10
|
svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
|
|
9
11
|
};
|
|
10
|
-
const
|
|
12
|
+
const PriorityCriticalIconLegacy = ({
|
|
11
13
|
label,
|
|
12
14
|
testId,
|
|
13
15
|
...props
|
|
@@ -28,5 +30,8 @@ const PriorityCriticalIcon = ({
|
|
|
28
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",
|
|
29
31
|
fill: "#FF5630"
|
|
30
32
|
})));
|
|
31
|
-
|
|
32
|
-
export default PriorityCriticalIcon
|
|
33
|
+
PriorityCriticalIconLegacy.displayName = 'PriorityCriticalIcon';
|
|
34
|
+
export default 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);
|
|
@@ -3,11 +3,13 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
3
3
|
import "./priority-high-icon.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
|
+
import { componentWithFG } from '@atlaskit/platform-feature-flags-react';
|
|
7
|
+
import { createPriorityIcon } from './priority-icon';
|
|
6
8
|
const style = {
|
|
7
9
|
span: "_1e0c1o8l _1o9zidpf",
|
|
8
10
|
svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
|
|
9
11
|
};
|
|
10
|
-
const
|
|
12
|
+
const PriorityHighIconLegacy = ({
|
|
11
13
|
label,
|
|
12
14
|
testId,
|
|
13
15
|
...props
|
|
@@ -28,5 +30,8 @@ const PriorityHighIcon = ({
|
|
|
28
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",
|
|
29
31
|
fill: "#FF5630"
|
|
30
32
|
})));
|
|
31
|
-
|
|
32
|
-
export default PriorityHighIcon
|
|
33
|
+
PriorityHighIconLegacy.displayName = 'PriorityHighIcon';
|
|
34
|
+
export default 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);
|
|
@@ -3,11 +3,13 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
3
3
|
import "./priority-highest-icon.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
|
+
import { componentWithFG } from '@atlaskit/platform-feature-flags-react';
|
|
7
|
+
import { createPriorityIcon } from './priority-icon';
|
|
6
8
|
const style = {
|
|
7
9
|
span: "_1e0c1o8l _1o9zidpf",
|
|
8
10
|
svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
|
|
9
11
|
};
|
|
10
|
-
const
|
|
12
|
+
const PriorityHighestIconLegacy = ({
|
|
11
13
|
label,
|
|
12
14
|
testId,
|
|
13
15
|
...props
|
|
@@ -31,5 +33,11 @@ const PriorityHighestIcon = ({
|
|
|
31
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",
|
|
32
34
|
fill: "#FF7452"
|
|
33
35
|
})));
|
|
34
|
-
|
|
35
|
-
export default PriorityHighestIcon
|
|
36
|
+
PriorityHighestIconLegacy.displayName = 'PriorityHighestIcon';
|
|
37
|
+
export default 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);
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/* priority-icon.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
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
|
+
};
|
|
@@ -3,11 +3,13 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
3
3
|
import "./priority-low-icon.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
|
+
import { componentWithFG } from '@atlaskit/platform-feature-flags-react';
|
|
7
|
+
import { createPriorityIcon } from './priority-icon';
|
|
6
8
|
const style = {
|
|
7
9
|
span: "_1e0c1o8l _1o9zidpf",
|
|
8
10
|
svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
|
|
9
11
|
};
|
|
10
|
-
const
|
|
12
|
+
const PriorityLowIconLegacy = ({
|
|
11
13
|
label,
|
|
12
14
|
testId,
|
|
13
15
|
...props
|
|
@@ -28,5 +30,8 @@ const PriorityLowIcon = ({
|
|
|
28
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",
|
|
29
31
|
fill: "#0065FF"
|
|
30
32
|
})));
|
|
31
|
-
|
|
32
|
-
export default PriorityLowIcon
|
|
33
|
+
PriorityLowIconLegacy.displayName = 'PriorityLowIcon';
|
|
34
|
+
export default 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);
|
|
@@ -3,11 +3,13 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
3
3
|
import "./priority-lowest-icon.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
|
+
import { componentWithFG } from '@atlaskit/platform-feature-flags-react';
|
|
7
|
+
import { createPriorityIcon } from './priority-icon';
|
|
6
8
|
const style = {
|
|
7
9
|
span: "_1e0c1o8l _1o9zidpf",
|
|
8
10
|
svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
|
|
9
11
|
};
|
|
10
|
-
const
|
|
12
|
+
const PriorityLowestIconLegacy = ({
|
|
11
13
|
label,
|
|
12
14
|
testId,
|
|
13
15
|
...props
|
|
@@ -31,5 +33,11 @@ const PriorityLowestIcon = ({
|
|
|
31
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",
|
|
32
34
|
fill: "#2684FF"
|
|
33
35
|
})));
|
|
34
|
-
|
|
35
|
-
export default PriorityLowestIcon
|
|
36
|
+
PriorityLowestIconLegacy.displayName = 'PriorityLowestIcon';
|
|
37
|
+
export default 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);
|
|
@@ -3,11 +3,13 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
3
3
|
import "./priority-major-icon.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
|
+
import { componentWithFG } from '@atlaskit/platform-feature-flags-react';
|
|
7
|
+
import { createPriorityIcon } from './priority-icon';
|
|
6
8
|
const style = {
|
|
7
9
|
span: "_1e0c1o8l _1o9zidpf",
|
|
8
10
|
svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
|
|
9
11
|
};
|
|
10
|
-
const
|
|
12
|
+
const PriorityMajorIconLegacy = ({
|
|
11
13
|
label,
|
|
12
14
|
testId,
|
|
13
15
|
...props
|
|
@@ -34,5 +36,14 @@ const PriorityMajorIcon = ({
|
|
|
34
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",
|
|
35
37
|
fill: "#FF8F73"
|
|
36
38
|
})));
|
|
37
|
-
|
|
38
|
-
export default PriorityMajorIcon
|
|
39
|
+
PriorityMajorIconLegacy.displayName = 'PriorityMajorIcon';
|
|
40
|
+
export default 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);
|
|
@@ -3,11 +3,13 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
3
3
|
import "./priority-medium-icon.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
|
+
import { componentWithFG } from '@atlaskit/platform-feature-flags-react';
|
|
7
|
+
import { createPriorityIcon } from './priority-icon';
|
|
6
8
|
const style = {
|
|
7
9
|
span: "_1e0c1o8l _1o9zidpf",
|
|
8
10
|
svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
|
|
9
11
|
};
|
|
10
|
-
const
|
|
12
|
+
const PriorityMediumIconLegacy = ({
|
|
11
13
|
label,
|
|
12
14
|
testId,
|
|
13
15
|
...props
|
|
@@ -28,5 +30,8 @@ const PriorityMediumIcon = ({
|
|
|
28
30
|
d: "M5 8h14a1 1 0 010 2H5a1 1 0 110-2zm0 6h14a1 1 0 010 2H5a1 1 0 010-2z",
|
|
29
31
|
fill: "#FFAB00"
|
|
30
32
|
})));
|
|
31
|
-
|
|
32
|
-
export default PriorityMediumIcon
|
|
33
|
+
PriorityMediumIconLegacy.displayName = 'PriorityMediumIcon';
|
|
34
|
+
export default 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);
|
|
@@ -3,11 +3,13 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
3
3
|
import "./priority-minor-icon.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
|
+
import { componentWithFG } from '@atlaskit/platform-feature-flags-react';
|
|
7
|
+
import { createPriorityIcon } from './priority-icon';
|
|
6
8
|
const style = {
|
|
7
9
|
span: "_1e0c1o8l _1o9zidpf",
|
|
8
10
|
svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
|
|
9
11
|
};
|
|
10
|
-
const
|
|
12
|
+
const PriorityMinorIconLegacy = ({
|
|
11
13
|
label,
|
|
12
14
|
testId,
|
|
13
15
|
...props
|
|
@@ -34,5 +36,14 @@ const PriorityMinorIcon = ({
|
|
|
34
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",
|
|
35
37
|
fill: "#4C9AFF"
|
|
36
38
|
})));
|
|
37
|
-
|
|
38
|
-
export default PriorityMinorIcon
|
|
39
|
+
PriorityMinorIconLegacy.displayName = 'PriorityMinorIcon';
|
|
40
|
+
export default 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);
|
|
@@ -3,11 +3,13 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
3
3
|
import "./priority-trivial-icon.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
|
+
import { componentWithFG } from '@atlaskit/platform-feature-flags-react';
|
|
7
|
+
import { createPriorityIcon } from './priority-icon';
|
|
6
8
|
const style = {
|
|
7
9
|
span: "_1e0c1o8l _1o9zidpf",
|
|
8
10
|
svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
|
|
9
11
|
};
|
|
10
|
-
const
|
|
12
|
+
const PriorityTrivialIconLegacy = ({
|
|
11
13
|
label,
|
|
12
14
|
testId,
|
|
13
15
|
...props
|
|
@@ -28,5 +30,8 @@ const PriorityTrivialIcon = ({
|
|
|
28
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",
|
|
29
31
|
fill: "#7A8699"
|
|
30
32
|
})));
|
|
31
|
-
|
|
32
|
-
export default PriorityTrivialIcon
|
|
33
|
+
PriorityTrivialIconLegacy.displayName = 'PriorityTrivialIcon';
|
|
34
|
+
export default 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);
|
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { IconTile } from '@atlaskit/icon';
|
|
4
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
4
5
|
import { SmartLinkSize } from '../../../constants';
|
|
5
6
|
import { isIconSizeLarge } from '../../../utils';
|
|
6
7
|
export const transformSmartLinkSizeToIconTileSize = size => {
|
|
8
|
+
if (fg('platform_sl_icons_refactor')) {
|
|
9
|
+
switch (size) {
|
|
10
|
+
case SmartLinkSize.Small:
|
|
11
|
+
case SmartLinkSize.Medium:
|
|
12
|
+
return '16';
|
|
13
|
+
case SmartLinkSize.XLarge:
|
|
14
|
+
case SmartLinkSize.Large:
|
|
15
|
+
return '24';
|
|
16
|
+
default:
|
|
17
|
+
return '16';
|
|
18
|
+
}
|
|
19
|
+
}
|
|
7
20
|
switch (size) {
|
|
8
21
|
case SmartLinkSize.XLarge:
|
|
9
22
|
case SmartLinkSize.Large:
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import BlogIconGlyph from '@atlaskit/icon-object/glyph/blog/16';
|
|
3
|
+
import LiveDocumentIconGlyph from '@atlaskit/icon-object/glyph/page-live-doc/16';
|
|
2
4
|
import DocumentFilledIcon from '@atlaskit/icon/core/file';
|
|
3
5
|
import { isConfluenceGenerator } from '@atlaskit/link-extractors';
|
|
4
6
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
|
-
import
|
|
7
|
+
import BlogIconWrapped from '../../../common/ui/icons/blog-icon';
|
|
6
8
|
import PresentationIcon from '../../../common/ui/icons/chart-bar-icon';
|
|
7
9
|
import FileIcon from '../../../common/ui/icons/file-icon';
|
|
8
10
|
import SpreadsheetIcon from '../../../common/ui/icons/list-bullet-icon';
|
|
9
|
-
import
|
|
11
|
+
import LiveDocumentIconWrapped from '../../../common/ui/icons/live-document-icon';
|
|
10
12
|
import DocumentIcon from '../../../common/ui/icons/page-icon';
|
|
11
13
|
import { getIconForFileType } from '../../../utils';
|
|
12
14
|
import { prioritiseIcon } from './prioritiseIcon';
|
|
@@ -43,7 +45,10 @@ const documentLabel = (opts, label) => {
|
|
|
43
45
|
const documentTypeToIcon = (type, opts) => {
|
|
44
46
|
switch (type) {
|
|
45
47
|
case 'schema:BlogPosting':
|
|
46
|
-
return /*#__PURE__*/React.createElement(
|
|
48
|
+
return fg('platform_sl_icons_refactor') ? /*#__PURE__*/React.createElement(BlogIconGlyph, {
|
|
49
|
+
label: documentLabel(opts, 'blog'),
|
|
50
|
+
testId: "blog-icon"
|
|
51
|
+
}) : /*#__PURE__*/React.createElement(BlogIconWrapped, {
|
|
47
52
|
label: documentLabel(opts, 'blog'),
|
|
48
53
|
testId: "blog-icon"
|
|
49
54
|
});
|
|
@@ -89,7 +94,10 @@ const documentTypeToIcon = (type, opts) => {
|
|
|
89
94
|
const digitalDocumentToIcon = opts => {
|
|
90
95
|
var _opts$provider;
|
|
91
96
|
if ((_opts$provider = opts.provider) !== null && _opts$provider !== void 0 && _opts$provider.id && isConfluenceGenerator(opts.provider.id)) {
|
|
92
|
-
return /*#__PURE__*/React.createElement(
|
|
97
|
+
return fg('platform_sl_icons_refactor') ? /*#__PURE__*/React.createElement(LiveDocumentIconGlyph, {
|
|
98
|
+
label: documentLabel(opts, 'live document'),
|
|
99
|
+
testId: "live-doc-icon"
|
|
100
|
+
}) : /*#__PURE__*/React.createElement(LiveDocumentIconWrapped, {
|
|
93
101
|
label: documentLabel(opts, 'live document'),
|
|
94
102
|
testId: "live-doc-icon"
|
|
95
103
|
});
|
|
@@ -2,7 +2,7 @@ export const ANALYTICS_CHANNEL = 'media';
|
|
|
2
2
|
export const context = {
|
|
3
3
|
componentName: 'smart-cards',
|
|
4
4
|
packageName: "@atlaskit/smart-card",
|
|
5
|
-
packageVersion: "44.3.
|
|
5
|
+
packageVersion: "44.3.9"
|
|
6
6
|
};
|
|
7
7
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
8
8
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|