@atlaskit/smart-card 44.23.0 → 44.23.2

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 (147) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/cjs/__tests__/vr-tests/__snapshots__/hover-card/hover-card-unauthorised--default--platform-sl-3p-preauth-better-hovercard-false.png +2 -2
  3. package/dist/cjs/__tests__/vr-tests/__snapshots__/hover-card/hover-card-unauthorised--default--platform-sl-3p-preauth-better-hovercard-true.png +2 -2
  4. package/dist/cjs/__tests__/vr-tests/__snapshots__/hover-card/hover-card-with-google-rovo-chat-action--default.png +3 -0
  5. 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
  6. 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
  7. 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
  8. 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
  9. package/dist/cjs/__tests__/vr-tests/__snapshots__/inline-card/inline-card-resolved-view-with-rovo-actions-cta-treatment---default.png +2 -2
  10. package/dist/cjs/__tests__/vr-tests/__snapshots__/inline-card/inline-card-with-entity-support--default.png +2 -2
  11. package/dist/cjs/extractors/common/icon/extractIconFromDocument.js +6 -14
  12. package/dist/cjs/extractors/flexible/actions/extract-rovo-chat-action.js +2 -4
  13. package/dist/cjs/extractors/flexible/actions/index.js +1 -1
  14. package/dist/cjs/extractors/flexible/index.js +1 -1
  15. package/dist/cjs/state/hooks/use-rovo-chat/index.js +1 -1
  16. package/dist/cjs/utils/analytics/analytics.js +1 -1
  17. package/dist/cjs/utils/index.js +23 -75
  18. package/dist/cjs/view/CardWithUrl/component.js +3 -3
  19. package/dist/cjs/view/FlexibleCard/components/actions/action/action-stack-item/action-button.compiled.css +0 -9
  20. package/dist/cjs/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +7 -28
  21. package/dist/cjs/view/FlexibleCard/components/actions/action/action-stack-item/index.js +1 -10
  22. package/dist/cjs/view/FlexibleCard/components/actions/ai-summary-action/ai-summarise-action.js +1 -2
  23. package/dist/cjs/view/FlexibleCard/components/actions/ai-summary-action/ai-summary-action-component.js +1 -2
  24. package/dist/cjs/view/FlexibleCard/components/actions/automation-action/index.js +1 -2
  25. package/dist/cjs/view/FlexibleCard/components/actions/copy-link-action/index.js +1 -2
  26. package/dist/cjs/view/FlexibleCard/components/actions/follow-action/index.js +1 -2
  27. package/dist/cjs/view/FlexibleCard/components/actions/preview-action/index.js +2 -3
  28. package/dist/cjs/view/FlexibleCard/components/actions/rovo-chat-action/index.js +0 -7
  29. package/dist/cjs/view/FlexibleCard/components/actions/view-related-links-action/index.js +2 -3
  30. package/dist/cjs/view/FlexibleCard/components/blocks/action-block/index.compiled.css +2 -6
  31. package/dist/cjs/view/FlexibleCard/components/blocks/action-block/index.js +4 -26
  32. package/dist/cjs/view/FlexibleCard/components/blocks/hover-card-footer-block/index.compiled.css +0 -1
  33. package/dist/cjs/view/FlexibleCard/components/blocks/hover-card-footer-block/index.js +1 -4
  34. package/dist/cjs/view/FlexibleCard/components/common/atlaskit-icon/index.js +34 -36
  35. package/dist/cjs/view/FlexibleCard/index.js +2 -2
  36. package/dist/cjs/view/HoverCard/components/HoverCardContent.js +7 -15
  37. package/dist/cjs/view/HoverCard/components/views/resolved/index.js +4 -11
  38. package/dist/cjs/view/InlineCard/ResolvedView/InlineCardResolvedViewFunctional.js +2 -8
  39. package/dist/cjs/view/LinkUrl/index.js +1 -1
  40. package/dist/cjs/view/common/ai-summary/index.js +1 -3
  41. package/dist/es2019/__tests__/vr-tests/__snapshots__/hover-card/hover-card-unauthorised--default--platform-sl-3p-preauth-better-hovercard-false.png +2 -2
  42. package/dist/es2019/__tests__/vr-tests/__snapshots__/hover-card/hover-card-unauthorised--default--platform-sl-3p-preauth-better-hovercard-true.png +2 -2
  43. package/dist/es2019/__tests__/vr-tests/__snapshots__/hover-card/hover-card-with-google-rovo-chat-action--default.png +3 -0
  44. 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
  45. 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
  46. 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
  47. 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
  48. package/dist/es2019/__tests__/vr-tests/__snapshots__/inline-card/inline-card-resolved-view-with-rovo-actions-cta-treatment---default.png +2 -2
  49. package/dist/es2019/__tests__/vr-tests/__snapshots__/inline-card/inline-card-with-entity-support--default.png +2 -2
  50. package/dist/es2019/extractors/common/icon/extractIconFromDocument.js +6 -14
  51. package/dist/es2019/extractors/flexible/actions/extract-rovo-chat-action.js +2 -4
  52. package/dist/es2019/extractors/flexible/actions/index.js +1 -1
  53. package/dist/es2019/extractors/flexible/index.js +1 -1
  54. package/dist/es2019/state/hooks/use-rovo-chat/index.js +1 -1
  55. package/dist/es2019/utils/analytics/analytics.js +1 -1
  56. package/dist/es2019/utils/index.js +3 -26
  57. package/dist/es2019/view/CardWithUrl/component.js +3 -4
  58. package/dist/es2019/view/FlexibleCard/components/actions/action/action-stack-item/action-button.compiled.css +0 -9
  59. package/dist/es2019/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +7 -28
  60. package/dist/es2019/view/FlexibleCard/components/actions/action/action-stack-item/index.js +1 -10
  61. package/dist/es2019/view/FlexibleCard/components/actions/ai-summary-action/ai-summarise-action.js +1 -2
  62. package/dist/es2019/view/FlexibleCard/components/actions/ai-summary-action/ai-summary-action-component.js +1 -2
  63. package/dist/es2019/view/FlexibleCard/components/actions/automation-action/index.js +1 -2
  64. package/dist/es2019/view/FlexibleCard/components/actions/copy-link-action/index.js +1 -2
  65. package/dist/es2019/view/FlexibleCard/components/actions/follow-action/index.js +1 -2
  66. package/dist/es2019/view/FlexibleCard/components/actions/preview-action/index.js +2 -3
  67. package/dist/es2019/view/FlexibleCard/components/actions/rovo-chat-action/index.js +0 -7
  68. package/dist/es2019/view/FlexibleCard/components/actions/view-related-links-action/index.js +2 -3
  69. package/dist/es2019/view/FlexibleCard/components/blocks/action-block/index.compiled.css +2 -6
  70. package/dist/es2019/view/FlexibleCard/components/blocks/action-block/index.js +4 -26
  71. package/dist/es2019/view/FlexibleCard/components/blocks/hover-card-footer-block/index.compiled.css +0 -1
  72. package/dist/es2019/view/FlexibleCard/components/blocks/hover-card-footer-block/index.js +1 -4
  73. package/dist/es2019/view/FlexibleCard/components/common/atlaskit-icon/index.js +34 -36
  74. package/dist/es2019/view/FlexibleCard/index.js +2 -2
  75. package/dist/es2019/view/HoverCard/components/HoverCardContent.js +7 -16
  76. package/dist/es2019/view/HoverCard/components/views/resolved/index.js +3 -11
  77. package/dist/es2019/view/InlineCard/ResolvedView/InlineCardResolvedViewFunctional.js +3 -10
  78. package/dist/es2019/view/LinkUrl/index.js +1 -1
  79. package/dist/es2019/view/common/ai-summary/index.js +1 -3
  80. package/dist/esm/__tests__/vr-tests/__snapshots__/hover-card/hover-card-unauthorised--default--platform-sl-3p-preauth-better-hovercard-false.png +2 -2
  81. package/dist/esm/__tests__/vr-tests/__snapshots__/hover-card/hover-card-unauthorised--default--platform-sl-3p-preauth-better-hovercard-true.png +2 -2
  82. package/dist/esm/__tests__/vr-tests/__snapshots__/hover-card/hover-card-with-google-rovo-chat-action--default.png +3 -0
  83. 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
  84. 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
  85. 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
  86. 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
  87. package/dist/esm/__tests__/vr-tests/__snapshots__/inline-card/inline-card-resolved-view-with-rovo-actions-cta-treatment---default.png +2 -2
  88. package/dist/esm/__tests__/vr-tests/__snapshots__/inline-card/inline-card-with-entity-support--default.png +2 -2
  89. package/dist/esm/extractors/common/icon/extractIconFromDocument.js +6 -14
  90. package/dist/esm/extractors/flexible/actions/extract-rovo-chat-action.js +2 -4
  91. package/dist/esm/extractors/flexible/actions/index.js +1 -1
  92. package/dist/esm/extractors/flexible/index.js +1 -1
  93. package/dist/esm/state/hooks/use-rovo-chat/index.js +1 -1
  94. package/dist/esm/utils/analytics/analytics.js +1 -1
  95. package/dist/esm/utils/index.js +23 -63
  96. package/dist/esm/view/CardWithUrl/component.js +3 -3
  97. package/dist/esm/view/FlexibleCard/components/actions/action/action-stack-item/action-button.compiled.css +0 -9
  98. package/dist/esm/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +7 -28
  99. package/dist/esm/view/FlexibleCard/components/actions/action/action-stack-item/index.js +1 -10
  100. package/dist/esm/view/FlexibleCard/components/actions/ai-summary-action/ai-summarise-action.js +1 -2
  101. package/dist/esm/view/FlexibleCard/components/actions/ai-summary-action/ai-summary-action-component.js +1 -2
  102. package/dist/esm/view/FlexibleCard/components/actions/automation-action/index.js +1 -2
  103. package/dist/esm/view/FlexibleCard/components/actions/copy-link-action/index.js +1 -2
  104. package/dist/esm/view/FlexibleCard/components/actions/follow-action/index.js +1 -2
  105. package/dist/esm/view/FlexibleCard/components/actions/preview-action/index.js +2 -3
  106. package/dist/esm/view/FlexibleCard/components/actions/rovo-chat-action/index.js +0 -7
  107. package/dist/esm/view/FlexibleCard/components/actions/view-related-links-action/index.js +2 -3
  108. package/dist/esm/view/FlexibleCard/components/blocks/action-block/index.compiled.css +2 -6
  109. package/dist/esm/view/FlexibleCard/components/blocks/action-block/index.js +4 -26
  110. package/dist/esm/view/FlexibleCard/components/blocks/hover-card-footer-block/index.compiled.css +0 -1
  111. package/dist/esm/view/FlexibleCard/components/blocks/hover-card-footer-block/index.js +1 -4
  112. package/dist/esm/view/FlexibleCard/components/common/atlaskit-icon/index.js +34 -36
  113. package/dist/esm/view/FlexibleCard/index.js +2 -2
  114. package/dist/esm/view/HoverCard/components/HoverCardContent.js +7 -15
  115. package/dist/esm/view/HoverCard/components/views/resolved/index.js +4 -11
  116. package/dist/esm/view/InlineCard/ResolvedView/InlineCardResolvedViewFunctional.js +3 -9
  117. package/dist/esm/view/LinkUrl/index.js +1 -1
  118. package/dist/esm/view/common/ai-summary/index.js +1 -3
  119. package/dist/types/view/FlexibleCard/components/blocks/action-block/types.d.ts +1 -1
  120. package/dist/types/view/FlexibleCard/components/blocks/ai-summary-block/types.d.ts +2 -2
  121. package/dist/types/view/HoverCard/components/views/resolved/index.d.ts +1 -1
  122. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-block/types.d.ts +1 -1
  123. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-summary-block/types.d.ts +2 -2
  124. package/dist/types-ts4.5/view/HoverCard/components/views/resolved/index.d.ts +1 -1
  125. package/package.json +5 -8
  126. package/dist/cjs/__tests__/vr-tests/__snapshots__/hover-card/hover-card-with-generic-3p-rovo-chat-action--default.png +0 -3
  127. package/dist/cjs/__tests__/vr-tests/__snapshots__/hover-card/hover-card-with-google-rovo-chat-action--default--rovogrowth-640-inline-action-nudge-exp-false.png +0 -3
  128. package/dist/cjs/__tests__/vr-tests/__snapshots__/hover-card/hover-card-with-google-rovo-chat-action--default--rovogrowth-640-inline-action-nudge-exp-true.png +0 -3
  129. package/dist/cjs/state/hooks/use-inline-action-nudge-experiment/index.js +0 -54
  130. package/dist/cjs/view/FlexibleCard/components/blocks/action-block/ask-rovo-section-header.compiled.css +0 -15
  131. package/dist/cjs/view/FlexibleCard/components/blocks/action-block/ask-rovo-section-header.js +0 -44
  132. package/dist/es2019/__tests__/vr-tests/__snapshots__/hover-card/hover-card-with-generic-3p-rovo-chat-action--default.png +0 -3
  133. package/dist/es2019/__tests__/vr-tests/__snapshots__/hover-card/hover-card-with-google-rovo-chat-action--default--rovogrowth-640-inline-action-nudge-exp-false.png +0 -3
  134. package/dist/es2019/__tests__/vr-tests/__snapshots__/hover-card/hover-card-with-google-rovo-chat-action--default--rovogrowth-640-inline-action-nudge-exp-true.png +0 -3
  135. package/dist/es2019/state/hooks/use-inline-action-nudge-experiment/index.js +0 -48
  136. package/dist/es2019/view/FlexibleCard/components/blocks/action-block/ask-rovo-section-header.compiled.css +0 -15
  137. package/dist/es2019/view/FlexibleCard/components/blocks/action-block/ask-rovo-section-header.js +0 -36
  138. package/dist/esm/__tests__/vr-tests/__snapshots__/hover-card/hover-card-with-generic-3p-rovo-chat-action--default.png +0 -3
  139. package/dist/esm/__tests__/vr-tests/__snapshots__/hover-card/hover-card-with-google-rovo-chat-action--default--rovogrowth-640-inline-action-nudge-exp-false.png +0 -3
  140. package/dist/esm/__tests__/vr-tests/__snapshots__/hover-card/hover-card-with-google-rovo-chat-action--default--rovogrowth-640-inline-action-nudge-exp-true.png +0 -3
  141. package/dist/esm/state/hooks/use-inline-action-nudge-experiment/index.js +0 -47
  142. package/dist/esm/view/FlexibleCard/components/blocks/action-block/ask-rovo-section-header.compiled.css +0 -15
  143. package/dist/esm/view/FlexibleCard/components/blocks/action-block/ask-rovo-section-header.js +0 -35
  144. package/dist/types/state/hooks/use-inline-action-nudge-experiment/index.d.ts +0 -24
  145. package/dist/types/view/FlexibleCard/components/blocks/action-block/ask-rovo-section-header.d.ts +0 -12
  146. package/dist/types-ts4.5/state/hooks/use-inline-action-nudge-experiment/index.d.ts +0 -24
  147. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-block/ask-rovo-section-header.d.ts +0 -12
