@atlaskit/smart-card 44.3.10 → 44.3.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/analytics.spec.yaml +12 -0
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flex-ui-action/flexible-ui-block-action-group--default.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flex-ui-action/flexible-ui-block-action-group--item-focused--default.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flex-ui-action/flexible-ui-block-action-group--item-hovered--default.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flex-ui-action/flexible-ui-block-action-list--default.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummarydone--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummarydone--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummarydoneonmount--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummarydoneonmount--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummaryerror--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummaryerror--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummaryloading--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummaryloading--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummaryready--default.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flexible-card/flexible-ui-hover-card-no-preview-button--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flexible-card/flexible-ui-hover-card-no-preview-button--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flexible-card/flexibleuihovercard--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flexible-card/flexibleuihovercard--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/hover-card/hover-card--light-mode--navx-1895-new-logo-design-false.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/hover-card/hover-card--light-mode--navx-1895-new-logo-design-true.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/hover-card/hover-card-actions--light-mode--navx-1895-new-logo-design-false.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/hover-card/hover-card-actions--light-mode--navx-1895-new-logo-design-true.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/hover-card/hover-card-actions-with-related-urls--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/hover-card/hover-card-actions-with-related-urls--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/hover-card/hover-card-can-open-in-left-position--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/hover-card/hover-card-can-open-in-left-position--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/hover-card/hover-card-can-open-in-right-position--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/hover-card/hover-card-can-open-in-right-position--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/hover-card/hover-card-entities-support--light-mode.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/hover-card/hover-card-with-generic-3p-rovo-chat-action--default.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/hover-card/hover-card-with-google-rovo-chat-action--default.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/inline-card/vrinline-profile-card--default.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/standalone-hover-card/standalone-hover-card-default--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/standalone-hover-card/standalone-hover-card-default--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/standalone-hover-card/standalone-hover-card-for-assigned-jira-issue--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/standalone-hover-card/standalone-hover-card-for-assigned-jira-issue--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/standalone-hover-card/standalone-hover-card-for-confluence--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/standalone-hover-card/standalone-hover-card-for-confluence--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/standalone-hover-card/standalone-hover-card-for-jira-project--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/standalone-hover-card/standalone-hover-card-for-jira-project--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/standalone-hover-card/standalone-hover-card-for-slack-message--default.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/standalone-hover-card/standalone-hover-card-for-unassigned-jira-issue--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/standalone-hover-card/standalone-hover-card-for-unassigned-jira-issue--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/standalone-hover-card/standalone-hover-card-with-image-preview--default.png +2 -2
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/CardWithUrl/component.js +18 -6
- package/dist/cjs/view/FlexibleCard/components/actions/action/action-icon/index.compiled.css +1 -1
- package/dist/cjs/view/FlexibleCard/components/actions/action/action-icon/index.js +1 -1
- package/dist/cjs/view/HoverCard/components/HoverCardContent.js +8 -3
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flex-ui-action/flexible-ui-block-action-group--default.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flex-ui-action/flexible-ui-block-action-group--item-focused--default.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flex-ui-action/flexible-ui-block-action-group--item-hovered--default.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flex-ui-action/flexible-ui-block-action-list--default.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummarydone--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummarydone--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummarydoneonmount--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummarydoneonmount--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummaryerror--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummaryerror--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummaryloading--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummaryloading--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummaryready--default.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flexible-card/flexible-ui-hover-card-no-preview-button--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flexible-card/flexible-ui-hover-card-no-preview-button--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flexible-card/flexibleuihovercard--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flexible-card/flexibleuihovercard--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/hover-card/hover-card--light-mode--navx-1895-new-logo-design-false.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/hover-card/hover-card--light-mode--navx-1895-new-logo-design-true.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/hover-card/hover-card-actions--light-mode--navx-1895-new-logo-design-false.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/hover-card/hover-card-actions--light-mode--navx-1895-new-logo-design-true.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/hover-card/hover-card-actions-with-related-urls--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/hover-card/hover-card-actions-with-related-urls--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/hover-card/hover-card-can-open-in-left-position--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/hover-card/hover-card-can-open-in-left-position--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/hover-card/hover-card-can-open-in-right-position--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/hover-card/hover-card-can-open-in-right-position--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/hover-card/hover-card-entities-support--light-mode.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/hover-card/hover-card-with-generic-3p-rovo-chat-action--default.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/hover-card/hover-card-with-google-rovo-chat-action--default.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/inline-card/vrinline-profile-card--default.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/standalone-hover-card/standalone-hover-card-default--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/standalone-hover-card/standalone-hover-card-default--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/standalone-hover-card/standalone-hover-card-for-assigned-jira-issue--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/standalone-hover-card/standalone-hover-card-for-assigned-jira-issue--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/standalone-hover-card/standalone-hover-card-for-confluence--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/standalone-hover-card/standalone-hover-card-for-confluence--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/standalone-hover-card/standalone-hover-card-for-jira-project--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/standalone-hover-card/standalone-hover-card-for-jira-project--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/standalone-hover-card/standalone-hover-card-for-slack-message--default.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/standalone-hover-card/standalone-hover-card-for-unassigned-jira-issue--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/standalone-hover-card/standalone-hover-card-for-unassigned-jira-issue--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/standalone-hover-card/standalone-hover-card-with-image-preview--default.png +2 -2
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/CardWithUrl/component.js +17 -4
- package/dist/es2019/view/FlexibleCard/components/actions/action/action-icon/index.compiled.css +1 -1
- package/dist/es2019/view/FlexibleCard/components/actions/action/action-icon/index.js +1 -1
- package/dist/es2019/view/HoverCard/components/HoverCardContent.js +9 -3
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/__tests__/vr-tests/__snapshots__/flex-ui-action/flexible-ui-block-action-group--default.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/flex-ui-action/flexible-ui-block-action-group--item-focused--default.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/flex-ui-action/flexible-ui-block-action-group--item-hovered--default.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/flex-ui-action/flexible-ui-block-action-list--default.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummarydone--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummarydone--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummarydoneonmount--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummarydoneonmount--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummaryerror--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummaryerror--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummaryloading--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummaryloading--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/flex-ui-block-ai-summary/flexuiblockaisummaryready--default.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/flexible-card/flexible-ui-hover-card-no-preview-button--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/flexible-card/flexible-ui-hover-card-no-preview-button--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/flexible-card/flexibleuihovercard--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/flexible-card/flexibleuihovercard--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/hover-card/hover-card--light-mode--navx-1895-new-logo-design-false.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/hover-card/hover-card--light-mode--navx-1895-new-logo-design-true.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/hover-card/hover-card-actions--light-mode--navx-1895-new-logo-design-false.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/hover-card/hover-card-actions--light-mode--navx-1895-new-logo-design-true.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/hover-card/hover-card-actions-with-related-urls--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/hover-card/hover-card-actions-with-related-urls--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/hover-card/hover-card-can-open-in-left-position--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/hover-card/hover-card-can-open-in-left-position--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/hover-card/hover-card-can-open-in-right-position--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/hover-card/hover-card-can-open-in-right-position--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/hover-card/hover-card-entities-support--light-mode.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/hover-card/hover-card-with-generic-3p-rovo-chat-action--default.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/hover-card/hover-card-with-google-rovo-chat-action--default.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/inline-card/vrinline-profile-card--default.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/standalone-hover-card/standalone-hover-card-default--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/standalone-hover-card/standalone-hover-card-default--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/standalone-hover-card/standalone-hover-card-for-assigned-jira-issue--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/standalone-hover-card/standalone-hover-card-for-assigned-jira-issue--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/standalone-hover-card/standalone-hover-card-for-confluence--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/standalone-hover-card/standalone-hover-card-for-confluence--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/standalone-hover-card/standalone-hover-card-for-jira-project--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/standalone-hover-card/standalone-hover-card-for-jira-project--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/standalone-hover-card/standalone-hover-card-for-slack-message--default.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/standalone-hover-card/standalone-hover-card-for-unassigned-jira-issue--default--navx-1895-new-logo-design-false.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/standalone-hover-card/standalone-hover-card-for-unassigned-jira-issue--default--navx-1895-new-logo-design-true.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/standalone-hover-card/standalone-hover-card-with-image-preview--default.png +2 -2
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/CardWithUrl/component.js +18 -6
- package/dist/esm/view/FlexibleCard/components/actions/action/action-icon/index.compiled.css +1 -1
- package/dist/esm/view/FlexibleCard/components/actions/action/action-icon/index.js +1 -1
- package/dist/esm/view/HoverCard/components/HoverCardContent.js +8 -3
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/types/common/analytics/generated/analytics.types.d.ts +3 -0
- package/dist/types-ts4.5/common/analytics/generated/analytics.types.d.ts +3 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 44.3.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`b6f5a70b7e231`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b6f5a70b7e231) -
|
|
8
|
+
[ux] Fix alignment of icon and action text on hovercard actions
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 44.3.11
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`7e1e133a98bbd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7e1e133a98bbd) -
|
|
16
|
+
Adds analytics attribute rovoActionsCtaShown to smartLink renderSuccess and hoverCard viewed
|
|
17
|
+
events
|
|
18
|
+
|
|
3
19
|
## 44.3.10
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/analytics.spec.yaml
CHANGED
|
@@ -680,6 +680,10 @@ events:
|
|
|
680
680
|
required: false
|
|
681
681
|
type: string
|
|
682
682
|
description: The definitionId of the Smart Link resolver invoked.
|
|
683
|
+
rovoActionsCtaShown:
|
|
684
|
+
required: false
|
|
685
|
+
type: boolean
|
|
686
|
+
description: Whether the Rovo Actions CTA icon was shown for this Smart Link
|
|
683
687
|
- hoverCard dismissed:
|
|
684
688
|
type: ui
|
|
685
689
|
description: fires an event that represents a hover preview being dismissed.
|
|
@@ -702,6 +706,10 @@ events:
|
|
|
702
706
|
required: false
|
|
703
707
|
type: string
|
|
704
708
|
description: The definitionId of the Smart Link resolver invoked.
|
|
709
|
+
rovoActionsCtaShown:
|
|
710
|
+
required: false
|
|
711
|
+
type: boolean
|
|
712
|
+
description: Whether the Rovo Actions CTA (inline nudge) was shown for this Smart Link
|
|
705
713
|
- button clicked (connectAccount):
|
|
706
714
|
type: ui
|
|
707
715
|
description:
|
|
@@ -830,6 +838,10 @@ events:
|
|
|
830
838
|
required: true
|
|
831
839
|
type: ['inline', 'block', 'embed', 'embedPreview', 'flexible', 'hoverCardPreview']
|
|
832
840
|
description: Whether the card was an Inline, Block, Embed or Flexible UI
|
|
841
|
+
rovoActionsCtaShown:
|
|
842
|
+
required: false
|
|
843
|
+
type: boolean
|
|
844
|
+
description: Whether the Rovo Actions CTA (inline nudge) was shown for this Smart Link
|
|
833
845
|
- smartLink renderFailed:
|
|
834
846
|
type: ui
|
|
835
847
|
description: fires an event that represents when a Smart Link renders unsuccessfully.
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:c62ca1fcf135bcc43dbbbbfaf132700674f5bc6a3ad099af430512748a3bb8c9
|
|
3
|
+
size 15178
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:38fbbaa9d585f971f3bf9b9f85212e62acbcc80baea52707f88f175e9a12cd87
|
|
3
|
+
size 15281
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:a5897ab5ebbccef1cee98b716532b2a99faa91a236ceea64946cd2f1938b016f
|
|
3
|
+
size 15214
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:03329ee23ecfc3efbc8d06516e8ab8bb6587cb7d1da07066a0a0d710be6265d3
|
|
3
|
+
size 15816
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:ebffec5697b5636427a03d94f5c39de225e35f81dd583d0a589023de384f24f1
|
|
3
|
+
size 33475
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:89513e2c0d81198956da60618c8a8fa6f9fc5e929317a5e01512fd1a8a31e0d1
|
|
3
|
+
size 33654
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:ebffec5697b5636427a03d94f5c39de225e35f81dd583d0a589023de384f24f1
|
|
3
|
+
size 33475
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:89513e2c0d81198956da60618c8a8fa6f9fc5e929317a5e01512fd1a8a31e0d1
|
|
3
|
+
size 33654
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:75d477fdb1ab9dafdc76b9a0aa08f8ed7fd9759ff7e0fac2e957edfed38b9c6b
|
|
3
|
+
size 44784
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:2791c6deaa3bc6c046fd8fdd3852c4033dffe660d66e35eba6a0f0d7cb061cf8
|
|
3
|
+
size 44874
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:fff360412c60417f4773de6a2357639a36cb34e01f9657e48158a28105469785
|
|
3
|
+
size 41157
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:b457db85986d4b67c5872c0b2577f31de081bb10c4239c79b41fa8e67b1f46f2
|
|
3
|
+
size 41273
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:f57d5f12d6f8f731434e25b36be828eb3a27d7b1c1ff52d4a0b0852107ab2cdb
|
|
3
|
+
size 39022
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:bc396a98545f2153eda3a14b0ad5ae27d282f09f067b30fdc4460e86d3101e0f
|
|
3
|
+
size 34531
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:fa14705551828af47eca7b0d7f1b4163b65ed42e11fc8e32771430db777357dc
|
|
3
|
+
size 34647
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:aa58e0e8e631c321fe7bcf8449bf30e786e585222d9e0c43e74a57014f777c55
|
|
3
|
+
size 37339
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:eb2c21d1e586a5d19743c9b1ca152a4ef7acd3866befeda701f20f6bb0e1c86d
|
|
3
|
+
size 37438
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:72f4eebbf74f8efd873e8ae5f9149d91bdd6d9e9216fe634feafabea2f9146c3
|
|
3
|
+
size 20499
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:83067e42cabf490bc4eb5288faef13b22761af34405aefdae46e008397b96ba3
|
|
3
|
+
size 20872
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:f7b24bf8140e0a7fc0a051dadb32d5c089e69d1789aacb559fd341e1a022d68b
|
|
3
|
+
size 35709
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:96abbeafa7153a34a8e50e02509bc712665e943744663b20f6f6db0fe8864e7f
|
|
3
|
+
size 35808
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:f7b24bf8140e0a7fc0a051dadb32d5c089e69d1789aacb559fd341e1a022d68b
|
|
3
|
+
size 35709
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:96abbeafa7153a34a8e50e02509bc712665e943744663b20f6f6db0fe8864e7f
|
|
3
|
+
size 35808
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:ea03d58a985e6db7bc79fda67b2f023afc37c39ded2c5c77f7a416829c973664
|
|
3
|
+
size 21025
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:babdedb211dbe8749b8c2365e04724f60f574a291aa9162ca2119450eeb075c1
|
|
3
|
+
size 21269
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:f6173fb93d4a4b60d43fbdc665bfc3e40e284723bce3cd48fe4ef690620ee099
|
|
3
|
+
size 20790
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:bf6a27820ffe6b346437224369f39b3b461fb7088adc0804909de7e517bd9ff1
|
|
3
|
+
size 21029
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:dc6ba07dbfbee5867afbe4679913c36aa184888f22242d70d541ca8efb90f3f8
|
|
3
|
+
size 46164
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:4df239590aaac389efc3ed9d6e8087725b77a70c5bd5f9047993671379a33b25
|
|
3
|
+
size 33107
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:fb7b5b33d29a1563781735b24728ab0623702f0d621ebb0867052297e30706fb
|
|
3
|
+
size 27534
|
package/dist/cjs/__tests__/vr-tests/__snapshots__/inline-card/vrinline-profile-card--default.png
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:af8a94dfe81133fb46bd8d54a62caa5a4d5e1a509ff66b71f535b81a2447b0dc
|
|
3
|
+
size 15021
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:f00cec93527be2f4f4a5327b7763d91b192eb2463bfc12ecfbd7c1a31786c8c5
|
|
3
|
+
size 19614
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:6716f3d6eb24a447ff093b029d65ae05e445a300690b1caa7c8e54900901f929
|
|
3
|
+
size 19881
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:f8c1081b03d16591c8734dfb138e3daa7b4434dd55e9e76ee37041bf851a6664
|
|
3
|
+
size 28441
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:092fb5113b91bae4daf708bf402a9d2b2e9a01e90776c932b82f61d39157d74f
|
|
3
|
+
size 28550
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:040ac9ac3924313e5190c9544b29333164335632d99404eb6c9acb7310104f8b
|
|
3
|
+
size 22204
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:ece060ad88c1177f248df623ddeb037244e25bb5b3c509f928066276c054cb84
|
|
3
|
+
size 22276
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:eedfbf6143477510a630439e734cf903748ee02752140fed80c7848f64d6a113
|
|
3
|
+
size 11417
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:badfaba247c5b79335dd78d5a05d48602a86003d9a56e61fe594f18f72690124
|
|
3
|
+
size 11529
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:bfaaf0f8f931346a0d5eaea8be80b628054f8e78b5a0589a89ae94ff23644096
|
|
3
|
+
size 24087
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:167c1ecfdb5bfbcf26b9a748e63b4b1179b87f9a44cb0bd2720483aa1941bdc6
|
|
3
|
+
size 27962
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:b9a7b3ed74b37f5d1d90b3546c6ef961e32c9859334a2d0464818dc554259a8a
|
|
3
|
+
size 28071
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:ac3a2c0998478837ba197483c362e54d05f6792469f2927a207adef09f48fd03
|
|
3
|
+
size 48119
|
|
@@ -11,7 +11,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
|
|
|
11
11
|
var context = exports.context = {
|
|
12
12
|
componentName: 'smart-cards',
|
|
13
13
|
packageName: "@atlaskit/smart-card",
|
|
14
|
-
packageVersion: "44.3.
|
|
14
|
+
packageVersion: "44.3.11"
|
|
15
15
|
};
|
|
16
16
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
17
17
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
8
|
exports.CardWithUrlContent = exports.CardWithUrl = void 0;
|
|
9
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
10
11
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
11
12
|
var _linkExtractors = require("@atlaskit/link-extractors");
|
|
@@ -18,6 +19,7 @@ var _constants = require("../../constants");
|
|
|
18
19
|
var _state = require("../../state");
|
|
19
20
|
var _analytics = require("../../state/analytics");
|
|
20
21
|
var _helpers = require("../../state/helpers");
|
|
22
|
+
var _useInlineActionNudgeExperiment = _interopRequireDefault(require("../../state/hooks/use-inline-action-nudge-experiment"));
|
|
21
23
|
var _modal = require("../../state/modal");
|
|
22
24
|
var _utils = require("../../utils");
|
|
23
25
|
var _combineActionOptions = require("../../utils/actions/combine-action-options");
|
|
@@ -32,6 +34,8 @@ var _InlineCard = require("../InlineCard");
|
|
|
32
34
|
var _useSmartLinkEvents = require("../SmartLinkEvents/useSmartLinkEvents");
|
|
33
35
|
var _cardIntersectionObserver = _interopRequireDefault(require("./card-intersection-observer"));
|
|
34
36
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
37
|
+
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; }
|
|
38
|
+
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) { (0, _defineProperty2.default)(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; }
|
|
35
39
|
var thirdPartyARIPrefix = 'ari:third-party';
|
|
36
40
|
var EmbedCardComponent = (0, _platformFeatureFlagsReact.componentWithFG)('rovo_chat_embed_card_dwell_and_hover_metrics', _EmbedCard.EmbedCardUpdated, _EmbedCard.EmbedCard);
|
|
37
41
|
function Component(_ref) {
|
|
@@ -93,6 +97,8 @@ function Component(_ref) {
|
|
|
93
97
|
actionOptions: actionOptionsProp,
|
|
94
98
|
platform: platform
|
|
95
99
|
});
|
|
100
|
+
var _useInlineActionNudge = (0, _useInlineActionNudgeExperiment.default)(url, showHoverPreview, actionOptions),
|
|
101
|
+
rovoActionsCtaShown = _useInlineActionNudge.isEnabled;
|
|
96
102
|
var fire3PClickEvent = (0, _platformFeatureFlags.fg)('platform_smartlink_3pclick_analytics') ?
|
|
97
103
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
98
104
|
(0, _useSmartLinkEvents.useFire3PWorkflowsClickEvent)(firstPartyIdentifier, thirdPartyARI) : undefined;
|
|
@@ -216,11 +222,13 @@ function Component(_ref) {
|
|
|
216
222
|
(0, _analytics.succeedUfoExperience)('smart-link-authenticated', id || 'NULL', {
|
|
217
223
|
display: isFlexibleUi ? 'flexible' : appearance
|
|
218
224
|
});
|
|
219
|
-
fireEvent('ui.smartLink.renderSuccess', {
|
|
225
|
+
fireEvent('ui.smartLink.renderSuccess', _objectSpread({
|
|
220
226
|
display: isFlexibleUi ? 'flexible' : appearance
|
|
221
|
-
}
|
|
227
|
+
}, appearance === 'inline' && {
|
|
228
|
+
rovoActionsCtaShown: rovoActionsCtaShown
|
|
229
|
+
}));
|
|
222
230
|
}
|
|
223
|
-
}, [appearance, extensionKey, fireEvent, id, isFlexibleUi, state.status]);
|
|
231
|
+
}, [appearance, extensionKey, fireEvent, id, isFlexibleUi, rovoActionsCtaShown, state.status]);
|
|
224
232
|
|
|
225
233
|
// Fire smartLink seen event once on a successful render card is in the viewport
|
|
226
234
|
(0, _react.useEffect)(function () {
|
|
@@ -410,6 +418,8 @@ function ComponentUpdated(_ref2) {
|
|
|
410
418
|
actionOptions: actionOptionsProp,
|
|
411
419
|
platform: platform
|
|
412
420
|
});
|
|
421
|
+
var _useInlineActionNudge2 = (0, _useInlineActionNudgeExperiment.default)(url, showHoverPreview, actionOptions),
|
|
422
|
+
rovoActionsCtaShown = _useInlineActionNudge2.isEnabled;
|
|
413
423
|
var fire3PClickEvent = (0, _platformFeatureFlags.fg)('platform_smartlink_3pclick_analytics') ?
|
|
414
424
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
415
425
|
(0, _useSmartLinkEvents.useFire3PWorkflowsClickEvent)(firstPartyIdentifier, thirdPartyARI) : undefined;
|
|
@@ -533,11 +543,13 @@ function ComponentUpdated(_ref2) {
|
|
|
533
543
|
(0, _analytics.succeedUfoExperience)('smart-link-authenticated', id || 'NULL', {
|
|
534
544
|
display: isFlexibleUi ? 'flexible' : appearance
|
|
535
545
|
});
|
|
536
|
-
fireEvent('ui.smartLink.renderSuccess', {
|
|
546
|
+
fireEvent('ui.smartLink.renderSuccess', _objectSpread({
|
|
537
547
|
display: isFlexibleUi ? 'flexible' : appearance
|
|
538
|
-
}
|
|
548
|
+
}, appearance === 'inline' && {
|
|
549
|
+
rovoActionsCtaShown: rovoActionsCtaShown
|
|
550
|
+
}));
|
|
539
551
|
}
|
|
540
|
-
}, [appearance, extensionKey, fireEvent, id, isFlexibleUi, state.status]);
|
|
552
|
+
}, [appearance, extensionKey, fireEvent, id, isFlexibleUi, rovoActionsCtaShown, state.status]);
|
|
541
553
|
|
|
542
554
|
// Fire smartLink seen event once on a successful render card is in the viewport
|
|
543
555
|
(0, _react.useEffect)(function () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._1e0c116y{display:inline-flex}
|
|
@@ -16,7 +16,7 @@ var ActionIcon = function ActionIcon(_ref) {
|
|
|
16
16
|
icon = _ref.icon;
|
|
17
17
|
return /*#__PURE__*/React.createElement("span", {
|
|
18
18
|
"data-testid": "".concat(testId, "-icon"),
|
|
19
|
-
className: (0, _runtime.ax)(["
|
|
19
|
+
className: (0, _runtime.ax)(["_1e0c116y"])
|
|
20
20
|
}, icon);
|
|
21
21
|
};
|
|
22
22
|
var _default = exports.default = ActionIcon;
|
|
@@ -19,6 +19,7 @@ var _useAnalyticsEvents2 = require("../../../common/analytics/generated/use-anal
|
|
|
19
19
|
var _constants = require("../../../constants");
|
|
20
20
|
var _extractRovoChatAction = _interopRequireDefault(require("../../../extractors/flexible/actions/extract-rovo-chat-action"));
|
|
21
21
|
var _helpers = require("../../../state/helpers");
|
|
22
|
+
var _useInlineActionNudgeExperiment = _interopRequireDefault(require("../../../state/hooks/use-inline-action-nudge-experiment"));
|
|
22
23
|
var _useRovoConfig = _interopRequireDefault(require("../../../state/hooks/use-rovo-config"));
|
|
23
24
|
var _store = require("../../../state/store");
|
|
24
25
|
var _utils = require("../../../utils");
|
|
@@ -324,7 +325,8 @@ var HoverCardContent = function HoverCardContent(_ref4) {
|
|
|
324
325
|
};
|
|
325
326
|
var HoverCardContentWithViewVariant = function HoverCardContentWithViewVariant(props) {
|
|
326
327
|
var cardState = props.cardState,
|
|
327
|
-
actionOptions = props.actionOptions
|
|
328
|
+
actionOptions = props.actionOptions,
|
|
329
|
+
url = props.url;
|
|
328
330
|
var rovoConfig = (0, _useRovoConfig.default)();
|
|
329
331
|
var isResolved = useIsResolvedView(props);
|
|
330
332
|
var showPreauthBetterHovercard = useIsShowPreauthBetterHovercard(props);
|
|
@@ -335,6 +337,8 @@ var HoverCardContentWithViewVariant = function HoverCardContentWithViewVariant(p
|
|
|
335
337
|
actionOptions: actionOptions
|
|
336
338
|
}) !== undefined;
|
|
337
339
|
}, [actionOptions, cardState.details, rovoConfig, isResolved]);
|
|
340
|
+
var _useInlineActionNudge = (0, _useInlineActionNudgeExperiment.default)(url, true, actionOptions),
|
|
341
|
+
rovoActionsCtaShown = _useInlineActionNudge.isEnabled;
|
|
338
342
|
var data = (0, _react.useMemo)(function () {
|
|
339
343
|
var viewVariant = 'default';
|
|
340
344
|
if (showRovoResolvedView && ((0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_sl_3p_auth_rovo_action', 'isEnabled', true) || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('rovogrowth-640-inline-action-nudge-exp', 'isEnabled', true))) {
|
|
@@ -344,10 +348,11 @@ var HoverCardContentWithViewVariant = function HoverCardContentWithViewVariant(p
|
|
|
344
348
|
}
|
|
345
349
|
return {
|
|
346
350
|
attributes: {
|
|
347
|
-
viewVariant: viewVariant
|
|
351
|
+
viewVariant: viewVariant,
|
|
352
|
+
rovoActionsCtaShown: rovoActionsCtaShown
|
|
348
353
|
}
|
|
349
354
|
};
|
|
350
|
-
}, [showRovoResolvedView, showPreauthBetterHovercard]);
|
|
355
|
+
}, [showRovoResolvedView, showPreauthBetterHovercard, rovoActionsCtaShown]);
|
|
351
356
|
return /*#__PURE__*/_react.default.createElement(_analyticsNext.AnalyticsContext, {
|
|
352
357
|
data: data
|
|
353
358
|
}, /*#__PURE__*/_react.default.createElement(HoverCardContent, (0, _extends2.default)({}, props, {
|
|
@@ -22,7 +22,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
|
|
|
22
22
|
_excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
|
|
23
23
|
var PACKAGE_DATA = {
|
|
24
24
|
packageName: "@atlaskit/smart-card",
|
|
25
|
-
packageVersion: "44.3.
|
|
25
|
+
packageVersion: "44.3.11",
|
|
26
26
|
componentName: 'linkUrl'
|
|
27
27
|
};
|
|
28
28
|
var Anchor = (0, _click.withLinkClickedEvent)('a');
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:c62ca1fcf135bcc43dbbbbfaf132700674f5bc6a3ad099af430512748a3bb8c9
|
|
3
|
+
size 15178
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:38fbbaa9d585f971f3bf9b9f85212e62acbcc80baea52707f88f175e9a12cd87
|
|
3
|
+
size 15281
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:a5897ab5ebbccef1cee98b716532b2a99faa91a236ceea64946cd2f1938b016f
|
|
3
|
+
size 15214
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:03329ee23ecfc3efbc8d06516e8ab8bb6587cb7d1da07066a0a0d710be6265d3
|
|
3
|
+
size 15816
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:ebffec5697b5636427a03d94f5c39de225e35f81dd583d0a589023de384f24f1
|
|
3
|
+
size 33475
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:89513e2c0d81198956da60618c8a8fa6f9fc5e929317a5e01512fd1a8a31e0d1
|
|
3
|
+
size 33654
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:ebffec5697b5636427a03d94f5c39de225e35f81dd583d0a589023de384f24f1
|
|
3
|
+
size 33475
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:89513e2c0d81198956da60618c8a8fa6f9fc5e929317a5e01512fd1a8a31e0d1
|
|
3
|
+
size 33654
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:75d477fdb1ab9dafdc76b9a0aa08f8ed7fd9759ff7e0fac2e957edfed38b9c6b
|
|
3
|
+
size 44784
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:2791c6deaa3bc6c046fd8fdd3852c4033dffe660d66e35eba6a0f0d7cb061cf8
|
|
3
|
+
size 44874
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:fff360412c60417f4773de6a2357639a36cb34e01f9657e48158a28105469785
|
|
3
|
+
size 41157
|