@atlaskit/smart-card 26.73.0 → 27.1.0
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/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/mocks.js +57 -55
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/test-utils.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/utils/api.js +25 -57
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/utils/index.js +1 -20
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/index.js +0 -7
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/main.js +6 -8
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/services/index.js +9 -10
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/main.js +1 -3
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/menu-context/main.js +1 -3
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/index.js +1 -6
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/mocks.js +57 -55
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/test-utils.js +2 -0
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/utils/api.js +6 -34
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/utils/index.js +1 -2
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/index.js +0 -1
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/main.js +5 -7
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/services/index.js +7 -8
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/main.js +0 -2
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/menu-context/main.js +0 -2
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/index.js +1 -8
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/mocks.js +57 -55
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/test-utils.js +2 -0
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/utils/api.js +24 -57
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/utils/index.js +1 -2
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/index.js +0 -1
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/main.js +6 -8
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/services/index.js +9 -10
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/main.js +1 -3
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/menu-context/main.js +1 -3
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/index.js +1 -6
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/types/__fixtures__/atlas-project.d.ts +1 -1
- package/dist/types/__fixtures__/dropbox-file.d.ts +1 -1
- package/dist/types/common/analytics/generated/create-event-payload.d.ts +1 -1
- package/dist/types/extractors/action/extract-lozenge-action-items.d.ts +1 -1
- package/dist/types/extractors/block/index.d.ts +7 -7
- package/dist/types/extractors/block/types.d.ts +4 -4
- package/dist/types/extractors/common/__mocks__/jsonld.d.ts +1 -1
- package/dist/types/extractors/common/actions/extractActions.d.ts +3 -3
- package/dist/types/extractors/common/actions/extractPreviewAction.d.ts +4 -4
- package/dist/types/extractors/common/byline/extractByline.d.ts +1 -1
- package/dist/types/extractors/common/context/extractAccessContext.d.ts +3 -3
- package/dist/types/extractors/common/detail/extractAttachmentCount.d.ts +2 -2
- package/dist/types/extractors/common/detail/extractCommentCount.d.ts +2 -2
- package/dist/types/extractors/common/detail/extractDownloadUrl.d.ts +1 -1
- package/dist/types/extractors/common/detail/extractProgrammingLanguage.d.ts +2 -2
- package/dist/types/extractors/common/detail/extractSubscriberCount.d.ts +2 -2
- package/dist/types/extractors/common/icon/extractFileFormat.d.ts +1 -1
- package/dist/types/extractors/common/icon/extractIconFromTask.d.ts +1 -1
- package/dist/types/extractors/common/icon/priority.d.ts +1 -1
- package/dist/types/extractors/common/lozenge/extractLozenge.d.ts +2 -2
- package/dist/types/extractors/common/lozenge/extractState.d.ts +2 -2
- package/dist/types/extractors/common/lozenge/extractTag.d.ts +2 -2
- package/dist/types/extractors/common/lozenge/extractTaskStatus.d.ts +2 -2
- package/dist/types/extractors/common/lozenge/extractTaskType.d.ts +1 -1
- package/dist/types/extractors/common/lozenge/types.d.ts +2 -2
- package/dist/types/extractors/common/lozenge/utils.d.ts +1 -1
- package/dist/types/extractors/common/meta/extractIsSupportTheming.d.ts +1 -1
- package/dist/types/extractors/common/meta/extractIsTrusted.d.ts +1 -1
- package/dist/types/extractors/common/primitives/extractTitleTextColor.d.ts +1 -1
- package/dist/types/extractors/common/primitives/extractVisitUrl.d.ts +1 -1
- package/dist/types/extractors/common/title-prefix/extractTitlePrefix.d.ts +4 -4
- package/dist/types/extractors/flexible/actions/extract-copy-link-action.d.ts +2 -2
- package/dist/types/extractors/flexible/actions/extract-download-action.d.ts +2 -2
- package/dist/types/extractors/flexible/actions/extract-follow-action.d.ts +1 -1
- package/dist/types/extractors/flexible/actions/extract-preview-action.d.ts +2 -2
- package/dist/types/extractors/flexible/actions/extract-view-action.d.ts +2 -2
- package/dist/types/extractors/flexible/collaboratorGroup/index.d.ts +2 -2
- package/dist/types/extractors/flexible/extract-preview.d.ts +2 -2
- package/dist/types/extractors/flexible/extract-priority.d.ts +2 -2
- package/dist/types/extractors/flexible/icon/extract-file-formatIcon.d.ts +1 -1
- package/dist/types/extractors/flexible/icon/extract-icon-renderer.d.ts +2 -2
- package/dist/types/extractors/flexible/icon/extract-jira-task-icon.d.ts +1 -1
- package/dist/types/extractors/flexible/icon/extract-provider-icon.d.ts +2 -2
- package/dist/types/extractors/flexible/icon/extract-url-icon.d.ts +2 -2
- package/dist/types/extractors/flexible/icon/index.d.ts +2 -2
- package/dist/types/extractors/flexible/icon/types.d.ts +1 -1
- package/dist/types/extractors/flexible/index.d.ts +2 -2
- package/dist/types/extractors/flexible/latest-commit/index.d.ts +1 -1
- package/dist/types/extractors/flexible/utils.d.ts +3 -3
- package/dist/types/extractors/inline/index.d.ts +3 -3
- package/dist/types/index.d.ts +1 -1
- package/dist/types/model/invoke-handler.d.ts +2 -2
- package/dist/types/model/invoke-opts.d.ts +2 -2
- package/dist/types/ssr.d.ts +1 -1
- package/dist/types/state/actions/index.d.ts +4 -4
- package/dist/types/state/actions/types.d.ts +1 -1
- package/dist/types/state/analytics/types.d.ts +1 -1
- package/dist/types/state/analytics/ufoExperiences.d.ts +1 -1
- package/dist/types/state/analytics/useDispatchAnalytics.d.ts +1 -1
- package/dist/types/state/analytics/useSmartLinkAnalytics.d.ts +4 -4
- package/dist/types/state/config/index.d.ts +1 -1
- package/dist/types/state/flexible-ui-context/index.d.ts +1 -1
- package/dist/types/state/flexible-ui-context/utils.d.ts +1 -1
- package/dist/types/state/helpers.d.ts +4 -4
- package/dist/types/state/hooks/use-ai-summary-config/index.d.ts +1 -1
- package/dist/types/state/hooks/use-ai-summary-config/types.d.ts +1 -1
- package/dist/types/state/hooks/use-invoke/types.d.ts +1 -1
- package/dist/types/state/hooks/use-invoke/utils.d.ts +1 -1
- package/dist/types/state/hooks/use-related-urls/index.d.ts +1 -1
- package/dist/types/state/hooks/useSmartLink.d.ts +1 -1
- package/dist/types/state/hooks-external/useSmartLinkActions.d.ts +1 -1
- package/dist/types/state/reducers/types.d.ts +2 -2
- package/dist/types/state/renderers/index.d.ts +1 -1
- package/dist/types/state/store/index.d.ts +1 -1
- package/dist/types/types.d.ts +4 -4
- package/dist/types/utils/actions/combine-action-options.d.ts +1 -1
- package/dist/types/utils/actions/create-status-update-request.d.ts +1 -1
- package/dist/types/utils/analytics/analytics.d.ts +4 -4
- package/dist/types/utils/analytics/click.d.ts +4 -4
- package/dist/types/utils/analytics/index.d.ts +2 -2
- package/dist/types/utils/analytics/types.d.ts +6 -6
- package/dist/types/utils/intl-utils/index.d.ts +2 -2
- package/dist/types/utils/jsonld.d.ts +1 -1
- package/dist/types/utils/mocks.d.ts +1 -1
- package/dist/types/utils/performance.d.ts +1 -1
- package/dist/types/utils/test-utils.d.ts +1 -1
- package/dist/types/utils/types.d.ts +2 -2
- package/dist/types/view/BlockCard/actions/AuthorizeAction.d.ts +1 -1
- package/dist/types/view/BlockCard/actions/DownloadAction.d.ts +1 -1
- package/dist/types/view/BlockCard/actions/ForbiddenAction.d.ts +1 -1
- package/dist/types/view/BlockCard/actions/PreviewAction.d.ts +6 -6
- package/dist/types/view/BlockCard/actions/RetryAction.d.ts +1 -1
- package/dist/types/view/BlockCard/actions/ViewAction.d.ts +1 -1
- package/dist/types/view/BlockCard/actions/flexible/AuthorizeAction.d.ts +1 -1
- package/dist/types/view/BlockCard/actions/flexible/ForbiddenAction.d.ts +3 -3
- package/dist/types/view/BlockCard/actions/flexible/RetryAction.d.ts +1 -1
- package/dist/types/view/BlockCard/components/Action.d.ts +1 -1
- package/dist/types/view/BlockCard/components/ActionList.d.ts +1 -1
- package/dist/types/view/BlockCard/components/CollaboratorList.d.ts +1 -1
- package/dist/types/view/BlockCard/types.d.ts +5 -5
- package/dist/types/view/BlockCard/utils/handlers.d.ts +1 -1
- package/dist/types/view/BlockCard/views/ForbiddenView.d.ts +3 -3
- package/dist/types/view/BlockCard/views/NotFoundView.d.ts +1 -1
- package/dist/types/view/BlockCard/views/ResolvedView.d.ts +7 -7
- package/dist/types/view/BlockCard/views/UnauthorizedView.d.ts +2 -2
- package/dist/types/view/BlockCard/views/flexible/FlexibleErroredView.d.ts +1 -1
- package/dist/types/view/BlockCard/views/flexible/FlexibleForbiddenView.d.ts +1 -1
- package/dist/types/view/BlockCard/views/flexible/FlexibleNotFoundView.d.ts +1 -1
- package/dist/types/view/BlockCard/views/flexible/FlexibleResolvedView.d.ts +1 -1
- package/dist/types/view/BlockCard/views/flexible/FlexibleUnauthorisedView.d.ts +1 -1
- package/dist/types/view/BlockCard/views/flexible/types.d.ts +1 -1
- package/dist/types/view/BlockCard/views/flexible/unresolved-view/types.d.ts +1 -1
- package/dist/types/view/BlockCard/views/flexible/utils/withFlexibleUIBlockCardStyle.d.ts +1 -1
- package/dist/types/view/Card/index.d.ts +2 -2
- package/dist/types/view/CardWithData/component.d.ts +1 -1
- package/dist/types/view/CardWithData/loader.d.ts +2 -2
- package/dist/types/view/CardWithData/types.d.ts +3 -3
- package/dist/types/view/CardWithUrl/component-lazy/LazyIntersectionObserverCard.d.ts +1 -1
- package/dist/types/view/CardWithUrl/component-lazy/LazyLazilyRenderCard.d.ts +1 -1
- package/dist/types/view/CardWithUrl/component-lazy/LoadingCardLink.d.ts +2 -2
- package/dist/types/view/CardWithUrl/component-lazy/index.d.ts +1 -1
- package/dist/types/view/CardWithUrl/component.d.ts +1 -1
- package/dist/types/view/CardWithUrl/loader.d.ts +1 -1
- package/dist/types/view/CardWithUrl/types.d.ts +6 -6
- package/dist/types/view/EmbedCard/components/ImageIcon.d.ts +1 -1
- package/dist/types/view/EmbedCard/components/styled.d.ts +1 -1
- package/dist/types/view/EmbedCard/index.d.ts +1 -1
- package/dist/types/view/EmbedCard/types.d.ts +7 -7
- package/dist/types/view/EmbedCard/views/forbidden-view/index.d.ts +1 -1
- package/dist/types/view/EmbedCard/views/unauthorized-view/index.d.ts +1 -1
- package/dist/types/view/EmbedModal/components/analytics/index.d.ts +2 -2
- package/dist/types/view/EmbedModal/components/analytics/types.d.ts +2 -2
- package/dist/types/view/EmbedModal/components/embed-content/index.d.ts +2 -2
- package/dist/types/view/EmbedModal/components/error-boundary/index.d.ts +1 -1
- package/dist/types/view/EmbedModal/components/link-info/index.d.ts +1 -1
- package/dist/types/view/EmbedModal/components/link-info/link-info-button/index.d.ts +1 -1
- package/dist/types/view/EmbedModal/components/link-info/types.d.ts +1 -1
- package/dist/types/view/EmbedModal/types.d.ts +3 -3
- package/dist/types/view/EmbedModal/utils.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/action/action-button/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/action/action-button/types.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/action/action-dropdown-item/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/ai-summary-action/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/types.d.ts +7 -5
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/utils/api.d.ts +3 -8
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/utils/index.d.ts +1 -2
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/main.d.ts +3 -5
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/services/index.d.ts +5 -6
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/main.d.ts +1 -3
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/menu-context/main.d.ts +1 -3
- package/dist/types/view/FlexibleCard/components/actions/copy-link-action/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/copy-link-action/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/delete-action/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/download-action/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/edit-action/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/follow-action/__fixtures__/follow-goal-context.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/follow-action/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/preview-action/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/action-block/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/action-group/action-group-item/index.d.ts +3 -3
- package/dist/types/view/FlexibleCard/components/blocks/action-group/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/action-group/types.d.ts +3 -3
- package/dist/types/view/FlexibleCard/components/blocks/ai-summary-block/ai-event-summary-viewed/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-indicator-container.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-state-loading.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/ai-summary-block/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/block/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/element-group/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/element-group/types.d.ts +3 -3
- package/dist/types/view/FlexibleCard/components/blocks/footer-block/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/footer-block/types.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/metadata-block/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/metadata-block/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/preview-block/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/preview-block/resolved/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/preview-block/types.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/related-urls-block/analytics.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/related-urls-block/errored/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/related-urls-block/errored/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/related-urls-block/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/related-urls-block/resolved/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/related-url-item/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/related-url-item/types.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/resolved-result-stack/analytics.d.ts +3 -3
- package/dist/types/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/resolved-result-stack/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/resolved-result-stack/types.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/types.d.ts +3 -3
- package/dist/types/view/FlexibleCard/components/blocks/related-urls-block/resolved/types.d.ts +3 -3
- package/dist/types/view/FlexibleCard/components/blocks/related-urls-block/resolving/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/snippet-block/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/snippet-block/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/title-block/resolving/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/utils.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/common/atlaskit-icon/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/common/atlaskit-icon/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/common/image-icon/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/common/loading-skeleton/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/container/hover-card-control/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/container/hover-card-control/types.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/container/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/container/layered-link/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/container/types.d.ts +3 -3
- package/dist/types/view/FlexibleCard/components/elements/atlaskit-badge/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/elements/atlaskit-badge/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/elements/avatar-group/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/elements/avatar-group/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/elements/badge/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/elements/badge/types.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/elements/date-time/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/elements/date-time/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/elements/index.d.ts +8 -8
- package/dist/types/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/types.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-items-group/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-items-group/types.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-trigger/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/elements/lozenge/types.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/elements/media/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/elements/media/types.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/elements/preview/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/elements/preview/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/elements/snippet-element/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/elements/text/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/elements/text/types.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/elements/types.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/types.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/utils.d.ts +6 -6
- package/dist/types/view/FlexibleCard/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/types.d.ts +7 -7
- package/dist/types/view/FlexibleCard/utils.d.ts +3 -3
- package/dist/types/view/HoverCard/components/CustomPopupContainer.d.ts +1 -1
- package/dist/types/view/HoverCard/components/HoverCardComponent.d.ts +2 -2
- package/dist/types/view/HoverCard/components/ImagePreview.d.ts +1 -1
- package/dist/types/view/HoverCard/components/views/forbidden/index.d.ts +1 -1
- package/dist/types/view/HoverCard/components/views/forbidden/types.d.ts +1 -1
- package/dist/types/view/HoverCard/components/views/resolved/types.d.ts +4 -4
- package/dist/types/view/HoverCard/components/views/resolving/index.d.ts +1 -1
- package/dist/types/view/HoverCard/components/views/resolving/styled.d.ts +1 -1
- package/dist/types/view/HoverCard/components/views/resolving/types.d.ts +2 -2
- package/dist/types/view/HoverCard/components/views/unauthorised/index.d.ts +1 -1
- package/dist/types/view/HoverCard/components/views/unauthorised/types.d.ts +2 -2
- package/dist/types/view/HoverCard/index.d.ts +1 -1
- package/dist/types/view/HoverCard/styled.d.ts +1 -1
- package/dist/types/view/HoverCard/types.d.ts +8 -8
- package/dist/types/view/InlineCard/ForbiddenView/index.d.ts +1 -1
- package/dist/types/view/InlineCard/ResolvedView/index.d.ts +1 -1
- package/dist/types/view/InlineCard/UnauthorisedView/index.d.ts +1 -1
- package/dist/types/view/InlineCard/index.d.ts +2 -2
- package/dist/types/view/InlineCard/types.d.ts +5 -5
- package/dist/types/view/LinkUrl/LinkWarningModal/hooks/use-link-warning-modal.d.ts +1 -1
- package/dist/types/view/LinkUrl/LinkWarningModal/index.d.ts +1 -1
- package/dist/types/view/LinkUrl/index.d.ts +1 -1
- package/dist/types/view/LinkView/index.d.ts +1 -1
- package/dist/types/view/common/MetadataList.d.ts +1 -1
- package/dist/types/view/common/UnauthorisedViewContent.d.ts +1 -1
- package/dist/types/view/common/ai-icon-loading/index.d.ts +2 -2
- package/dist/types/view/common/ai-prism/constants.d.ts +1 -1
- package/dist/types/view/common/ai-prism/types.d.ts +1 -1
- package/dist/types/view/types.d.ts +4 -4
- package/dist/types-ts4.5/__fixtures__/atlas-project.d.ts +1 -1
- package/dist/types-ts4.5/__fixtures__/dropbox-file.d.ts +1 -1
- package/dist/types-ts4.5/common/analytics/generated/create-event-payload.d.ts +1 -1
- package/dist/types-ts4.5/extractors/action/extract-lozenge-action-items.d.ts +1 -1
- package/dist/types-ts4.5/extractors/block/index.d.ts +7 -7
- package/dist/types-ts4.5/extractors/block/types.d.ts +4 -4
- package/dist/types-ts4.5/extractors/common/__mocks__/jsonld.d.ts +1 -1
- package/dist/types-ts4.5/extractors/common/actions/extractActions.d.ts +3 -3
- package/dist/types-ts4.5/extractors/common/actions/extractPreviewAction.d.ts +4 -4
- package/dist/types-ts4.5/extractors/common/byline/extractByline.d.ts +1 -1
- package/dist/types-ts4.5/extractors/common/context/extractAccessContext.d.ts +3 -3
- package/dist/types-ts4.5/extractors/common/detail/extractAttachmentCount.d.ts +2 -2
- package/dist/types-ts4.5/extractors/common/detail/extractCommentCount.d.ts +2 -2
- package/dist/types-ts4.5/extractors/common/detail/extractDownloadUrl.d.ts +1 -1
- package/dist/types-ts4.5/extractors/common/detail/extractProgrammingLanguage.d.ts +2 -2
- package/dist/types-ts4.5/extractors/common/detail/extractSubscriberCount.d.ts +2 -2
- package/dist/types-ts4.5/extractors/common/icon/extractFileFormat.d.ts +1 -1
- package/dist/types-ts4.5/extractors/common/icon/extractIconFromTask.d.ts +1 -1
- package/dist/types-ts4.5/extractors/common/icon/priority.d.ts +1 -1
- package/dist/types-ts4.5/extractors/common/lozenge/extractLozenge.d.ts +2 -2
- package/dist/types-ts4.5/extractors/common/lozenge/extractState.d.ts +2 -2
- package/dist/types-ts4.5/extractors/common/lozenge/extractTag.d.ts +2 -2
- package/dist/types-ts4.5/extractors/common/lozenge/extractTaskStatus.d.ts +2 -2
- package/dist/types-ts4.5/extractors/common/lozenge/extractTaskType.d.ts +1 -1
- package/dist/types-ts4.5/extractors/common/lozenge/types.d.ts +2 -2
- package/dist/types-ts4.5/extractors/common/lozenge/utils.d.ts +1 -1
- package/dist/types-ts4.5/extractors/common/meta/extractIsSupportTheming.d.ts +1 -1
- package/dist/types-ts4.5/extractors/common/meta/extractIsTrusted.d.ts +1 -1
- package/dist/types-ts4.5/extractors/common/primitives/extractTitleTextColor.d.ts +1 -1
- package/dist/types-ts4.5/extractors/common/primitives/extractVisitUrl.d.ts +1 -1
- package/dist/types-ts4.5/extractors/common/title-prefix/extractTitlePrefix.d.ts +4 -4
- package/dist/types-ts4.5/extractors/flexible/actions/extract-copy-link-action.d.ts +2 -2
- package/dist/types-ts4.5/extractors/flexible/actions/extract-download-action.d.ts +2 -2
- package/dist/types-ts4.5/extractors/flexible/actions/extract-follow-action.d.ts +1 -1
- package/dist/types-ts4.5/extractors/flexible/actions/extract-preview-action.d.ts +2 -2
- package/dist/types-ts4.5/extractors/flexible/actions/extract-view-action.d.ts +2 -2
- package/dist/types-ts4.5/extractors/flexible/collaboratorGroup/index.d.ts +2 -2
- package/dist/types-ts4.5/extractors/flexible/extract-preview.d.ts +2 -2
- package/dist/types-ts4.5/extractors/flexible/extract-priority.d.ts +2 -2
- package/dist/types-ts4.5/extractors/flexible/icon/extract-file-formatIcon.d.ts +1 -1
- package/dist/types-ts4.5/extractors/flexible/icon/extract-icon-renderer.d.ts +2 -2
- package/dist/types-ts4.5/extractors/flexible/icon/extract-jira-task-icon.d.ts +1 -1
- package/dist/types-ts4.5/extractors/flexible/icon/extract-provider-icon.d.ts +2 -2
- package/dist/types-ts4.5/extractors/flexible/icon/extract-url-icon.d.ts +2 -2
- package/dist/types-ts4.5/extractors/flexible/icon/index.d.ts +2 -2
- package/dist/types-ts4.5/extractors/flexible/icon/types.d.ts +1 -1
- package/dist/types-ts4.5/extractors/flexible/index.d.ts +2 -2
- package/dist/types-ts4.5/extractors/flexible/latest-commit/index.d.ts +1 -1
- package/dist/types-ts4.5/extractors/flexible/utils.d.ts +3 -3
- package/dist/types-ts4.5/extractors/inline/index.d.ts +3 -3
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/dist/types-ts4.5/model/invoke-handler.d.ts +2 -2
- package/dist/types-ts4.5/model/invoke-opts.d.ts +2 -2
- package/dist/types-ts4.5/ssr.d.ts +1 -1
- package/dist/types-ts4.5/state/actions/index.d.ts +4 -4
- package/dist/types-ts4.5/state/actions/types.d.ts +1 -1
- package/dist/types-ts4.5/state/analytics/types.d.ts +1 -1
- package/dist/types-ts4.5/state/analytics/ufoExperiences.d.ts +1 -1
- package/dist/types-ts4.5/state/analytics/useDispatchAnalytics.d.ts +1 -1
- package/dist/types-ts4.5/state/analytics/useSmartLinkAnalytics.d.ts +4 -4
- package/dist/types-ts4.5/state/config/index.d.ts +1 -1
- package/dist/types-ts4.5/state/flexible-ui-context/index.d.ts +1 -1
- package/dist/types-ts4.5/state/flexible-ui-context/utils.d.ts +1 -1
- package/dist/types-ts4.5/state/helpers.d.ts +4 -4
- package/dist/types-ts4.5/state/hooks/use-ai-summary-config/index.d.ts +1 -1
- package/dist/types-ts4.5/state/hooks/use-ai-summary-config/types.d.ts +1 -1
- package/dist/types-ts4.5/state/hooks/use-invoke/types.d.ts +1 -1
- package/dist/types-ts4.5/state/hooks/use-invoke/utils.d.ts +1 -1
- package/dist/types-ts4.5/state/hooks/use-related-urls/index.d.ts +1 -1
- package/dist/types-ts4.5/state/hooks/useSmartLink.d.ts +1 -1
- package/dist/types-ts4.5/state/hooks-external/useSmartLinkActions.d.ts +1 -1
- package/dist/types-ts4.5/state/reducers/types.d.ts +2 -2
- package/dist/types-ts4.5/state/renderers/index.d.ts +1 -1
- package/dist/types-ts4.5/state/store/index.d.ts +1 -1
- package/dist/types-ts4.5/types.d.ts +4 -4
- package/dist/types-ts4.5/utils/actions/combine-action-options.d.ts +1 -1
- package/dist/types-ts4.5/utils/actions/create-status-update-request.d.ts +1 -1
- package/dist/types-ts4.5/utils/analytics/analytics.d.ts +4 -4
- package/dist/types-ts4.5/utils/analytics/click.d.ts +4 -4
- package/dist/types-ts4.5/utils/analytics/index.d.ts +2 -2
- package/dist/types-ts4.5/utils/analytics/types.d.ts +6 -6
- package/dist/types-ts4.5/utils/intl-utils/index.d.ts +2 -2
- package/dist/types-ts4.5/utils/jsonld.d.ts +1 -1
- package/dist/types-ts4.5/utils/mocks.d.ts +1 -1
- package/dist/types-ts4.5/utils/performance.d.ts +1 -1
- package/dist/types-ts4.5/utils/test-utils.d.ts +1 -1
- package/dist/types-ts4.5/utils/types.d.ts +2 -2
- package/dist/types-ts4.5/view/BlockCard/actions/AuthorizeAction.d.ts +1 -1
- package/dist/types-ts4.5/view/BlockCard/actions/DownloadAction.d.ts +1 -1
- package/dist/types-ts4.5/view/BlockCard/actions/ForbiddenAction.d.ts +1 -1
- package/dist/types-ts4.5/view/BlockCard/actions/PreviewAction.d.ts +6 -6
- package/dist/types-ts4.5/view/BlockCard/actions/RetryAction.d.ts +1 -1
- package/dist/types-ts4.5/view/BlockCard/actions/ViewAction.d.ts +1 -1
- package/dist/types-ts4.5/view/BlockCard/actions/flexible/AuthorizeAction.d.ts +1 -1
- package/dist/types-ts4.5/view/BlockCard/actions/flexible/ForbiddenAction.d.ts +3 -3
- package/dist/types-ts4.5/view/BlockCard/actions/flexible/RetryAction.d.ts +1 -1
- package/dist/types-ts4.5/view/BlockCard/components/Action.d.ts +1 -1
- package/dist/types-ts4.5/view/BlockCard/components/ActionList.d.ts +1 -1
- package/dist/types-ts4.5/view/BlockCard/components/CollaboratorList.d.ts +1 -1
- package/dist/types-ts4.5/view/BlockCard/types.d.ts +5 -5
- package/dist/types-ts4.5/view/BlockCard/utils/handlers.d.ts +1 -1
- package/dist/types-ts4.5/view/BlockCard/views/ForbiddenView.d.ts +3 -3
- package/dist/types-ts4.5/view/BlockCard/views/NotFoundView.d.ts +1 -1
- package/dist/types-ts4.5/view/BlockCard/views/ResolvedView.d.ts +7 -7
- package/dist/types-ts4.5/view/BlockCard/views/UnauthorizedView.d.ts +2 -2
- package/dist/types-ts4.5/view/BlockCard/views/flexible/FlexibleErroredView.d.ts +1 -1
- package/dist/types-ts4.5/view/BlockCard/views/flexible/FlexibleForbiddenView.d.ts +1 -1
- package/dist/types-ts4.5/view/BlockCard/views/flexible/FlexibleNotFoundView.d.ts +1 -1
- package/dist/types-ts4.5/view/BlockCard/views/flexible/FlexibleResolvedView.d.ts +1 -1
- package/dist/types-ts4.5/view/BlockCard/views/flexible/FlexibleUnauthorisedView.d.ts +1 -1
- package/dist/types-ts4.5/view/BlockCard/views/flexible/types.d.ts +1 -1
- package/dist/types-ts4.5/view/BlockCard/views/flexible/unresolved-view/types.d.ts +1 -1
- package/dist/types-ts4.5/view/BlockCard/views/flexible/utils/withFlexibleUIBlockCardStyle.d.ts +1 -1
- package/dist/types-ts4.5/view/Card/index.d.ts +2 -2
- package/dist/types-ts4.5/view/CardWithData/component.d.ts +1 -1
- package/dist/types-ts4.5/view/CardWithData/loader.d.ts +2 -2
- package/dist/types-ts4.5/view/CardWithData/types.d.ts +3 -3
- package/dist/types-ts4.5/view/CardWithUrl/component-lazy/LazyIntersectionObserverCard.d.ts +1 -1
- package/dist/types-ts4.5/view/CardWithUrl/component-lazy/LazyLazilyRenderCard.d.ts +1 -1
- package/dist/types-ts4.5/view/CardWithUrl/component-lazy/LoadingCardLink.d.ts +2 -2
- package/dist/types-ts4.5/view/CardWithUrl/component-lazy/index.d.ts +1 -1
- package/dist/types-ts4.5/view/CardWithUrl/component.d.ts +1 -1
- package/dist/types-ts4.5/view/CardWithUrl/loader.d.ts +1 -1
- package/dist/types-ts4.5/view/CardWithUrl/types.d.ts +6 -6
- package/dist/types-ts4.5/view/EmbedCard/components/ImageIcon.d.ts +1 -1
- package/dist/types-ts4.5/view/EmbedCard/components/styled.d.ts +1 -1
- package/dist/types-ts4.5/view/EmbedCard/index.d.ts +1 -1
- package/dist/types-ts4.5/view/EmbedCard/types.d.ts +7 -7
- package/dist/types-ts4.5/view/EmbedCard/views/forbidden-view/index.d.ts +1 -1
- package/dist/types-ts4.5/view/EmbedCard/views/unauthorized-view/index.d.ts +1 -1
- package/dist/types-ts4.5/view/EmbedModal/components/analytics/index.d.ts +2 -2
- package/dist/types-ts4.5/view/EmbedModal/components/analytics/types.d.ts +2 -2
- package/dist/types-ts4.5/view/EmbedModal/components/embed-content/index.d.ts +2 -2
- package/dist/types-ts4.5/view/EmbedModal/components/error-boundary/index.d.ts +1 -1
- package/dist/types-ts4.5/view/EmbedModal/components/link-info/index.d.ts +1 -1
- package/dist/types-ts4.5/view/EmbedModal/components/link-info/link-info-button/index.d.ts +1 -1
- package/dist/types-ts4.5/view/EmbedModal/components/link-info/types.d.ts +1 -1
- package/dist/types-ts4.5/view/EmbedModal/types.d.ts +3 -3
- package/dist/types-ts4.5/view/EmbedModal/utils.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-button/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-button/types.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-dropdown-item/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/ai-summary-action/types.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/types.d.ts +7 -5
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/utils/api.d.ts +3 -8
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/utils/index.d.ts +1 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/main.d.ts +3 -5
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/services/index.d.ts +5 -6
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/main.d.ts +1 -3
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/menu-context/main.d.ts +1 -3
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/copy-link-action/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/copy-link-action/types.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/delete-action/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/download-action/types.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/edit-action/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/follow-action/__fixtures__/follow-goal-context.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/follow-action/types.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/preview-action/types.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-block/types.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-group/action-group-item/index.d.ts +3 -3
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-group/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-group/types.d.ts +3 -3
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-summary-block/ai-event-summary-viewed/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-indicator-container.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-state-loading.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-summary-block/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/block/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/element-group/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/element-group/types.d.ts +3 -3
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/footer-block/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/footer-block/types.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/metadata-block/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/metadata-block/types.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/preview-block/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/preview-block/resolved/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/preview-block/types.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/related-urls-block/analytics.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/related-urls-block/errored/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/related-urls-block/errored/types.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/related-urls-block/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/related-urls-block/resolved/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/related-url-item/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/related-url-item/types.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/resolved-result-stack/analytics.d.ts +3 -3
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/resolved-result-stack/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/resolved-result-stack/types.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/types.d.ts +3 -3
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/related-urls-block/resolved/types.d.ts +3 -3
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/related-urls-block/resolving/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/snippet-block/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/snippet-block/types.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/resolving/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/utils.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/common/atlaskit-icon/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/common/atlaskit-icon/types.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/common/image-icon/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/common/loading-skeleton/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/container/hover-card-control/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/container/hover-card-control/types.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/container/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/container/layered-link/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/container/types.d.ts +3 -3
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/atlaskit-badge/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/atlaskit-badge/types.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/avatar-group/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/avatar-group/types.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/badge/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/badge/types.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/date-time/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/date-time/types.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/index.d.ts +8 -8
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/types.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-items-group/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-items-group/types.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-trigger/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/types.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/media/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/media/types.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/preview/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/preview/types.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/snippet-element/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/text/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/text/types.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/types.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/types.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/utils.d.ts +6 -6
- package/dist/types-ts4.5/view/FlexibleCard/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/types.d.ts +7 -7
- package/dist/types-ts4.5/view/FlexibleCard/utils.d.ts +3 -3
- package/dist/types-ts4.5/view/HoverCard/components/CustomPopupContainer.d.ts +1 -1
- package/dist/types-ts4.5/view/HoverCard/components/HoverCardComponent.d.ts +2 -2
- package/dist/types-ts4.5/view/HoverCard/components/ImagePreview.d.ts +1 -1
- package/dist/types-ts4.5/view/HoverCard/components/views/forbidden/index.d.ts +1 -1
- package/dist/types-ts4.5/view/HoverCard/components/views/forbidden/types.d.ts +1 -1
- package/dist/types-ts4.5/view/HoverCard/components/views/resolved/types.d.ts +4 -4
- package/dist/types-ts4.5/view/HoverCard/components/views/resolving/index.d.ts +1 -1
- package/dist/types-ts4.5/view/HoverCard/components/views/resolving/styled.d.ts +1 -1
- package/dist/types-ts4.5/view/HoverCard/components/views/resolving/types.d.ts +2 -2
- package/dist/types-ts4.5/view/HoverCard/components/views/unauthorised/index.d.ts +1 -1
- package/dist/types-ts4.5/view/HoverCard/components/views/unauthorised/types.d.ts +2 -2
- package/dist/types-ts4.5/view/HoverCard/index.d.ts +1 -1
- package/dist/types-ts4.5/view/HoverCard/styled.d.ts +1 -1
- package/dist/types-ts4.5/view/HoverCard/types.d.ts +8 -8
- package/dist/types-ts4.5/view/InlineCard/ForbiddenView/index.d.ts +1 -1
- package/dist/types-ts4.5/view/InlineCard/ResolvedView/index.d.ts +1 -1
- package/dist/types-ts4.5/view/InlineCard/UnauthorisedView/index.d.ts +1 -1
- package/dist/types-ts4.5/view/InlineCard/index.d.ts +2 -2
- package/dist/types-ts4.5/view/InlineCard/types.d.ts +5 -5
- package/dist/types-ts4.5/view/LinkUrl/LinkWarningModal/hooks/use-link-warning-modal.d.ts +1 -1
- package/dist/types-ts4.5/view/LinkUrl/LinkWarningModal/index.d.ts +1 -1
- package/dist/types-ts4.5/view/LinkUrl/index.d.ts +1 -1
- package/dist/types-ts4.5/view/LinkView/index.d.ts +1 -1
- package/dist/types-ts4.5/view/common/MetadataList.d.ts +1 -1
- package/dist/types-ts4.5/view/common/UnauthorisedViewContent.d.ts +1 -1
- package/dist/types-ts4.5/view/common/ai-icon-loading/index.d.ts +2 -2
- package/dist/types-ts4.5/view/common/ai-prism/constants.d.ts +1 -1
- package/dist/types-ts4.5/view/common/ai-prism/types.d.ts +1 -1
- package/dist/types-ts4.5/view/types.d.ts +4 -4
- package/package.json +2 -4
- package/dist/cjs/__tests_external__/index.js +0 -47
- package/dist/cjs/__tests_external__/page-objects/BaseCard.js +0 -94
- package/dist/cjs/__tests_external__/page-objects/BlockCard.js +0 -27
- package/dist/cjs/__tests_external__/page-objects/EmbedCard.js +0 -27
- package/dist/cjs/__tests_external__/page-objects/InlineCard.js +0 -27
- package/dist/cjs/__tests_external__/test-cases/card.js +0 -22
- package/dist/cjs/__tests_external__/test-cases/embed.js +0 -20
- package/dist/cjs/__tests_external__/test-cases/inline.js +0 -22
- package/dist/cjs/__tests_external__/test-cases/types.js +0 -5
- package/dist/cjs/in-product.js +0 -42
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/utils/stack-resolver.js +0 -138
- package/dist/es2019/__tests_external__/index.js +0 -6
- package/dist/es2019/__tests_external__/page-objects/BaseCard.js +0 -52
- package/dist/es2019/__tests_external__/page-objects/BlockCard.js +0 -7
- package/dist/es2019/__tests_external__/page-objects/EmbedCard.js +0 -7
- package/dist/es2019/__tests_external__/page-objects/InlineCard.js +0 -7
- package/dist/es2019/__tests_external__/test-cases/card.js +0 -14
- package/dist/es2019/__tests_external__/test-cases/embed.js +0 -12
- package/dist/es2019/__tests_external__/test-cases/inline.js +0 -14
- package/dist/es2019/__tests_external__/test-cases/types.js +0 -1
- package/dist/es2019/in-product.js +0 -1
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/utils/stack-resolver.js +0 -51
- package/dist/esm/__tests_external__/index.js +0 -6
- package/dist/esm/__tests_external__/page-objects/BaseCard.js +0 -87
- package/dist/esm/__tests_external__/page-objects/BlockCard.js +0 -20
- package/dist/esm/__tests_external__/page-objects/EmbedCard.js +0 -20
- package/dist/esm/__tests_external__/page-objects/InlineCard.js +0 -20
- package/dist/esm/__tests_external__/test-cases/card.js +0 -16
- package/dist/esm/__tests_external__/test-cases/embed.js +0 -14
- package/dist/esm/__tests_external__/test-cases/inline.js +0 -16
- package/dist/esm/__tests_external__/test-cases/types.js +0 -1
- package/dist/esm/in-product.js +0 -1
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/utils/stack-resolver.js +0 -131
- package/dist/types/__tests_external__/index.d.ts +0 -6
- package/dist/types/__tests_external__/page-objects/BaseCard.d.ts +0 -18
- package/dist/types/__tests_external__/page-objects/BlockCard.d.ts +0 -6
- package/dist/types/__tests_external__/page-objects/EmbedCard.d.ts +0 -6
- package/dist/types/__tests_external__/page-objects/InlineCard.d.ts +0 -6
- package/dist/types/__tests_external__/test-cases/card.d.ts +0 -3
- package/dist/types/__tests_external__/test-cases/embed.d.ts +0 -3
- package/dist/types/__tests_external__/test-cases/inline.d.ts +0 -3
- package/dist/types/__tests_external__/test-cases/types.d.ts +0 -5
- package/dist/types/in-product.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/utils/stack-resolver.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/index.d.ts +0 -6
- package/dist/types-ts4.5/__tests_external__/page-objects/BaseCard.d.ts +0 -16
- package/dist/types-ts4.5/__tests_external__/page-objects/BlockCard.d.ts +0 -6
- package/dist/types-ts4.5/__tests_external__/page-objects/EmbedCard.d.ts +0 -6
- package/dist/types-ts4.5/__tests_external__/page-objects/InlineCard.d.ts +0 -6
- package/dist/types-ts4.5/__tests_external__/test-cases/card.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/test-cases/embed.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/test-cases/inline.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/test-cases/types.d.ts +0 -5
- package/dist/types-ts4.5/in-product.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/utils/stack-resolver.d.ts +0 -3
- package/in-product/package.json +0 -15
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.blockSmartLinkRendersTestCase = void 0;
|
|
7
|
-
var _inProductTesting = require("@atlaskit/in-product-testing");
|
|
8
|
-
var _BlockCard = require("../page-objects/BlockCard");
|
|
9
|
-
var blockSmartLinkRendersTestCase = exports.blockSmartLinkRendersTestCase = function blockSmartLinkRendersTestCase(_ref) {
|
|
10
|
-
var url = _ref.url,
|
|
11
|
-
_ref$status = _ref.status,
|
|
12
|
-
status = _ref$status === void 0 ? 'resolved' : _ref$status;
|
|
13
|
-
return new _inProductTesting.InProductTestCase({
|
|
14
|
-
title: 'Block Smart Link is visible in the resolved state',
|
|
15
|
-
id: 'block-smart-link-resolved',
|
|
16
|
-
assertions: function assertions(cy) {
|
|
17
|
-
var blockCard = new _BlockCard.BlockCardPageObject(cy);
|
|
18
|
-
blockCard.assertHrefRendered(url);
|
|
19
|
-
blockCard.expectCardReady(1, status);
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.embedSmartLinkRendersTestCase = void 0;
|
|
7
|
-
var _inProductTesting = require("@atlaskit/in-product-testing");
|
|
8
|
-
var _EmbedCard = require("../page-objects/EmbedCard");
|
|
9
|
-
var embedSmartLinkRendersTestCase = exports.embedSmartLinkRendersTestCase = function embedSmartLinkRendersTestCase(_ref) {
|
|
10
|
-
var _ref$status = _ref.status,
|
|
11
|
-
status = _ref$status === void 0 ? 'resolved' : _ref$status;
|
|
12
|
-
return new _inProductTesting.InProductTestCase({
|
|
13
|
-
title: 'Embed Smart Link is visible in the resolved state',
|
|
14
|
-
id: 'embed-smart-link-resolved',
|
|
15
|
-
assertions: function assertions(cy) {
|
|
16
|
-
var embedCard = new _EmbedCard.EmbedCardPageObject(cy);
|
|
17
|
-
embedCard.expectCardReady(1, status);
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.inlineSmartLinkRendersTestCase = void 0;
|
|
7
|
-
var _inProductTesting = require("@atlaskit/in-product-testing");
|
|
8
|
-
var _InlineCard = require("../page-objects/InlineCard");
|
|
9
|
-
var inlineSmartLinkRendersTestCase = exports.inlineSmartLinkRendersTestCase = function inlineSmartLinkRendersTestCase(_ref) {
|
|
10
|
-
var url = _ref.url,
|
|
11
|
-
_ref$status = _ref.status,
|
|
12
|
-
status = _ref$status === void 0 ? 'resolved' : _ref$status;
|
|
13
|
-
return new _inProductTesting.InProductTestCase({
|
|
14
|
-
title: 'Inline Smart Link is visible in the resolved state',
|
|
15
|
-
id: 'inline-smart-link-resolved',
|
|
16
|
-
assertions: function assertions(cy) {
|
|
17
|
-
var inlineCard = new _InlineCard.InlineCardPageObject(cy);
|
|
18
|
-
inlineCard.assertHrefRendered(url);
|
|
19
|
-
inlineCard.expectCardReady(1, status);
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
};
|
package/dist/cjs/in-product.js
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "BlockCardPageObject", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function get() {
|
|
9
|
-
return _tests_external__.BlockCardPageObject;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "EmbedCardPageObject", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function get() {
|
|
15
|
-
return _tests_external__.EmbedCardPageObject;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
Object.defineProperty(exports, "InlineCardPageObject", {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function get() {
|
|
21
|
-
return _tests_external__.InlineCardPageObject;
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
Object.defineProperty(exports, "blockSmartLinkRendersTestCase", {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
get: function get() {
|
|
27
|
-
return _tests_external__.blockSmartLinkRendersTestCase;
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
Object.defineProperty(exports, "embedSmartLinkRendersTestCase", {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
get: function get() {
|
|
33
|
-
return _tests_external__.embedSmartLinkRendersTestCase;
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
Object.defineProperty(exports, "inlineSmartLinkRendersTestCase", {
|
|
37
|
-
enumerable: true,
|
|
38
|
-
get: function get() {
|
|
39
|
-
return _tests_external__.inlineSmartLinkRendersTestCase;
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
var _tests_external__ = require("./__tests_external__");
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.getAutomationStackFromLocalStorage = exports.getAutomationStack = void 0;
|
|
8
|
-
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
9
|
-
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
10
|
-
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
11
|
-
var AUTOMATION_LOCAL_STORAGE_PREFIX = 'automationPlatform';
|
|
12
|
-
var AUTOMATION_LOCAL_STORAGE_STACK = 'automationStack';
|
|
13
|
-
var AUTOMATION_DEV_STACK_URL = 'https://localhost:8082/devStack.json';
|
|
14
|
-
var getAutomationProdStackUrl = function getAutomationProdStackUrl(cloudId) {
|
|
15
|
-
return "/gateway/api/automation/internal-api/jira/".concat(cloudId, "/pro/rest/environments");
|
|
16
|
-
};
|
|
17
|
-
var getLatestPreProdStack = /*#__PURE__*/function () {
|
|
18
|
-
var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(cloudId) {
|
|
19
|
-
var response, stacksResponse, preProdStacks, _preProdStacks, _preProdStacks$, latestPreProdStack;
|
|
20
|
-
return _regenerator.default.wrap(function _callee$(_context) {
|
|
21
|
-
while (1) switch (_context.prev = _context.next) {
|
|
22
|
-
case 0:
|
|
23
|
-
_context.prev = 0;
|
|
24
|
-
_context.next = 3;
|
|
25
|
-
return fetch(getAutomationProdStackUrl(cloudId));
|
|
26
|
-
case 3:
|
|
27
|
-
response = _context.sent;
|
|
28
|
-
_context.next = 6;
|
|
29
|
-
return response.json();
|
|
30
|
-
case 6:
|
|
31
|
-
stacksResponse = _context.sent;
|
|
32
|
-
preProdStacks = stacksResponse.prod.otherStacks.filter(function (_ref2) {
|
|
33
|
-
var releasedSuccessfully = _ref2.releasedSuccessfully;
|
|
34
|
-
return !releasedSuccessfully;
|
|
35
|
-
}).map(function (_ref3) {
|
|
36
|
-
var stack = _ref3.stack;
|
|
37
|
-
return stack;
|
|
38
|
-
});
|
|
39
|
-
_preProdStacks = (0, _slicedToArray2.default)(preProdStacks, 1), _preProdStacks$ = _preProdStacks[0], latestPreProdStack = _preProdStacks$ === void 0 ? null : _preProdStacks$;
|
|
40
|
-
return _context.abrupt("return", latestPreProdStack);
|
|
41
|
-
case 12:
|
|
42
|
-
_context.prev = 12;
|
|
43
|
-
_context.t0 = _context["catch"](0);
|
|
44
|
-
// eslint-disable-next-line no-console
|
|
45
|
-
console.warn("Failed to fetch pre-prod stack from ".concat(getAutomationProdStackUrl(cloudId), " with error: ").concat(_context.t0));
|
|
46
|
-
return _context.abrupt("return", null);
|
|
47
|
-
case 16:
|
|
48
|
-
case "end":
|
|
49
|
-
return _context.stop();
|
|
50
|
-
}
|
|
51
|
-
}, _callee, null, [[0, 12]]);
|
|
52
|
-
}));
|
|
53
|
-
return function getLatestPreProdStack(_x) {
|
|
54
|
-
return _ref.apply(this, arguments);
|
|
55
|
-
};
|
|
56
|
-
}();
|
|
57
|
-
var _getAutomationKeyFromLocalStorage = function _getAutomationKeyFromLocalStorage(key) {
|
|
58
|
-
return window.localStorage.getItem("".concat(AUTOMATION_LOCAL_STORAGE_PREFIX, ":").concat(key));
|
|
59
|
-
};
|
|
60
|
-
var getAutomationDevStackFromLocalServer = /*#__PURE__*/function () {
|
|
61
|
-
var _ref4 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
|
|
62
|
-
var devStackResponse, devStack;
|
|
63
|
-
return _regenerator.default.wrap(function _callee2$(_context2) {
|
|
64
|
-
while (1) switch (_context2.prev = _context2.next) {
|
|
65
|
-
case 0:
|
|
66
|
-
_context2.prev = 0;
|
|
67
|
-
_context2.next = 3;
|
|
68
|
-
return fetch(AUTOMATION_DEV_STACK_URL);
|
|
69
|
-
case 3:
|
|
70
|
-
devStackResponse = _context2.sent;
|
|
71
|
-
_context2.next = 6;
|
|
72
|
-
return devStackResponse.json();
|
|
73
|
-
case 6:
|
|
74
|
-
devStack = _context2.sent;
|
|
75
|
-
return _context2.abrupt("return", devStack.name);
|
|
76
|
-
case 10:
|
|
77
|
-
_context2.prev = 10;
|
|
78
|
-
_context2.t0 = _context2["catch"](0);
|
|
79
|
-
// eslint-disable-next-line no-console
|
|
80
|
-
console.warn("Failed to fetch dev stack from ".concat(AUTOMATION_DEV_STACK_URL, " with error: ").concat(_context2.t0));
|
|
81
|
-
return _context2.abrupt("return", null);
|
|
82
|
-
case 14:
|
|
83
|
-
case "end":
|
|
84
|
-
return _context2.stop();
|
|
85
|
-
}
|
|
86
|
-
}, _callee2, null, [[0, 10]]);
|
|
87
|
-
}));
|
|
88
|
-
return function getAutomationDevStackFromLocalServer() {
|
|
89
|
-
return _ref4.apply(this, arguments);
|
|
90
|
-
};
|
|
91
|
-
}();
|
|
92
|
-
var getAutomationStackFromLocalStorage = exports.getAutomationStackFromLocalStorage = function getAutomationStackFromLocalStorage() {
|
|
93
|
-
return _getAutomationKeyFromLocalStorage(AUTOMATION_LOCAL_STORAGE_STACK);
|
|
94
|
-
};
|
|
95
|
-
var getAutomationStack = exports.getAutomationStack = /*#__PURE__*/function () {
|
|
96
|
-
var _ref5 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3(env, cloudId) {
|
|
97
|
-
var stack, stackOverride;
|
|
98
|
-
return _regenerator.default.wrap(function _callee3$(_context3) {
|
|
99
|
-
while (1) switch (_context3.prev = _context3.next) {
|
|
100
|
-
case 0:
|
|
101
|
-
if (!(env === 'prod')) {
|
|
102
|
-
_context3.next = 2;
|
|
103
|
-
break;
|
|
104
|
-
}
|
|
105
|
-
return _context3.abrupt("return", 'pro');
|
|
106
|
-
case 2:
|
|
107
|
-
if (!(env === 'pre-prod')) {
|
|
108
|
-
_context3.next = 7;
|
|
109
|
-
break;
|
|
110
|
-
}
|
|
111
|
-
_context3.next = 5;
|
|
112
|
-
return getLatestPreProdStack(cloudId);
|
|
113
|
-
case 5:
|
|
114
|
-
stack = _context3.sent;
|
|
115
|
-
return _context3.abrupt("return", stack !== null && stack !== void 0 ? stack : 'pro');
|
|
116
|
-
case 7:
|
|
117
|
-
_context3.next = 9;
|
|
118
|
-
return getAutomationDevStackFromLocalServer();
|
|
119
|
-
case 9:
|
|
120
|
-
_context3.t0 = _context3.sent;
|
|
121
|
-
if (_context3.t0) {
|
|
122
|
-
_context3.next = 12;
|
|
123
|
-
break;
|
|
124
|
-
}
|
|
125
|
-
_context3.t0 = getAutomationStackFromLocalStorage();
|
|
126
|
-
case 12:
|
|
127
|
-
stackOverride = _context3.t0;
|
|
128
|
-
return _context3.abrupt("return", stackOverride || 'staging');
|
|
129
|
-
case 14:
|
|
130
|
-
case "end":
|
|
131
|
-
return _context3.stop();
|
|
132
|
-
}
|
|
133
|
-
}, _callee3);
|
|
134
|
-
}));
|
|
135
|
-
return function getAutomationStack(_x2, _x3) {
|
|
136
|
-
return _ref5.apply(this, arguments);
|
|
137
|
-
};
|
|
138
|
-
}();
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { InlineCardPageObject } from './page-objects/InlineCard';
|
|
2
|
-
export { BlockCardPageObject } from './page-objects/BlockCard';
|
|
3
|
-
export { EmbedCardPageObject } from './page-objects/EmbedCard';
|
|
4
|
-
export { inlineSmartLinkRendersTestCase } from './test-cases/inline';
|
|
5
|
-
export { blockSmartLinkRendersTestCase } from './test-cases/card';
|
|
6
|
-
export { embedSmartLinkRendersTestCase } from './test-cases/embed';
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
-
import { InProductTestPageObject } from '@atlaskit/in-product-testing';
|
|
3
|
-
export class BaseCardPageObject extends InProductTestPageObject {
|
|
4
|
-
constructor(cy, appearance) {
|
|
5
|
-
super(cy);
|
|
6
|
-
this.cy = cy;
|
|
7
|
-
this.appearance = appearance;
|
|
8
|
-
}
|
|
9
|
-
_toSelector(appearance, status) {
|
|
10
|
-
const viewSelector = status.replace(/_/g, '-');
|
|
11
|
-
return this.toTestId(`${appearance}-card-${viewSelector}-view`);
|
|
12
|
-
}
|
|
13
|
-
expectCardReady(numOfCards = 1, status = 'resolved') {
|
|
14
|
-
const selector = this._toSelector(this.appearance, status);
|
|
15
|
-
return this.cy
|
|
16
|
-
// NOTE: `timeout` used since Smart Links rely on a network response.
|
|
17
|
-
.get(selector, {
|
|
18
|
-
timeout: BaseCardPageObject.CARD_TIMEOUT
|
|
19
|
-
}).should('have.length', numOfCards).each(element => {
|
|
20
|
-
this.cy.wrap(element)
|
|
21
|
-
// NOTE: `be.visible` is used to ensure the file is still visible
|
|
22
|
-
// whilst it is being uploaded.
|
|
23
|
-
.should('be.visible');
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
expectCardNotExists(status = 'resolved') {
|
|
27
|
-
const selector = this._toSelector(this.appearance, status);
|
|
28
|
-
return this.cy.get(selector).should('not.exist');
|
|
29
|
-
}
|
|
30
|
-
findCardNth(nth = 1, status = 'resolved') {
|
|
31
|
-
const selector = this._toSelector(this.appearance, status);
|
|
32
|
-
return this.cy
|
|
33
|
-
// NOTE: `timeout` used since Smart Links rely on a network response.
|
|
34
|
-
.get(selector, {
|
|
35
|
-
timeout: BaseCardPageObject.CARD_TIMEOUT
|
|
36
|
-
}).should('have.length.at.least', nth).should('be.visible').eq(nth - 1);
|
|
37
|
-
}
|
|
38
|
-
assertHrefRendered(url) {
|
|
39
|
-
return this.cy.get(`a[href="${url}"]`, {
|
|
40
|
-
timeout: BaseCardPageObject.CARD_TIMEOUT
|
|
41
|
-
}).should('be.visible');
|
|
42
|
-
}
|
|
43
|
-
assertHrefNotRendered(url) {
|
|
44
|
-
return this.cy.get(`a[href="${url}"]`, {
|
|
45
|
-
timeout: BaseCardPageObject.CARD_TIMEOUT
|
|
46
|
-
}).should('not.exist');
|
|
47
|
-
}
|
|
48
|
-
click(status = 'resolved') {
|
|
49
|
-
return this.findCardNth(1, status).click();
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
_defineProperty(BaseCardPageObject, "CARD_TIMEOUT", 15000);
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { InProductTestCase } from '@atlaskit/in-product-testing';
|
|
2
|
-
import { BlockCardPageObject } from '../page-objects/BlockCard';
|
|
3
|
-
export const blockSmartLinkRendersTestCase = ({
|
|
4
|
-
url,
|
|
5
|
-
status = 'resolved'
|
|
6
|
-
}) => new InProductTestCase({
|
|
7
|
-
title: 'Block Smart Link is visible in the resolved state',
|
|
8
|
-
id: 'block-smart-link-resolved',
|
|
9
|
-
assertions: cy => {
|
|
10
|
-
const blockCard = new BlockCardPageObject(cy);
|
|
11
|
-
blockCard.assertHrefRendered(url);
|
|
12
|
-
blockCard.expectCardReady(1, status);
|
|
13
|
-
}
|
|
14
|
-
});
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { InProductTestCase } from '@atlaskit/in-product-testing';
|
|
2
|
-
import { EmbedCardPageObject } from '../page-objects/EmbedCard';
|
|
3
|
-
export const embedSmartLinkRendersTestCase = ({
|
|
4
|
-
status = 'resolved'
|
|
5
|
-
}) => new InProductTestCase({
|
|
6
|
-
title: 'Embed Smart Link is visible in the resolved state',
|
|
7
|
-
id: 'embed-smart-link-resolved',
|
|
8
|
-
assertions: cy => {
|
|
9
|
-
const embedCard = new EmbedCardPageObject(cy);
|
|
10
|
-
embedCard.expectCardReady(1, status);
|
|
11
|
-
}
|
|
12
|
-
});
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { InProductTestCase } from '@atlaskit/in-product-testing';
|
|
2
|
-
import { InlineCardPageObject } from '../page-objects/InlineCard';
|
|
3
|
-
export const inlineSmartLinkRendersTestCase = ({
|
|
4
|
-
url,
|
|
5
|
-
status = 'resolved'
|
|
6
|
-
}) => new InProductTestCase({
|
|
7
|
-
title: 'Inline Smart Link is visible in the resolved state',
|
|
8
|
-
id: 'inline-smart-link-resolved',
|
|
9
|
-
assertions: cy => {
|
|
10
|
-
const inlineCard = new InlineCardPageObject(cy);
|
|
11
|
-
inlineCard.assertHrefRendered(url);
|
|
12
|
-
inlineCard.expectCardReady(1, status);
|
|
13
|
-
}
|
|
14
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { InlineCardPageObject, BlockCardPageObject, EmbedCardPageObject, inlineSmartLinkRendersTestCase, blockSmartLinkRendersTestCase, embedSmartLinkRendersTestCase } from './__tests_external__';
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
const AUTOMATION_LOCAL_STORAGE_PREFIX = 'automationPlatform';
|
|
2
|
-
const AUTOMATION_LOCAL_STORAGE_STACK = 'automationStack';
|
|
3
|
-
const AUTOMATION_DEV_STACK_URL = 'https://localhost:8082/devStack.json';
|
|
4
|
-
const getAutomationProdStackUrl = cloudId => `/gateway/api/automation/internal-api/jira/${cloudId}/pro/rest/environments`;
|
|
5
|
-
const getLatestPreProdStack = async cloudId => {
|
|
6
|
-
try {
|
|
7
|
-
const response = await fetch(getAutomationProdStackUrl(cloudId));
|
|
8
|
-
const stacksResponse = await response.json();
|
|
9
|
-
const preProdStacks = stacksResponse.prod.otherStacks.filter(({
|
|
10
|
-
releasedSuccessfully
|
|
11
|
-
}) => !releasedSuccessfully).map(({
|
|
12
|
-
stack
|
|
13
|
-
}) => stack);
|
|
14
|
-
const [latestPreProdStack = null] = preProdStacks;
|
|
15
|
-
return latestPreProdStack;
|
|
16
|
-
} catch (e) {
|
|
17
|
-
// eslint-disable-next-line no-console
|
|
18
|
-
console.warn(`Failed to fetch pre-prod stack from ${getAutomationProdStackUrl(cloudId)} with error: ${e}`);
|
|
19
|
-
return null;
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
const _getAutomationKeyFromLocalStorage = key => {
|
|
23
|
-
return window.localStorage.getItem(`${AUTOMATION_LOCAL_STORAGE_PREFIX}:${key}`);
|
|
24
|
-
};
|
|
25
|
-
const getAutomationDevStackFromLocalServer = async () => {
|
|
26
|
-
try {
|
|
27
|
-
const devStackResponse = await fetch(AUTOMATION_DEV_STACK_URL);
|
|
28
|
-
const devStack = await devStackResponse.json();
|
|
29
|
-
return devStack.name;
|
|
30
|
-
} catch (e) {
|
|
31
|
-
// eslint-disable-next-line no-console
|
|
32
|
-
console.warn(`Failed to fetch dev stack from ${AUTOMATION_DEV_STACK_URL} with error: ${e}`);
|
|
33
|
-
return null;
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
export const getAutomationStackFromLocalStorage = () => _getAutomationKeyFromLocalStorage(AUTOMATION_LOCAL_STORAGE_STACK);
|
|
37
|
-
export const getAutomationStack = async (env, cloudId) => {
|
|
38
|
-
if (env === 'prod') {
|
|
39
|
-
return 'pro';
|
|
40
|
-
}
|
|
41
|
-
if (env === 'pre-prod') {
|
|
42
|
-
const stack = await getLatestPreProdStack(cloudId);
|
|
43
|
-
return stack !== null && stack !== void 0 ? stack : 'pro';
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
// We fetch the dev stack name from local server (barrel webpack dev server) if it's available.
|
|
47
|
-
// However, this requires that devWatch is running locally.
|
|
48
|
-
// To use manual triggers without running devWatch, set the local storage value to your stack name e.g. devltan3. The full key is: automationPlatform:automationStack
|
|
49
|
-
const stackOverride = (await getAutomationDevStackFromLocalServer()) || getAutomationStackFromLocalStorage();
|
|
50
|
-
return stackOverride || 'staging';
|
|
51
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { InlineCardPageObject } from './page-objects/InlineCard';
|
|
2
|
-
export { BlockCardPageObject } from './page-objects/BlockCard';
|
|
3
|
-
export { EmbedCardPageObject } from './page-objects/EmbedCard';
|
|
4
|
-
export { inlineSmartLinkRendersTestCase } from './test-cases/inline';
|
|
5
|
-
export { blockSmartLinkRendersTestCase } from './test-cases/card';
|
|
6
|
-
export { embedSmartLinkRendersTestCase } from './test-cases/embed';
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
2
|
-
import _createClass from "@babel/runtime/helpers/createClass";
|
|
3
|
-
import _inherits from "@babel/runtime/helpers/inherits";
|
|
4
|
-
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
5
|
-
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
6
|
-
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
7
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
8
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
9
|
-
import { InProductTestPageObject } from '@atlaskit/in-product-testing';
|
|
10
|
-
export var BaseCardPageObject = /*#__PURE__*/function (_InProductTestPageObj) {
|
|
11
|
-
_inherits(BaseCardPageObject, _InProductTestPageObj);
|
|
12
|
-
var _super = _createSuper(BaseCardPageObject);
|
|
13
|
-
function BaseCardPageObject(cy, appearance) {
|
|
14
|
-
var _this;
|
|
15
|
-
_classCallCheck(this, BaseCardPageObject);
|
|
16
|
-
_this = _super.call(this, cy);
|
|
17
|
-
_this.cy = cy;
|
|
18
|
-
_this.appearance = appearance;
|
|
19
|
-
return _this;
|
|
20
|
-
}
|
|
21
|
-
_createClass(BaseCardPageObject, [{
|
|
22
|
-
key: "_toSelector",
|
|
23
|
-
value: function _toSelector(appearance, status) {
|
|
24
|
-
var viewSelector = status.replace(/_/g, '-');
|
|
25
|
-
return this.toTestId("".concat(appearance, "-card-").concat(viewSelector, "-view"));
|
|
26
|
-
}
|
|
27
|
-
}, {
|
|
28
|
-
key: "expectCardReady",
|
|
29
|
-
value: function expectCardReady() {
|
|
30
|
-
var _this2 = this;
|
|
31
|
-
var numOfCards = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;
|
|
32
|
-
var status = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'resolved';
|
|
33
|
-
var selector = this._toSelector(this.appearance, status);
|
|
34
|
-
return this.cy
|
|
35
|
-
// NOTE: `timeout` used since Smart Links rely on a network response.
|
|
36
|
-
.get(selector, {
|
|
37
|
-
timeout: BaseCardPageObject.CARD_TIMEOUT
|
|
38
|
-
}).should('have.length', numOfCards).each(function (element) {
|
|
39
|
-
_this2.cy.wrap(element)
|
|
40
|
-
// NOTE: `be.visible` is used to ensure the file is still visible
|
|
41
|
-
// whilst it is being uploaded.
|
|
42
|
-
.should('be.visible');
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
}, {
|
|
46
|
-
key: "expectCardNotExists",
|
|
47
|
-
value: function expectCardNotExists() {
|
|
48
|
-
var status = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'resolved';
|
|
49
|
-
var selector = this._toSelector(this.appearance, status);
|
|
50
|
-
return this.cy.get(selector).should('not.exist');
|
|
51
|
-
}
|
|
52
|
-
}, {
|
|
53
|
-
key: "findCardNth",
|
|
54
|
-
value: function findCardNth() {
|
|
55
|
-
var nth = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;
|
|
56
|
-
var status = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'resolved';
|
|
57
|
-
var selector = this._toSelector(this.appearance, status);
|
|
58
|
-
return this.cy
|
|
59
|
-
// NOTE: `timeout` used since Smart Links rely on a network response.
|
|
60
|
-
.get(selector, {
|
|
61
|
-
timeout: BaseCardPageObject.CARD_TIMEOUT
|
|
62
|
-
}).should('have.length.at.least', nth).should('be.visible').eq(nth - 1);
|
|
63
|
-
}
|
|
64
|
-
}, {
|
|
65
|
-
key: "assertHrefRendered",
|
|
66
|
-
value: function assertHrefRendered(url) {
|
|
67
|
-
return this.cy.get("a[href=\"".concat(url, "\"]"), {
|
|
68
|
-
timeout: BaseCardPageObject.CARD_TIMEOUT
|
|
69
|
-
}).should('be.visible');
|
|
70
|
-
}
|
|
71
|
-
}, {
|
|
72
|
-
key: "assertHrefNotRendered",
|
|
73
|
-
value: function assertHrefNotRendered(url) {
|
|
74
|
-
return this.cy.get("a[href=\"".concat(url, "\"]"), {
|
|
75
|
-
timeout: BaseCardPageObject.CARD_TIMEOUT
|
|
76
|
-
}).should('not.exist');
|
|
77
|
-
}
|
|
78
|
-
}, {
|
|
79
|
-
key: "click",
|
|
80
|
-
value: function click() {
|
|
81
|
-
var status = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'resolved';
|
|
82
|
-
return this.findCardNth(1, status).click();
|
|
83
|
-
}
|
|
84
|
-
}]);
|
|
85
|
-
return BaseCardPageObject;
|
|
86
|
-
}(InProductTestPageObject);
|
|
87
|
-
_defineProperty(BaseCardPageObject, "CARD_TIMEOUT", 15000);
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import _createClass from "@babel/runtime/helpers/createClass";
|
|
2
|
-
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
3
|
-
import _inherits from "@babel/runtime/helpers/inherits";
|
|
4
|
-
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
5
|
-
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
6
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
7
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
8
|
-
import { BaseCardPageObject } from './BaseCard';
|
|
9
|
-
export var BlockCardPageObject = /*#__PURE__*/function (_BaseCardPageObject) {
|
|
10
|
-
_inherits(BlockCardPageObject, _BaseCardPageObject);
|
|
11
|
-
var _super = _createSuper(BlockCardPageObject);
|
|
12
|
-
function BlockCardPageObject(cy) {
|
|
13
|
-
var _this;
|
|
14
|
-
_classCallCheck(this, BlockCardPageObject);
|
|
15
|
-
_this = _super.call(this, cy, 'block');
|
|
16
|
-
_this.cy = cy;
|
|
17
|
-
return _this;
|
|
18
|
-
}
|
|
19
|
-
return _createClass(BlockCardPageObject);
|
|
20
|
-
}(BaseCardPageObject);
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import _createClass from "@babel/runtime/helpers/createClass";
|
|
2
|
-
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
3
|
-
import _inherits from "@babel/runtime/helpers/inherits";
|
|
4
|
-
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
5
|
-
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
6
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
7
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
8
|
-
import { BaseCardPageObject } from './BaseCard';
|
|
9
|
-
export var EmbedCardPageObject = /*#__PURE__*/function (_BaseCardPageObject) {
|
|
10
|
-
_inherits(EmbedCardPageObject, _BaseCardPageObject);
|
|
11
|
-
var _super = _createSuper(EmbedCardPageObject);
|
|
12
|
-
function EmbedCardPageObject(cy) {
|
|
13
|
-
var _this;
|
|
14
|
-
_classCallCheck(this, EmbedCardPageObject);
|
|
15
|
-
_this = _super.call(this, cy, 'embed');
|
|
16
|
-
_this.cy = cy;
|
|
17
|
-
return _this;
|
|
18
|
-
}
|
|
19
|
-
return _createClass(EmbedCardPageObject);
|
|
20
|
-
}(BaseCardPageObject);
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import _createClass from "@babel/runtime/helpers/createClass";
|
|
2
|
-
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
3
|
-
import _inherits from "@babel/runtime/helpers/inherits";
|
|
4
|
-
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
5
|
-
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
6
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
7
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
8
|
-
import { BaseCardPageObject } from './BaseCard';
|
|
9
|
-
export var InlineCardPageObject = /*#__PURE__*/function (_BaseCardPageObject) {
|
|
10
|
-
_inherits(InlineCardPageObject, _BaseCardPageObject);
|
|
11
|
-
var _super = _createSuper(InlineCardPageObject);
|
|
12
|
-
function InlineCardPageObject(cy) {
|
|
13
|
-
var _this;
|
|
14
|
-
_classCallCheck(this, InlineCardPageObject);
|
|
15
|
-
_this = _super.call(this, cy, 'inline');
|
|
16
|
-
_this.cy = cy;
|
|
17
|
-
return _this;
|
|
18
|
-
}
|
|
19
|
-
return _createClass(InlineCardPageObject);
|
|
20
|
-
}(BaseCardPageObject);
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { InProductTestCase } from '@atlaskit/in-product-testing';
|
|
2
|
-
import { BlockCardPageObject } from '../page-objects/BlockCard';
|
|
3
|
-
export var blockSmartLinkRendersTestCase = function blockSmartLinkRendersTestCase(_ref) {
|
|
4
|
-
var url = _ref.url,
|
|
5
|
-
_ref$status = _ref.status,
|
|
6
|
-
status = _ref$status === void 0 ? 'resolved' : _ref$status;
|
|
7
|
-
return new InProductTestCase({
|
|
8
|
-
title: 'Block Smart Link is visible in the resolved state',
|
|
9
|
-
id: 'block-smart-link-resolved',
|
|
10
|
-
assertions: function assertions(cy) {
|
|
11
|
-
var blockCard = new BlockCardPageObject(cy);
|
|
12
|
-
blockCard.assertHrefRendered(url);
|
|
13
|
-
blockCard.expectCardReady(1, status);
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { InProductTestCase } from '@atlaskit/in-product-testing';
|
|
2
|
-
import { EmbedCardPageObject } from '../page-objects/EmbedCard';
|
|
3
|
-
export var embedSmartLinkRendersTestCase = function embedSmartLinkRendersTestCase(_ref) {
|
|
4
|
-
var _ref$status = _ref.status,
|
|
5
|
-
status = _ref$status === void 0 ? 'resolved' : _ref$status;
|
|
6
|
-
return new InProductTestCase({
|
|
7
|
-
title: 'Embed Smart Link is visible in the resolved state',
|
|
8
|
-
id: 'embed-smart-link-resolved',
|
|
9
|
-
assertions: function assertions(cy) {
|
|
10
|
-
var embedCard = new EmbedCardPageObject(cy);
|
|
11
|
-
embedCard.expectCardReady(1, status);
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
};
|