@atlaskit/smart-card 46.10.1 → 46.10.3

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 (117) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/analytics.spec.yaml +2 -39
  3. package/compass.yml +3 -0
  4. package/dist/cjs/messages.js +15 -45
  5. package/dist/cjs/utils/analytics/analytics.js +1 -1
  6. package/dist/cjs/view/EmbedCard/views/unauthorized-view/index.js +1 -9
  7. package/dist/cjs/view/FlexibleCard/components/actions/action/action-button/index.js +14 -5
  8. package/dist/cjs/view/FlexibleCard/components/actions/action/action-dropdown-item/index.js +4 -1
  9. package/dist/cjs/view/FlexibleCard/components/actions/action/index.js +1 -0
  10. package/dist/cjs/view/FlexibleCard/components/actions/preview-action/index.js +13 -2
  11. package/dist/cjs/view/LinkUrl/index.js +1 -1
  12. package/dist/es2019/messages.js +15 -57
  13. package/dist/es2019/utils/analytics/analytics.js +1 -1
  14. package/dist/es2019/view/EmbedCard/views/unauthorized-view/index.js +1 -9
  15. package/dist/es2019/view/FlexibleCard/components/actions/action/action-button/index.js +12 -5
  16. package/dist/es2019/view/FlexibleCard/components/actions/action/action-dropdown-item/index.js +3 -0
  17. package/dist/es2019/view/FlexibleCard/components/actions/action/index.js +1 -0
  18. package/dist/es2019/view/FlexibleCard/components/actions/preview-action/index.js +13 -2
  19. package/dist/es2019/view/LinkUrl/index.js +1 -1
  20. package/dist/esm/messages.js +15 -45
  21. package/dist/esm/utils/analytics/analytics.js +1 -1
  22. package/dist/esm/view/EmbedCard/views/unauthorized-view/index.js +1 -9
  23. package/dist/esm/view/FlexibleCard/components/actions/action/action-button/index.js +14 -5
  24. package/dist/esm/view/FlexibleCard/components/actions/action/action-dropdown-item/index.js +4 -1
  25. package/dist/esm/view/FlexibleCard/components/actions/action/index.js +1 -0
  26. package/dist/esm/view/FlexibleCard/components/actions/preview-action/index.js +13 -2
  27. package/dist/esm/view/LinkUrl/index.js +1 -1
  28. package/dist/types/common/analytics/generated/analytics.types.d.ts +1 -17
  29. package/dist/types/messages.d.ts +1 -1
  30. package/dist/types/view/EmbedCard/views/unauthorized-view/index.d.ts +2 -2
  31. package/dist/types/view/FlexibleCard/components/actions/action/action-dropdown-item/index.d.ts +1 -1
  32. package/dist/types/view/FlexibleCard/components/actions/action/action-dropdown-item/types.d.ts +1 -0
  33. package/package.json +6 -97
  34. package/dist/cjs/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-dropbox-in-atlas-slide1--default.png +0 -3
  35. package/dist/cjs/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-figma-in-trello-slide1--default.png +0 -3
  36. package/dist/cjs/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-figma-in-trello-slide2--default.png +0 -3
  37. package/dist/cjs/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-figma-in-trello-slide3--default.png +0 -3
  38. package/dist/cjs/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-google-in-confluence-slide1--default.png +0 -3
  39. package/dist/cjs/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-google-in-confluence-slide2--default.png +0 -3
  40. package/dist/cjs/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-google-in-confluence-slide3--default.png +0 -3
  41. package/dist/cjs/view/EmbedCard/components/carousel/CarouselSlide.compiled.css +0 -64
  42. package/dist/cjs/view/EmbedCard/components/carousel/CarouselSlide.js +0 -158
  43. package/dist/cjs/view/EmbedCard/components/carousel/index.compiled.css +0 -12
  44. package/dist/cjs/view/EmbedCard/components/carousel/index.js +0 -127
  45. package/dist/cjs/view/EmbedCard/components/carousel/types.js +0 -5
  46. package/dist/cjs/view/EmbedCard/views/unauthorized-view/UnauthorizedCarouselView.js +0 -207
  47. package/dist/cjs/view/EmbedCard/views/unauthorized-view/carousel-images/IconSlot.compiled.css +0 -7
  48. package/dist/cjs/view/EmbedCard/views/unauthorized-view/carousel-images/IconSlot.js +0 -31
  49. package/dist/cjs/view/EmbedCard/views/unauthorized-view/carousel-images/LazyRovoChatBenefitImage.js +0 -16
  50. package/dist/cjs/view/EmbedCard/views/unauthorized-view/carousel-images/LazyRovoSearchBenefitImage.js +0 -16
  51. package/dist/cjs/view/EmbedCard/views/unauthorized-view/carousel-images/NoAuthAvailableImage.compiled.css +0 -6
  52. package/dist/cjs/view/EmbedCard/views/unauthorized-view/carousel-images/NoAuthAvailableImage.js +0 -22
  53. package/dist/cjs/view/EmbedCard/views/unauthorized-view/carousel-images/ProductIcon.js +0 -47
  54. package/dist/cjs/view/EmbedCard/views/unauthorized-view/carousel-images/RovoChatBenefitImage.js +0 -359
  55. package/dist/cjs/view/EmbedCard/views/unauthorized-view/carousel-images/RovoSearchBenefitImage.js +0 -281
  56. package/dist/cjs/view/EmbedCard/views/unauthorized-view/carousel-images/SmartLinkBenefitImage.js +0 -364
  57. package/dist/cjs/view/EmbedCard/views/unauthorized-view/carousel-images/assets/rovo-chat-avatar.png +0 -0
  58. package/dist/es2019/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-dropbox-in-atlas-slide1--default.png +0 -3
  59. package/dist/es2019/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-figma-in-trello-slide1--default.png +0 -3
  60. package/dist/es2019/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-figma-in-trello-slide2--default.png +0 -3
  61. package/dist/es2019/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-figma-in-trello-slide3--default.png +0 -3
  62. package/dist/es2019/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-google-in-confluence-slide1--default.png +0 -3
  63. package/dist/es2019/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-google-in-confluence-slide2--default.png +0 -3
  64. package/dist/es2019/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-google-in-confluence-slide3--default.png +0 -3
  65. package/dist/es2019/view/EmbedCard/components/carousel/CarouselSlide.compiled.css +0 -64
  66. package/dist/es2019/view/EmbedCard/components/carousel/CarouselSlide.js +0 -145
  67. package/dist/es2019/view/EmbedCard/components/carousel/index.compiled.css +0 -12
  68. package/dist/es2019/view/EmbedCard/components/carousel/index.js +0 -105
  69. package/dist/es2019/view/EmbedCard/components/carousel/types.js +0 -1
  70. package/dist/es2019/view/EmbedCard/views/unauthorized-view/UnauthorizedCarouselView.js +0 -200
  71. package/dist/es2019/view/EmbedCard/views/unauthorized-view/carousel-images/IconSlot.compiled.css +0 -7
  72. package/dist/es2019/view/EmbedCard/views/unauthorized-view/carousel-images/IconSlot.js +0 -25
  73. package/dist/es2019/view/EmbedCard/views/unauthorized-view/carousel-images/LazyRovoChatBenefitImage.js +0 -3
  74. package/dist/es2019/view/EmbedCard/views/unauthorized-view/carousel-images/LazyRovoSearchBenefitImage.js +0 -3
  75. package/dist/es2019/view/EmbedCard/views/unauthorized-view/carousel-images/NoAuthAvailableImage.compiled.css +0 -6
  76. package/dist/es2019/view/EmbedCard/views/unauthorized-view/carousel-images/NoAuthAvailableImage.js +0 -13
  77. package/dist/es2019/view/EmbedCard/views/unauthorized-view/carousel-images/ProductIcon.js +0 -40
  78. package/dist/es2019/view/EmbedCard/views/unauthorized-view/carousel-images/RovoChatBenefitImage.js +0 -353
  79. package/dist/es2019/view/EmbedCard/views/unauthorized-view/carousel-images/RovoSearchBenefitImage.js +0 -269
  80. package/dist/es2019/view/EmbedCard/views/unauthorized-view/carousel-images/SmartLinkBenefitImage.js +0 -358
  81. package/dist/es2019/view/EmbedCard/views/unauthorized-view/carousel-images/assets/rovo-chat-avatar.png +0 -0
  82. package/dist/esm/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-dropbox-in-atlas-slide1--default.png +0 -3
  83. package/dist/esm/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-figma-in-trello-slide1--default.png +0 -3
  84. package/dist/esm/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-figma-in-trello-slide2--default.png +0 -3
  85. package/dist/esm/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-figma-in-trello-slide3--default.png +0 -3
  86. package/dist/esm/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-google-in-confluence-slide1--default.png +0 -3
  87. package/dist/esm/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-google-in-confluence-slide2--default.png +0 -3
  88. package/dist/esm/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-google-in-confluence-slide3--default.png +0 -3
  89. package/dist/esm/view/EmbedCard/components/carousel/CarouselSlide.compiled.css +0 -64
  90. package/dist/esm/view/EmbedCard/components/carousel/CarouselSlide.js +0 -149
  91. package/dist/esm/view/EmbedCard/components/carousel/index.compiled.css +0 -12
  92. package/dist/esm/view/EmbedCard/components/carousel/index.js +0 -118
  93. package/dist/esm/view/EmbedCard/components/carousel/types.js +0 -1
  94. package/dist/esm/view/EmbedCard/views/unauthorized-view/UnauthorizedCarouselView.js +0 -198
  95. package/dist/esm/view/EmbedCard/views/unauthorized-view/carousel-images/IconSlot.compiled.css +0 -7
  96. package/dist/esm/view/EmbedCard/views/unauthorized-view/carousel-images/IconSlot.js +0 -24
  97. package/dist/esm/view/EmbedCard/views/unauthorized-view/carousel-images/LazyRovoChatBenefitImage.js +0 -5
  98. package/dist/esm/view/EmbedCard/views/unauthorized-view/carousel-images/LazyRovoSearchBenefitImage.js +0 -5
  99. package/dist/esm/view/EmbedCard/views/unauthorized-view/carousel-images/NoAuthAvailableImage.compiled.css +0 -6
  100. package/dist/esm/view/EmbedCard/views/unauthorized-view/carousel-images/NoAuthAvailableImage.js +0 -15
  101. package/dist/esm/view/EmbedCard/views/unauthorized-view/carousel-images/ProductIcon.js +0 -40
  102. package/dist/esm/view/EmbedCard/views/unauthorized-view/carousel-images/RovoChatBenefitImage.js +0 -352
  103. package/dist/esm/view/EmbedCard/views/unauthorized-view/carousel-images/RovoSearchBenefitImage.js +0 -274
  104. package/dist/esm/view/EmbedCard/views/unauthorized-view/carousel-images/SmartLinkBenefitImage.js +0 -357
  105. package/dist/esm/view/EmbedCard/views/unauthorized-view/carousel-images/assets/rovo-chat-avatar.png +0 -0
  106. package/dist/types/view/EmbedCard/components/carousel/CarouselSlide.d.ts +0 -39
  107. package/dist/types/view/EmbedCard/components/carousel/index.d.ts +0 -26
  108. package/dist/types/view/EmbedCard/components/carousel/types.d.ts +0 -32
  109. package/dist/types/view/EmbedCard/views/unauthorized-view/UnauthorizedCarouselView.d.ts +0 -4
  110. package/dist/types/view/EmbedCard/views/unauthorized-view/carousel-images/IconSlot.d.ts +0 -14
  111. package/dist/types/view/EmbedCard/views/unauthorized-view/carousel-images/LazyRovoChatBenefitImage.d.ts +0 -3
  112. package/dist/types/view/EmbedCard/views/unauthorized-view/carousel-images/LazyRovoSearchBenefitImage.d.ts +0 -3
  113. package/dist/types/view/EmbedCard/views/unauthorized-view/carousel-images/NoAuthAvailableImage.d.ts +0 -7
  114. package/dist/types/view/EmbedCard/views/unauthorized-view/carousel-images/ProductIcon.d.ts +0 -9
  115. package/dist/types/view/EmbedCard/views/unauthorized-view/carousel-images/RovoChatBenefitImage.d.ts +0 -8
  116. package/dist/types/view/EmbedCard/views/unauthorized-view/carousel-images/RovoSearchBenefitImage.d.ts +0 -8
  117. package/dist/types/view/EmbedCard/views/unauthorized-view/carousel-images/SmartLinkBenefitImage.d.ts +0 -7