@@ -1,10 +1,8 @@
1
1
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
2
- import _extends from "@babel/runtime/helpers/extends";
3
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
+ import _extends from "@babel/runtime/helpers/extends";
4
4
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
5
5
  import _regeneratorRuntime from "@babel/runtime/regenerator";
6
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
7
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
8
6
  import React from 'react';
9
7
  import Loadable from 'react-loadable';
10
8
  import { fg } from '@atlaskit/platform-feature-flags';
@@ -74,8 +72,8 @@ export var getIconForFileType = function getIconForFileType(fileMimeType, showIc
74
72
  };
75
73
  // prettier-ignore
76
74
  export var getLazyIcons = function getLazyIcons() {
77
- var _objectSpread2, _objectSpread3;
78
- return _objectSpread(_objectSpread((_objectSpread2 = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_objectSpread2, IconType.Document, {
75
+ var _ref3;
76
+ return _ref3 = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref3, IconType.Document, {
79
77
  default: function _default() {
80
78
  return import( /* webpackChunkName: "@atlaskit-internal_page-icon" */'../common/ui/icons/page-icon');
81
79
  }
@@ -115,7 +113,7 @@ export var getLazyIcons = function getLazyIcons() {
115
113
  default: function _default() {
116
114
  return import( /* webpackChunkName: "@atlaskit-internal_video-icon" */'../common/ui/icons/video-icon');
117
115
  }
118
- }), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_objectSpread2, IconType.Project, {
116
+ }), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref3, IconType.Project, {
119
117
  default: function _default() {
120
118
  return import( /* webpackChunkName: "@atlaskit-internal_glyphProject" */'@atlaskit/icon/core/people-group');
121
119
  }
@@ -155,7 +153,7 @@ export var getLazyIcons = function getLazyIcons() {
155
153
  default: function _default() {
156
154
  return import( /* webpackChunkName: "@atlaskit-internal_glyphComment" */'@atlaskit/icon/core/eye-open');
157
155
  }
158
- }), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_objectSpread2, IconType.React, {
156
+ }), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref3, IconType.React, {
159
157
  default: function _default() {
160
158
  return import( /* webpackChunkName: "@atlaskit-internal_glyphComment" */'@atlaskit/icon/core/thumbs-up');
161
159
  }
@@ -207,7 +205,7 @@ export var getLazyIcons = function getLazyIcons() {
207
205
  large: function large() {
208
206
  return import( /* webpackChunkName: "@atlaskit-internal_glyphGoogleDocs" */'@atlaskit/icon-file-type/glyph/google-doc/24');
209
207
  }
210
- }), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_objectSpread2, IconType.GoogleForms, {
208
+ }), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref3, IconType.GoogleForms, {
211
209
  default: function _default() {
212
210
  return import( /* webpackChunkName: "@atlaskit-internal_glyphGoogleForms" */'@atlaskit/icon-file-type/glyph/google-form/16');
213
211
  },
@@ -263,45 +261,7 @@ export var getLazyIcons = function getLazyIcons() {
263
261
  large: function large() {
264
262
  return import( /* webpackChunkName: "@atlaskit-internal_glyphSketch" */'@atlaskit/icon-file-type/glyph/sketch/24');
265
263
  }
266
- })), fg('platform_sl_icons_refactor') ? _defineProperty(_defineProperty({}, IconType.Blog, {
267
- default: function _default() {
268
- return import( /* webpackChunkName: "@atlaskit-internal_glyphBlog" */'@atlaskit/object/blog');
269
- },
270
- large: function large() {
271
- return import( /* webpackChunkName: "@atlaskit-internal_glyphBlog" */'@atlaskit/object/tile/blog').then(function (module) {
272
- return {
273
- default: function _default(props) {
274
- return /*#__PURE__*/React.createElement(module.default, _extends({}, props, {
275
- size: "small"
276
- }));
277
- }
278
- };
279
- });
280
- }
281
- }), IconType.LiveDocument, {
282
- default: function _default() {
283
- return import( /* webpackChunkName: "@atlaskit-internal_glyphPageLiveDoc" */'@atlaskit/object/page-live-doc');
284
- },
285
- large: function large() {
286
- return import( /* webpackChunkName: "@atlaskit-internal_glyphPageLiveDoc" */'@atlaskit/object/tile/page-live-doc').then(function (module) {
287
- return {
288
- default: function _default(props) {
289
- return /*#__PURE__*/React.createElement(module.default, _extends({}, props, {
290
- size: "small"
291
- }));
292
- }
293
- };
294
- });
295
- }
296
- }) : _defineProperty(_defineProperty({}, IconType.Blog, {
297
- default: function _default() {
298
- return import( /* webpackChunkName: "@atlaskit-internal_glyphBlock" */'../common/ui/icons/blog-icon');
299
- }
300
- }), IconType.LiveDocument, {
301
- default: function _default() {
302
- return import( /* webpackChunkName: "@atlaskit-internal_glyphPageLiveDoc" */'../common/ui/icons/live-document-icon');
303
- }
304
- })), {}, (_objectSpread3 = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_objectSpread3, IconType.Branch, {
264
+ }), IconType.Branch, {
305
265
  default: function _default() {
306
266
  return import( /* webpackChunkName: "@atlaskit-internal_glyphBranch" */'@atlaskit/object/branch');
307
267
  },
@@ -331,7 +291,7 @@ export var getLazyIcons = function getLazyIcons() {
331
291
  };
332
292
  });
