@atlaskit/smart-card 26.34.2 → 26.34.4
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 +12 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/cjs/view/RedesignedInlineCard/ForbiddenView/index.js +11 -4
- package/dist/cjs/view/RedesignedInlineCard/index.js +8 -2
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/es2019/view/RedesignedInlineCard/ForbiddenView/index.js +11 -4
- package/dist/es2019/view/RedesignedInlineCard/index.js +8 -2
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/esm/view/RedesignedInlineCard/ForbiddenView/index.js +11 -4
- package/dist/esm/view/RedesignedInlineCard/index.js +8 -2
- package/package.json +2 -2
- package/dist/types-ts4.5/__fixtures__/atlas-project.d.ts +0 -3
- package/dist/types-ts4.5/__fixtures__/bitbucket-pull-request.d.ts +0 -73
- package/dist/types-ts4.5/__fixtures__/confluence-blog.d.ts +0 -49
- package/dist/types-ts4.5/__fixtures__/confluence-page.d.ts +0 -49
- package/dist/types-ts4.5/__fixtures__/confluence-space.d.ts +0 -36
- package/dist/types-ts4.5/__fixtures__/confluence-template.d.ts +0 -31
- package/dist/types-ts4.5/__fixtures__/figma.d.ts +0 -43
- package/dist/types-ts4.5/__fixtures__/flexible-ui-data-context.d.ts +0 -3
- package/dist/types-ts4.5/__fixtures__/jira-roadmap.d.ts +0 -35
- package/dist/types-ts4.5/__fixtures__/jira-task.d.ts +0 -78
- package/dist/types-ts4.5/__fixtures__/jira-timeline.d.ts +0 -35
- package/dist/types-ts4.5/__fixtures__/youtube-video.d.ts +0 -44
- 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/classNames.d.ts +0 -11
- package/dist/types-ts4.5/client/index.d.ts +0 -1
- package/dist/types-ts4.5/constants.d.ts +0 -219
- package/dist/types-ts4.5/extractors/action/extract-lozenge-action-items.d.ts +0 -4
- package/dist/types-ts4.5/extractors/block/index.d.ts +0 -10
- package/dist/types-ts4.5/extractors/block/types.d.ts +0 -12
- package/dist/types-ts4.5/extractors/common/__mocks__/jsonld.d.ts +0 -40
- package/dist/types-ts4.5/extractors/common/__mocks__/withIntl.d.ts +0 -2
- package/dist/types-ts4.5/extractors/common/actions/extractActions.d.ts +0 -5
- package/dist/types-ts4.5/extractors/common/actions/extractPreviewAction.d.ts +0 -10
- package/dist/types-ts4.5/extractors/common/byline/extractByline.d.ts +0 -3
- package/dist/types-ts4.5/extractors/common/context/extractAccessContext.d.ts +0 -12
- package/dist/types-ts4.5/extractors/common/context/index.d.ts +0 -1
- package/dist/types-ts4.5/extractors/common/detail/extractAttachmentCount.d.ts +0 -4
- package/dist/types-ts4.5/extractors/common/detail/extractCommentCount.d.ts +0 -4
- package/dist/types-ts4.5/extractors/common/detail/extractDownloadUrl.d.ts +0 -2
- package/dist/types-ts4.5/extractors/common/detail/extractProgrammingLanguage.d.ts +0 -4
- package/dist/types-ts4.5/extractors/common/detail/extractSubscriberCount.d.ts +0 -4
- package/dist/types-ts4.5/extractors/common/detail/index.d.ts +0 -9
- package/dist/types-ts4.5/extractors/common/detail/types.d.ts +0 -5
- package/dist/types-ts4.5/extractors/common/hostname/extractHostname.d.ts +0 -2
- package/dist/types-ts4.5/extractors/common/icon/extractFileFormat.d.ts +0 -2
- package/dist/types-ts4.5/extractors/common/icon/extractIcon.d.ts +0 -14
- package/dist/types-ts4.5/extractors/common/icon/extractIconFromDocument.d.ts +0 -4
- package/dist/types-ts4.5/extractors/common/icon/extractIconFromTask.d.ts +0 -3
- package/dist/types-ts4.5/extractors/common/icon/index.d.ts +0 -4
- package/dist/types-ts4.5/extractors/common/icon/priority.d.ts +0 -4
- package/dist/types-ts4.5/extractors/common/lozenge/extractLozenge.d.ts +0 -3
- package/dist/types-ts4.5/extractors/common/lozenge/extractState.d.ts +0 -3
- package/dist/types-ts4.5/extractors/common/lozenge/extractTag.d.ts +0 -3
- package/dist/types-ts4.5/extractors/common/lozenge/extractTaskStatus.d.ts +0 -3
- package/dist/types-ts4.5/extractors/common/lozenge/extractTaskType.d.ts +0 -7
- package/dist/types-ts4.5/extractors/common/lozenge/index.d.ts +0 -5
- package/dist/types-ts4.5/extractors/common/lozenge/types.d.ts +0 -13
- package/dist/types-ts4.5/extractors/common/lozenge/utils.d.ts +0 -4
- package/dist/types-ts4.5/extractors/common/meta/extractIsSupportTheming.d.ts +0 -2
- package/dist/types-ts4.5/extractors/common/meta/extractIsTrusted.d.ts +0 -2
- package/dist/types-ts4.5/extractors/common/primitives/extractSummary.d.ts +0 -2
- package/dist/types-ts4.5/extractors/common/primitives/extractTitleTextColor.d.ts +0 -2
- package/dist/types-ts4.5/extractors/common/primitives/extractVisitUrl.d.ts +0 -2
- package/dist/types-ts4.5/extractors/common/primitives/index.d.ts +0 -2
- package/dist/types-ts4.5/extractors/common/title-prefix/extractTitlePrefix.d.ts +0 -5
- package/dist/types-ts4.5/extractors/common/title-prefix/index.d.ts +0 -1
- package/dist/types-ts4.5/extractors/constants.d.ts +0 -13
- package/dist/types-ts4.5/extractors/embed/index.d.ts +0 -4
- package/dist/types-ts4.5/extractors/flexible/actions/extract-download-action.d.ts +0 -3
- package/dist/types-ts4.5/extractors/flexible/actions/extract-follow-action.d.ts +0 -5
- package/dist/types-ts4.5/extractors/flexible/actions/extract-preview-action.d.ts +0 -3
- package/dist/types-ts4.5/extractors/flexible/actions/extract-view-action.d.ts +0 -3
- package/dist/types-ts4.5/extractors/flexible/collaboratorGroup/index.d.ts +0 -4
- package/dist/types-ts4.5/extractors/flexible/extract-preview.d.ts +0 -4
- package/dist/types-ts4.5/extractors/flexible/extract-priority.d.ts +0 -4
- package/dist/types-ts4.5/extractors/flexible/extract-server-action.d.ts +0 -3
- package/dist/types-ts4.5/extractors/flexible/extract-state.d.ts +0 -5
- package/dist/types-ts4.5/extractors/flexible/icon/extract-document-type-icon.d.ts +0 -3
- package/dist/types-ts4.5/extractors/flexible/icon/extract-file-formatIcon.d.ts +0 -3
- package/dist/types-ts4.5/extractors/flexible/icon/extract-icon-renderer.d.ts +0 -4
- package/dist/types-ts4.5/extractors/flexible/icon/extract-jira-task-icon.d.ts +0 -3
- package/dist/types-ts4.5/extractors/flexible/icon/extract-jsonld-data-icon.d.ts +0 -4
- package/dist/types-ts4.5/extractors/flexible/icon/extract-provider-icon.d.ts +0 -4
- package/dist/types-ts4.5/extractors/flexible/icon/extract-url-icon.d.ts +0 -4
- package/dist/types-ts4.5/extractors/flexible/icon/index.d.ts +0 -17
- package/dist/types-ts4.5/extractors/flexible/icon/types.d.ts +0 -6
- package/dist/types-ts4.5/extractors/flexible/index.d.ts +0 -4
- package/dist/types-ts4.5/extractors/flexible/latest-commit/index.d.ts +0 -2
- package/dist/types-ts4.5/extractors/flexible/utils.d.ts +0 -24
- package/dist/types-ts4.5/extractors/hover/extractMetadata.d.ts +0 -5
- package/dist/types-ts4.5/extractors/index.d.ts +0 -14
- package/dist/types-ts4.5/extractors/inline/index.d.ts +0 -6
- package/dist/types-ts4.5/hooks.d.ts +0 -2
- package/dist/types-ts4.5/hoverCard.d.ts +0 -2
- package/dist/types-ts4.5/i18n/cs.d.ts +0 -100
- package/dist/types-ts4.5/i18n/da.d.ts +0 -100
- package/dist/types-ts4.5/i18n/de.d.ts +0 -100
- package/dist/types-ts4.5/i18n/en.d.ts +0 -113
- package/dist/types-ts4.5/i18n/en_GB.d.ts +0 -113
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +0 -113
- package/dist/types-ts4.5/i18n/es.d.ts +0 -100
- package/dist/types-ts4.5/i18n/et.d.ts +0 -94
- package/dist/types-ts4.5/i18n/fi.d.ts +0 -100
- package/dist/types-ts4.5/i18n/fr.d.ts +0 -100
- package/dist/types-ts4.5/i18n/hu.d.ts +0 -100
- package/dist/types-ts4.5/i18n/index.d.ts +0 -35
- package/dist/types-ts4.5/i18n/is.d.ts +0 -70
- package/dist/types-ts4.5/i18n/it.d.ts +0 -100
- package/dist/types-ts4.5/i18n/ja.d.ts +0 -100
- package/dist/types-ts4.5/i18n/ko.d.ts +0 -100
- package/dist/types-ts4.5/i18n/languages.d.ts +0 -27
- package/dist/types-ts4.5/i18n/nb.d.ts +0 -100
- package/dist/types-ts4.5/i18n/nl.d.ts +0 -100
- package/dist/types-ts4.5/i18n/pl.d.ts +0 -100
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +0 -100
- package/dist/types-ts4.5/i18n/pt_PT.d.ts +0 -94
- package/dist/types-ts4.5/i18n/ro.d.ts +0 -70
- package/dist/types-ts4.5/i18n/ru.d.ts +0 -100
- package/dist/types-ts4.5/i18n/sk.d.ts +0 -94
- package/dist/types-ts4.5/i18n/sv.d.ts +0 -100
- package/dist/types-ts4.5/i18n/th.d.ts +0 -100
- package/dist/types-ts4.5/i18n/tr.d.ts +0 -100
- package/dist/types-ts4.5/i18n/uk.d.ts +0 -100
- package/dist/types-ts4.5/i18n/vi.d.ts +0 -100
- package/dist/types-ts4.5/i18n/zh.d.ts +0 -100
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +0 -100
- package/dist/types-ts4.5/in-product.d.ts +0 -1
- package/dist/types-ts4.5/index.d.ts +0 -23
- package/dist/types-ts4.5/linkUrl.d.ts +0 -2
- package/dist/types-ts4.5/messages.d.ts +0 -8
- package/dist/types-ts4.5/model/invoke-handler.d.ts +0 -3
- package/dist/types-ts4.5/model/invoke-opts.d.ts +0 -17
- package/dist/types-ts4.5/ssr.d.ts +0 -6
- package/dist/types-ts4.5/state/actions/constants.d.ts +0 -6
- package/dist/types-ts4.5/state/actions/index.d.ts +0 -11
- package/dist/types-ts4.5/state/actions/types.d.ts +0 -2
- package/dist/types-ts4.5/state/analytics/index.d.ts +0 -3
- package/dist/types-ts4.5/state/analytics/types.d.ts +0 -9
- package/dist/types-ts4.5/state/analytics/ufoExperiences.d.ts +0 -7
- package/dist/types-ts4.5/state/analytics/useDispatchAnalytics.d.ts +0 -11
- package/dist/types-ts4.5/state/analytics/useLinkClicked.d.ts +0 -8
- package/dist/types-ts4.5/state/analytics/useSmartLinkAnalytics.d.ts +0 -292
- package/dist/types-ts4.5/state/config/index.d.ts +0 -2
- package/dist/types-ts4.5/state/flexible-ui-context/index.d.ts +0 -21
- package/dist/types-ts4.5/state/flexible-ui-context/types.d.ts +0 -273
- package/dist/types-ts4.5/state/flexible-ui-context/utils.d.ts +0 -6
- package/dist/types-ts4.5/state/helpers.d.ts +0 -19
- package/dist/types-ts4.5/state/hooks/index.d.ts +0 -2
- package/dist/types-ts4.5/state/hooks/use-invoke/index.d.ts +0 -3
- package/dist/types-ts4.5/state/hooks/use-invoke/types.d.ts +0 -48
- package/dist/types-ts4.5/state/hooks/use-invoke/utils.d.ts +0 -4
- package/dist/types-ts4.5/state/hooks/use-invoke-client-action/index.d.ts +0 -6
- package/dist/types-ts4.5/state/hooks/use-invoke-client-action/types.d.ts +0 -30
- package/dist/types-ts4.5/state/hooks/use-resolve/index.d.ts +0 -2
- package/dist/types-ts4.5/state/hooks/usePrefetch.d.ts +0 -1
- package/dist/types-ts4.5/state/hooks/useSmartLink.d.ts +0 -77
- package/dist/types-ts4.5/state/hooks-external/useSmartLinkActions.d.ts +0 -52
- package/dist/types-ts4.5/state/hooks-external/useSmartLinkReload.d.ts +0 -22
- package/dist/types-ts4.5/state/index.d.ts +0 -5
- package/dist/types-ts4.5/state/reducers/types.d.ts +0 -4
- package/dist/types-ts4.5/state/renderers/index.d.ts +0 -2
- package/dist/types-ts4.5/state/store/index.d.ts +0 -3
- package/dist/types-ts4.5/state/types.d.ts +0 -1
- package/dist/types-ts4.5/types.d.ts +0 -20
- package/dist/types-ts4.5/utils/actions/create-invoke-request.d.ts +0 -3
- package/dist/types-ts4.5/utils/actions/create-status-update-request.d.ts +0 -4
- package/dist/types-ts4.5/utils/analytics/LinkAnalyticsContext.d.ts +0 -17
- package/dist/types-ts4.5/utils/analytics/SmartLinkAnalyticsContext.d.ts +0 -14
- package/dist/types-ts4.5/utils/analytics/__mocks__/analytics.d.ts +0 -2
- package/dist/types-ts4.5/utils/analytics/analytics.d.ts +0 -62
- package/dist/types-ts4.5/utils/analytics/click.d.ts +0 -26
- package/dist/types-ts4.5/utils/analytics/index.d.ts +0 -4
- package/dist/types-ts4.5/utils/analytics/types.d.ts +0 -136
- package/dist/types-ts4.5/utils/flexible.d.ts +0 -7
- package/dist/types-ts4.5/utils/index.d.ts +0 -25
- package/dist/types-ts4.5/utils/intl-utils/index.d.ts +0 -3
- package/dist/types-ts4.5/utils/jsonld.d.ts +0 -4
- package/dist/types-ts4.5/utils/mocks.d.ts +0 -145
- package/dist/types-ts4.5/utils/performance.d.ts +0 -8
- package/dist/types-ts4.5/utils/test-utils.d.ts +0 -4
- package/dist/types-ts4.5/utils/token.d.ts +0 -21
- package/dist/types-ts4.5/utils/types.d.ts +0 -14
- package/dist/types-ts4.5/view/BlockCard/actions/AuthorizeAction.d.ts +0 -2
- package/dist/types-ts4.5/view/BlockCard/actions/DownloadAction.d.ts +0 -4
- package/dist/types-ts4.5/view/BlockCard/actions/ForbiddenAction.d.ts +0 -2
- package/dist/types-ts4.5/view/BlockCard/actions/PreviewAction.d.ts +0 -27
- package/dist/types-ts4.5/view/BlockCard/actions/RetryAction.d.ts +0 -2
- package/dist/types-ts4.5/view/BlockCard/actions/ViewAction.d.ts +0 -4
- package/dist/types-ts4.5/view/BlockCard/actions/flexible/AuthorizeAction.d.ts +0 -9
- package/dist/types-ts4.5/view/BlockCard/actions/flexible/ForbiddenAction.d.ts +0 -12
- package/dist/types-ts4.5/view/BlockCard/actions/flexible/RetryAction.d.ts +0 -8
- package/dist/types-ts4.5/view/BlockCard/components/Action.d.ts +0 -13
- package/dist/types-ts4.5/view/BlockCard/components/ActionIcon.d.ts +0 -12
- package/dist/types-ts4.5/view/BlockCard/components/ActionList.d.ts +0 -7
- package/dist/types-ts4.5/view/BlockCard/components/CollaboratorList.d.ts +0 -15
- package/dist/types-ts4.5/view/BlockCard/components/Content.d.ts +0 -9
- package/dist/types-ts4.5/view/BlockCard/components/ContentFooter.d.ts +0 -9
- package/dist/types-ts4.5/view/BlockCard/components/ContentHeader.d.ts +0 -10
- package/dist/types-ts4.5/view/BlockCard/components/Emoji.d.ts +0 -7
- package/dist/types-ts4.5/view/BlockCard/components/Frame.d.ts +0 -16
- package/dist/types-ts4.5/view/BlockCard/components/Link.d.ts +0 -8
- package/dist/types-ts4.5/view/BlockCard/components/Name.d.ts +0 -12
- package/dist/types-ts4.5/view/BlockCard/components/Provider.d.ts +0 -8
- package/dist/types-ts4.5/view/BlockCard/components/Thumbnail.d.ts +0 -10
- package/dist/types-ts4.5/view/BlockCard/components/UnresolvedText.d.ts +0 -8
- package/dist/types-ts4.5/view/BlockCard/components/flexible/footer/index.d.ts +0 -12
- package/dist/types-ts4.5/view/BlockCard/components/flexible/footer/types.d.ts +0 -5
- package/dist/types-ts4.5/view/BlockCard/index.d.ts +0 -15
- package/dist/types-ts4.5/view/BlockCard/types.d.ts +0 -27
- package/dist/types-ts4.5/view/BlockCard/utils/handlers.d.ts +0 -2
- package/dist/types-ts4.5/view/BlockCard/views/ErroredView.d.ts +0 -14
- package/dist/types-ts4.5/view/BlockCard/views/ForbiddenView.d.ts +0 -23
- package/dist/types-ts4.5/view/BlockCard/views/NotFoundView.d.ts +0 -17
- package/dist/types-ts4.5/view/BlockCard/views/ResolvedView.d.ts +0 -36
- package/dist/types-ts4.5/view/BlockCard/views/ResolvingView.d.ts +0 -9
- package/dist/types-ts4.5/view/BlockCard/views/UnauthorizedView.d.ts +0 -19
- package/dist/types-ts4.5/view/BlockCard/views/flexible/FlexibleErroredView.d.ts +0 -3
- package/dist/types-ts4.5/view/BlockCard/views/flexible/FlexibleForbiddenView.d.ts +0 -3
- package/dist/types-ts4.5/view/BlockCard/views/flexible/FlexibleForbiddenViewOld.d.ts +0 -8
- package/dist/types-ts4.5/view/BlockCard/views/flexible/FlexibleNotFoundView.d.ts +0 -3
- package/dist/types-ts4.5/view/BlockCard/views/flexible/FlexibleResolvedView.d.ts +0 -3
- package/dist/types-ts4.5/view/BlockCard/views/flexible/FlexibleUnauthorisedView.d.ts +0 -3
- package/dist/types-ts4.5/view/BlockCard/views/flexible/styled.d.ts +0 -5
- package/dist/types-ts4.5/view/BlockCard/views/flexible/types.d.ts +0 -83
- package/dist/types-ts4.5/view/BlockCard/views/flexible/utils/index.d.ts +0 -10
- package/dist/types-ts4.5/view/BlockCard/views/flexible/utils/withFlexibleUIBlockCardStyle.d.ts +0 -4
- package/dist/types-ts4.5/view/Card/index.d.ts +0 -5
- package/dist/types-ts4.5/view/Card/types.d.ts +0 -84
- package/dist/types-ts4.5/view/CardWithData/component.d.ts +0 -5
- package/dist/types-ts4.5/view/CardWithData/loader.d.ts +0 -9
- package/dist/types-ts4.5/view/CardWithData/types.d.ts +0 -15
- package/dist/types-ts4.5/view/CardWithUrl/component-lazy/LazyFallback.d.ts +0 -4
- package/dist/types-ts4.5/view/CardWithUrl/component-lazy/LazyIntersectionObserverCard.d.ts +0 -3
- package/dist/types-ts4.5/view/CardWithUrl/component-lazy/LazyLazilyRenderCard.d.ts +0 -3
- package/dist/types-ts4.5/view/CardWithUrl/component-lazy/index.d.ts +0 -3
- package/dist/types-ts4.5/view/CardWithUrl/component.d.ts +0 -3
- package/dist/types-ts4.5/view/CardWithUrl/loader.d.ts +0 -3
- package/dist/types-ts4.5/view/CardWithUrl/types.d.ts +0 -38
- package/dist/types-ts4.5/view/EmbedCard/EmbedResizeMessageListener.d.ts +0 -15
- package/dist/types-ts4.5/view/EmbedCard/components/ExpandedFrame.d.ts +0 -26
- package/dist/types-ts4.5/view/EmbedCard/components/Frame.d.ts +0 -9
- package/dist/types-ts4.5/view/EmbedCard/components/IframeDwellTracker.d.ts +0 -8
- package/dist/types-ts4.5/view/EmbedCard/components/ImageIcon.d.ts +0 -9
- package/dist/types-ts4.5/view/EmbedCard/components/styled.d.ts +0 -94
- package/dist/types-ts4.5/view/EmbedCard/constants.d.ts +0 -3
- package/dist/types-ts4.5/view/EmbedCard/index.d.ts +0 -3
- package/dist/types-ts4.5/view/EmbedCard/types.d.ts +0 -52
- package/dist/types-ts4.5/view/EmbedCard/utils.d.ts +0 -1
- package/dist/types-ts4.5/view/EmbedCard/views/ErroredView.d.ts +0 -9
- package/dist/types-ts4.5/view/EmbedCard/views/ForbiddenView.d.ts +0 -17
- package/dist/types-ts4.5/view/EmbedCard/views/NotFoundView.d.ts +0 -15
- package/dist/types-ts4.5/view/EmbedCard/views/ResolvedView.d.ts +0 -34
- package/dist/types-ts4.5/view/EmbedCard/views/UnauthorisedView.d.ts +0 -19
- package/dist/types-ts4.5/view/EmbedCard/views/UnresolvedView.d.ts +0 -22
- package/dist/types-ts4.5/view/EmbedCard/views/forbidden-view/index.d.ts +0 -4
- package/dist/types-ts4.5/view/EmbedCard/views/forbidden-view/types.d.ts +0 -8
- package/dist/types-ts4.5/view/EmbedCard/views/not-found-view/index.d.ts +0 -4
- package/dist/types-ts4.5/view/EmbedCard/views/not-found-view/types.d.ts +0 -7
- package/dist/types-ts4.5/view/EmbedCard/views/unauthorized-view/index.d.ts +0 -4
- package/dist/types-ts4.5/view/EmbedCard/views/unauthorized-view/types.d.ts +0 -9
- package/dist/types-ts4.5/view/EmbedCard/views/unresolved-view/index.d.ts +0 -4
- package/dist/types-ts4.5/view/EmbedCard/views/unresolved-view/styled.d.ts +0 -5
- package/dist/types-ts4.5/view/EmbedCard/views/unresolved-view/types.d.ts +0 -25
- package/dist/types-ts4.5/view/EmbedModal/components/analytics/index.d.ts +0 -5
- package/dist/types-ts4.5/view/EmbedModal/components/analytics/types.d.ts +0 -7
- package/dist/types-ts4.5/view/EmbedModal/components/embed-content/index.d.ts +0 -5
- package/dist/types-ts4.5/view/EmbedModal/components/embed-content/types.d.ts +0 -6
- package/dist/types-ts4.5/view/EmbedModal/components/error-boundary/index.d.ts +0 -4
- package/dist/types-ts4.5/view/EmbedModal/components/link-info/index.d.ts +0 -4
- package/dist/types-ts4.5/view/EmbedModal/components/link-info/link-info-button/index.d.ts +0 -4
- package/dist/types-ts4.5/view/EmbedModal/components/link-info/link-info-button/types.d.ts +0 -9
- package/dist/types-ts4.5/view/EmbedModal/components/link-info/styled.d.ts +0 -4
- package/dist/types-ts4.5/view/EmbedModal/components/link-info/types.d.ts +0 -11
- package/dist/types-ts4.5/view/EmbedModal/constants.d.ts +0 -2
- package/dist/types-ts4.5/view/EmbedModal/index.d.ts +0 -21
- package/dist/types-ts4.5/view/EmbedModal/types.d.ts +0 -29
- package/dist/types-ts4.5/view/EmbedModal/utils.d.ts +0 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-button/index.d.ts +0 -5
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-button/types.d.ts +0 -10
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-dropdown-item/index.d.ts +0 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-dropdown-item/types.d.ts +0 -9
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-icon/index.d.ts +0 -5
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-icon/types.d.ts +0 -8
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/download-action/index.d.ts +0 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/download-action/types.d.ts +0 -5
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/index.d.ts +0 -13
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/preview-action/index.d.ts +0 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/preview-action/types.d.ts +0 -12
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/server-action/index.d.ts +0 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/server-action/types.d.ts +0 -6
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/types.d.ts +0 -64
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/view-action/index.d.ts +0 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/view-action/types.d.ts +0 -5
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/follow-action/index.d.ts +0 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/follow-action/unfollow-icon/index.d.ts +0 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/index.d.ts +0 -42
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/utils.d.ts +0 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-group/action-group-item/index.d.ts +0 -12
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-group/index.d.ts +0 -11
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-group/types.d.ts +0 -37
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/block/index.d.ts +0 -12
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/element-group/index.d.ts +0 -15
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/element-group/types.d.ts +0 -11
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/footer-block/index.d.ts +0 -11
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/footer-block/types.d.ts +0 -15
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/index.d.ts +0 -6
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/metadata-block/index.d.ts +0 -11
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/metadata-block/types.d.ts +0 -26
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/preview-block/index.d.ts +0 -11
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/preview-block/resolved/index.d.ts +0 -11
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/preview-block/types.d.ts +0 -27
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/snippet-block/index.d.ts +0 -10
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/snippet-block/types.d.ts +0 -8
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/errored/index.d.ts +0 -12
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/index.d.ts +0 -16
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/resolved/index.d.ts +0 -9
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/resolving/index.d.ts +0 -11
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/types.d.ts +0 -97
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/types.d.ts +0 -437
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/utils.d.ts +0 -14
- package/dist/types-ts4.5/view/FlexibleCard/components/common/atlaskit-icon/index.d.ts +0 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/common/atlaskit-icon/types.d.ts +0 -6
- package/dist/types-ts4.5/view/FlexibleCard/components/common/image-icon/index.d.ts +0 -5
- package/dist/types-ts4.5/view/FlexibleCard/components/common/image-icon/types.d.ts +0 -8
- package/dist/types-ts4.5/view/FlexibleCard/components/common/loading-skeleton/index.d.ts +0 -5
- package/dist/types-ts4.5/view/FlexibleCard/components/common/loading-skeleton/types.d.ts +0 -16
- package/dist/types-ts4.5/view/FlexibleCard/components/container/hover-card-control/index.d.ts +0 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/container/hover-card-control/types.d.ts +0 -7
- package/dist/types-ts4.5/view/FlexibleCard/components/container/index.d.ts +0 -16
- package/dist/types-ts4.5/view/FlexibleCard/components/container/layered-link/index.d.ts +0 -10
- package/dist/types-ts4.5/view/FlexibleCard/components/container/layered-link/types.d.ts +0 -12
- package/dist/types-ts4.5/view/FlexibleCard/components/container/types.d.ts +0 -23
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/atlaskit-badge/index.d.ts +0 -10
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/atlaskit-badge/types.d.ts +0 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/avatar-group/index.d.ts +0 -12
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/avatar-group/types.d.ts +0 -29
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/badge/index.d.ts +0 -18
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/badge/types.d.ts +0 -17
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/date-time/index.d.ts +0 -13
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/date-time/types.d.ts +0 -16
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/icon/index.d.ts +0 -11
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/icon/types.d.ts +0 -27
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/index.d.ts +0 -179
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/link/index.d.ts +0 -11
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/link/types.d.ts +0 -39
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/index.d.ts +0 -11
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/error-boundary/index.d.ts +0 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/feature-discovery/index.d.ts +0 -10
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/feature-discovery/styled.d.ts +0 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/feature-discovery/types.d.ts +0 -7
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/index.d.ts +0 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-analytics.d.ts +0 -21
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/index.d.ts +0 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/styled.d.ts +0 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/types.d.ts +0 -35
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-item/index.d.ts +0 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-item/types.d.ts +0 -6
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-trigger/index.d.ts +0 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-trigger/type.d.ts +0 -10
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/styled.d.ts +0 -3
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/types.d.ts +0 -15
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/types.d.ts +0 -18
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/media/index.d.ts +0 -11
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/media/types.d.ts +0 -18
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/preview/index.d.ts +0 -5
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/preview/types.d.ts +0 -13
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/text/index.d.ts +0 -11
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/text/types.d.ts +0 -17
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/types.d.ts +0 -24
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/utils.d.ts +0 -3
- package/dist/types-ts4.5/view/FlexibleCard/components/types.d.ts +0 -7
- package/dist/types-ts4.5/view/FlexibleCard/components/utils.d.ts +0 -20
- package/dist/types-ts4.5/view/FlexibleCard/index.d.ts +0 -10
- package/dist/types-ts4.5/view/FlexibleCard/types.d.ts +0 -169
- package/dist/types-ts4.5/view/FlexibleCard/utils.d.ts +0 -6
- package/dist/types-ts4.5/view/HoverCard/components/CustomPopupContainer.d.ts +0 -5
- package/dist/types-ts4.5/view/HoverCard/components/HoverCardComponent.d.ts +0 -3
- package/dist/types-ts4.5/view/HoverCard/components/HoverCardContent.d.ts +0 -7
- package/dist/types-ts4.5/view/HoverCard/components/ImagePreview.d.ts +0 -4
- package/dist/types-ts4.5/view/HoverCard/components/views/forbidden/index.d.ts +0 -4
- package/dist/types-ts4.5/view/HoverCard/components/views/forbidden/styled.d.ts +0 -3
- package/dist/types-ts4.5/view/HoverCard/components/views/forbidden/types.d.ts +0 -13
- package/dist/types-ts4.5/view/HoverCard/components/views/resolved/index.d.ts +0 -7
- package/dist/types-ts4.5/view/HoverCard/components/views/resolved/styled.d.ts +0 -3
- package/dist/types-ts4.5/view/HoverCard/components/views/resolved/types.d.ts +0 -13
- package/dist/types-ts4.5/view/HoverCard/components/views/resolving/index.d.ts +0 -4
- package/dist/types-ts4.5/view/HoverCard/components/views/resolving/styled.d.ts +0 -5
- package/dist/types-ts4.5/view/HoverCard/components/views/resolving/types.d.ts +0 -6
- package/dist/types-ts4.5/view/HoverCard/components/views/unauthorised/index.d.ts +0 -4
- package/dist/types-ts4.5/view/HoverCard/components/views/unauthorised/styled.d.ts +0 -3
- package/dist/types-ts4.5/view/HoverCard/components/views/unauthorised/types.d.ts +0 -30
- package/dist/types-ts4.5/view/HoverCard/index.d.ts +0 -14
- package/dist/types-ts4.5/view/HoverCard/styled.d.ts +0 -11
- package/dist/types-ts4.5/view/HoverCard/types.d.ts +0 -98
- package/dist/types-ts4.5/view/HoverCard/utils.d.ts +0 -3
- package/dist/types-ts4.5/view/InlineCard/ErroredView/index.d.ts +0 -21
- package/dist/types-ts4.5/view/InlineCard/ForbiddenView/index.d.ts +0 -28
- package/dist/types-ts4.5/view/InlineCard/Frame/index.d.ts +0 -15
- package/dist/types-ts4.5/view/InlineCard/Frame/styled.d.ts +0 -15
- package/dist/types-ts4.5/view/InlineCard/Icon.d.ts +0 -12
- package/dist/types-ts4.5/view/InlineCard/IconAndTitleLayout/index.d.ts +0 -28
- package/dist/types-ts4.5/view/InlineCard/IconAndTitleLayout/styled.d.ts +0 -40
- package/dist/types-ts4.5/view/InlineCard/ResolvedView/index.d.ts +0 -32
- package/dist/types-ts4.5/view/InlineCard/ResolvingView/index.d.ts +0 -17
- package/dist/types-ts4.5/view/InlineCard/ResolvingView/styled.d.ts +0 -9
- package/dist/types-ts4.5/view/InlineCard/UnauthorisedView/index.d.ts +0 -31
- package/dist/types-ts4.5/view/InlineCard/index.d.ts +0 -9
- package/dist/types-ts4.5/view/InlineCard/styled.d.ts +0 -17
- package/dist/types-ts4.5/view/InlineCard/types.d.ts +0 -25
- package/dist/types-ts4.5/view/LinkUrl/LinkWarningModal/hooks/use-link-warning-modal.d.ts +0 -10
- package/dist/types-ts4.5/view/LinkUrl/LinkWarningModal/index.d.ts +0 -14
- package/dist/types-ts4.5/view/LinkUrl/LinkWarningModal/styled.d.ts +0 -1
- package/dist/types-ts4.5/view/LinkUrl/index.d.ts +0 -6
- package/dist/types-ts4.5/view/LinkUrl/types.d.ts +0 -13
- package/dist/types-ts4.5/view/LinkView/index.d.ts +0 -8
- package/dist/types-ts4.5/view/RedesignedInlineCard/ErroredView/index.d.ts +0 -24
- package/dist/types-ts4.5/view/RedesignedInlineCard/ForbiddenView/index.d.ts +0 -31
- package/dist/types-ts4.5/view/RedesignedInlineCard/Frame/index.d.ts +0 -15
- package/dist/types-ts4.5/view/RedesignedInlineCard/Frame/styled.d.ts +0 -15
- package/dist/types-ts4.5/view/RedesignedInlineCard/Icon.d.ts +0 -12
- package/dist/types-ts4.5/view/RedesignedInlineCard/IconAndTitleLayout/index.d.ts +0 -28
- package/dist/types-ts4.5/view/RedesignedInlineCard/IconAndTitleLayout/styled.d.ts +0 -36
- package/dist/types-ts4.5/view/RedesignedInlineCard/ResolvedView/index.d.ts +0 -32
- package/dist/types-ts4.5/view/RedesignedInlineCard/ResolvingView/index.d.ts +0 -17
- package/dist/types-ts4.5/view/RedesignedInlineCard/ResolvingView/styled.d.ts +0 -9
- package/dist/types-ts4.5/view/RedesignedInlineCard/UnauthorisedView/index.d.ts +0 -32
- package/dist/types-ts4.5/view/RedesignedInlineCard/index.d.ts +0 -9
- package/dist/types-ts4.5/view/RedesignedInlineCard/styled.d.ts +0 -17
- package/dist/types-ts4.5/view/RedesignedInlineCard/types.d.ts +0 -25
- package/dist/types-ts4.5/view/RedesignedInlineCard/utils/withFrameStyleControl.d.ts +0 -9
- package/dist/types-ts4.5/view/SmartLinkEvents/useSmartLinkEvents.d.ts +0 -2
- package/dist/types-ts4.5/view/common/Byline.d.ts +0 -10
- package/dist/types-ts4.5/view/common/Icon.d.ts +0 -12
- package/dist/types-ts4.5/view/common/Metadata.d.ts +0 -10
- package/dist/types-ts4.5/view/common/MetadataList.d.ts +0 -9
- package/dist/types-ts4.5/view/common/UnauthorisedViewContent.d.ts +0 -26
- package/dist/types-ts4.5/view/common/utils.d.ts +0 -5
- package/dist/types-ts4.5/view/types.d.ts +0 -33
- package/tmp/api-report-tmp.d.ts +0 -1002
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { FlexibleCardProps } from './types';
|
|
3
|
-
/**
|
|
4
|
-
* This represents a Flexible Card: a link represented by a card with metadata.
|
|
5
|
-
* This is the container in which all Flexible UI Blocks and Elements exist.
|
|
6
|
-
* Note: TitleBlock is mandatory for a Flexible Card to render.
|
|
7
|
-
* @see Container
|
|
8
|
-
*/
|
|
9
|
-
declare const FlexibleCard: React.FC<FlexibleCardProps>;
|
|
10
|
-
export default FlexibleCard;
|
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { MessageDescriptor } from 'react-intl-next';
|
|
3
|
-
import type { JsonLd } from 'json-ld-types';
|
|
4
|
-
import { CardState, LinkingPlatformFeatureFlags } from '@atlaskit/linking-common';
|
|
5
|
-
import { CardProviderRenderers } from '@atlaskit/link-provider';
|
|
6
|
-
import { SmartLinkSize, SmartLinkStatus, SmartLinkTheme } from '../../constants';
|
|
7
|
-
import { CardInnerAppearance, OnResolveCallback } from '../Card/types';
|
|
8
|
-
import { OnErrorCallback } from '../types';
|
|
9
|
-
import { AnalyticsFacade } from '../../state/analytics';
|
|
10
|
-
export type FlexibleCardProps = {
|
|
11
|
-
/**
|
|
12
|
-
* @internal A unique ID for a Smart Link.
|
|
13
|
-
*/
|
|
14
|
-
id?: string;
|
|
15
|
-
/**
|
|
16
|
-
* An analytics facade object which will be used to send analytics.
|
|
17
|
-
* @internal
|
|
18
|
-
*/
|
|
19
|
-
analytics?: AnalyticsFacade;
|
|
20
|
-
/**
|
|
21
|
-
* Determines the appearance of the Smart Link.
|
|
22
|
-
* @internal
|
|
23
|
-
*/
|
|
24
|
-
appearance?: CardInnerAppearance;
|
|
25
|
-
/**
|
|
26
|
-
* Determines the status and data of the Smart Link.
|
|
27
|
-
* @internal
|
|
28
|
-
*/
|
|
29
|
-
cardState: CardState;
|
|
30
|
-
/**
|
|
31
|
-
* The Flexible UI block component(s) to be rendered.
|
|
32
|
-
* The minimum is a TitleBlock.
|
|
33
|
-
*/
|
|
34
|
-
children: React.ReactNode;
|
|
35
|
-
/**
|
|
36
|
-
* Determines the onClick behaviour of Flexible UI. This will proxy to the
|
|
37
|
-
* TitleBlock if supplied.
|
|
38
|
-
*/
|
|
39
|
-
onClick?: React.EventHandler<React.MouseEvent | React.KeyboardEvent>;
|
|
40
|
-
/**
|
|
41
|
-
* An additional action that can be performed when link is not resolved, e.g.
|
|
42
|
-
* connect account to gain access to 403 link.
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
45
|
-
onAuthorize?: () => void;
|
|
46
|
-
/**
|
|
47
|
-
* function to be called after a flexible card has rendered its error states
|
|
48
|
-
*/
|
|
49
|
-
onError?: OnErrorCallback;
|
|
50
|
-
/**
|
|
51
|
-
* function to be called after a flexible card has rendered its resolved state
|
|
52
|
-
*/
|
|
53
|
-
onResolve?: OnResolveCallback;
|
|
54
|
-
/**
|
|
55
|
-
* Any additional renderers required by Flexible UI. Currently used by icon
|
|
56
|
-
* to render Emoji.
|
|
57
|
-
*/
|
|
58
|
-
renderers?: CardProviderRenderers;
|
|
59
|
-
/**
|
|
60
|
-
* Determines whether to show available server actions.
|
|
61
|
-
*/
|
|
62
|
-
showServerActions?: boolean | ServerActionOptions;
|
|
63
|
-
/**
|
|
64
|
-
* A `testId` prop is provided for specified elements, which is a unique
|
|
65
|
-
* string that appears as a data attribute `data-testid` in the rendered code,
|
|
66
|
-
* serving as a hook for automated tests
|
|
67
|
-
*/
|
|
68
|
-
testId?: string;
|
|
69
|
-
/**
|
|
70
|
-
* Determines the appearance of Flexible UI.
|
|
71
|
-
* @see FlexibleUiOptions
|
|
72
|
-
*/
|
|
73
|
-
ui?: FlexibleUiOptions;
|
|
74
|
-
/**
|
|
75
|
-
* Determines the URL of the Smart Link.
|
|
76
|
-
*/
|
|
77
|
-
url: string;
|
|
78
|
-
/**
|
|
79
|
-
* Determine whether or not a preview card should show up when a user hovers
|
|
80
|
-
* over the smartlink. Default value is false.
|
|
81
|
-
*/
|
|
82
|
-
showHoverPreview?: Boolean;
|
|
83
|
-
/**
|
|
84
|
-
* Determines whether to show an unauthorised view of the hover card
|
|
85
|
-
* when a user hovers over a smartlink.
|
|
86
|
-
*/
|
|
87
|
-
showAuthTooltip?: Boolean;
|
|
88
|
-
};
|
|
89
|
-
export type FlexibleUiOptions = {
|
|
90
|
-
/**
|
|
91
|
-
* Determines whether the entire Smart Link container should be clickable.
|
|
92
|
-
*/
|
|
93
|
-
clickableContainer?: boolean;
|
|
94
|
-
/**
|
|
95
|
-
* Determines whether to hide elevation styling.
|
|
96
|
-
*/
|
|
97
|
-
hideElevation?: boolean;
|
|
98
|
-
/**
|
|
99
|
-
* Determines whether to hide hover preview's full screen view.
|
|
100
|
-
* Only applies if showHoverPreview from FlexibleCardProps is true
|
|
101
|
-
*/
|
|
102
|
-
hideHoverCardPreviewButton?: boolean;
|
|
103
|
-
/**
|
|
104
|
-
* Determines whether to hide css padding styling.
|
|
105
|
-
*/
|
|
106
|
-
hidePadding?: boolean;
|
|
107
|
-
/**
|
|
108
|
-
* Determines whether to hide css background color styling.
|
|
109
|
-
*/
|
|
110
|
-
hideBackground?: boolean;
|
|
111
|
-
/**
|
|
112
|
-
* Determines the default padding and sizing of the underlying blocks and
|
|
113
|
-
* elements within Flexible UI.
|
|
114
|
-
*/
|
|
115
|
-
size?: SmartLinkSize;
|
|
116
|
-
/**
|
|
117
|
-
* Determines the default theme of the Flexible UI.
|
|
118
|
-
* Can be Black or Link (default URL blue)
|
|
119
|
-
*/
|
|
120
|
-
theme?: SmartLinkTheme;
|
|
121
|
-
/**
|
|
122
|
-
* Z-index that Atlaskit portal component should be displayed in.
|
|
123
|
-
* This is passed to the portal component.
|
|
124
|
-
*/
|
|
125
|
-
zIndex?: number;
|
|
126
|
-
};
|
|
127
|
-
/**
|
|
128
|
-
* Server action options to control action behaviour.
|
|
129
|
-
*
|
|
130
|
-
* If the type is applied to exported component (<Card />, <HoverCard />)
|
|
131
|
-
* please verify with the team if the deprecated prop can be removed prior.
|
|
132
|
-
*
|
|
133
|
-
* In the case that it is being exposed in HoverCard, please remove
|
|
134
|
-
* boolean conversion `Boolean(showServerActions)` in
|
|
135
|
-
* /src/view/FlexibleCard/components/container/index.tsx line 287
|
|
136
|
-
* @internal
|
|
137
|
-
*/
|
|
138
|
-
export type ServerActionOptions = {
|
|
139
|
-
/**
|
|
140
|
-
* DO NOT USE: This prop is part of an experiment. It will be removed once
|
|
141
|
-
* the experiment is completed.
|
|
142
|
-
* @see https://team.atlassian.com/project/ATLAS-13099/about
|
|
143
|
-
* @internal
|
|
144
|
-
* @deprecated
|
|
145
|
-
*/
|
|
146
|
-
showStateActionFeatureDiscovery?: boolean;
|
|
147
|
-
};
|
|
148
|
-
/**
|
|
149
|
-
* Retry options used if Smart Link resolves to an errored state.
|
|
150
|
-
*/
|
|
151
|
-
export type RetryOptions = {
|
|
152
|
-
/**
|
|
153
|
-
* Determines the error message to show.
|
|
154
|
-
*/
|
|
155
|
-
descriptor?: MessageDescriptor;
|
|
156
|
-
/**
|
|
157
|
-
* Determines the onClick behaviour of the error message.
|
|
158
|
-
*/
|
|
159
|
-
onClick?: ((e: React.MouseEvent<HTMLElement>) => void) | undefined;
|
|
160
|
-
/**
|
|
161
|
-
* A list of optional value pairs for string interpolation in the message.
|
|
162
|
-
*/
|
|
163
|
-
values?: Record<string, string>;
|
|
164
|
-
};
|
|
165
|
-
export type ExtractFlexibleUiDataContextParams = Pick<FlexibleCardProps, 'id' | 'showServerActions' | 'renderers' | 'url'> & {
|
|
166
|
-
status?: SmartLinkStatus;
|
|
167
|
-
response?: JsonLd.Response;
|
|
168
|
-
featureFlags?: Partial<LinkingPlatformFeatureFlags>;
|
|
169
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { JsonLd } from 'json-ld-types';
|
|
2
|
-
import { ExtractFlexibleUiDataContextParams, RetryOptions } from './types';
|
|
3
|
-
import { SmartLinkStatus } from '../../constants';
|
|
4
|
-
import { FlexibleUiDataContext } from '../../state/flexible-ui-context/types';
|
|
5
|
-
export declare const getContextByStatus: (params: ExtractFlexibleUiDataContextParams) => FlexibleUiDataContext | undefined;
|
|
6
|
-
export declare const getRetryOptions: (url: string, status?: SmartLinkStatus, response?: JsonLd.Response, onAuthorize?: (() => void) | undefined) => RetryOptions | undefined;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/** @jsx jsx */
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { PopupComponentProps } from '@atlaskit/popup';
|
|
4
|
-
declare const CustomPopupContainer: React.ForwardRefExoticComponent<Pick<PopupComponentProps, "children" | "style" | "id" | "tabIndex" | "data-testid" | "shouldRenderToParent" | "data-placement"> & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
-
export default CustomPopupContainer;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ActionItem } from '../../FlexibleCard/components/blocks/types';
|
|
3
|
-
import { HoverCardContentProps } from '../types';
|
|
4
|
-
export declare const hoverCardClassName = "smart-links-hover-preview";
|
|
5
|
-
export declare const getCopyAction: (url: string) => ActionItem;
|
|
6
|
-
declare const HoverCardContent: React.FC<HoverCardContentProps>;
|
|
7
|
-
export default HoverCardContent;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { FlexibleCardProps } from '../../../../FlexibleCard/types';
|
|
2
|
-
export type HoverCardForbiddenProps = {
|
|
3
|
-
/**
|
|
4
|
-
* Data required for rendering a Flexible Card
|
|
5
|
-
*/
|
|
6
|
-
flexibleCardProps: FlexibleCardProps;
|
|
7
|
-
/**
|
|
8
|
-
* A `testId` prop is provided for specified elements, which is a unique
|
|
9
|
-
* string that appears as a data attribute `data-testid` in the rendered code,
|
|
10
|
-
* serving as a hook for automated tests
|
|
11
|
-
*/
|
|
12
|
-
testId?: string;
|
|
13
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ActionItem } from '../../../../FlexibleCard/components/blocks/types';
|
|
3
|
-
import { LinkAction } from '../../../../../state/hooks-external/useSmartLinkActions';
|
|
4
|
-
import { HoverCardResolvedProps } from './types';
|
|
5
|
-
export declare const toFooterActions: (cardActions: LinkAction[], onActionClick?: ((actionId: string) => void) | undefined) => ActionItem[];
|
|
6
|
-
declare const HoverCardResolvedView: React.FC<HoverCardResolvedProps>;
|
|
7
|
-
export default HoverCardResolvedView;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { AnalyticsFacade } from '../../../../../state/analytics';
|
|
2
|
-
import { LinkAction } from '../../../../../state/hooks-external/useSmartLinkActions';
|
|
3
|
-
import { CardState } from '@atlaskit/linking-common';
|
|
4
|
-
import { HoverCardLoadingViewProps } from '../resolving/types';
|
|
5
|
-
export type HoverCardResolvedProps = {
|
|
6
|
-
extensionKey?: string;
|
|
7
|
-
id?: string;
|
|
8
|
-
url: string;
|
|
9
|
-
analytics: AnalyticsFacade;
|
|
10
|
-
cardActions?: LinkAction[];
|
|
11
|
-
cardState: CardState;
|
|
12
|
-
onActionClick: (actionId: string) => void;
|
|
13
|
-
} & HoverCardLoadingViewProps;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { SerializedStyles } from '@emotion/react';
|
|
2
|
-
export declare const loadingViewContainer: SerializedStyles;
|
|
3
|
-
export declare const skeletonContainer: SerializedStyles;
|
|
4
|
-
export declare const getTitleStyles: (height: number) => SerializedStyles;
|
|
5
|
-
export declare const titleBlockStyles: SerializedStyles;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { FlexibleCardProps } from '../../../../FlexibleCard/types';
|
|
2
|
-
import { TitleBlockProps } from '../../../../FlexibleCard/components/blocks/title-block/types';
|
|
3
|
-
export type HoverCardLoadingViewProps = {
|
|
4
|
-
flexibleCardProps: FlexibleCardProps;
|
|
5
|
-
titleBlockProps: TitleBlockProps;
|
|
6
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { FlexibleCardProps } from '../../../../FlexibleCard/types';
|
|
2
|
-
import { AnalyticsFacade } from '../../../../../state/analytics';
|
|
3
|
-
export type HoverCardUnauthorisedProps = {
|
|
4
|
-
/**
|
|
5
|
-
* An AnalyticsFacade object used for calling analytics.
|
|
6
|
-
*/
|
|
7
|
-
analytics: AnalyticsFacade;
|
|
8
|
-
/**
|
|
9
|
-
* Provides the extensionKey of a Smart Link resolver invoked.
|
|
10
|
-
*/
|
|
11
|
-
extensionKey?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Data required for rendering a Flexible Card
|
|
14
|
-
*/
|
|
15
|
-
flexibleCardProps: FlexibleCardProps;
|
|
16
|
-
/**
|
|
17
|
-
* A unique ID for a Smart Link.
|
|
18
|
-
*/
|
|
19
|
-
id?: string;
|
|
20
|
-
/**
|
|
21
|
-
* A `testId` prop is provided for specified elements, which is a unique
|
|
22
|
-
* string that appears as a data attribute `data-testid` in the rendered code,
|
|
23
|
-
* serving as a hook for automated tests
|
|
24
|
-
*/
|
|
25
|
-
testId?: string;
|
|
26
|
-
/**
|
|
27
|
-
* The url that we were trying to resolve and that has the 'unauthorized' state for the current user
|
|
28
|
-
*/
|
|
29
|
-
url: string;
|
|
30
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { jsx } from '@emotion/react';
|
|
2
|
-
import { HoverCardInternalProps, HoverCardProps } from './types';
|
|
3
|
-
/**
|
|
4
|
-
* A hover preview component using within smart links,
|
|
5
|
-
* e.g. inline card's hover preview and auth tooltip, flexible card's hover preview.
|
|
6
|
-
*
|
|
7
|
-
* This component contains additional props that smart-card internal components
|
|
8
|
-
* use to configure hover preview behaviour.
|
|
9
|
-
*/
|
|
10
|
-
export declare const HoverCard: (props: HoverCardProps & HoverCardInternalProps) => jsx.JSX.Element;
|
|
11
|
-
/**
|
|
12
|
-
* A standalone hover preview component
|
|
13
|
-
*/
|
|
14
|
-
export declare const StandaloneHoverCard: (props: HoverCardProps) => jsx.JSX.Element;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FlexibleUiOptions } from '../FlexibleCard/types';
|
|
2
|
-
export declare const HOVER_CARD_Z_INDEX: 510;
|
|
3
|
-
export declare const flexibleUiOptions: FlexibleUiOptions;
|
|
4
|
-
export declare const CARD_WIDTH_REM = 24;
|
|
5
|
-
export declare const CARD_GAP_PX = 10;
|
|
6
|
-
export declare const separatorCss: import("@emotion/react").SerializedStyles;
|
|
7
|
-
export declare const HoverCardContainer: import("@emotion/react").SerializedStyles;
|
|
8
|
-
export declare const titleBlockCss: import("@emotion/react").SerializedStyles;
|
|
9
|
-
export declare const getTransitionStyles: (snippetHeight: number) => import("@emotion/react").SerializedStyles;
|
|
10
|
-
export declare const popupContainerStyles: import("@emotion/react").SerializedStyles;
|
|
11
|
-
export declare const getPreviewBlockStyles: (previewHeight?: number) => import("@emotion/react").SerializedStyles;
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
2
|
-
import { ElementItem } from '../FlexibleCard/components/blocks/types';
|
|
3
|
-
import { AnalyticsFacade } from '../../state/analytics';
|
|
4
|
-
import { LinkAction } from '../../state/hooks-external/useSmartLinkActions';
|
|
5
|
-
import { CardState } from '@atlaskit/linking-common';
|
|
6
|
-
import { AnalyticsHandler } from '../../utils/types';
|
|
7
|
-
import { CardProviderRenderers } from '@atlaskit/link-provider';
|
|
8
|
-
import { MouseEventHandler, ReactElement } from 'react';
|
|
9
|
-
import { JsonLd } from 'json-ld-types';
|
|
10
|
-
export interface HoverCardProps extends WithAnalyticsEventsProps {
|
|
11
|
-
/**
|
|
12
|
-
* Unique ID for a hover card. Used for analytics.
|
|
13
|
-
*/
|
|
14
|
-
id?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Hover card will display data from this url.
|
|
17
|
-
*/
|
|
18
|
-
url: string;
|
|
19
|
-
/**
|
|
20
|
-
* React children component over which the hover card can be triggered.
|
|
21
|
-
*/
|
|
22
|
-
children: ReactElement;
|
|
23
|
-
/**
|
|
24
|
-
* Function to be called when user is authorized to view a link.
|
|
25
|
-
* @deprecated See EDM-7411
|
|
26
|
-
*/
|
|
27
|
-
onAuthorize?: () => void;
|
|
28
|
-
/**
|
|
29
|
-
* Determines if the hover card is allowed to open. If changed from true to false while the
|
|
30
|
-
* hover card is open, the hover card will be closed.
|
|
31
|
-
*/
|
|
32
|
-
canOpen?: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* Determines if the hover card should close when the children passed in are
|
|
35
|
-
* clicked.
|
|
36
|
-
*/
|
|
37
|
-
closeOnChildClick?: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Determines if the hover card should display the "Open preview" button.
|
|
40
|
-
*/
|
|
41
|
-
hidePreviewButton?: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* Determines whether to show available server actions.
|
|
44
|
-
*/
|
|
45
|
-
showServerActions?: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* Z-index that the hover card should be displayed in.
|
|
48
|
-
* This is passed to the portal component.
|
|
49
|
-
*/
|
|
50
|
-
zIndex?: number;
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* An internal props that internal smart-card components can use to configure
|
|
54
|
-
* hover preview behaviour. The prop contains here are suitable for unsafe
|
|
55
|
-
* or experiment props that will not be or are yet ready to be available on
|
|
56
|
-
* standalone hover card.
|
|
57
|
-
*/
|
|
58
|
-
export interface HoverCardInternalProps {
|
|
59
|
-
/**
|
|
60
|
-
* Allow click event to bubble up from hover preview trigger component.
|
|
61
|
-
* @see EDM-7187 for further details
|
|
62
|
-
*/
|
|
63
|
-
allowEventPropagation?: boolean;
|
|
64
|
-
/**
|
|
65
|
-
* Suspend hover card UI delays (fade-in, fade-out) for VR testing purposes.
|
|
66
|
-
*/
|
|
67
|
-
noFadeDelay?: boolean;
|
|
68
|
-
}
|
|
69
|
-
export interface HoverCardComponentProps extends HoverCardProps, HoverCardInternalProps {
|
|
70
|
-
analyticsHandler?: AnalyticsHandler;
|
|
71
|
-
analytics?: AnalyticsFacade;
|
|
72
|
-
canOpen?: boolean;
|
|
73
|
-
closeOnChildClick?: boolean;
|
|
74
|
-
}
|
|
75
|
-
export type PreviewDisplay = 'card' | 'embed';
|
|
76
|
-
export type PreviewInvokeMethod = 'keyboard' | 'mouse_hover' | 'mouse_click';
|
|
77
|
-
export interface MetadataOptions {
|
|
78
|
-
primary: Array<ElementItem>;
|
|
79
|
-
secondary: Array<ElementItem>;
|
|
80
|
-
subtitle: Array<ElementItem>;
|
|
81
|
-
}
|
|
82
|
-
export type HoverCardContentProps = {
|
|
83
|
-
id?: string;
|
|
84
|
-
analytics?: AnalyticsFacade;
|
|
85
|
-
cardActions?: LinkAction[];
|
|
86
|
-
cardState: CardState;
|
|
87
|
-
renderers?: CardProviderRenderers;
|
|
88
|
-
onActionClick: (actionId: string) => void;
|
|
89
|
-
onResolve: () => void;
|
|
90
|
-
url: string;
|
|
91
|
-
onMouseEnter?: MouseEventHandler;
|
|
92
|
-
onMouseLeave?: MouseEventHandler;
|
|
93
|
-
showServerActions?: boolean;
|
|
94
|
-
};
|
|
95
|
-
export type ImagePreviewProps = {
|
|
96
|
-
data: JsonLd.Data.BaseData;
|
|
97
|
-
fallbackElementHeight: number;
|
|
98
|
-
};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { JsonLd } from 'json-ld-types';
|
|
2
|
-
export declare const getSimulatedMetadata: (extensionKey: string | undefined, data: JsonLd.Data.BaseData) => JsonLd.Primitives.Property<any>;
|
|
3
|
-
export declare const getSimulatedBetterMetadata: (extensionKey: string | undefined, data: JsonLd.Data.BaseData) => JsonLd.Primitives.Property<any>;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface InlineCardErroredViewProps {
|
|
3
|
-
/** The url to display */
|
|
4
|
-
url: string;
|
|
5
|
-
/** The error message to display */
|
|
6
|
-
message: string;
|
|
7
|
-
/** The optional click handler */
|
|
8
|
-
onClick?: React.EventHandler<React.MouseEvent | React.KeyboardEvent>;
|
|
9
|
-
/** What to do when a user clicks "Try again" button */
|
|
10
|
-
onRetry?: () => void;
|
|
11
|
-
/** A flag that determines whether the card is selected in edit mode. */
|
|
12
|
-
isSelected?: boolean;
|
|
13
|
-
/** A `testId` prop is provided for specified elements, which is a unique string that appears as a data attribute `data-testid` in the rendered code, serving as a hook for automated tests */
|
|
14
|
-
testId?: string;
|
|
15
|
-
icon?: React.ReactNode;
|
|
16
|
-
}
|
|
17
|
-
export declare class InlineCardErroredView extends React.Component<InlineCardErroredViewProps> {
|
|
18
|
-
handleRetry: (event: React.MouseEvent<HTMLElement>) => void;
|
|
19
|
-
renderRightSide: () => string | JSX.Element;
|
|
20
|
-
render(): JSX.Element;
|
|
21
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { RequestAccessContextProps } from '../../types';
|
|
3
|
-
export interface InlineCardForbiddenViewProps {
|
|
4
|
-
/** The url to display */
|
|
5
|
-
url: string;
|
|
6
|
-
/** The icon of the service (e.g. Dropbox/Asana/Google/etc) to display */
|
|
7
|
-
icon?: React.ReactNode;
|
|
8
|
-
/** The name of the service (e.g. Jira/Confluence/Asana/etc) to display */
|
|
9
|
-
context?: string;
|
|
10
|
-
/** The optional click handler */
|
|
11
|
-
onClick?: React.EventHandler<React.MouseEvent | React.KeyboardEvent>;
|
|
12
|
-
/** The optional handler for "Connect" button */
|
|
13
|
-
onAuthorise?: () => void;
|
|
14
|
-
/** A flag that determines whether the card is selected in edit mode. */
|
|
15
|
-
isSelected?: boolean;
|
|
16
|
-
/** A `testId` prop is provided for specified elements, which is a unique string that appears as a data attribute `data-testid` in the rendered code, serving as a hook for automated tests */
|
|
17
|
-
testId?: string;
|
|
18
|
-
requestAccessContext?: RequestAccessContextProps;
|
|
19
|
-
}
|
|
20
|
-
export declare class InlineCardForbiddenView extends React.Component<InlineCardForbiddenViewProps> {
|
|
21
|
-
state: {
|
|
22
|
-
hasRequestAccessContextMessage: boolean;
|
|
23
|
-
};
|
|
24
|
-
handleRetry: (event: React.MouseEvent<HTMLElement>) => void;
|
|
25
|
-
renderForbiddenAccessMessage: () => JSX.Element;
|
|
26
|
-
renderRightSide: () => JSX.Element | null;
|
|
27
|
-
render(): JSX.Element;
|
|
28
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface FrameViewProps {
|
|
3
|
-
/** A flag that determines whether the card is selected in edit mode. */
|
|
4
|
-
isSelected?: boolean;
|
|
5
|
-
/** A flag that determines whether the card needs a backgorund or not */
|
|
6
|
-
withoutBackground?: boolean;
|
|
7
|
-
children?: React.ReactNode;
|
|
8
|
-
link?: string;
|
|
9
|
-
/** The optional click handler */
|
|
10
|
-
onClick?: React.EventHandler<React.MouseEvent | React.KeyboardEvent>;
|
|
11
|
-
/** A `testId` prop is provided for specified elements, which is a unique string that appears as a data attribute `data-testid` in the rendered code, serving as a hook for automated tests */
|
|
12
|
-
testId?: string;
|
|
13
|
-
className?: string;
|
|
14
|
-
}
|
|
15
|
-
export declare const Frame: React.FC<FrameViewProps>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface WrapperProps {
|
|
3
|
-
href?: string;
|
|
4
|
-
isSelected?: boolean;
|
|
5
|
-
isInteractive?: boolean;
|
|
6
|
-
withoutBackground?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare const WrapperAnchor: import("@emotion/styled").StyledComponent<{
|
|
9
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
10
|
-
as?: import("react").ElementType<any> | undefined;
|
|
11
|
-
} & WrapperProps, import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, {}>;
|
|
12
|
-
export declare const WrapperSpan: import("@emotion/styled").StyledComponent<{
|
|
13
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
14
|
-
as?: import("react").ElementType<any> | undefined;
|
|
15
|
-
} & WrapperProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const Icon: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: React.ElementType<any> | undefined;
|
|
5
|
-
}, React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
6
|
-
export declare const AKIconWrapper: import("@emotion/styled").StyledComponent<{
|
|
7
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
8
|
-
as?: React.ElementType<any> | undefined;
|
|
9
|
-
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
10
|
-
export declare const Shimmer: ({ testId }: {
|
|
11
|
-
testId: string;
|
|
12
|
-
}) => JSX.Element;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface IconAndTitleLayoutProps {
|
|
3
|
-
emoji?: React.ReactNode;
|
|
4
|
-
icon?: React.ReactNode;
|
|
5
|
-
title: React.ReactNode;
|
|
6
|
-
right?: React.ReactNode;
|
|
7
|
-
titleColor?: string;
|
|
8
|
-
titleTextColor?: string;
|
|
9
|
-
children?: React.ReactNode;
|
|
10
|
-
defaultIcon?: React.ReactNode;
|
|
11
|
-
testId?: string;
|
|
12
|
-
link?: string;
|
|
13
|
-
rightSide?: React.ReactNode;
|
|
14
|
-
rightSideSpacer: boolean;
|
|
15
|
-
onClick?: React.EventHandler<React.MouseEvent | React.KeyboardEvent>;
|
|
16
|
-
}
|
|
17
|
-
export declare class IconAndTitleLayout extends React.Component<IconAndTitleLayoutProps> {
|
|
18
|
-
static defaultProps: {
|
|
19
|
-
rightSideSpacer: boolean;
|
|
20
|
-
};
|
|
21
|
-
private renderAtlaskitIcon;
|
|
22
|
-
private renderImageIcon;
|
|
23
|
-
private renderIconPlaceholder;
|
|
24
|
-
renderIcon(testId: string): JSX.Element;
|
|
25
|
-
handleClick: (event: React.MouseEvent) => void;
|
|
26
|
-
handleKeyPress: (event: React.KeyboardEvent<HTMLAnchorElement>) => void;
|
|
27
|
-
render(): JSX.Element;
|
|
28
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const IconObjectOverrides = "\n & > span {\n height: 16px;\n width: 14px;\n position: absolute;\n top: 0;\n left: 0;\n line-height: 14px;\n & > svg {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n }\n }\n";
|
|
3
|
-
export declare const IconOverrides = "\n & > * > span {\n height: 16px;\n width: 14px;\n position: absolute;\n top: 0;\n left: 0;\n & > svg {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n }\n }\n";
|
|
4
|
-
export declare const IconWrapper: import("@emotion/styled").StyledComponent<{
|
|
5
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
6
|
-
as?: import("react").ElementType<any> | undefined;
|
|
7
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
8
|
-
export declare const EmojiWrapper: import("@emotion/styled").StyledComponent<{
|
|
9
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
10
|
-
as?: import("react").ElementType<any> | undefined;
|
|
11
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
12
|
-
export declare const IconTitleWrapper: import("@emotion/styled").StyledComponent<{
|
|
13
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
14
|
-
as?: import("react").ElementType<any> | undefined;
|
|
15
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
16
|
-
export declare const LozengeWrapper: import("@emotion/styled").StyledComponent<{
|
|
17
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
18
|
-
as?: import("react").ElementType<any> | undefined;
|
|
19
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
20
|
-
export declare const LozengeBlockWrapper: import("@emotion/styled").StyledComponent<{
|
|
21
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
22
|
-
as?: import("react").ElementType<any> | undefined;
|
|
23
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
24
|
-
export declare const RightIconPositionWrapper: import("@emotion/styled").StyledComponent<{
|
|
25
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
26
|
-
as?: import("react").ElementType<any> | undefined;
|
|
27
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
28
|
-
export declare const IconPositionWrapper: import("@emotion/styled").StyledComponent<{
|
|
29
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
30
|
-
as?: import("react").ElementType<any> | undefined;
|
|
31
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
32
|
-
export declare const IconEmptyWrapper: import("@emotion/styled").StyledComponent<{
|
|
33
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
34
|
-
as?: import("react").ElementType<any> | undefined;
|
|
35
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
36
|
-
export declare const TitleWrapperClassName = "smart-link-title-wrapper";
|
|
37
|
-
export declare const TitleWrapper: import("@emotion/styled").StyledComponent<{
|
|
38
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
39
|
-
as?: import("react").ElementType<any> | undefined;
|
|
40
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|