@atlaskit/smart-card 30.2.7 → 30.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/cjs/state/analytics/useSmartLinkAnalytics.js +146 -216
  3. package/dist/cjs/utils/analytics/analytics.js +78 -140
  4. package/dist/cjs/utils/analytics/index.js +0 -6
  5. package/dist/cjs/view/BlockCard/components/Name.js +1 -3
  6. package/dist/cjs/view/BlockCard/views/ResolvingView.js +1 -2
  7. package/dist/cjs/view/CardWithUrl/component.js +14 -41
  8. package/dist/cjs/view/EmbedCard/components/styled.js +4 -11
  9. package/dist/cjs/view/EmbedCard/views/ErroredView.js +2 -2
  10. package/dist/cjs/view/EmbedCard/views/unresolved-view/index.js +1 -1
  11. package/dist/cjs/view/EmbedModal/components/link-info/styled.js +2 -3
  12. package/dist/cjs/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +1 -6
  13. package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.js +2 -4
  14. package/dist/cjs/view/FlexibleCard/components/actions/follow-action/goal-icon/index.js +2 -21
  15. package/dist/cjs/view/FlexibleCard/components/actions/follow-action/projects-icon/index.js +3 -21
  16. package/dist/cjs/view/FlexibleCard/components/actions/follow-action/unfollow-icon/index.js +4 -28
  17. package/dist/cjs/view/FlexibleCard/components/blocks/action-block/action-footer/index.js +1 -4
  18. package/dist/cjs/view/FlexibleCard/components/blocks/ai-footer-block/icons/info/index.js +6 -23
  19. package/dist/cjs/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.js +2 -2
  20. package/dist/cjs/view/FlexibleCard/components/elements/link/index.js +1 -1
  21. package/dist/cjs/view/LinkUrl/index.js +1 -1
  22. package/dist/es2019/state/analytics/useSmartLinkAnalytics.js +1 -69
  23. package/dist/es2019/utils/analytics/analytics.js +1 -63
  24. package/dist/es2019/utils/analytics/index.js +1 -1
  25. package/dist/es2019/view/BlockCard/components/Name.js +1 -3
  26. package/dist/es2019/view/BlockCard/views/ResolvingView.js +1 -2
  27. package/dist/es2019/view/CardWithUrl/component.js +14 -41
  28. package/dist/es2019/view/EmbedCard/components/styled.js +4 -11
  29. package/dist/es2019/view/EmbedCard/views/ErroredView.js +2 -2
  30. package/dist/es2019/view/EmbedCard/views/unresolved-view/index.js +1 -1
  31. package/dist/es2019/view/EmbedModal/components/link-info/styled.js +2 -3
  32. package/dist/es2019/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +1 -6
  33. package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.js +2 -4
  34. package/dist/es2019/view/FlexibleCard/components/actions/follow-action/goal-icon/index.js +1 -16
  35. package/dist/es2019/view/FlexibleCard/components/actions/follow-action/projects-icon/index.js +2 -16
  36. package/dist/es2019/view/FlexibleCard/components/actions/follow-action/unfollow-icon/index.js +4 -26
  37. package/dist/es2019/view/FlexibleCard/components/blocks/action-block/action-footer/index.js +1 -4
  38. package/dist/es2019/view/FlexibleCard/components/blocks/ai-footer-block/icons/info/index.js +6 -21
  39. package/dist/es2019/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.js +2 -2
  40. package/dist/es2019/view/FlexibleCard/components/elements/link/index.js +1 -1
  41. package/dist/es2019/view/LinkUrl/index.js +1 -1
  42. package/dist/esm/state/analytics/useSmartLinkAnalytics.js +147 -217
  43. package/dist/esm/utils/analytics/analytics.js +77 -139
  44. package/dist/esm/utils/analytics/index.js +1 -1
  45. package/dist/esm/view/BlockCard/components/Name.js +1 -3
  46. package/dist/esm/view/BlockCard/views/ResolvingView.js +1 -2
  47. package/dist/esm/view/CardWithUrl/component.js +14 -41
  48. package/dist/esm/view/EmbedCard/components/styled.js +4 -11
  49. package/dist/esm/view/EmbedCard/views/ErroredView.js +2 -2
  50. package/dist/esm/view/EmbedCard/views/unresolved-view/index.js +1 -1
  51. package/dist/esm/view/EmbedModal/components/link-info/styled.js +2 -3
  52. package/dist/esm/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +1 -6
  53. package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.js +2 -4
  54. package/dist/esm/view/FlexibleCard/components/actions/follow-action/goal-icon/index.js +1 -20
  55. package/dist/esm/view/FlexibleCard/components/actions/follow-action/projects-icon/index.js +2 -20
  56. package/dist/esm/view/FlexibleCard/components/actions/follow-action/unfollow-icon/index.js +4 -28
  57. package/dist/esm/view/FlexibleCard/components/blocks/action-block/action-footer/index.js +1 -4
  58. package/dist/esm/view/FlexibleCard/components/blocks/ai-footer-block/icons/info/index.js +6 -23
  59. package/dist/esm/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.js +2 -2
  60. package/dist/esm/view/FlexibleCard/components/elements/link/index.js +1 -1
  61. package/dist/esm/view/LinkUrl/index.js +1 -1
  62. package/dist/types/state/analytics/useSmartLinkAnalytics.d.ts +1 -29
  63. package/dist/types/state/hooks/useSmartLink.d.ts +0 -2
  64. package/dist/types/utils/analytics/analytics.d.ts +1 -9
  65. package/dist/types/utils/analytics/index.d.ts +1 -1
  66. package/dist/types/utils/analytics/types.d.ts +0 -12
  67. package/dist/types/utils/mocks.d.ts +0 -2
  68. package/dist/types/view/FlexibleCard/components/blocks/ai-footer-block/icons/info/index.d.ts +2 -2
  69. package/dist/types-ts4.5/state/analytics/useSmartLinkAnalytics.d.ts +1 -29
  70. package/dist/types-ts4.5/state/hooks/useSmartLink.d.ts +0 -2
  71. package/dist/types-ts4.5/utils/analytics/analytics.d.ts +1 -9
  72. package/dist/types-ts4.5/utils/analytics/index.d.ts +1 -1
  73. package/dist/types-ts4.5/utils/analytics/types.d.ts +0 -12
  74. package/dist/types-ts4.5/utils/mocks.d.ts +0 -2
  75. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-footer-block/icons/info/index.d.ts +2 -2
  76. package/package.json +4 -6
  77. package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/manual-trigger-icon/index.js +0 -29
  78. package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/manual-trigger-icon/index.js +0 -20
  79. package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/manual-trigger-icon/index.js +0 -22
  80. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/manual-trigger-icon/index.d.ts +0 -3
  81. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/manual-trigger-icon/index.d.ts +0 -3
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.unresolvedEvent = exports.uiSmartLinkStatusOpenPreviewButtonClicked = exports.uiSmartLinkStatusLozengeButtonClicked = exports.uiSmartLinkStatusListItemButtonClicked = exports.uiServerActionClicked = exports.uiRenderSuccessEvent = exports.uiRenderFailedEvent = exports.uiLearnMoreLinkClickedEvent = exports.uiIframeFocusedEvent = exports.uiIframeDwelledEvent = exports.uiHoverCardViewedEvent = exports.uiHoverCardOpenLinkClickedEvent = exports.uiHoverCardDismissedEvent = exports.uiClosedAuthEvent = exports.uiCardClickedEvent = exports.uiAuthEvent = exports.uiAuthAlternateAccountEvent = exports.uiActionClickedEvent = exports.trackSmartLinkQuickActionSuccess = exports.trackSmartLinkQuickActionStarted = exports.trackSmartLinkQuickActionFailed = exports.trackHoverCardResolutionStarted = exports.trackAppAccountConnected = exports.trackAppAccountAuthStarted = exports.screenAuthPopupEvent = exports.resolvedEvent = exports.invokeSucceededEvent = exports.invokeFailedEvent = exports.fireSmartLinkEvent = exports.context = exports.connectSucceededEvent = exports.connectFailedEvent = exports.chunkloadFailedEvent = exports.TrackQuickActionType = exports.TrackQuickActionFailureReason = exports.SmartLinkEvents = exports.SmartLinkActionTypeUiEventMapper = exports.SmartLinkActionTypeTrackingEventMapper = exports.ANALYTICS_CHANNEL = void 0;
7
+ exports.unresolvedEvent = exports.uiSmartLinkStatusOpenPreviewButtonClicked = exports.uiSmartLinkStatusLozengeButtonClicked = exports.uiSmartLinkStatusListItemButtonClicked = exports.uiServerActionClicked = exports.uiRenderSuccessEvent = exports.uiRenderFailedEvent = exports.uiLearnMoreLinkClickedEvent = exports.uiHoverCardViewedEvent = exports.uiHoverCardOpenLinkClickedEvent = exports.uiHoverCardDismissedEvent = exports.uiClosedAuthEvent = exports.uiCardClickedEvent = exports.uiAuthEvent = exports.uiAuthAlternateAccountEvent = exports.uiActionClickedEvent = exports.trackSmartLinkQuickActionSuccess = exports.trackSmartLinkQuickActionStarted = exports.trackSmartLinkQuickActionFailed = exports.trackHoverCardResolutionStarted = exports.trackAppAccountConnected = exports.trackAppAccountAuthStarted = exports.screenAuthPopupEvent = exports.resolvedEvent = exports.invokeSucceededEvent = exports.invokeFailedEvent = exports.fireSmartLinkEvent = exports.context = exports.connectSucceededEvent = exports.connectFailedEvent = exports.chunkloadFailedEvent = exports.TrackQuickActionType = exports.TrackQuickActionFailureReason = exports.SmartLinkEvents = exports.SmartLinkActionTypeUiEventMapper = exports.SmartLinkActionTypeTrackingEventMapper = exports.ANALYTICS_CHANNEL = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
9
  var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