333
293
  }
334
- }), IconType.PullRequest, {
294
+ }), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref3, IconType.PullRequest, {
335
295
  default: function _default() {
336
296
  return import( /* webpackChunkName: "@atlaskit-internal_glyphPullRequest" */'@atlaskit/object/pull-request');
337
297
  },
@@ -451,7 +411,7 @@ export var getLazyIcons = function getLazyIcons() {
451
411
  };
452
412
  });
453
413
  }
454
- }), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_objectSpread3, IconType.Story, {
414
+ }), IconType.Story, {
455
415
  default: function _default() {
456
416
  return import( /* webpackChunkName: "@atlaskit-internal_glyphStory" */'@atlaskit/object/story');
457
417
  },
@@ -481,7 +441,7 @@ export var getLazyIcons = function getLazyIcons() {
481
441
  };
482
442
  });
483
443
  }
484
- }), IconType.Task, {
444
+ }), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref3, IconType.Task, {
485
445
  default: function _default() {
486
446
  return import( /* webpackChunkName: "@atlaskit-internal_glyphTask" */'@atlaskit/object/task');
487
447
  },
@@ -498,8 +458,8 @@ export var getLazyIcons = function getLazyIcons() {
498
458
  }
499
459
  }), IconType.Confluence, {
500
460
  default: function _default() {
501
- return import( /* webpackChunkName: "@atlaskit-internal_glyphConfluence" */'@atlaskit/logo/confluence-icon').then(function (_ref3) {
502
- var ConfluenceIcon = _ref3.ConfluenceIcon;
461
+ return import( /* webpackChunkName: "@atlaskit-internal_glyphConfluence" */'@atlaskit/logo/confluence-icon').then(function (_ref) {
462
+ var ConfluenceIcon = _ref.ConfluenceIcon;
503
463
  return {
504
464
  default: ConfluenceIcon
505
465
  };
@@ -507,8 +467,8 @@ export var getLazyIcons = function getLazyIcons() {
507
467
  }
508
468
  }), IconType.Jira, {
509
469
  default: function _default() {
510
- return import( /* webpackChunkName: "@atlaskit-internal_glyphJira" */'@atlaskit/logo/jira-icon').then(function (_ref4) {
511
- var JiraIcon = _ref4.JiraIcon;
470
+ return import( /* webpackChunkName: "@atlaskit-internal_glyphJira" */'@atlaskit/logo/jira-icon').then(function (_ref2) {
471
+ var JiraIcon = _ref2.JiraIcon;
512
472
  return {
513
473
  default: JiraIcon
514
474
  };
@@ -534,7 +494,7 @@ export var getLazyIcons = function getLazyIcons() {
534
494
  default: function _default() {
535
495
  return import( /* webpackChunkName: "@atlaskit-internal_glyphLow" */'../common/ui/icons/priority-low-icon');
536
496
  }
537
- }), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_objectSpread3, IconType.PriorityLowest, {
497
+ }), IconType.PriorityLowest, {
538
498
  default: function _default() {
539
499
  return import( /* webpackChunkName: "@atlaskit-internal_glyphLowest" */'../common/ui/icons/priority-lowest-icon');
540
500
  }
@@ -542,7 +502,7 @@ export var getLazyIcons = function getLazyIcons() {
542
502
  default: function _default() {
543
503
  return import( /* webpackChunkName: "@atlaskit-internal_glyphMajor" */'../common/ui/icons/priority-major-icon');
544
504
  }
545
- }), IconType.PriorityMedium, {
505
+ }), _defineProperty(_defineProperty(_defineProperty(_ref3, IconType.PriorityMedium, {
546
506
  default: function _default() {
547
507
  return import( /* webpackChunkName: "@atlaskit-internal_glyphMedium" */'../common/ui/icons/priority-medium-icon');
548
508
  }
@@ -554,7 +514,7 @@ export var getLazyIcons = function getLazyIcons() {
554
514
  default: function _default() {
555
515
  return import( /* webpackChunkName: "@atlaskit-internal_glyphTrivial" */'../common/ui/icons/priority-trivial-icon');
556
516
  }
557
- })));
517
+ });
558
518
  };
559
519
  var getTypeToIconMap = function getTypeToIconMap(fileFormat) {
560
520
  var iconDescriptor = extractFileFormatIcon(fileFormat);
@@ -593,7 +553,7 @@ export var sleep = function sleep(ms) {
593
553
  });
594
554
  };
595
555
  var _importWithRetry = /*#__PURE__*/function () {
596
- var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(importFn) {
556
+ var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(importFn) {
597
557
  var retries,
598
558
  interval,
599
559
  _args = arguments,
@@ -628,12 +588,12 @@ var _importWithRetry = /*#__PURE__*/function () {
628
588
  }, _callee, null, [[1, 3]]);
629
589
  }));
630
590
  return function importWithRetry(_x) {
631
- return _ref5.apply(this, arguments);
591
+ return _ref4.apply(this, arguments);
632
592
  };
633
593
  }();
634
594
  export { _importWithRetry as importWithRetry };
635
595
  export var downloadUrl = /*#__PURE__*/function () {
636
- var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(url) {
596
+ var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(url) {
637
597
  var isIE11, isSafari, iframeName, link, iframe;
638
598
  return _regeneratorRuntime.wrap(function (_context2) {
639
599
  while (1) switch (_context2.prev = _context2.next) {
@@ -669,11 +629,11 @@ export var downloadUrl = /*#__PURE__*/function () {
669
629
  }, _callee2);
670
630
  }));
671
631
  return function downloadUrl(_x2) {
672
- return _ref6.apply(this, arguments);
632
+ return _ref5.apply(this, arguments);
673
633
  };
674
634
  }();
675
635
  export var openUrl = /*#__PURE__*/function () {
676
- var _ref7 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(url) {
636
+ var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(url) {
677
637
  return _regeneratorRuntime.wrap(function (_context3) {
678
638
  while (1) switch (_context3.prev = _context3.next) {
679
639
  case 0:
@@ -691,7 +651,7 @@ export var openUrl = /*#__PURE__*/function () {
691
651
  }, _callee3);
692
652
  }));
693
653
  return function openUrl(_x3) {
694
- return _ref7.apply(this, arguments);
654
+ return _ref6.apply(this, arguments);
695
655
  };
696
656
  }();
697
657
 
@@ -13,7 +13,6 @@ import { CardDisplay } from '../../constants';
13
13
  import { useSmartLink } from '../../state';
14
14
  import { succeedUfoExperience } from '../../state/analytics';
15
15
  import { getClickUrl, getDefinitionId, getExtensionKey, getFirstPartyIdentifier, getObjectAri, getObjectIconUrl, getObjectName, getResourceType, getServices, getThirdPartyARI, isFinalState } from '../../state/helpers';
16
- import useInlineActionNudgeExperiment from '../../state/hooks/use-inline-action-nudge-experiment';
17
16
  import { useSmartLinkCrossProductUrlWrapperGated } from '../../state/hooks/use-smart-link-cross-product-url-wrapper';
18
17
  import { SmartLinkModalProvider } from '../../state/modal';
19
18
  import { isSpecialClick, isSpecialEvent, isSpecialKey } from '../../utils';
@@ -92,8 +91,9 @@ function Component(_ref) {
92
91
  actionOptions: actionOptionsProp,
93
92
  platform: platform
94
93
  });
95
- var _useInlineActionNudge = useInlineActionNudgeExperiment(url, showHoverPreview, actionOptions),
96
- rovoActionsCtaShown = _useInlineActionNudge.isEnabled;
94
+
95
+ // TODO: [ZS] Add new experiment flag to determine if the Rovo Actions CTA should be shown
96
+ var rovoActionsCtaShown = false;
97
97
  var fire3PClickEvent = fg('platform_smartlink_3pclick_analytics') ?
98
98
  // eslint-disable-next-line react-hooks/rules-of-hooks
99
99
  useFire3PWorkflowsClickEvent(firstPartyIdentifier, thirdPartyARI) : undefined;
@@ -1,25 +1,16 @@
1
1
  ._11c8wadc{font:var(--ds-font-body-small,normal 400 9pt/1pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
2
- ._2rko1qi0{border-radius:var(--ds-radius-medium,6px)}
3
- ._189ee4h9{border-width:var(--ds-border-width,1px)}
4
- ._1dqonqa1{border-style:solid}
5
- ._1h6d1l7x{border-color:var(--ds-border,#0b120e24)}
6
2
  ._19bv1b66{padding-left:var(--ds-space-050,4px)}
7
- ._19bvv77o{padding-left:var(--ds-space-025,2px)}
8
3
  ._1bah1h6o{justify-content:center}
9
4
  ._1bsb1osq{width:100%}
10
5
  ._1bsb1tcg{width:24px}
11
6
  ._1e0c116y{display:inline-flex}
12
- ._1o9zidpf{flex-shrink:0}
13
7
  ._4cvr1h6o{align-items:center}
14
8
  ._4t3i1tcg{height:24px}
15
9
  ._bfhksm61{background-color:var(--ds-background-neutral-subtle,#00000000)}
16
10
  ._ca0q1b66{padding-top:var(--ds-space-050,4px)}
17
- ._kqswh2mm{position:relative}
18
11
  ._n3td1b66{padding-bottom:var(--ds-space-050,4px)}
19
- ._o5721q9c{white-space:nowrap}
20
12
  ._syazi7uo{color:var(--ds-text,#292a2e)}
21
13
  ._u5f31b66{padding-right:var(--ds-space-050,4px)}
22
- ._u5f3u2gc{padding-right:var(--ds-space-100,8px)}
23
14
  ._1ah31i6y:focus-visible{outline-offset:var(--ds-space-negative-025,-2px)}
24
15
  ._irr31dpa:hover{background-color:var(--ds-background-neutral-subtle-hovered,#0515240f)}
25
16
  ._1di6fcek:active{background-color:var(--ds-background-neutral-subtle-pressed,#0b120e24)}
@@ -9,20 +9,14 @@ import { fg } from '@atlaskit/platform-feature-flags';
9
9
  import { Box, Inline, Pressable } from '@atlaskit/primitives/compiled';
10
10
  import Spinner from '@atlaskit/spinner';
11
11
  import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
12
- import { ActionName } from '../../../../../../constants';
13
- import { useFlexibleUiContext } from '../../../../../../state/flexible-ui-context';
14
12
  import { getPrimitivesInlineSpaceBySize } from '../../../utils';
15
13
  import ActionIcon from '../action-icon';
16
14
  var styles = {
17
15
  button: "_bfhksm61 _ca0q1b66 _u5f31b66 _n3td1b66 _19bv1b66 _1bsb1osq _1ah31i6y _irr31dpa _1di6fcek",
18
- pillButton: "_2rko1qi0 _189ee4h9 _1dqonqa1 _1h6d1l7x _kqswh2mm _bfhksm61 _u5f3u2gc _19bvv77o _1bsb1osq _1ah31i6y _irr31dpa _1di6fcek",
19
16
  content: "_11c8wadc _syazi7uo",
20
- pillContent: "_11c8wadc _syazi7uo _o5721q9c",
21
17
  spinner: "_1bsb1tcg _4t3i1tcg _1e0c116y _4cvr1h6o _1bah1h6o"
22
18
  };
23
- var pillIconWrapperStyles = null;
24
19
  var ActionButton = function ActionButton(_ref) {
25
- var _flexibleUiContext$ac;
26
20
  var content = _ref.content,
27
21
  iconOption = _ref.icon,
28
22
  isDisabled = _ref.isDisabled,
@@ -42,20 +36,7 @@ var ActionButton = function ActionButton(_ref) {
42
36
  }, [isDisabled, isLoading, onClickCallback]);
43
37
  var is3pExperimentEnabled =
44
38
  // eslint-disable-next-line @atlaskit/platform/no-preconditioning
45
- fg('platform_sl_3p_auth_rovo_action_kill_switch') && expValEqualsNoExposure('platform_sl_3p_auth_rovo_action', 'isEnabled', true) ||
46
- // eslint-disable-next-line @atlaskit/platform/no-preconditioning
47
- fg('rovogrowth-640-inline-action-nudge-fg') && expValEqualsNoExposure('rovogrowth-640-inline-action-nudge-exp', 'isEnabled', true);
48
-
49
- /**
50
- * NOTE: We only apply the pill variant when there's text label
51
- * (textual `content`). Icon-only stack-item buttons (e.g. the link/expand
52
- * icons in the hover card footer) are also rendered with `as="stack-item"`
53
- * but pass `content=""` and should keep their original borderless styling.
54
- */
55
- var hasTextualContent = typeof content === 'string' ? content.trim().length > 0 : Boolean(content);
56
- var flexibleUiContext = useFlexibleUiContext();
57
- var isInRovoActionStack = !!(flexibleUiContext !== null && flexibleUiContext !== void 0 && (_flexibleUiContext$ac = flexibleUiContext.actions) !== null && _flexibleUiContext$ac !== void 0 && _flexibleUiContext$ac[ActionName.RovoChatAction]);
58
- var isInlineActionNudgeExperiment = hasTextualContent && isInRovoActionStack && fg('rovogrowth-640-inline-action-nudge-fg') && expValEqualsNoExposure('rovogrowth-640-inline-action-nudge-exp', 'isEnabled', true);
39
+ fg('platform_sl_3p_auth_rovo_action_kill_switch') && expValEqualsNoExposure('platform_sl_3p_auth_rovo_action', 'isEnabled', true);
59
40
  var icon = iconOption && isLoading ? /*#__PURE__*/React.createElement(ActionIcon, {
60
41
  icon: is3pExperimentEnabled ? /*#__PURE__*/React.createElement(Box, {
61
42
  xcss: styles.spinner
@@ -67,23 +48,21 @@ var ActionButton = function ActionButton(_ref) {
67
48
  })
68
49
  }) : iconOption;
69
50
  return /*#__PURE__*/React.createElement(Pressable, _extends({
70
- xcss: cx(isInlineActionNudgeExperiment ? styles.pillButton : styles.button)
51
+ xcss: cx(styles.button)
71
52
  }, tooltipProps, {
72
53
  onClick: onClick,
73
54
  testId: testId
74
55
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
75
56
  ,
76
57
  style: style
77
- }, fg('platform_sl_3p_auth_rovo_action_kill_switch') || expValEqualsNoExposure('rovogrowth-640-inline-action-nudge-exp', 'isEnabled', true) ? {
58
+ }, fg('platform_sl_3p_auth_rovo_action_kill_switch') ? {
78
59
  'aria-label': ariaLabel
79
60
  } : {}), /*#__PURE__*/React.createElement(Inline, {
80
61
  alignBlock: "center",
81
- grow: isInlineActionNudgeExperiment ? 'hug' : 'fill',
82
- space: isInlineActionNudgeExperiment ? 'space.050' : space
83
- }, isInlineActionNudgeExperiment ? /*#__PURE__*/React.createElement("span", {
84
- className: ax(["_1e0c116y _4cvr1h6o _1bah1h6o _1bsb1tcg _4t3i1tcg _1o9zidpf"])
85
- }, icon) : icon, /*#__PURE__*/React.createElement(Box, {
86
- xcss: cx(isInlineActionNudgeExperiment ? styles.pillContent : styles.content)
62
+ grow: "fill",
63
+ space: space
64
+ }, icon, /*#__PURE__*/React.createElement(Box, {
65
+ xcss: cx(styles.content)
87
66
  }, content)));
88
67
  };
89
68
  export default ActionButton;
@@ -2,30 +2,21 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
3
  var _excluded = ["content", "tooltipMessage", "tooltipOnHide", "hideTooltipOnMouseDown", "hideTooltip"];
4
4
  import React from 'react';
5
- import { fg } from '@atlaskit/platform-feature-flags';
6
- import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
7
5
  import Tooltip from '@atlaskit/tooltip';
8
- import { ActionName } from '../../../../../../constants';
9
- import { useFlexibleUiContext } from '../../../../../../state/flexible-ui-context';
10
6
  import ActionButton from './action-button';
11
7
  var ActionStackItem = function ActionStackItem(_ref) {
12
- var _flexibleUiContext$ac;
13
8
  var content = _ref.content,
14
9
  tooltipMessage = _ref.tooltipMessage,
15
10
  tooltipOnHide = _ref.tooltipOnHide,
16
11
  hideTooltipOnMouseDown = _ref.hideTooltipOnMouseDown,
17
12
  hideTooltip = _ref.hideTooltip,
18
13
  props = _objectWithoutProperties(_ref, _excluded);
19
- var flexibleUiContext = useFlexibleUiContext();
20
- var isRovoAction = !!(flexibleUiContext !== null && flexibleUiContext !== void 0 && (_flexibleUiContext$ac = flexibleUiContext.actions) !== null && _flexibleUiContext$ac !== void 0 && _flexibleUiContext$ac[ActionName.RovoChatAction]);
21
- var isRovoPillVariant = isRovoAction && fg('rovogrowth-640-inline-action-nudge-fg') && expValEqualsNoExposure('rovogrowth-640-inline-action-nudge-exp', 'isEnabled', true);
22
14
  return hideTooltip ? /*#__PURE__*/React.createElement(ActionButton, _extends({}, props, {
23
15
  content: content
24
16
  })) : /*#__PURE__*/React.createElement(Tooltip, {
25
17
  content: tooltipMessage || content,
26
18
  onHide: tooltipOnHide,
27
- hideTooltipOnMouseDown: hideTooltipOnMouseDown,
28
- position: isRovoPillVariant ? 'right' : undefined
19
+ hideTooltipOnMouseDown: hideTooltipOnMouseDown
29
20
  }, function (tooltipProps) {
30
21
  return /*#__PURE__*/React.createElement(ActionButton, _extends({}, props, {
31
22
  content: content,
@@ -6,7 +6,6 @@ import { FormattedMessage } from 'react-intl';
6
6
  import RovoIcon from '@atlaskit/icon-lab/core/rovo';
7
7
  import AiIcon from '@atlaskit/icon/core/atlassian-intelligence';
8
8
  import { fg } from '@atlaskit/platform-feature-flags';
9
- import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
10
9
  import { useAnalyticsEvents } from '../../../../../common/analytics/generated/use-analytics-events';
11
10
  import { messages } from '../../../../../messages';
12
11
  import { useBlockCardRovoActionExperimentNoExposure } from '../../../../../state/hooks/use-block-card-rovo-action-experiment';
@@ -45,7 +44,7 @@ export function AISummariseAction(_ref) {
45
44
  spacing: "spacious",
46
45
  color: "currentColor",
47
46
  label: "Summarise with AI"
48
- }, fg('platform_sl_3p_auth_rovo_action_kill_switch') || isRovoBlockCardExperimentEnabled || expValEqualsNoExposure('rovogrowth-640-inline-action-nudge-exp', 'isEnabled', true) ? {
47
+ }, fg('platform_sl_3p_auth_rovo_action_kill_switch') || isRovoBlockCardExperimentEnabled ? {
49
48
  size: props.iconSize
50
49
  } : {})),
51
50
  onClick: handleActionClick,
@@ -2,7 +2,6 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  import React, { useEffect } from 'react';
3
3
  import { di } from 'react-magnetic-di';
4
4
  import { fg } from '@atlaskit/platform-feature-flags';
5
- import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
6
5
  import useAISummaryAction from '../../../../../state/hooks/use-ai-summary-action';
7
6
  import { AISummariseAction } from './ai-summarise-action';
8
7
  import { CopySummaryAction, CopySummaryActionNew } from './copy-summary-action';
@@ -19,7 +18,7 @@ export var AISummaryActionComponent = function AISummaryActionComponent(props) {
19
18
  useEffect(function () {
20
19
  onLoadingChange === null || onLoadingChange === void 0 || onLoadingChange(status === 'loading');
21
20
  }, [onLoadingChange, status]);
22
- return status === 'done' ? fg('platform_sl_3p_auth_rovo_action_kill_switch') || expValEqualsNoExposure('rovogrowth-640-inline-action-nudge-exp', 'isEnabled', true) ? /*#__PURE__*/React.createElement(CopySummaryActionNew, _extends({}, props, {
21
+ return status === 'done' ? fg('platform_sl_3p_auth_rovo_action_kill_switch') ? /*#__PURE__*/React.createElement(CopySummaryActionNew, _extends({}, props, {
23
22
  summary: content,
24
23
  testId: testId
25
24
  })) : /*#__PURE__*/React.createElement(CopySummaryAction, _extends({}, props, {
@@ -4,7 +4,6 @@ import { FormattedMessage, useIntl } from 'react-intl';
4
4
  import AutomationIcon from '@atlaskit/icon/core/automation';
5
5
  import { fg } from '@atlaskit/platform-feature-flags';
6
6
  import { Text } from '@atlaskit/primitives/compiled';
7
- import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
8
7
  import { useAnalyticsEvents } from '../../../../../common/analytics/generated/use-analytics-events';
9
8
  import { ActionName } from '../../../../../constants';
10
9
  import { messages } from '../../../../../messages';
@@ -78,7 +77,7 @@ var AutomationAction = function AutomationAction(props) {
78
77
  spacing: "spacious",
79
78
  color: "currentColor",
80
79
  label: automationActionIconLabel
81
- }, fg('platform_sl_3p_auth_rovo_action_kill_switch') || isRovoBlockCardExperimentEnabled || expValEqualsNoExposure('rovogrowth-640-inline-action-nudge-exp', 'isEnabled', true) ? {
80
+ }, fg('platform_sl_3p_auth_rovo_action_kill_switch') || isRovoBlockCardExperimentEnabled ? {
82
81
  size: props.iconSize
83
82
  } : {})),
84
83
  testId: "smart-action-automation-action",
@@ -11,7 +11,6 @@ import React, { useCallback, useState } from 'react';
11
11
  import { FormattedMessage } from 'react-intl';
12
12
  import LinkIcon from '@atlaskit/icon/core/link';
13
13
  import { fg } from '@atlaskit/platform-feature-flags';
14
- import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
15
14
  import { ActionName } from '../../../../../constants';
16
15
  import { messages } from '../../../../../messages';
17
16
  import { useFlexibleUiContext } from '../../../../../state/flexible-ui-context';
@@ -64,7 +63,7 @@ var CopyLinkAction = function CopyLinkAction(_ref) {
64
63
  color: "currentColor",
65
64
  label: fg('navx-3698-flexible-card-a11y-fix') ? '' : 'copy url',
66
65
  spacing: "spacious"
67
- }, fg('platform_sl_3p_auth_rovo_action_kill_switch') || isRovoBlockCardExperimentEnabled || expValEqualsNoExposure('rovogrowth-640-inline-action-nudge-exp', 'isEnabled', true) ? {
66
+ }, fg('platform_sl_3p_auth_rovo_action_kill_switch') || isRovoBlockCardExperimentEnabled ? {
68
67
  size: props.iconSize
69
68
  } : {})),
70
69
  onClick: onClick,
@@ -5,7 +5,6 @@ import React from 'react';
5
5
  import { FormattedMessage, useIntl } from 'react-intl';
6
6
  import FeatureGates from '@atlaskit/feature-gate-js-client';
7
7
  import { fg } from '@atlaskit/platform-feature-flags';
8
- import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
9
8
  import { ActionName } from '../../../../../constants';
10
9
  import { messages } from '../../../../../messages';
11
10
  import { useFlexibleUiContext } from '../../../../../state/flexible-ui-context';
@@ -74,7 +73,7 @@ var FollowAction = function FollowAction(props) {
74
73
  };
75
74
  return /*#__PURE__*/React.createElement(ServerAction, _extends({
76
75
  content: /*#__PURE__*/React.createElement(FormattedMessage, label)
77
- }, fg('platform_sl_3p_auth_rovo_action_kill_switch') || expValEqualsNoExposure('rovogrowth-640-inline-action-nudge-exp', 'isEnabled', true) ? {
76
+ }, fg('platform_sl_3p_auth_rovo_action_kill_switch') ? {
78
77
  ariaLabel: intl.formatMessage(label)
79
78
  } : {}, {
80
79
  icon: followIcon,
@@ -7,7 +7,6 @@ import MediaServicesActualSizeIcon from '@atlaskit/icon/core/grow-diagonal';
7
7
  import PanelRightIcon from '@atlaskit/icon/core/panel-right';
8
8
  import { fg } from '@atlaskit/platform-feature-flags';
9
9
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
10
- import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
11
10
  import { ActionName } from '../../../../../constants';
12
11
  import { messages } from '../../../../../messages';
13
12
  import { useFlexibleUiContext } from '../../../../../state/flexible-ui-context';
@@ -38,7 +37,7 @@ var PreviewAction = function PreviewAction(_ref) {
38
37
  color: "currentColor",
39
38
  spacing: "spacious",
40
39
  label: fg('navx-3698-flexible-card-a11y-fix') ? '' : 'Open preview panel'
41
- }, fg('platform_sl_3p_auth_rovo_action_kill_switch') || isRovoBlockCardExperimentEnabled || expValEqualsNoExposure('rovogrowth-640-inline-action-nudge-exp', 'isEnabled', true) ? {
40
+ }, fg('platform_sl_3p_auth_rovo_action_kill_switch') || isRovoBlockCardExperimentEnabled ? {
42
41
  size: props.iconSize
43
42
  } : {}));
44
43
  }
@@ -46,7 +45,7 @@ var PreviewAction = function PreviewAction(_ref) {
46
45
  color: "currentColor",
47
46
  spacing: "spacious",
48
47
  label: fg('navx-3698-flexible-card-a11y-fix') ? '' : 'Open preview'
49
- }, fg('platform_sl_3p_auth_rovo_action_kill_switch') || isRovoBlockCardExperimentEnabled || expValEqualsNoExposure('rovogrowth-640-inline-action-nudge-exp', 'isEnabled', true) ? {
48
+ }, fg('platform_sl_3p_auth_rovo_action_kill_switch') || isRovoBlockCardExperimentEnabled ? {
50
49
  size: props.iconSize
51
50
  } : {}));
52
51
  }, [hasPreviewPanel, props.iconSize, isRovoBlockCardExperimentEnabled]);
@@ -8,7 +8,6 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
8
8
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
9
9
  import React, { useCallback, useMemo } from 'react';
10
10
  import { useIntl } from 'react-intl';
11
- import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
12
11
  import { ActionName } from '../../../../../constants';
13
12
  import { useFlexibleUiContext } from '../../../../../state/flexible-ui-context';
14
13
  import useInvokeClientAction from '../../../../../state/hooks/use-invoke-client-action';
@@ -16,9 +15,6 @@ import useRovoChat from '../../../../../state/hooks/use-rovo-chat';
16
15
  import { getPromptAction, RovoChatPromptKey } from "../../../../common/rovo-chat-utils";
17
16
  import Action from '../action';
18
17
  var GOOGLE_PROMPTS = [RovoChatPromptKey.RECOMMEND_OTHER_SOURCES, RovoChatPromptKey.SHOW_OTHER_MENTIONS, RovoChatPromptKey.SUGGEST_IMPROVEMENT];
19
- var GENERIC_3P_PROMPTS = [
20
- // For rovogrowth-640-inline-action-nudge-exp only
21
- RovoChatPromptKey.SHOW_ME_WHATS_RELEVANT, RovoChatPromptKey.SUMMARIZE_THIS_FOR_ME, RovoChatPromptKey.ASK_A_SPECIFIC_QUESTION];
22
18
  var DEFAULT_PROMPTS = GOOGLE_PROMPTS;
23
19
  var RovoChatAction = function RovoChatAction(_ref) {
24
20
  var _context$actions;
@@ -37,9 +33,6 @@ var RovoChatAction = function RovoChatAction(_ref) {
37
33
  if (prompts) {
38
34
  return prompts;
39
35
  }
40
- if (expValEqualsNoExposure('rovogrowth-640-inline-action-nudge-exp', 'isEnabled', true)) {
41
- return GENERIC_3P_PROMPTS;
42
- }
43
36
  return DEFAULT_PROMPTS;
44
37
  }, [prompts]);
45
38
  var invoke = useInvokeClientAction({});
@@ -4,7 +4,6 @@ var _excluded = ["onClick"];
4
4
  import React, { lazy, useCallback } from 'react';
5
5
  import { FormattedMessage } from 'react-intl';
6
6
  import { fg } from '@atlaskit/platform-feature-flags';
7
- import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
8
7
  import { useAnalyticsEvents } from '../../../../../common/analytics/generated/use-analytics-events';
9
8
  import { messages } from '../../../../../messages';
10
9
  import { useFlexibleUiContext } from '../../../../../state/flexible-ui-context';
@@ -39,10 +38,10 @@ var ViewRelatedLinksAction = function ViewRelatedLinksAction(_ref) {
39
38
  }, [actionData === null || actionData === void 0 ? void 0 : actionData.ari, fireEvent, modal, onClickCallback]);
40
39
  return actionData ? /*#__PURE__*/React.createElement(Action, _extends({
41
40
  content: /*#__PURE__*/React.createElement(FormattedMessage, messages.related_links_view_related_links)
42
- }, fg('platform_sl_3p_auth_rovo_action_kill_switch') || expValEqualsNoExposure('rovogrowth-640-inline-action-nudge-exp', 'isEnabled', true) ? {
41
+ }, fg('platform_sl_3p_auth_rovo_action_kill_switch') ? {
43
42
  tooltipMessage: /*#__PURE__*/React.createElement(FormattedMessage, messages.related_links_view_related_links)
44
43
  } : {}, {
45
- icon: /*#__PURE__*/React.createElement(RelatedLinksActionIcon, fg('platform_sl_3p_auth_rovo_action_kill_switch') || expValEqualsNoExposure('rovogrowth-640-inline-action-nudge-exp', 'isEnabled', true) ? {
44
+ icon: /*#__PURE__*/React.createElement(RelatedLinksActionIcon, fg('platform_sl_3p_auth_rovo_action_kill_switch') ? {
46
45
  iconSize: props.iconSize
47
46
  } : {}),
48
47
  onClick: onClick,
@@ -1,11 +1,7 @@
1
-
2
- ._zulpu2gc{gap:var(--ds-space-100,8px)}._16jlkb7n{flex-grow:1}
1
+ ._16jlkb7n{flex-grow:1}
3
2
  ._18u01ivi{margin-left:calc(var(--container-gap-left)*-1)}
4
3
  ._1bsb129b{width:calc(100% + var(--container-gap-left) + var(--container-gap-right))}
5
- ._1bsb1osq{width:100%}
6
- ._1e0c11p5{display:grid}
7
4
  ._1e0c1txw{display:flex}
8
5
  ._2hwxc10g{margin-right:calc(var(--container-gap-right)*-1)}
9
6
  ._2lx21bp4{flex-direction:column}
10
- ._vchhusvi{box-sizing:border-box}
11
- ._yv0e1ris{grid-template-columns:max-content}
7
+ ._vchhusvi{box-sizing:border-box}
@@ -6,15 +6,11 @@ import { ax, ix } from "@compiled/react/runtime";
6
6
  import { useCallback, useMemo, useState } from 'react';
7
7
  import { di } from 'react-magnetic-di';
8
8
  import { fg } from '@atlaskit/platform-feature-flags';
9
- import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
10
9
  import { ActionName, SmartLinkSize } from '../../../../../constants';
11
10
  import { useFlexibleUiContext, useFlexibleUiOptionContext } from '../../../../../state/flexible-ui-context';
12
11
  import * as Actions from '../../actions';
13
12
  import { ActionFooter } from './action-footer';
14
- import AskRovoSectionHeader from './ask-rovo-section-header';
15
13
  var ignoreContainerPaddingStyles = null;
16
- var inlineActionNudgePillWrapperStyles = null;
17
- var inlineActionNudgeColumnStyles = null;
18
14
  var DEFAULT_SORT_ORDER = ['PreviewAction', 'CopyLinkAction', 'AISummaryAction'];
19
15
  var sort = function sort(a, b) {
20
16
  var idxA = DEFAULT_SORT_ORDER.indexOf(a);
@@ -57,10 +53,7 @@ var ActionBlock = function ActionBlock(_ref) {
57
53
  isAny3pRovoActionsExperimentOn = _ref.isAny3pRovoActionsExperimentOn;
58
54
  var context = useFlexibleUiContext();
59
55
  var ui = useFlexibleUiOptionContext();
60
- var isRovoChatActionAvailable = (fg('platform_sl_3p_auth_rovo_action_kill_switch') || fg('rovogrowth-640-inline-action-nudge-fg')) && isAny3pRovoActionsExperimentOn ? (context === null || context === void 0 || (_context$actions = context.actions) === null || _context$actions === void 0 ? void 0 : _context$actions[ActionName.RovoChatAction]) !== undefined : undefined;
61
-
62
- // eslint-disable-next-line @atlaskit/platform/no-preconditioning
63
- var isInlineActionNudgeExperiment = fg('rovogrowth-640-inline-action-nudge-fg') && expValEqualsNoExposure('rovogrowth-640-inline-action-nudge-exp', 'isEnabled', true);
56
+ var isRovoChatActionAvailable = isAny3pRovoActionsExperimentOn && fg('platform_sl_3p_auth_rovo_action_kill_switch') ? (context === null || context === void 0 || (_context$actions = context.actions) === null || _context$actions === void 0 ? void 0 : _context$actions[ActionName.RovoChatAction]) !== undefined : undefined;
64
57
  var _useState = useState(),
65
58
  _useState2 = _slicedToArray(_useState, 2),
66
59
  message = _useState2[0],
@@ -84,7 +77,7 @@ var ActionBlock = function ActionBlock(_ref) {
84
77
  if (!(context !== null && context !== void 0 && context.actions)) {
85
78
  return;
86
79
  }
87
- var arr = fg('platform_sl_3p_auth_rovo_action_kill_switch') || fg('rovogrowth-640-inline-action-nudge-fg') ? isRovoChatActionAvailable ? [ActionName.RovoChatAction] : Object.keys(context.actions).filter(function (name) {
80
+ var arr = fg('platform_sl_3p_auth_rovo_action_kill_switch') ? isRovoChatActionAvailable ? [ActionName.RovoChatAction] : Object.keys(context.actions).filter(function (name) {
88
81
  return name !== ActionName.RovoChatAction;
89
82
  }) : Object.keys(context.actions);
90
83
  arr.sort(sort);
@@ -105,7 +98,7 @@ var ActionBlock = function ActionBlock(_ref) {
105
98
  size: size || (ui === null || ui === void 0 ? void 0 : ui.size)
106
99
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
107
100
  ,
108
- style: !(isInlineActionNudgeExperiment && isRovoChatActionAvailable) && padding ? {
101
+ style: padding ? {
109
102
  paddingInline: padding
110
103
  } : undefined,
111
104
  hideTooltip: isLoading
@@ -114,25 +107,10 @@ var ActionBlock = function ActionBlock(_ref) {
114
107
  return arr.map(function (name) {
115
108
  return renderAction(name);
116
109
  });
117
- }, [context === null || context === void 0 ? void 0 : context.actions, isRovoChatActionAvailable, spaceInline, onError, onLoadingChange, size, ui === null || ui === void 0 ? void 0 : ui.size, padding, isLoading, _onClick, isInlineActionNudgeExperiment]);
118
- var showRovoSectionHeader = isInlineActionNudgeExperiment && isRovoChatActionAvailable;
110
+ }, [context === null || context === void 0 ? void 0 : context.actions, isRovoChatActionAvailable, spaceInline, onError, onLoadingChange, size, ui === null || ui === void 0 ? void 0 : ui.size, padding, isLoading, _onClick]);
119
111
  if (!actions) {
120
112
  return null;
121
113
  }
122
- if (isInlineActionNudgeExperiment && isRovoChatActionAvailable) {
123
- return /*#__PURE__*/React.createElement("div", {
124
- ref: blockRef,
125
- "data-testid": testId,
126
- className: ax(["_1e0c1txw _2lx21bp4 _vchhusvi _1bsb1osq"])
127
- }, showRovoSectionHeader && /*#__PURE__*/React.createElement(AskRovoSectionHeader, {
128
- testId: testId ? "".concat(testId, "-rovo-section-header") : undefined
129
- }), /*#__PURE__*/React.createElement("div", {
130
- className: ax(["_zulpu2gc _1e0c11p5 _yv0e1ris"])
131
- }, actions), /*#__PURE__*/React.createElement(ActionFooter, {
132
- message: message,
133
- testId: testId
134
- }));
135
- }
136
114
  return /*#__PURE__*/React.createElement("div", {
137
115
  ref: blockRef,
138
116
  "data-testid": testId
@@ -10,7 +10,6 @@
10
10
  ._18u01ivi{margin-left:calc(var(--container-gap-left)*-1)}
11
11
  ._18u01wug{margin-left:auto}
12
12
  ._19p4ze3t *{padding-right:var(--ds-space-0,0)}
13
- ._19pkutpp{margin-top:var(--ds-space-150,9pt)}
14
13
  ._1bah1y6m{justify-content:flex-start}
15
14
  ._1bsb129b{width:calc(100% + var(--container-gap-left) + var(--container-gap-right))}
16
15
  ._1e0c1txw{display:flex}