@@ -160,51 +160,6 @@ export var messages = defineMessages({
160
160
  defaultMessage: 'To show a preview of this link, connect your {context} account.',
161
161
  description: 'Shown when a user does not have access to a link, but can connect their external account to view the link on card view. Displayed in byline.'
162
162
  },
163
- connect_link_account_embed_carousel_dot_label: {
164
- id: 'fabric.linking.connect_link_account_embed_carousel_dot_label.non-final',
165
- defaultMessage: 'Go to slide {index} of {total}',
166
- description: 'Accessible label for a dot indicator button in the teaser carousel, describing which slide it navigates to'
167
- },
168
- connect_link_account_embed_carousel_dot_row_label: {
169
- id: 'fabric.linking.connect_link_account_embed_carousel_dot_row_label.non-final',
170
- defaultMessage: 'Slides',
171
- description: 'Accessible label for the group of dot indicator buttons in the teaser carousel'
172
- },
173
- connect_link_account_embed_carousel_button_next: {
174
- id: 'fabric.linking.connect_link_account_embed_carousel_button_next.non-final',
175
- defaultMessage: 'Next',
176
- description: 'A button to view next teaser on benefit of connecting account on Smart Link embed'
177
- },
178
- connect_link_account_embed_carousel_sl_description: {
179
- id: 'fabric.linking.connect_link_account_embed_carousel_sl_description.non-final',
180
- defaultMessage: "Embed live previews of {context, select,\n\t\t\t\tGoogle {Google Docs, Sheets, and Slides}\n\t\t\t\tother {{context}}} {product, select,\n\t\t\t\tBITBUCKET {right inside Bitbucket}\n\t\t\t\tCONFLUENCE {right inside Confluence and Jira}\n\t\t\t\tJIRA {right inside Confluence and Jira}\n\t\t\t\tTRELLO {right inside Trello}\n\t\t\t\tother {across Atlassian}}.",
181
- description: 'A description on a teaser slide 1 on benefit of connecting account on Smart Link embed.' + ' Example Google+CONFLUENCE: Embed live previews of Google Docs, Sheets, and Slides right inside Confluence and Jira.' + ' Example Google+TRELLO: Embed live previews of Google Docs, Sheets, and Slides right inside Trello.' + ' Example other+TRELLO: Embed live previews of Figma right inside Trello.' + ' Example other+other: Embed live previews of Figma across Atlassian.'
182
- },
183
- connect_link_account_embed_carousel_sl_title: {
184
- id: 'fabric.linking.connect_link_account_embed_carousel_sl_title.non-final',
185
- defaultMessage: 'Turn smart links into rich previews',
186
- description: 'A title on a teaser slide 1 on benefit of connecting account on Smart Link embed'
187
- },
188
- connect_link_account_embed_carousel_rovo_title: {
189
- id: 'fabric.linking.connect_link_account_embed_carousel_rovo_title.non-final',
190
- defaultMessage: 'Find everything in one search',
191
- description: 'A title on a teaser slide 2 on benefit of connecting account on Smart Link embed'
192
- },
193
- connect_link_account_embed_carousel_rovo_description: {
194
- id: 'fabric.linking.connect_link_account_embed_carousel_rovo_description.non-final',
195
- defaultMessage: "Access {context} files alongside your work in {product, select,\n\t\t\t\tBITBUCKET {Bitbucket}\n\t\t\t\tCONFLUENCE {Confluence and Jira}\n\t\t\t\tJIRA {Confluence and Jira}\n\t\t\t\tTRELLO {Trello}\n\t\t\t\tother {Atlassian}}. We'll always respect your {context} permissions.",
196
- description: 'A description on a teaser slide 2 on benefit of connecting account on Smart Link embed.' + " Example Figma+JIRA: Access Figma files alongside your work in Confluence and Jira. We'll always respect your Figma permissions." + " Example Figma+BITBUCKET: Access Figma files alongside your work in Bitbucket. We'll always respect your Figma permissions." + " Example Figma+other: Access Figma files alongside your work in Atlassian. We'll always respect your Figma permissions."
197
- },
198
- connect_link_account_embed_carousel_rovochat_title: {
199
- id: 'fabric.linking.connect_link_account_embed_carousel_rovochat_title.non-final',
200
- defaultMessage: 'Get help from Rovo',
201
- description: 'A title on a teaser slide 3 on benefit of connecting account on Smart Link embed'
202
- },
203
- connect_link_account_embed_carousel_rovochat_description: {
204
- id: 'fabric.linking.connect_link_account_embed_carousel_rovochat_description.non-final',
205
- defaultMessage: 'Rovo uses your {context} content to answer questions, summarise docs, and draft updates using the work you’ve already done.',
206
- description: 'A description on a teaser slide 3 on benefit of connecting account on Smart Link embed'
207
- },
208
163
  connect_link_account_success_flag_description: {
209
164
  id: 'fabric.linking.connect_link_account_success_flag_description',
210
165
  defaultMessage: 'Shared links now display rich previews.',
@@ -485,16 +440,31 @@ export var messages = defineMessages({
485
440
  defaultMessage: 'Open preview',
486
441
  description: 'Click to view a richer view of your content, without needing to navigate to it.'
487
442
  },
443
+ preview_with_title: {
444
+ id: 'smart-card.preview_with_title.ai-non-final',
445
+ defaultMessage: 'Open preview for {title}',
446
+ description: 'Accessible label for the smart link preview action. Opens a preview of the linked content. The {title} placeholder is the title of the linked resource, or its URL when no title is available.'
447
+ },
488
448
  preview_modal: {
489
449
  id: 'fabric.linking.preview_modal',
490
450
  defaultMessage: 'Open preview modal',
491
451
  description: 'Button used to view a modal view of your content without needing to navigate to it.'
492
452
  },
453
+ preview_modal_with_title: {
454
+ id: 'smart-card.preview_modal_with_title.ai-non-final',
455
+ defaultMessage: 'Open preview modal for {title}',
456
+ description: 'Accessible label for the smart link action that opens a preview modal. The {title} placeholder is the title of the linked resource, or its URL when no title is available.'
457
+ },
493
458
  preview_panel: {
494
459
  id: 'fabric.linking.preview_panel',
495
460
  defaultMessage: 'Open preview panel',
496
461
  description: 'Button used to view a side panel view of your content without needing to navigate to it.'
497
462
  },
463
+ preview_panel_with_title: {
464
+ id: 'smart-card.preview_panel_with_title.ai-non-final',
465
+ defaultMessage: 'Open preview panel for {title}',
466
+ description: 'Accessible label for the smart link action that opens a preview side panel. The {title} placeholder is the title of the linked resource, or its URL when no title is available.'
467
+ },
498
468
  preview_close: {
499
469
  id: 'fabric.linking.preview_close',
500
470
  defaultMessage: 'Close preview',
@@ -4,7 +4,7 @@ export var ANALYTICS_CHANNEL = 'media';
4
4
  export var context = {
5
5
  componentName: 'smart-cards',
6
6
  packageName: "@atlaskit/smart-card" || '',
7
- packageVersion: "46.10.0" || ''
7
+ packageVersion: "46.10.2" || ''
8
8
  };
9
9
  export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
10
10
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -4,13 +4,11 @@ var _excluded = ["context", "extensionKey", "isProductIntegrationSupported", "on
4
4
  import React, { useCallback, useMemo } from 'react';
5
5
  import { FormattedMessage } from 'react-intl';
6
6
  import Button from '@atlaskit/button/default/button';
7
- import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
8
7
  import { useAnalyticsEvents } from '../../../../common/analytics/generated/use-analytics-events';
9
8
  import { messages } from '../../../../messages';
10
9
  import UnauthorisedViewContent from '../../../common/UnauthorisedViewContent';
11
10
  import UnresolvedView from '../unresolved-view';
12
11
  import { UnauthorizedSVG } from './unauthorized-svg';
13
- import UnauthorizedCarouselView from './UnauthorizedCarouselView';
14
12
  var UnauthorizedView = function UnauthorizedView(_ref) {
15
13
  var _context$image;
16
14
  var context = _ref.context,
@@ -91,10 +89,4 @@ var UnauthorizedView = function UnauthorizedView(_ref) {
91
89
  text: context === null || context === void 0 ? void 0 : context.text
92
90
  }));
93
91
  };
94
- var UnauthorizedViewGated = function UnauthorizedViewGated(props) {
95
- if (FeatureGates.initializeCompleted() && FeatureGates.getExperimentValue('platform_sl_embed_preauth_teaser_exp', 'isEnabled', false)) {
96
- return /*#__PURE__*/React.createElement(UnauthorizedCarouselView, props);
97
- }
98
- return /*#__PURE__*/React.createElement(UnauthorizedView, props);
99
- };
100
- export default UnauthorizedViewGated;
92
+ export default UnauthorizedView;
@@ -1,6 +1,9 @@
1
1
  /* index.tsx generated by @compiled/babel-plugin v3.0.2 */
2
+ import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
3
  import "./index.compiled.css";
3
4
  import { ax, ix } from "@compiled/react/runtime";
5
+ 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; }
6
+ 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; }
4
7
  import React, { forwardRef, useCallback, useMemo } from 'react';
5
8
  import { cx } from '@compiled/react';
6
9
  import Button from '@atlaskit/button/default/button';
@@ -8,6 +11,7 @@ import IconButton from '@atlaskit/button/icon/button';
8
11
  import LinkIconButton from '@atlaskit/button/icon/link';
9
12
  import LinkButton from '@atlaskit/button/link';
10
13
  import LoadingButton from '@atlaskit/button/loading-button';
14
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
11
15
  import { Box } from '@atlaskit/primitives/compiled/box';
12
16
  import Tooltip from '@atlaskit/tooltip/Tooltip';
13
17
  import { ActionName, SmartLinkSize } from '../../../../../../constants';
@@ -60,6 +64,7 @@ var ActionButtonRefresh = /*#__PURE__*/forwardRef(function (_ref, ref) {
60
64
  href = _ref.href,
61
65
  ariaLabel = _ref.ariaLabel;
62
66
  var iconOnly = !content;
67
+ var isPreviewA11yLabelEnabled = fg('platform_smart_link_preview_a11y_label');
63
68
  var context = useFlexibleUiContext();
64
69
  var _useRovoConfig = useRovoConfig(),
65
70
  product = _useRovoConfig.product;
@@ -78,6 +83,10 @@ var ActionButtonRefresh = /*#__PURE__*/forwardRef(function (_ref, ref) {
78
83
  return icon;
79
84
  } : undefined;
80
85
  if (iconOnly && iconFn) {
86
+ var label = isPreviewA11yLabelEnabled ? ariaLabel !== null && ariaLabel !== void 0 ? ariaLabel : tooltipMessage : tooltipMessage;
87
+ var tooltip = isPreviewA11yLabelEnabled ? _objectSpread(_objectSpread({}, tooltipOptions), {}, {
88
+ content: tooltipMessage
89
+ }) : tooltipOptions;
81
90
  if (isLinkButton && iconFn) {
82
91
  return /*#__PURE__*/React.createElement(LinkIconButton, {
83
92
  appearance: IconButtonAppearanceMap[appearance],
@@ -85,11 +94,11 @@ var ActionButtonRefresh = /*#__PURE__*/forwardRef(function (_ref, ref) {
85
94
  href: href,
86
95
  isDisabled: isDisabled,
87
96
  isTooltipDisabled: false,
88
- label: tooltipMessage,
97
+ label: label,
89
98
  onClick: onButtonClick(onClick),
90
99
  spacing: spacing,
91
100
  testId: testId,
92
- tooltip: tooltipOptions
101
+ tooltip: tooltip
93
102
  });
94
103
  }
95
104
  return /*#__PURE__*/React.createElement(IconButton, {
@@ -98,11 +107,11 @@ var ActionButtonRefresh = /*#__PURE__*/forwardRef(function (_ref, ref) {
98
107
  isDisabled: isDisabled,
99
108
  isLoading: isLoading,
100
109
  isTooltipDisabled: false,
101
- label: tooltipMessage,
110
+ label: label,
102
111
  onClick: onButtonClick(onClick),
103
112
  spacing: spacing,
104
113
  testId: testId,
105
- tooltip: tooltipOptions
114
+ tooltip: tooltip
106
115
  });
107
116
  }
108
117
  var iconBeforeFn = iconBefore ? function () {
@@ -143,7 +152,7 @@ var ActionButtonRefresh = /*#__PURE__*/forwardRef(function (_ref, ref) {
143
152
  spacing: spacing,
144
153
  testId: testId
145
154
  }, content));
146
- }, [appearance, ariaLabel, content, href, iconAfter, iconBefore, iconOnly, isDisabled, isLoading, onButtonClick, onClick, size, testId, tooltipMessage]);
155
+ }, [appearance, ariaLabel, content, href, iconAfter, iconBefore, iconOnly, isDisabled, isLoading, isPreviewA11yLabelEnabled, onButtonClick, onClick, size, testId, tooltipMessage]);
147
156
  return /*#__PURE__*/React.createElement(Box, {
148
157
  testId: "".concat(testId, "-button-wrapper"),
149
158
  ref: ref,
@@ -1,14 +1,17 @@
1
1
  import React from 'react';
2
2
  import DropdownItem from '@atlaskit/dropdown-menu/dropdown-menu-item';
3
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
3
4
  import { handleOnClick } from '../../../../../../utils/handle-on-click';
4
5
  var ActionDropdownItem = function ActionDropdownItem(_ref) {
5
- var content = _ref.content,
6
+ var ariaLabel = _ref.ariaLabel,
7
+ content = _ref.content,
6
8
  iconAfter = _ref.iconAfter,
7
9
  iconBefore = _ref.iconBefore,
8
10
  isLoading = _ref.isLoading,
9
11
  onClick = _ref.onClick,
10
12
  testId = _ref.testId;
11
13
  return /*#__PURE__*/React.createElement(DropdownItem, {
14
+ "aria-label": fg('platform_smart_link_preview_a11y_label') ? ariaLabel : undefined,
12
15
  elemAfter: iconAfter,
13
16
  elemBefore: iconBefore,
14
17
  isDisabled: isLoading,
@@ -71,6 +71,7 @@ var Action = function Action(_ref) {
71
71
  }
72
72
  if (isDropdownItem) {
73
73
  return /*#__PURE__*/React.createElement(ActionDropdownItem, {
74
+ ariaLabel: ariaLabel,
74
75
  content: content,
75
76
  iconAfter: iconAfter,
76
77
  iconBefore: iconBefore,
@@ -5,6 +5,7 @@ import React, { useCallback, useMemo } from 'react';
5
5
  import { FormattedMessage, useIntl } from 'react-intl';
6
6
  import MediaServicesActualSizeIcon from '@atlaskit/icon/core/grow-diagonal';
7
7
  import PanelRightIcon from '@atlaskit/icon/core/panel-right';
8
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
8
9
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
9
10
  import { ActionName } from '../../../../../constants';
10
11
  import { messages } from '../../../../../messages';
@@ -12,7 +13,7 @@ import { useFlexibleUiContext } from '../../../../../state/flexible-ui-context/u
12
13
  import useInvokeClientAction from '../../../../../state/hooks/use-invoke-client-action';
13
14
  import Action from '../action';
14
15
  var PreviewAction = function PreviewAction(_ref) {
15
- var _context$actions;
16
+ var _context$actions, _context$linkTitle;
16
17
  var onClickCallback = _ref.onClick,
17
18
  props = _objectWithoutProperties(_ref, _excluded);
18
19
  var intl = useIntl();
@@ -57,8 +58,18 @@ var PreviewAction = function PreviewAction(_ref) {
57
58
  return messages.preview_improved;
58
59
  }, [hasPreviewPanel]);
59
60
  var actionMessage = intl.formatMessage(actionLabel);
61
+ var title = context === null || context === void 0 || (_context$linkTitle = context.linkTitle) === null || _context$linkTitle === void 0 || (_context$linkTitle = _context$linkTitle.text) === null || _context$linkTitle === void 0 ? void 0 : _context$linkTitle.trim();
62
+ var actionLabelWithTitle = messages.preview_with_title;
63
+ if (actionLabel === messages.preview_panel) {
64
+ actionLabelWithTitle = messages.preview_panel_with_title;
65
+ } else if (actionLabel === messages.preview_modal) {
66
+ actionLabelWithTitle = messages.preview_modal_with_title;
67
+ }
68
+ var ariaLabel = fg('platform_smart_link_preview_a11y_label') && title ? intl.formatMessage(actionLabelWithTitle, {
69
+ title: title
70
+ }) : actionMessage;
60
71
  return data ? /*#__PURE__*/React.createElement(Action, _extends({
61
- ariaLabel: actionMessage,
72
+ ariaLabel: ariaLabel,
62
73
  content: actionMessage,
63
74
  icon: actionIcon(),
64
75
  onClick: onClick,
@@ -12,7 +12,7 @@ import LinkWarningModal from './LinkWarningModal';
12
12
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
13
13
  var PACKAGE_DATA = {
14
14
  packageName: "@atlaskit/smart-card",
15
- packageVersion: "46.10.0",
15
+ packageVersion: "46.10.2",
16
16
  componentName: 'linkUrl'
17
17
  };
18
18
  var LinkUrl = function LinkUrl(_ref) {
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Generates Typescript types for analytics events from analytics.spec.yaml
5
5
  *
6
- * @codegen <<SignedSource::9cd75b85ebe2e335394c0d7f99ba9cb1>>
6
+ * @codegen <<SignedSource::7fd705fd40f738dda4aca53c5070ac66>>
7
7
  * @codegenCommand afm workspace @atlassian/analytics-tooling analytics:codegen smart-card
8
8
  */
9
9
  export type PackageMetaDataContextType = {
@@ -246,14 +246,6 @@ export type ButtonClickedConnectAccountAttributesType = {
246
246
  display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'url';
247
247
  definitionId?: string | null;
248
248
  };
249
- export type ButtonClickedCarouselNextAttributesType = {
250
- display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'url';
251
- slideId: string;
252
- };
253
- export type ButtonClickedCarouselConnectAttributesType = {
254
- display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'url';
255
- slideId: string;
256
- };
257
249
  export type SmartLinkClickedTryAnotherAccountAttributesType = {
258
250
  display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'url';
259
251
  definitionId?: string | null;
@@ -446,14 +438,6 @@ export type AnalyticsEventAttributes = {
446
438
  /**
447
439
  * fires an event that represents when a user clicks on the authentication call to action with no current authenticated account. (i.e. Connect to Preview). */
448
440
  'ui.button.clicked.connectAccount': ButtonClickedConnectAccountAttributesType;
449
- /**
450
- * Fires when a user clicks the "See next" button in a smart link carousel view. Used to measure engagement depth — how many users navigate past the first benefit slide.
451
- * */
452
- 'ui.button.clicked.carouselNext': ButtonClickedCarouselNextAttributesType;
453
- /**
454
- * Fires when a user clicks the connect account button from within a smart link carousel view. Captures which benefit slide the user was viewing when they decided to connect, enabling measurement of which slide is most persuasive.
455
- * */
456
- 'ui.button.clicked.carouselConnect': ButtonClickedCarouselConnectAttributesType;
457
441
  /**
458
442
  * fires an event that represents when a user clicks on the authentication call to action with a forbidden authenticated account. (i.e. Try another account). */
459
443
  'ui.smartLink.clicked.tryAnotherAccount': SmartLinkClickedTryAnotherAccountAttributesType;
@@ -1,7 +1,7 @@
1
1
  import { type MessageDescriptor } from 'react-intl';
2
2
  export type RequestAccessMessageKey = 'click_to_join' | 'click_to_join_description' | 'forbidden_description' | 'request_access' | 'request_access_description' | 'request_access_pending' | 'request_access_pending_title' | 'request_access_pending_description' | 'request_denied_description' | 'default_no_access_title' | 'direct_access_title' | 'direct_access_description' | 'direct_access' | 'access_exists_description' | 'not_found_description' | 'not_found_title';
3
3
  export type RovoChatActionMessageKey = 'rovo_prompt_context_generic' | 'rovo_prompt_context_generic_plural' | 'rovo_prompt_context_confluence_page' | 'rovo_prompt_context_jira_work_item' | 'rovo_prompt_message_summarize' | 'rovo_prompt_button_ask_rovo_anything' | 'rovo_prompt_message_ask_rovo_anything' | 'rovo_prompt_button_highlight_relevant_content' | 'rovo_prompt_message_highlight_relevant_content' | 'rovo_prompt_button_identify_key_trends' | 'rovo_prompt_message_identify_key_trends' | 'rovo_prompt_button_identify_key_points' | 'rovo_prompt_message_identify_key_points' | 'rovo_prompt_button_find_open_questions' | 'rovo_prompt_message_find_open_questions' | 'rovo_prompt_button_key_highlights' | 'rovo_prompt_message_key_highlights' | 'rovo_prompt_message_summarize_document' | 'rovo_prompt_message_summarize_presentation' | 'rovo_prompt_button_explain_code' | 'rovo_prompt_message_explain_code' | 'rovo_prompt_button_catch_up' | 'rovo_prompt_message_catch_up' | 'rovo_prompt_button_salesforce_prep' | 'rovo_prompt_message_salesforce_prep';
4
- export type MessageKey = 'assigned_to' | 'ai_summarize' | 'change_status' | 'ai_summarized_abbreviation' | 'ai_summarized_info' | 'ai_summarized_info_short' | 'ai_summary_error_generic_rebrand' | 'ai_summary_error_acceptable_use_violation' | 'ai_summary_error_hipaa_content_detected' | 'ai_summary_error_exceeding_context_length_error' | 'ai_summary_action_rebrand' | 'ai_summary_action_description' | 'ai_summary_action_description_rebrand' | 'automation_action_title' | 'automation_action_tooltip' | 'automation_action_icon_label' | 'automation_action_confluence_page_modal_title' | 'automation_action_confluence_page_modal_description' | 'copy_summary_action' | 'copy_summary_action_description' | 'copied_summary_action_description' | 'beta' | 'cannot_find_link' | 'compass_applied_components_count' | 'connect_link_account_card' | 'connect_link_account_card_name' | 'connect_link_account_card_description' | 'connect_link_account_embed_carousel_button_next' | 'connect_link_account_embed_carousel_dot_label' | 'connect_link_account_embed_carousel_dot_row_label' | 'connect_link_account_embed_carousel_sl_description' | 'connect_link_account_embed_carousel_sl_title' | 'connect_link_account_embed_carousel_rovo_description' | 'connect_link_account_embed_carousel_rovo_title' | 'connect_link_account_embed_carousel_rovochat_description' | 'connect_link_account_embed_carousel_rovochat_title' | 'connect_link_account_success_flag_description' | 'connect_link_account_success_flag_title' | 'connect_link_account_success_flag_title_default' | 'connect_unauthorised_account_action' | 'connect_3p_account' | 'connect_inline_provider_to_update' | 'connect_inline_social_proof' | 'connect_inline_to_update' | 'social_proof_inline_cta_tag_high_with_context' | 'social_proof_inline_cta_tag_high_no_context' | 'social_proof_inline_cta_tag_low_with_context' | 'social_proof_inline_cta_tag_low_no_context' | 'connect_unauthorised_account_description' | 'connect_unauthorised_account_description_no_provider' | 'continue' | 'copy_url_to_clipboard' | 'copied_url_to_clipboard' | 'could_not_load_link' | 'download' | 'download_description' | 'download_file' | 'follow' | 'follow_project_description' | 'follow_project_descriptionGalaxia' | 'follow_project' | 'follow_goal' | 'follow_goal_description' | 'follow_project_error' | 'follow_project_errorGalaxia' | 'follow_goal_error' | 'go_back' | 'invalid_permissions' | 'invalid_permissions_description' | 'join_to_view' | 'connect_link_account' | 'created_by' | 'created_on_relative' | 'created_on_absolute' | 'check_this_link' | 'delete' | 'edit' | 'learn_more_about_smart_links' | 'learn_more_about_connecting_account' | 'loading' | 'link_safety_warning_message' | 'modified_by' | 'modified_on_relative' | 'modified_on_absolute' | 'more_actions' | 'not_found_title' | 'not_found_description' | 'open_issue_in_jira' | 'open_link_in_a_new_tab' | 'owned_by' | 'owned_by_override' | 'preview_description' | 'preview_improved' | 'preview_modal' | 'preview_panel' | 'preview_close' | 'preview_max_size' | 'preview_min_size' | 'priority_blocker' | 'priority_critical' | 'priority_high' | 'priority_highest' | 'priority_low' | 'priority_lowest' | 'priority_major' | 'priority_medium' | 'priority_minor' | 'priority_trivial' | 'priority_undefined' | 'forbidden_access' | 'pending_request' | 'read_time' | 'restricted_link' | 'request_access_to_view' | 'request_denied' | 'sent_on_relative' | 'sent_on_absolute' | 'status_change_load_error' | 'status_change_permission_error' | 'status_change_update_error' | 'try_again' | 'try_another_account' | 'unauthorised_account_description' | 'unauthorised_account_description_no_provider' | 'unauthorised_account_name' | 'unauthorised_account_name_no_provider' | 'rovo_actions_explore' | 'unassigned' | 'unfollow' | 'unfollow_project_description' | 'unfollow_project_descriptionGalaxia' | 'unfollow_project' | 'unfollow_project_error' | 'unfollow_project_errorGalaxia' | 'unfollow_goal' | 'unfollow_goal_description' | 'unfollow_goal_error' | 'user_attributes' | 'view' | 'viewIn' | 'viewInProvider' | 'viewOriginal' | 'actions' | 'add_account' | 'cancel' | 'close' | 'connect_to' | 'connect_account_description' | 'retry' | 'save' | 'unlink_account' | RequestAccessMessageKey | 'related' | 'generic_error_message' | 'related_links_modal_error_title' | 'related_links_modal_error_description' | 'related_links_modal_unavailable_title' | 'related_links_modal_unavailable_description' | 'related_links_modal_title' | 'related_links_view_related_urls' | 'related_links_view_related_links' | 'related_links_found_in' | 'related_links_includes_links_to' | 'related_links_not_found' | 'join_to_viewIssueTermRefresh' | 'open_issue_in_jiraIssueTermRefresh' | 'request_access_to_viewIssueTermRefresh' | 'team_members_count' | 'status_change_permission_errorIssueTermRefresh' | 'connect_unauthorised_account_description_appify' | 'connect_unauthorised_account_description_no_provider_appify' | 'learn_more_about_connecting_account_experiment_shorter' | 'learn_more_about_connecting_account_appify' | 'rovo_summary_loading' | 'ai_disclaimer' | 'rovo_unauthorised_title' | 'rovo_unauthorised_title_no_provider' | 'rovo_unauthorised_feature_clear_link_names' | 'rovo_unauthorised_feature_understand_linked_docs' | 'rovo_unauthorised_feature_go_deeper_smart_suggestions' | 'rovo_unauthorised_connect_account' | 'rovo_unauthorised_not_now' | 'rovo_chat_action_section_header' | 'rovo_prompt_button_summarize_this' | 'rovo_prompt_button_ask_a_specific_question' | 'rovo_prompt_button_show_me_whats_relevant' | RovoChatActionMessageKey | 'pre_auth_block_social_proof_not_low' | 'pre_auth_block_social_proof_low';
4
+ export type MessageKey = 'assigned_to' | 'ai_summarize' | 'change_status' | 'ai_summarized_abbreviation' | 'ai_summarized_info' | 'ai_summarized_info_short' | 'ai_summary_error_generic_rebrand' | 'ai_summary_error_acceptable_use_violation' | 'ai_summary_error_hipaa_content_detected' | 'ai_summary_error_exceeding_context_length_error' | 'ai_summary_action_rebrand' | 'ai_summary_action_description' | 'ai_summary_action_description_rebrand' | 'automation_action_title' | 'automation_action_tooltip' | 'automation_action_icon_label' | 'automation_action_confluence_page_modal_title' | 'automation_action_confluence_page_modal_description' | 'copy_summary_action' | 'copy_summary_action_description' | 'copied_summary_action_description' | 'beta' | 'cannot_find_link' | 'compass_applied_components_count' | 'connect_link_account_card' | 'connect_link_account_card_name' | 'connect_link_account_card_description' | 'connect_link_account_success_flag_description' | 'connect_link_account_success_flag_title' | 'connect_link_account_success_flag_title_default' | 'connect_unauthorised_account_action' | 'connect_3p_account' | 'connect_inline_provider_to_update' | 'connect_inline_social_proof' | 'connect_inline_to_update' | 'social_proof_inline_cta_tag_high_with_context' | 'social_proof_inline_cta_tag_high_no_context' | 'social_proof_inline_cta_tag_low_with_context' | 'social_proof_inline_cta_tag_low_no_context' | 'connect_unauthorised_account_description' | 'connect_unauthorised_account_description_no_provider' | 'continue' | 'copy_url_to_clipboard' | 'copied_url_to_clipboard' | 'could_not_load_link' | 'download' | 'download_description' | 'download_file' | 'follow' | 'follow_project_description' | 'follow_project_descriptionGalaxia' | 'follow_project' | 'follow_goal' | 'follow_goal_description' | 'follow_project_error' | 'follow_project_errorGalaxia' | 'follow_goal_error' | 'go_back' | 'invalid_permissions' | 'invalid_permissions_description' | 'join_to_view' | 'connect_link_account' | 'created_by' | 'created_on_relative' | 'created_on_absolute' | 'check_this_link' | 'delete' | 'edit' | 'learn_more_about_smart_links' | 'learn_more_about_connecting_account' | 'loading' | 'link_safety_warning_message' | 'modified_by' | 'modified_on_relative' | 'modified_on_absolute' | 'more_actions' | 'not_found_title' | 'not_found_description' | 'open_issue_in_jira' | 'open_link_in_a_new_tab' | 'owned_by' | 'owned_by_override' | 'preview_description' | 'preview_improved' | 'preview_with_title' | 'preview_modal' | 'preview_modal_with_title' | 'preview_panel' | 'preview_panel_with_title' | 'preview_close' | 'preview_max_size' | 'preview_min_size' | 'priority_blocker' | 'priority_critical' | 'priority_high' | 'priority_highest' | 'priority_low' | 'priority_lowest' | 'priority_major' | 'priority_medium' | 'priority_minor' | 'priority_trivial' | 'priority_undefined' | 'forbidden_access' | 'pending_request' | 'read_time' | 'restricted_link' | 'request_access_to_view' | 'request_denied' | 'sent_on_relative' | 'sent_on_absolute' | 'status_change_load_error' | 'status_change_permission_error' | 'status_change_update_error' | 'try_again' | 'try_another_account' | 'unauthorised_account_description' | 'unauthorised_account_description_no_provider' | 'unauthorised_account_name' | 'unauthorised_account_name_no_provider' | 'rovo_actions_explore' | 'unassigned' | 'unfollow' | 'unfollow_project_description' | 'unfollow_project_descriptionGalaxia' | 'unfollow_project' | 'unfollow_project_error' | 'unfollow_project_errorGalaxia' | 'unfollow_goal' | 'unfollow_goal_description' | 'unfollow_goal_error' | 'user_attributes' | 'view' | 'viewIn' | 'viewInProvider' | 'viewOriginal' | 'actions' | 'add_account' | 'cancel' | 'close' | 'connect_to' | 'connect_account_description' | 'retry' | 'save' | 'unlink_account' | RequestAccessMessageKey | 'related' | 'generic_error_message' | 'related_links_modal_error_title' | 'related_links_modal_error_description' | 'related_links_modal_unavailable_title' | 'related_links_modal_unavailable_description' | 'related_links_modal_title' | 'related_links_view_related_urls' | 'related_links_view_related_links' | 'related_links_found_in' | 'related_links_includes_links_to' | 'related_links_not_found' | 'join_to_viewIssueTermRefresh' | 'open_issue_in_jiraIssueTermRefresh' | 'request_access_to_viewIssueTermRefresh' | 'team_members_count' | 'status_change_permission_errorIssueTermRefresh' | 'connect_unauthorised_account_description_appify' | 'connect_unauthorised_account_description_no_provider_appify' | 'learn_more_about_connecting_account_experiment_shorter' | 'learn_more_about_connecting_account_appify' | 'rovo_summary_loading' | 'ai_disclaimer' | 'rovo_unauthorised_title' | 'rovo_unauthorised_title_no_provider' | 'rovo_unauthorised_feature_clear_link_names' | 'rovo_unauthorised_feature_understand_linked_docs' | 'rovo_unauthorised_feature_go_deeper_smart_suggestions' | 'rovo_unauthorised_connect_account' | 'rovo_unauthorised_not_now' | 'rovo_chat_action_section_header' | 'rovo_prompt_button_summarize_this' | 'rovo_prompt_button_ask_a_specific_question' | 'rovo_prompt_button_show_me_whats_relevant' | RovoChatActionMessageKey | 'pre_auth_block_social_proof_not_low' | 'pre_auth_block_social_proof_low';
5
5
  type Messages = {
6
6
  [K in MessageKey]: MessageDescriptor;
7
7
  };
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { type UnauthorizedViewProps } from './types';
3
- declare const UnauthorizedViewGated: (props: UnauthorizedViewProps) => React.JSX.Element;
4
- export default UnauthorizedViewGated;
3
+ declare const UnauthorizedView: ({ context, extensionKey, isProductIntegrationSupported, onAuthorize, testId, ...unresolvedViewProps }: UnauthorizedViewProps) => React.JSX.Element;
4
+ export default UnauthorizedView;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { type ActionDropdownItemProps } from './types';
3
- declare const ActionDropdownItem: ({ content, iconAfter, iconBefore, isLoading, onClick, testId, }: ActionDropdownItemProps) => React.JSX.Element;
3
+ declare const ActionDropdownItem: ({ ariaLabel, content, iconAfter, iconBefore, isLoading, onClick, testId, }: ActionDropdownItemProps) => React.JSX.Element;
4
4
  export default ActionDropdownItem;
@@ -1,4 +1,5 @@
1
1
  export type ActionDropdownItemProps = {
2
+ ariaLabel?: string;
2
3
  content?: React.ReactNode;
3
4
  iconAfter?: React.ReactNode;
4
5
  iconBefore?: React.ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "46.10.1",
3
+ "version": "46.10.3",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -80,24 +80,24 @@
80
80
  "@atlaskit/platform-feature-experiments": "^0.3.0",
81
81
  "@atlaskit/platform-feature-flags": "^2.2.0",
82
82
  "@atlaskit/platform-feature-flags-react": "^1.2.0",
83
- "@atlaskit/popup": "^10.0.0",
83
+ "@atlaskit/popup": "^10.1.0",
84
84
  "@atlaskit/primitives": "^22.6.0",
85
85
  "@atlaskit/react-compiler-gating": "^0.2.0",
86
86
  "@atlaskit/react-ufo": "^8.3.0",
87
- "@atlaskit/rovo-triggers": "^12.9.0",
87
+ "@atlaskit/rovo-triggers": "^12.11.0",
88
88
  "@atlaskit/section-message": "^10.2.0",
89
89
  "@atlaskit/select": "^23.1.0",
90
90
  "@atlaskit/spinner": "^20.4.0",
91
91
  "@atlaskit/tabs": "^21.3.0",
92
92
  "@atlaskit/tag": "^17.0.0",
93
93
  "@atlaskit/textarea": "^10.2.0",
94
- "@atlaskit/textfield": "^10.2.0",
94
+ "@atlaskit/textfield": "^10.3.0",
95
95
  "@atlaskit/theme": "^28.2.0",
96
96
  "@atlaskit/tile": "^5.0.0",
97
- "@atlaskit/tmp-editor-statsig": "^247.0.0",
97
+ "@atlaskit/tmp-editor-statsig": "^248.0.0",
98
98
  "@atlaskit/tokens": "^20.8.0",
99
99
  "@atlaskit/tooltip": "^24.4.0",
100
- "@atlaskit/top-layer": "^6.7.0",
100
+ "@atlaskit/top-layer": "^7.0.0",
101
101
  "@atlaskit/ufo": "^2.0.0",
102
102
  "@atlaskit/width-detector": "^7.2.0",
103
103
  "@babel/runtime": "^7.0.0",
@@ -170,96 +170,5 @@
170
170
  "ts-jest": "^29.2.2",
171
171
  "xhr-mock": "^2.4.0"
172
172
  },
173
- "platform-feature-flags": {
174
- "platform-dst-top-layer": {
175
- "type": "boolean",
176
- "referenceOnly": true
177
- },
178
- "billplat_jira_list_dropdown_top_layer": {
179
- "type": "boolean",
180
- "referenceOnly": true
181
- },
182
- "platform_sl_one_click_chat_spotlight_v2_fg": {
183
- "type": "boolean",
184
- "referenceOnly": true
185
- },
186
- "confluence_ep_shim_macro_links_v2": {
187
- "type": "boolean",
188
- "referenceOnly": true
189
- },
190
- "platform_bandicoots-smartlink-unresolved-error-key": {
191
- "type": "boolean"
192
- },
193
- "platform_avp_smartlink_embed_product_context": {
194
- "type": "boolean"
195
- },
196
- "platform-smart-card-shift-key": {
197
- "type": "boolean"
198
- },
199
- "confluence-issue-terminology-refresh": {
200
- "type": "boolean"
201
- },
202
- "platform_editor_content_mode_button_mvp": {
203
- "type": "boolean"
204
- },
205
- "product-terminology-refresh": {
206
- "type": "boolean"
207
- },
208
- "jfp-magma-platform-lozenge-jump-fix": {
209
- "type": "boolean"
210
- },
211
- "platform_sl_3p_preauth_better_hovercard_killswitch": {
212
- "type": "boolean"
213
- },
214
- "platform_sl_3p_preauth_update_cta_fg": {
215
- "type": "boolean"
216
- },
217
- "platform_lp_use_generator_icon_for_provider": {
218
- "type": "boolean"
219
- },
220
- "platform_lp_non_bold_large_sl_icon": {
221
- "type": "boolean"
222
- },
223
- "platform-dst-lozenge-tag-badge-visual-uplifts": {
224
- "type": "boolean"
225
- },
226
- "smart-card-inline-resolved-view-refactor": {
227
- "type": "boolean"
228
- },
229
- "platform_sl_3p_auth_rovo_embed_footer_kill_switch": {
230
- "type": "boolean"
231
- },
232
- "social-proof-3p-unauth-block-fg": {
233
- "type": "boolean"
234
- },
235
- "platform_sl_inline_social_proof_hydration_fix": {
236
- "type": "boolean"
237
- },
238
- "platform_sl_incoming_outgoing_tenant_info_killswitch": {
239
- "type": "boolean"
240
- },
241
- "platform_sl_3p_post_auth_chat_open_fg": {
242
- "type": "boolean"
243
- },
244
- "platform_sl_click_inside_iframe": {
245
- "type": "boolean"
246
- },
247
- "platform_smartlink_inline_resolve_optimization": {
248
- "type": "boolean"
249
- },
250
- "dfo_issue_view_remote_data_srr_group": {
251
- "type": "boolean"
252
- },
253
- "preview_panel_unit_check": {
254
- "type": "boolean"
255
- },
256
- "nike_r19_render_unmount": {
257
- "type": "boolean"
258
- },
259
- "platform_dst_modal-dialog-use-modal-title": {
260
- "type": "boolean",
261
- "referenceOnly": true
262
- }
263
- },
264
173
  "compassUnitTestMetricSourceId": "ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:metric-source/c5751cc6-3513-4070-9deb-af31e86aed34/f74ef1bc-7240-4aac-9dc8-9dc43b502089"
265
174
  }
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ae9dc412bc884045a74a11a893e2b465ff3a41b8ca3392fb50e81a48cbf59728
3
- size 22253
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:da3f7b4aa5ddda88c1dce124ec5239205d2e1ccbd287f53c65cc60614ad8c344
3
- size 20443
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:38233a38a782c990f18c1f9e3c4b0f6561cdc9041a18163377f3a65d981a625b
3
- size 28091
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:18045bcbaad09060bac09f49b3a6b889b254c684c2dc460c3fd65a466f99685c
3
- size 34271
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:55cb12f84d40dd2b6bee4db43867a39dbf2b0d05c3e2308b8ef34d8b28bb27d1
3
- size 25709
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:989ac8f92f0c838230266ab902f9d9e7379935da694fb537e85a26f435921de8
3
- size 32759
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4c2eb37ff49aa3c03c7a8988b9cdfdbda7ebca007a41ad5d91679cc08a0349f1
3
- size 36663
@@ -1,64 +0,0 @@
1
- ._2rko12b0{border-radius:var(--ds-radius-small,4px)}
2
- ._2rko1rr0{border-radius:var(--ds-radius-full,9999px)}
3
- ._zulp1ejb{gap:var(--ds-space-300,24px)}
4
- ._zulppxbi{gap:var(--ds-space-200,1pc)}
5
- ._zulpu2gc{gap:var(--ds-space-100,8px)}
6
- ._zulpze3t{gap:var(--ds-space-0,0)}._154iidpf{top:0}
7
- ._16jlkb7n{flex-grow:1}
8
- ._18m915vq{overflow-y:hidden}
9
- ._18m91wug{overflow-y:auto}
10
- ._19bv1jfw{padding-left:var(--ds-space-500,40px)}
11
- ._19bvpxbi{padding-left:var(--ds-space-200,1pc)}
12
- ._19bvze3t{padding-left:var(--ds-space-0,0)}
13
- ._1bah1h6o{justify-content:center}
14
- ._1bah1y6m{justify-content:flex-start}
15
- ._1bah1yb4{justify-content:space-between}
16
- ._1bsb1osq{width:100%}
17
- ._1bsb1tcg{width:24px}
18
- ._1bsb7vkz{width:1pc}
19
- ._1bsbftgi{width:8px}
20
- ._1e0c1txw{display:flex}
21
- ._1e0c1ule{display:block}
22
- ._1ltvidpf{left:0}
23
- ._1n261g80{flex-wrap:wrap}
24
- ._1n261q9c{flex-wrap:nowrap}
25
- ._1o9zidpf{flex-shrink:0}
26
- ._1o9zkb7n{flex-shrink:1}
27
- ._1oecfnf5{transition-duration:.2s}
28
- ._1reo15vq{overflow-x:hidden}
29
- ._1reo1wug{overflow-x:auto}
30
- ._1tkeidpf{min-height:0}
31
- ._1ul9idpf{min-width:0}
32
- ._2lx21bp4{flex-direction:column}
33
- ._2lx2vrvc{flex-direction:row}
34
- ._4cvr1fhb{align-items:stretch}
35
- ._4cvr1h6o{align-items:center}
36
- ._4cvr1y6m{align-items:flex-start}
37
- ._4t3i1osq{height:100%}
38
- ._4t3i1tcg{height:24px}
39
- ._4t3i7vkz{height:1pc}
40
- ._4t3iftgi{height:8px}
41
- ._5ral1f51{object-fit:contain}
42
- ._6fl45ucs{transition-timing-function:ease}
43
- ._bfhk9pm7{background-color:var(--ds-background-information-subtle,#8fb8f6)}
44
- ._bfhki8nm{background-color:var(--ds-background-neutral,#0515240f)}
45
- ._bfhkjmqp{background-color:var(--ds-background-selected-bold,#1868db)}
46
- ._bfhksm61{background-color:var(--ds-background-neutral-subtle,#00000000)}
47
- ._c71l1wdt{max-height:220px}
48
- ._ca0q1jfw{padding-top:var(--ds-space-500,40px)}
49
- ._ca0qpxbi{padding-top:var(--ds-space-200,1pc)}
50
- ._ca0qze3t{padding-top:var(--ds-space-0,0)}
51
- ._i0dlghg7{flex-basis:240px}
52
- ._i0dluuw1{flex-basis:200px}
53
- ._k8m01k61{transition-property:background-color}
54
- ._kqswh2mm{position:relative}
55
- ._kqswstnw{position:absolute}
56
- ._lcxvglyw{pointer-events:none}
57
- ._n3td1jfw{padding-bottom:var(--ds-space-500,40px)}
58
- ._n3tdpxbi{padding-bottom:var(--ds-space-200,1pc)}
59
- ._n3tdze3t{padding-bottom:var(--ds-space-0,0)}
60
- ._rsufaqso{object-position:center center}
61
- ._u5f31jfw{padding-right:var(--ds-space-500,40px)}
62
- ._u5f3pxbi{padding-right:var(--ds-space-200,1pc)}
63
- ._u5f3ze3t{padding-right:var(--ds-space-0,0)}
64
- ._vchhusvi{box-sizing:border-box}