10
10
  var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
@@ -22,7 +22,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
22
22
  var context = exports.context = {
23
23
  componentName: 'smart-cards',
24
24
  packageName: "@atlaskit/smart-card",
25
- packageVersion: "30.2.7"
25
+ packageVersion: "30.3.1"
26
26
  };
27
27
  var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
28
28
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -392,77 +392,15 @@ var uiCardClickedEvent = exports.uiCardClickedEvent = function uiCardClickedEven
392
392
  })
393
393
  };
394
394
  };
395
-
396
- /**
397
- * @deprecated
398
- */
399
- var uiIframeDwelledEvent = exports.uiIframeDwelledEvent = function uiIframeDwelledEvent(_ref15) {
395
+ var uiActionClickedEvent = exports.uiActionClickedEvent = function uiActionClickedEvent(_ref15) {
400
396
  var id = _ref15.id,
397
+ actionType = _ref15.actionType,
398
+ extensionKey = _ref15.extensionKey,
401
399
  display = _ref15.display,
402
- status = _ref15.status,
403
400
  definitionId = _ref15.definitionId,
404
- extensionKey = _ref15.extensionKey,
405
- location = _ref15.location,
406
401
  destinationProduct = _ref15.destinationProduct,
407
402
  destinationSubproduct = _ref15.destinationSubproduct,
408
- dwellTime = _ref15.dwellTime,
409
- dwellPercentVisible = _ref15.dwellPercentVisible;
410
- return {
411
- action: 'dwelled',
412
- actionSubject: 'smartLinkIframe',
413
- eventType: 'ui',
414
- attributes: _objectSpread(_objectSpread({}, context), {}, {
415
- id: id,
416
- status: status,
417
- definitionId: definitionId,
418
- extensionKey: extensionKey,
419
- display: display,
420
- location: location,
421
- destinationProduct: destinationProduct,
422
- destinationSubproduct: destinationSubproduct,
423
- dwellTime: dwellTime,
424
- dwellPercentVisible: dwellPercentVisible
425
- })
426
- };
427
- };
428
-
429
- /**
430
- * @deprecated
431
- */
432
- var uiIframeFocusedEvent = exports.uiIframeFocusedEvent = function uiIframeFocusedEvent(_ref16) {
433
- var id = _ref16.id,
434
- display = _ref16.display,
435
- status = _ref16.status,
436
- definitionId = _ref16.definitionId,
437
- extensionKey = _ref16.extensionKey,
438
- location = _ref16.location,
439
- destinationProduct = _ref16.destinationProduct,
440
- destinationSubproduct = _ref16.destinationSubproduct;
441
- return {
442
- action: 'focused',
443
- actionSubject: 'smartLinkIframe',
444
- eventType: 'ui',
445
- attributes: _objectSpread(_objectSpread({}, context), {}, {
446
- id: id,
447
- status: status,
448
- definitionId: definitionId,
449
- extensionKey: extensionKey,
450
- display: display,
451
- location: location,
452
- destinationProduct: destinationProduct,
453
- destinationSubproduct: destinationSubproduct
454
- })
455
- };
456
- };
457
- var uiActionClickedEvent = exports.uiActionClickedEvent = function uiActionClickedEvent(_ref17) {
458
- var id = _ref17.id,
459
- actionType = _ref17.actionType,
460
- extensionKey = _ref17.extensionKey,
461
- display = _ref17.display,
462
- definitionId = _ref17.definitionId,
463
- destinationProduct = _ref17.destinationProduct,
464
- destinationSubproduct = _ref17.destinationSubproduct,
465
- location = _ref17.location;
403
+ location = _ref15.location;
466
404
  return {
467
405
  action: 'clicked',
468
406
  actionSubject: 'button',
@@ -480,13 +418,13 @@ var uiActionClickedEvent = exports.uiActionClickedEvent = function uiActionClick
480
418
  })
481
419
  };
482
420
  };
483
- var uiClosedAuthEvent = exports.uiClosedAuthEvent = function uiClosedAuthEvent(_ref18) {
484
- var display = _ref18.display,
485
- extensionKey = _ref18.extensionKey,
486
- definitionId = _ref18.definitionId,
487
- destinationProduct = _ref18.destinationProduct,
488
- destinationSubproduct = _ref18.destinationSubproduct,
489
- location = _ref18.location;
421
+ var uiClosedAuthEvent = exports.uiClosedAuthEvent = function uiClosedAuthEvent(_ref16) {
422
+ var display = _ref16.display,
423
+ extensionKey = _ref16.extensionKey,
424
+ definitionId = _ref16.definitionId,
425
+ destinationProduct = _ref16.destinationProduct,
426
+ destinationSubproduct = _ref16.destinationSubproduct,
427
+ location = _ref16.location;
490
428
  return {
491
429
  action: 'closed',
492
430
  actionSubject: 'consentModal',
@@ -501,12 +439,12 @@ var uiClosedAuthEvent = exports.uiClosedAuthEvent = function uiClosedAuthEvent(_
501
439
  })
502
440
  };
503
441
  };
504
- var screenAuthPopupEvent = exports.screenAuthPopupEvent = function screenAuthPopupEvent(_ref19) {
505
- var extensionKey = _ref19.extensionKey,
506
- definitionId = _ref19.definitionId,
507
- destinationProduct = _ref19.destinationProduct,
508
- destinationSubproduct = _ref19.destinationSubproduct,
509
- location = _ref19.location;
442
+ var screenAuthPopupEvent = exports.screenAuthPopupEvent = function screenAuthPopupEvent(_ref17) {
443
+ var extensionKey = _ref17.extensionKey,
444
+ definitionId = _ref17.definitionId,
445
+ destinationProduct = _ref17.destinationProduct,
446
+ destinationSubproduct = _ref17.destinationSubproduct,
447
+ location = _ref17.location;
510
448
  return {
511
449
  actionSubject: 'consentModal',
512
450
  eventType: 'screen',
@@ -519,15 +457,15 @@ var screenAuthPopupEvent = exports.screenAuthPopupEvent = function screenAuthPop
519
457
  })
520
458
  };
521
459
  };
522
- var uiRenderSuccessEvent = exports.uiRenderSuccessEvent = function uiRenderSuccessEvent(_ref20) {
523
- var display = _ref20.display,
524
- status = _ref20.status,
525
- extensionKey = _ref20.extensionKey,
526
- definitionId = _ref20.definitionId,
527
- destinationProduct = _ref20.destinationProduct,
528
- destinationSubproduct = _ref20.destinationSubproduct,
529
- location = _ref20.location,
530
- canBeDatasource = _ref20.canBeDatasource;
460
+ var uiRenderSuccessEvent = exports.uiRenderSuccessEvent = function uiRenderSuccessEvent(_ref18) {
461
+ var display = _ref18.display,
462
+ status = _ref18.status,
463
+ extensionKey = _ref18.extensionKey,
464
+ definitionId = _ref18.definitionId,
465
+ destinationProduct = _ref18.destinationProduct,
466
+ destinationSubproduct = _ref18.destinationSubproduct,
467
+ location = _ref18.location,
468
+ canBeDatasource = _ref18.canBeDatasource;
531
469
  return {
532
470
  action: 'renderSuccess',
533
471
  actionSubject: 'smartLink',
@@ -544,15 +482,15 @@ var uiRenderSuccessEvent = exports.uiRenderSuccessEvent = function uiRenderSucce
544
482
  })
545
483
  };
546
484
  };
547
- var uiRenderFailedEvent = exports.uiRenderFailedEvent = function uiRenderFailedEvent(_ref21) {
548
- var display = _ref21.display,
549
- error = _ref21.error,
550
- errorInfo = _ref21.errorInfo,
551
- extensionKey = _ref21.extensionKey,
552
- definitionId = _ref21.definitionId,
553
- destinationProduct = _ref21.destinationProduct,
554
- destinationSubproduct = _ref21.destinationSubproduct,
555
- location = _ref21.location;
485
+ var uiRenderFailedEvent = exports.uiRenderFailedEvent = function uiRenderFailedEvent(_ref19) {
486
+ var display = _ref19.display,
487
+ error = _ref19.error,
488
+ errorInfo = _ref19.errorInfo,
489
+ extensionKey = _ref19.extensionKey,
490
+ definitionId = _ref19.definitionId,
491
+ destinationProduct = _ref19.destinationProduct,
492
+ destinationSubproduct = _ref19.destinationSubproduct,
493
+ location = _ref19.location;
556
494
  return {
557
495
  actionSubject: 'smartLink',
558
496
  action: 'renderFailed',
@@ -569,16 +507,16 @@ var uiRenderFailedEvent = exports.uiRenderFailedEvent = function uiRenderFailedE
569
507
  })
570
508
  };
571
509
  };
572
- var uiHoverCardViewedEvent = exports.uiHoverCardViewedEvent = function uiHoverCardViewedEvent(_ref22) {
573
- var id = _ref22.id,
574
- previewDisplay = _ref22.previewDisplay,
575
- extensionKey = _ref22.extensionKey,
576
- definitionId = _ref22.definitionId,
577
- destinationProduct = _ref22.destinationProduct,
578
- destinationSubproduct = _ref22.destinationSubproduct,
579
- location = _ref22.location,
580
- previewInvokeMethod = _ref22.previewInvokeMethod,
581
- status = _ref22.status;
510
+ var uiHoverCardViewedEvent = exports.uiHoverCardViewedEvent = function uiHoverCardViewedEvent(_ref20) {
511
+ var id = _ref20.id,
512
+ previewDisplay = _ref20.previewDisplay,
513
+ extensionKey = _ref20.extensionKey,
514
+ definitionId = _ref20.definitionId,
515
+ destinationProduct = _ref20.destinationProduct,
516
+ destinationSubproduct = _ref20.destinationSubproduct,
517
+ location = _ref20.location,
518
+ previewInvokeMethod = _ref20.previewInvokeMethod,
519
+ status = _ref20.status;
582
520
  return {
583
521
  action: 'viewed',
584
522
  actionSubject: 'hoverCard',
@@ -596,17 +534,17 @@ var uiHoverCardViewedEvent = exports.uiHoverCardViewedEvent = function uiHoverCa
596
534
  })
597
535
  };
598
536
  };
599
- var uiHoverCardDismissedEvent = exports.uiHoverCardDismissedEvent = function uiHoverCardDismissedEvent(_ref23) {
600
- var id = _ref23.id,
601
- previewDisplay = _ref23.previewDisplay,
602
- hoverTime = _ref23.hoverTime,
603
- extensionKey = _ref23.extensionKey,
604
- definitionId = _ref23.definitionId,
605
- destinationProduct = _ref23.destinationProduct,
606
- destinationSubproduct = _ref23.destinationSubproduct,
607
- location = _ref23.location,
608
- previewInvokeMethod = _ref23.previewInvokeMethod,
609
- status = _ref23.status;
537
+ var uiHoverCardDismissedEvent = exports.uiHoverCardDismissedEvent = function uiHoverCardDismissedEvent(_ref21) {
538
+ var id = _ref21.id,
539
+ previewDisplay = _ref21.previewDisplay,
540
+ hoverTime = _ref21.hoverTime,
541
+ extensionKey = _ref21.extensionKey,
542
+ definitionId = _ref21.definitionId,
543
+ destinationProduct = _ref21.destinationProduct,
544
+ destinationSubproduct = _ref21.destinationSubproduct,
545
+ location = _ref21.location,
546
+ previewInvokeMethod = _ref21.previewInvokeMethod,
547
+ status = _ref21.status;
610
548
  return {
611
549
  action: 'dismissed',
612
550
  actionSubject: 'hoverCard',
@@ -625,15 +563,15 @@ var uiHoverCardDismissedEvent = exports.uiHoverCardDismissedEvent = function uiH
625
563
  })
626
564
  };
627
565
  };
628
- var uiHoverCardOpenLinkClickedEvent = exports.uiHoverCardOpenLinkClickedEvent = function uiHoverCardOpenLinkClickedEvent(_ref24) {
629
- var id = _ref24.id,
630
- previewDisplay = _ref24.previewDisplay,
631
- extensionKey = _ref24.extensionKey,
632
- definitionId = _ref24.definitionId,
633
- destinationProduct = _ref24.destinationProduct,
634
- destinationSubproduct = _ref24.destinationSubproduct,
635
- location = _ref24.location,
636
- previewInvokeMethod = _ref24.previewInvokeMethod;
566
+ var uiHoverCardOpenLinkClickedEvent = exports.uiHoverCardOpenLinkClickedEvent = function uiHoverCardOpenLinkClickedEvent(_ref22) {
567
+ var id = _ref22.id,
568
+ previewDisplay = _ref22.previewDisplay,
569
+ extensionKey = _ref22.extensionKey,
570
+ definitionId = _ref22.definitionId,
571
+ destinationProduct = _ref22.destinationProduct,
572
+ destinationSubproduct = _ref22.destinationSubproduct,
573
+ location = _ref22.location,
574
+ previewInvokeMethod = _ref22.previewInvokeMethod;
637
575
  return {
638
576
  action: 'clicked',
639
577
  actionSubject: 'button',
@@ -660,15 +598,15 @@ var uiLearnMoreLinkClickedEvent = exports.uiLearnMoreLinkClickedEvent = function
660
598
  attributes: _objectSpread({}, context)
661
599
  };
662
600
  };
663
- var chunkloadFailedEvent = exports.chunkloadFailedEvent = function chunkloadFailedEvent(_ref25) {
664
- var display = _ref25.display,
665
- error = _ref25.error,
666
- errorInfo = _ref25.errorInfo,
667
- extensionKey = _ref25.extensionKey,
668
- definitionId = _ref25.definitionId,
669
- destinationProduct = _ref25.destinationProduct,
670
- destinationSubproduct = _ref25.destinationSubproduct,
671
- location = _ref25.location;
601
+ var chunkloadFailedEvent = exports.chunkloadFailedEvent = function chunkloadFailedEvent(_ref23) {
602
+ var display = _ref23.display,
603
+ error = _ref23.error,
604
+ errorInfo = _ref23.errorInfo,
605
+ extensionKey = _ref23.extensionKey,
606
+ definitionId = _ref23.definitionId,
607
+ destinationProduct = _ref23.destinationProduct,
608
+ destinationSubproduct = _ref23.destinationSubproduct,
609
+ location = _ref23.location;
672
610
  return {
673
611
  action: 'chunkLoadFailed',
674
612
  actionSubject: 'smartLink',
@@ -712,9 +650,9 @@ var uiSmartLinkStatusOpenPreviewButtonClicked = exports.uiSmartLinkStatusOpenPre
712
650
  attributes: _objectSpread({}, context)
713
651
  };
714
652
  };
715
- var uiServerActionClicked = exports.uiServerActionClicked = function uiServerActionClicked(_ref26) {
653
+ var uiServerActionClicked = exports.uiServerActionClicked = function uiServerActionClicked(_ref24) {
716
654
  var _SmartLinkActionTypeU2;
717
- var smartLinkActionType = _ref26.smartLinkActionType;
655
+ var smartLinkActionType = _ref24.smartLinkActionType;
718
656
  return {
719
657
  action: 'clicked',
720
658
  actionSubject: 'button',
@@ -125,12 +125,6 @@ Object.defineProperty(exports, "uiHoverCardViewedEvent", {
125
125
  return _analytics.uiHoverCardViewedEvent;
126
126
  }
127
127
  });
128
- Object.defineProperty(exports, "uiIframeDwelledEvent", {
129
- enumerable: true,
130
- get: function get() {
131
- return _analytics.uiIframeDwelledEvent;
132
- }
133
- });
134
128
  Object.defineProperty(exports, "uiLearnMoreLinkClickedEvent", {
135
129
  enumerable: true,
136
130
  get: function get() {
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.blockCardContentHeaderNameClassName = exports.Name = void 0;
7
7
  var _react = require("@emotion/react");
8
- var _constants = require("@atlaskit/theme/constants");
9
8
  var _utils = require("../../common/utils");
10
9
  /**
11
10
  * @jsxRuntime classic
@@ -21,8 +20,7 @@ var _utils = require("../../common/utils");
21
20
  */
22
21
  var blockCardContentHeaderNameClassName = exports.blockCardContentHeaderNameClassName = 'block-card-content-header-name';
23
22
  var baseStyles = (0, _react.css)({
24
- fontSize: "".concat((0, _constants.fontSize)(), "px"),
25
- fontWeight: 500,
23
+ font: "var(--ds-font-heading-xsmall, normal 600 14px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
26
24
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
27
25
  lineHeight: (0, _utils.gs)(2.5),
28
26
  // Spec: show max two lines.
@@ -9,7 +9,6 @@ var _react = require("@emotion/react");
9
9
  var _reactIntlNext = require("react-intl-next");
10
10
  var _fileEditorFile = _interopRequireDefault(require("@atlaskit/icon/core/migration/file--editor-file"));
11
11
  var _colors = require("@atlaskit/theme/colors");
12
- var _constants = require("@atlaskit/theme/constants");
13
12
  var _messages = require("../../../messages");
14
13
  var _utils = require("../../common/utils");
15
14
  var _Frame = require("../components/Frame");
@@ -27,7 +26,7 @@ var _Frame = require("../components/Frame");
27
26
  */
28
27
  var blockCardResolvingViewClassName = exports.blockCardResolvingViewClassName = 'block-card-resolving-view';
29
28
  var messageStyles = (0, _react.css)({
30
- fontSize: "".concat((0, _constants.fontSize)(), "px"),
29
+ font: "var(--ds-font-heading-xsmall, normal 600 14px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
31
30
  color: "var(--ds-text-subtlest, ".concat(_colors.N90, ")"),
32
31
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
33
32
  marginLeft: (0, _utils.gs)(0.5)
@@ -8,7 +8,6 @@ Object.defineProperty(exports, "__esModule", {
8
8
  exports.CardWithUrlContent = void 0;
9
9
  var _react = _interopRequireWildcard(require("react"));
10
10
  var _analyticsNext = require("@atlaskit/analytics-next");
11
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
12
11
  var _useAnalyticsEvents2 = require("../../common/analytics/generated/use-analytics-events");
13
12
  var _constants = require("../../constants");
14
13
  var _state = require("../../state");
@@ -160,47 +159,21 @@ function Component(_ref) {
160
159
  }
161
160
  }, [isFlexibleUi, appearance, state.status, url, definitionId, extensionKey, analytics.ui, id, canBeDatasource]);
162
161
  var onIframeDwell = (0, _react.useCallback)(function (dwellTime, dwellPercentVisible) {
163
- if ((0, _platformFeatureFlags.fg)('smart-card-migrate-smartlinkiframe-analytics')) {
164
- fireEvent('ui.smartLinkIframe.dwelled', {
165
- id: id,
166
- definitionId: definitionId !== null && definitionId !== void 0 ? definitionId : null,
167
- display: isFlexibleUi ? 'flexible' : appearance,
168
- dwellPercentVisible: dwellPercentVisible,
169
- dwellTime: dwellTime
170
- });
171
- } else {
172
- analytics.ui.iframeDwelledEvent({
173
- id: id,
174
- display: isFlexibleUi ? 'flexible' : appearance,
175
- status: state.status,
176
- definitionId: definitionId,
177
- extensionKey: extensionKey,
178
- destinationProduct: product,
179
- destinationSubproduct: subproduct,
180
- dwellTime: dwellTime,
181
- dwellPercentVisible: dwellPercentVisible
182
- });
183
- }
184
- }, [id, state.status, analytics.ui, appearance, definitionId, extensionKey, isFlexibleUi, product, subproduct, fireEvent]);
162
+ fireEvent('ui.smartLinkIframe.dwelled', {
163
+ id: id,
164
+ definitionId: definitionId !== null && definitionId !== void 0 ? definitionId : null,
165
+ display: isFlexibleUi ? 'flexible' : appearance,
166
+ dwellPercentVisible: dwellPercentVisible,
167
+ dwellTime: dwellTime
168
+ });
169
+ }, [id, appearance, definitionId, isFlexibleUi, fireEvent]);
185
170
  var onIframeFocus = (0, _react.useCallback)(function () {
186
- if ((0, _platformFeatureFlags.fg)('smart-card-migrate-smartlinkiframe-analytics')) {
187
- fireEvent('ui.smartLinkIframe.focus', {
188
- id: id,
189
- definitionId: definitionId !== null && definitionId !== void 0 ? definitionId : null,
190
- display: isFlexibleUi ? 'flexible' : appearance
191
- });
192
- } else {
193
- analytics.ui.iframeFocusedEvent({
194
- id: id,
195
- display: isFlexibleUi ? 'flexible' : appearance,
196
- status: state.status,
197
- definitionId: definitionId,
198
- extensionKey: extensionKey,
199
- destinationProduct: product,
200
- destinationSubproduct: subproduct
201
- });
202
- }
203
- }, [id, state.status, analytics.ui, appearance, definitionId, extensionKey, isFlexibleUi, product, subproduct, fireEvent]);
171
+ fireEvent('ui.smartLinkIframe.focus', {
172
+ id: id,
173
+ definitionId: definitionId !== null && definitionId !== void 0 ? definitionId : null,
174
+ display: isFlexibleUi ? 'flexible' : appearance
175
+ });
176
+ }, [id, appearance, definitionId, isFlexibleUi, fireEvent]);
204
177
  if (isFlexibleUi) {
205
178
  var cardState = state;
206
179
  if (error) {
@@ -140,8 +140,7 @@ function (_ref10) {
140
140
  }, {
141
141
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
142
142
  color: "var(--ds-text-subtlest, ".concat(colors.N300, ")"),
143
- fontSize: '12px',
144
- lineHeight: '16px'
143
+ font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
145
144
  },
146
145
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
147
146
  ellipsis('none'));
@@ -189,9 +188,7 @@ var ContentWrapper = exports.ContentWrapper = _styled.default.div({
189
188
  var Title = exports.Title = _styled.default.div({
190
189
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
191
190
  color: "var(--ds-text, ".concat(colors.N900, ")"),
192
- fontSize: '16px',
193
- fontWeight: 500,
194
- lineHeight: 20 / 16,
191
+ font: "var(--ds-font-heading-small, normal 600 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
195
192
  maxHeight: "".concat(20 * 4, "px"),
196
193
  overflow: 'hidden'
197
194
  });
@@ -201,9 +198,7 @@ var Byline = exports.Byline = _styled.default.div({
201
198
  marginTop: "var(--ds-space-050, 4px)",
202
199
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
203
200
  color: "var(--ds-text-subtlest, ".concat(colors.N300, ")"),
204
- fontSize: '12px',
205
- fontWeight: 'normal',
206
- lineHeight: 16 / 12
201
+ font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
207
202
  },
208
203
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
209
204
  ellipsis('100%'));
@@ -213,9 +208,7 @@ var Description = exports.Description = _styled.default.div({
213
208
  marginTop: "calc(".concat("var(--ds-space-100, 8px)", " - 1px)"),
214
209
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
215
210
  color: "var(--ds-text, ".concat(colors.N800, ")"),
216
- fontSize: '12px',
217
- fontWeight: 'normal',
218
- lineHeight: 18 / 12,
211
+ font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
219
212
  maxHeight: "".concat(18 * 3, "px"),
220
213
  overflow: 'hidden'
221
214
  });
@@ -10,7 +10,6 @@ var _reactIntlNext = require("react-intl-next");
10
10
  var _button = _interopRequireDefault(require("@atlaskit/button"));
11
11
  var _error = _interopRequireDefault(require("@atlaskit/icon/core/migration/error"));
12
12
  var _colors = require("@atlaskit/theme/colors");
13
- var _constants = require("@atlaskit/theme/constants");
14
13
  var _messages = require("../../../messages");
15
14
  var _Frame = require("../../BlockCard/components/Frame");
16
15
  var _utils = require("../../common/utils");
@@ -21,7 +20,8 @@ var _utils = require("../../common/utils");
21
20
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
22
21
 
23
22
  var messageStyles = (0, _react.css)({
24
- fontSize: "".concat((0, _constants.fontSize)(), "px"),
23
+ font: "var(--ds-font-heading-xsmall, normal 600 14px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
24
+ fontWeight: "var(--ds-font-weight-regular, 400)",
25
25
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
26
26
  marginLeft: (0, _utils.gs)(0.5),
27
27
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
@@ -37,7 +37,7 @@ var contentStyles = (0, _react2.css)({
37
37
  maxWidth: (0, _utils.gs)(50)
38
38
  });
39
39
  var descriptionStyles = (0, _react2.css)({
40
- fontSize: '1em',
40
+ font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
41
41
  textAlign: 'center'
42
42
  });
43
43
  var imageStyles = (0, _react2.css)({
@@ -41,9 +41,8 @@ var titleCss = exports.titleCss = (0, _react.css)({
41
41
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
42
42
  h3: {
43
43
  flex: '1 1 auto',
44
- fontSize: '16px',
45
- fontWeight: 400,
46
- lineHeight: height,
44
+ font: "var(--ds-font-heading-small, normal 600 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
45
+ fontWeight: "var(--ds-font-weight-regular, 400)",
47
46
  display: '-webkit-box',
48
47
  marginBottom: 0,
49
48
  overflow: 'hidden',
@@ -27,12 +27,7 @@ var buttonStyles = (0, _primitives.xcss)({
27
27
  });
28
28
  var contentStyles = (0, _primitives.xcss)({
29
29
  color: 'color.text',
30
- // Replace with font token once it becomes stable (currently alpha)
31
- // font: 'font.body.small',
32
- fontSize: '12px',
33
- fontStyle: 'normal',
34
- fontWeight: '400',
35
- lineHeight: '20px'
30
+ font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
36
31
  });
37
32
  var ActionButton = function ActionButton(_ref) {
38
33
  var content = _ref.content,
@@ -8,12 +8,11 @@ exports.AutomationModalHeader = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
  var _reactIntlNext = require("react-intl-next");
10
10
  var _heading = _interopRequireDefault(require("@atlaskit/heading"));
11
- var _icon = _interopRequireDefault(require("@atlaskit/icon"));
11
+ var _manualTriggerIcon = _interopRequireDefault(require("@atlaskit/legacy-custom-icons/manual-trigger-icon"));
12
12
  var _modalDialog = require("@atlaskit/modal-dialog");
13
13
  var _primitives = require("@atlaskit/primitives");
14
14
  var _colors = require("@atlaskit/theme/colors");
15
15
  var _menuContext = require("../../menu-context");
16
- var _manualTriggerIcon = require("./manual-trigger-icon");
17
16
  var i18n = (0, _reactIntlNext.defineMessages)({
18
17
  modalHeaderIconLabel: {
19
18
  id: 'automation-menu.modal.header.icon.label',
@@ -46,9 +45,8 @@ var AutomationModalHeader = exports.AutomationModalHeader = function AutomationM
46
45
  xcss: iconStyle,
47
46
  paddingInline: "space.050",
48
47
  paddingBlock: "space.025"
49
- }, /*#__PURE__*/_react.default.createElement(_icon.default, {
48
+ }, /*#__PURE__*/_react.default.createElement(_manualTriggerIcon.default, {
50
49
  size: "small",
51
- glyph: _manualTriggerIcon.ManualTriggerGlyph,
52
50
  label: formatMessage(i18n.modalHeaderIconLabel),
53
51
  primaryColor: "var(--ds-icon-accent-green, ".concat(_colors.G50, ")")
54
52
  })), /*#__PURE__*/_react.default.createElement(_heading.default, {
@@ -7,31 +7,12 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.GoalIcon = void 0;
8
8
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
9
  var _react = _interopRequireDefault(require("react"));
10
- var _icon = _interopRequireDefault(require("@atlaskit/icon"));
11
10
  var _goal = _interopRequireDefault(require("@atlaskit/icon/core/goal"));
12
- var LegacyGoalGlyph = function LegacyGoalGlyph(_props) {
13
- return /*#__PURE__*/_react.default.createElement("svg", {
14
- xmlns: "http://www.w3.org/2000/svg",
15
- width: "16",
16
- height: "16",
17
- viewBox: "0 0 16 16",
18
- fill: "none"
19
- }, /*#__PURE__*/_react.default.createElement("path", {
20
- fillRule: "evenodd",
21
- clipRule: "evenodd",
22
- d: "M12.6667 8C12.6667 10.5773 10.5773 12.6667 8 12.6667C5.42267 12.6667 3.33333 10.5773 3.33333 8C3.33333 5.42267 5.42267 3.33333 8 3.33333C10.5773 3.33333 12.6667 5.42267 12.6667 8ZM14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2C11.3137 2 14 4.68629 14 8ZM9.33333 8C9.33333 8.73638 8.73638 9.33333 8 9.33333C7.26362 9.33333 6.66667 8.73638 6.66667 8C6.66667 7.26362 7.26362 6.66667 8 6.66667C8.73638 6.66667 9.33333 7.26362 9.33333 8ZM10.6667 8C10.6667 9.47276 9.47276 10.6667 8 10.6667C6.52724 10.6667 5.33333 9.47276 5.33333 8C5.33333 6.52724 6.52724 5.33333 8 5.33333C9.47276 5.33333 10.6667 6.52724 10.6667 8Z",
23
- fill: "var(--ds-icon, #44546F)"
24
- }));
25
- };
26
- var LegacyGoalIcon = function LegacyGoalIcon(props) {
27
- return /*#__PURE__*/_react.default.createElement(_icon.default, (0, _extends2.default)({
28
- glyph: LegacyGoalGlyph
29
- }, props));
30
- };
11
+ var _goalBoldIcon = _interopRequireDefault(require("@atlaskit/legacy-custom-icons/goal-bold-icon"));
31
12
  var GoalIcon = exports.GoalIcon = function GoalIcon(props) {
32
13
  return /*#__PURE__*/_react.default.createElement(_goal.default, (0, _extends2.default)({
33
14
  color: "var(--ds-icon, #44546F)",
34
- LEGACY_fallbackIcon: LegacyGoalIcon,
15
+ LEGACY_fallbackIcon: _goalBoldIcon.default,
35
16
  spacing: "spacious"
36
17
  }, props));
37
18
  };
@@ -7,31 +7,13 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.ProjectsIcon = void 0;
8
8
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
9
  var _react = _interopRequireDefault(require("react"));
10
- var _icon = _interopRequireDefault(require("@atlaskit/icon"));
11
10
  var _project = _interopRequireDefault(require("@atlaskit/icon/core/project"));
12
- var ProjectsGlyph = function ProjectsGlyph(_props) {
13
- return /*#__PURE__*/_react.default.createElement("svg", {
14
- xmlns: "http://www.w3.org/2000/svg",
15
- width: "16",
16
- height: "16",
17
- viewBox: "0 0 16 16",
18
- fill: "none"
19
- }, /*#__PURE__*/_react.default.createElement("path", {
20
- fillRule: "evenodd",
21
- clipRule: "evenodd",
22
- d: "M9.88573 4.00002C9.70892 4.00002 9.53935 4.07026 9.41433 4.19528L6.97282 6.63678L4.20525 6.94429C4.05479 6.96101 3.91451 7.02844 3.80746 7.13548L3.60959 7.33335L4.35367 8.07743C4.6791 8.40287 4.6791 8.93051 4.35367 9.25594L3.47152 10.1381C3.21117 10.3984 2.78906 10.3984 2.52871 10.1381C2.26836 9.87774 2.26836 9.45563 2.52871 9.19528L3.0573 8.66669L2.43108 8.04046C2.04055 7.64993 2.04055 7.01677 2.43108 6.62625L2.86465 6.19267C3.18578 5.87154 3.60664 5.66927 4.05801 5.61911L6.36073 5.36326L8.47152 3.25247C8.84659 2.8774 9.3553 2.66669 9.88573 2.66669H12.0001C12.7365 2.66669 13.3334 3.26364 13.3334 4.00002V6.1144C13.3334 6.64483 13.1227 7.15354 12.7477 7.52862L10.6369 9.6394L10.381 11.9421C10.3309 12.3935 10.1286 12.8143 9.80746 13.1355L9.37389 13.5691C8.98336 13.9596 8.3502 13.9596 7.95967 13.5691L7.33345 12.9428L6.80485 13.4714C6.5445 13.7318 6.12239 13.7318 5.86204 13.4714C5.60169 13.2111 5.60169 12.789 5.86204 12.5286L6.74419 11.6465C7.06963 11.321 7.59726 11.321 7.9227 11.6465L8.66678 12.3905L8.86466 12.1927C8.9717 12.0856 9.03912 11.9453 9.05584 11.7949L9.36335 9.02731L11.8049 6.58581C11.9299 6.46078 12.0001 6.29121 12.0001 6.1144V4.00002H9.88573ZM5.80486 10.1953C6.06521 10.4556 6.06521 10.8777 5.80486 11.1381L3.80486 13.1381C3.54451 13.3984 3.1224 13.3984 2.86205 13.1381C2.6017 12.8777 2.6017 12.4556 2.86205 12.1953L4.86205 10.1953C5.1224 9.93493 5.54451 9.93493 5.80486 10.1953ZM10.0001 6.66669C10.3683 6.66669 10.6668 6.36821 10.6668 6.00002C10.6668 5.63183 10.3683 5.33335 10.0001 5.33335C9.63193 5.33335 9.33346 5.63183 9.33346 6.00002C9.33346 6.36821 9.63193 6.66669 10.0001 6.66669Z",
23
- fill: "var(--ds-icon, #44546F)"
24
- }));
25
- };
26
- var LegacyProjectsIcon = function LegacyProjectsIcon(props) {
27
- return /*#__PURE__*/_react.default.createElement(_icon.default, (0, _extends2.default)({
28
- glyph: ProjectsGlyph
29
- }, props));
30
- };
11
+ var _projectIcon = _interopRequireDefault(require("@atlaskit/legacy-custom-icons/project-icon"));
31
12
  var ProjectsIcon = exports.ProjectsIcon = function ProjectsIcon(props) {
32
13
  return /*#__PURE__*/_react.default.createElement(_project.default, (0, _extends2.default)({
33
14
  color: "var(--ds-icon, #44546F)",
34
- LEGACY_fallbackIcon: LegacyProjectsIcon,
15
+ LEGACY_fallbackIcon: _projectIcon.default,
16
+ LEGACY_margin: "10px",
35
17
  spacing: "spacious"
36
18
  }, props));
37
19
  };