@atlaskit/smart-card 23.3.0 → 23.4.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 +41 -0
- package/dist/cjs/constants.js +7 -2
- package/dist/cjs/extractors/common/actions/extractActions.js +3 -0
- package/dist/cjs/extractors/flexible/actions/extract-download-action.js +26 -0
- package/dist/cjs/extractors/flexible/actions/extract-preview-action.js +36 -0
- package/dist/cjs/extractors/flexible/actions/extract-view-action.js +26 -0
- package/dist/cjs/extractors/flexible/index.js +9 -0
- package/dist/cjs/messages.js +15 -0
- package/dist/cjs/state/flexible-ui-context/index.js +15 -2
- package/dist/cjs/version.json +1 -1
- package/dist/cjs/view/{BlockCard/utils → EmbedCard}/constants.js +4 -4
- package/dist/cjs/view/EmbedCard/views/ForbiddenView.js +1 -1
- package/dist/cjs/view/EmbedCard/views/NotFoundView.js +1 -1
- package/dist/cjs/view/EmbedCard/views/UnauthorisedView.js +23 -5
- package/dist/cjs/view/EmbedCard/views/UnresolvedView.js +9 -5
- package/dist/cjs/view/FlexibleCard/components/actions/action/download-action/index.js +110 -0
- package/dist/cjs/view/FlexibleCard/components/actions/action/download-action/types.js +5 -0
- package/dist/cjs/view/FlexibleCard/components/actions/action/preview-action/index.js +167 -0
- package/dist/cjs/view/FlexibleCard/components/actions/action/preview-action/types.js +5 -0
- package/dist/cjs/view/FlexibleCard/components/actions/action/view-action/index.js +92 -0
- package/dist/cjs/view/FlexibleCard/components/actions/action/view-action/types.js +5 -0
- package/dist/cjs/view/FlexibleCard/components/actions/index.js +26 -2
- package/dist/cjs/view/FlexibleCard/components/actions/utils.js +51 -2
- package/dist/cjs/view/FlexibleCard/components/blocks/action-group/index.js +19 -13
- package/dist/cjs/view/FlexibleCard/components/blocks/utils.js +9 -4
- package/dist/cjs/view/FlexibleCard/components/elements/media/index.js +1 -1
- package/dist/cjs/view/FlexibleCard/index.js +6 -3
- package/dist/cjs/view/common/Icon.js +25 -13
- package/dist/es2019/constants.js +5 -0
- package/dist/es2019/extractors/common/actions/extractActions.js +1 -2
- package/dist/es2019/extractors/flexible/actions/extract-download-action.js +13 -0
- package/dist/es2019/extractors/flexible/actions/extract-preview-action.js +23 -0
- package/dist/es2019/extractors/flexible/actions/extract-view-action.js +13 -0
- package/dist/es2019/extractors/flexible/index.js +7 -1
- package/dist/es2019/messages.js +15 -0
- package/dist/es2019/state/flexible-ui-context/index.js +8 -1
- package/dist/es2019/version.json +1 -1
- package/dist/es2019/view/{BlockCard/utils → EmbedCard}/constants.js +2 -2
- package/dist/es2019/view/EmbedCard/views/ForbiddenView.js +1 -1
- package/dist/es2019/view/EmbedCard/views/NotFoundView.js +1 -1
- package/dist/es2019/view/EmbedCard/views/UnauthorisedView.js +19 -5
- package/dist/es2019/view/EmbedCard/views/UnresolvedView.js +9 -5
- package/dist/es2019/view/FlexibleCard/components/actions/action/download-action/index.js +66 -0
- package/dist/es2019/view/FlexibleCard/components/actions/action/download-action/types.js +1 -0
- package/dist/es2019/view/FlexibleCard/components/actions/action/preview-action/index.js +104 -0
- package/dist/es2019/view/FlexibleCard/components/actions/action/preview-action/types.js +1 -0
- package/dist/es2019/view/FlexibleCard/components/actions/action/view-action/index.js +46 -0
- package/dist/es2019/view/FlexibleCard/components/actions/action/view-action/types.js +1 -0
- package/dist/es2019/view/FlexibleCard/components/actions/index.js +23 -2
- package/dist/es2019/view/FlexibleCard/components/actions/utils.js +48 -2
- package/dist/es2019/view/FlexibleCard/components/blocks/action-group/index.js +12 -9
- package/dist/es2019/view/FlexibleCard/components/blocks/utils.js +9 -4
- package/dist/es2019/view/FlexibleCard/components/elements/media/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/index.js +7 -4
- package/dist/es2019/view/common/Icon.js +31 -13
- package/dist/esm/constants.js +5 -0
- package/dist/esm/extractors/common/actions/extractActions.js +1 -2
- package/dist/esm/extractors/flexible/actions/extract-download-action.js +15 -0
- package/dist/esm/extractors/flexible/actions/extract-preview-action.js +23 -0
- package/dist/esm/extractors/flexible/actions/extract-view-action.js +15 -0
- package/dist/esm/extractors/flexible/index.js +7 -1
- package/dist/esm/messages.js +15 -0
- package/dist/esm/state/flexible-ui-context/index.js +9 -0
- package/dist/esm/version.json +1 -1
- package/dist/esm/view/{BlockCard/utils → EmbedCard}/constants.js +2 -2
- package/dist/esm/view/EmbedCard/views/ForbiddenView.js +1 -1
- package/dist/esm/view/EmbedCard/views/NotFoundView.js +1 -1
- package/dist/esm/view/EmbedCard/views/UnauthorisedView.js +19 -5
- package/dist/esm/view/EmbedCard/views/UnresolvedView.js +9 -5
- package/dist/esm/view/FlexibleCard/components/actions/action/download-action/index.js +96 -0
- package/dist/esm/view/FlexibleCard/components/actions/action/download-action/types.js +1 -0
- package/dist/esm/view/FlexibleCard/components/actions/action/preview-action/index.js +136 -0
- package/dist/esm/view/FlexibleCard/components/actions/action/preview-action/types.js +1 -0
- package/dist/esm/view/FlexibleCard/components/actions/action/view-action/index.js +77 -0
- package/dist/esm/view/FlexibleCard/components/actions/action/view-action/types.js +1 -0
- package/dist/esm/view/FlexibleCard/components/actions/index.js +23 -2
- package/dist/esm/view/FlexibleCard/components/actions/utils.js +45 -2
- package/dist/esm/view/FlexibleCard/components/blocks/action-group/index.js +19 -13
- package/dist/esm/view/FlexibleCard/components/blocks/utils.js +9 -4
- package/dist/esm/view/FlexibleCard/components/elements/media/index.js +1 -1
- package/dist/esm/view/FlexibleCard/index.js +7 -4
- package/dist/esm/view/common/Icon.js +27 -13
- package/dist/types/constants.d.ts +4 -0
- package/dist/types/extractors/common/__mocks__/jsonld.d.ts +112 -0
- package/dist/types/extractors/common/actions/extractActions.d.ts +1 -0
- package/dist/types/extractors/flexible/actions/extract-download-action.d.ts +3 -0
- package/dist/types/extractors/flexible/actions/extract-preview-action.d.ts +3 -0
- package/dist/types/extractors/flexible/actions/extract-view-action.d.ts +3 -0
- package/dist/types/messages.d.ts +1 -1
- package/dist/types/state/flexible-ui-context/index.d.ts +76 -0
- package/dist/types/state/flexible-ui-context/types.d.ts +32 -0
- package/dist/types/view/BlockCard/actions/PreviewAction.d.ts +2 -2
- package/dist/types/view/{BlockCard/utils → EmbedCard}/constants.d.ts +1 -1
- package/dist/types/view/EmbedCard/types.d.ts +1 -0
- package/dist/types/view/EmbedModal/index.d.ts +20 -2
- package/dist/types/view/EmbedModal/types.d.ts +1 -2
- package/dist/types/view/FlexibleCard/components/actions/action/download-action/index.d.ts +4 -0
- package/dist/types/view/FlexibleCard/components/actions/action/download-action/types.d.ts +8 -0
- package/dist/types/view/FlexibleCard/components/actions/action/preview-action/index.d.ts +5 -0
- package/dist/types/view/FlexibleCard/components/actions/action/preview-action/types.d.ts +15 -0
- package/dist/types/view/FlexibleCard/components/actions/action/view-action/index.d.ts +5 -0
- package/dist/types/view/FlexibleCard/components/actions/action/view-action/types.d.ts +8 -0
- package/dist/types/view/FlexibleCard/components/actions/index.d.ts +21 -0
- package/dist/types/view/FlexibleCard/components/blocks/types.d.ts +50 -3
- package/dist/types/view/FlexibleCard/components/blocks/utils.d.ts +1 -1
- package/dist/types/view/FlexibleCard/types.d.ts +6 -0
- package/dist/types/view/common/Icon.d.ts +2 -1
- package/package.json +2 -10
- package/report.api.md +30 -2
- package/tmp/api-report-tmp.d.ts +25 -3
- package/dist/types-ts4.0/__fixtures__/flexible-ui-data-context.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/index.d.ts +0 -6
- package/dist/types-ts4.0/__tests_external__/page-objects/BaseCard.d.ts +0 -16
- package/dist/types-ts4.0/__tests_external__/page-objects/BlockCard.d.ts +0 -6
- package/dist/types-ts4.0/__tests_external__/page-objects/EmbedCard.d.ts +0 -6
- package/dist/types-ts4.0/__tests_external__/page-objects/InlineCard.d.ts +0 -6
- package/dist/types-ts4.0/__tests_external__/test-cases/card.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/test-cases/embed.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/test-cases/inline.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/test-cases/types.d.ts +0 -5
- package/dist/types-ts4.0/classNames.d.ts +0 -11
- package/dist/types-ts4.0/client/index.d.ts +0 -1
- package/dist/types-ts4.0/constants.d.ts +0 -187
- package/dist/types-ts4.0/extractors/block/index.d.ts +0 -9
- package/dist/types-ts4.0/extractors/block/types.d.ts +0 -12
- package/dist/types-ts4.0/extractors/common/__mocks__/jsonld.d.ts +0 -234
- package/dist/types-ts4.0/extractors/common/__mocks__/render.d.ts +0 -2
- package/dist/types-ts4.0/extractors/common/actions/extractActions.d.ts +0 -4
- package/dist/types-ts4.0/extractors/common/actions/extractPreviewAction.d.ts +0 -9
- package/dist/types-ts4.0/extractors/common/byline/extractByline.d.ts +0 -3
- package/dist/types-ts4.0/extractors/common/context/extractAccessContext.d.ts +0 -7
- package/dist/types-ts4.0/extractors/common/context/index.d.ts +0 -1
- package/dist/types-ts4.0/extractors/common/detail/extractAttachmentCount.d.ts +0 -4
- package/dist/types-ts4.0/extractors/common/detail/extractCommentCount.d.ts +0 -4
- package/dist/types-ts4.0/extractors/common/detail/extractDownloadUrl.d.ts +0 -2
- package/dist/types-ts4.0/extractors/common/detail/extractProgrammingLanguage.d.ts +0 -4
- package/dist/types-ts4.0/extractors/common/detail/extractSubscriberCount.d.ts +0 -4
- package/dist/types-ts4.0/extractors/common/detail/index.d.ts +0 -9
- package/dist/types-ts4.0/extractors/common/detail/types.d.ts +0 -5
- package/dist/types-ts4.0/extractors/common/icon/extractFileFormat.d.ts +0 -2
- package/dist/types-ts4.0/extractors/common/icon/extractIcon.d.ts +0 -14
- package/dist/types-ts4.0/extractors/common/icon/extractIconFromDocument.d.ts +0 -4
- package/dist/types-ts4.0/extractors/common/icon/extractIconFromTask.d.ts +0 -3
- package/dist/types-ts4.0/extractors/common/icon/index.d.ts +0 -4
- package/dist/types-ts4.0/extractors/common/icon/priority.d.ts +0 -4
- package/dist/types-ts4.0/extractors/common/lozenge/extractLozenge.d.ts +0 -3
- package/dist/types-ts4.0/extractors/common/lozenge/extractState.d.ts +0 -3
- package/dist/types-ts4.0/extractors/common/lozenge/extractTag.d.ts +0 -3
- package/dist/types-ts4.0/extractors/common/lozenge/extractTaskStatus.d.ts +0 -3
- package/dist/types-ts4.0/extractors/common/lozenge/extractTaskType.d.ts +0 -7
- package/dist/types-ts4.0/extractors/common/lozenge/index.d.ts +0 -5
- package/dist/types-ts4.0/extractors/common/lozenge/types.d.ts +0 -8
- package/dist/types-ts4.0/extractors/common/lozenge/utils.d.ts +0 -4
- package/dist/types-ts4.0/extractors/common/meta/extractIsTrusted.d.ts +0 -2
- package/dist/types-ts4.0/extractors/common/primitives/extractSummary.d.ts +0 -2
- package/dist/types-ts4.0/extractors/common/primitives/extractTitleTextColor.d.ts +0 -2
- package/dist/types-ts4.0/extractors/common/primitives/extractVisitUrl.d.ts +0 -2
- package/dist/types-ts4.0/extractors/common/primitives/index.d.ts +0 -2
- package/dist/types-ts4.0/extractors/common/title-prefix/extractTitlePrefix.d.ts +0 -5
- package/dist/types-ts4.0/extractors/common/title-prefix/index.d.ts +0 -1
- package/dist/types-ts4.0/extractors/constants.d.ts +0 -12
- package/dist/types-ts4.0/extractors/embed/index.d.ts +0 -3
- package/dist/types-ts4.0/extractors/flexible/collaboratorGroup/index.d.ts +0 -4
- package/dist/types-ts4.0/extractors/flexible/extract-preview.d.ts +0 -4
- package/dist/types-ts4.0/extractors/flexible/extract-priority.d.ts +0 -4
- package/dist/types-ts4.0/extractors/flexible/icon/extract-document-type-icon.d.ts +0 -3
- package/dist/types-ts4.0/extractors/flexible/icon/extract-file-formatIcon.d.ts +0 -3
- package/dist/types-ts4.0/extractors/flexible/icon/extract-icon-renderer.d.ts +0 -4
- package/dist/types-ts4.0/extractors/flexible/icon/extract-jira-task-icon.d.ts +0 -3
- package/dist/types-ts4.0/extractors/flexible/icon/extract-jsonld-data-icon.d.ts +0 -4
- package/dist/types-ts4.0/extractors/flexible/icon/extract-provider-icon.d.ts +0 -4
- package/dist/types-ts4.0/extractors/flexible/icon/extract-url-icon.d.ts +0 -4
- package/dist/types-ts4.0/extractors/flexible/icon/index.d.ts +0 -17
- package/dist/types-ts4.0/extractors/flexible/icon/types.d.ts +0 -6
- package/dist/types-ts4.0/extractors/flexible/index.d.ts +0 -5
- package/dist/types-ts4.0/extractors/flexible/latest-commit/index.d.ts +0 -2
- package/dist/types-ts4.0/extractors/flexible/utils.d.ts +0 -13
- package/dist/types-ts4.0/extractors/hover/extractMetadata.d.ts +0 -3
- package/dist/types-ts4.0/extractors/index.d.ts +0 -14
- package/dist/types-ts4.0/extractors/inline/index.d.ts +0 -6
- package/dist/types-ts4.0/hooks.d.ts +0 -2
- package/dist/types-ts4.0/i18n/cs.d.ts +0 -71
- package/dist/types-ts4.0/i18n/da.d.ts +0 -71
- package/dist/types-ts4.0/i18n/de.d.ts +0 -71
- package/dist/types-ts4.0/i18n/en.d.ts +0 -71
- package/dist/types-ts4.0/i18n/en_GB.d.ts +0 -71
- package/dist/types-ts4.0/i18n/en_ZZ.d.ts +0 -38
- package/dist/types-ts4.0/i18n/es.d.ts +0 -71
- package/dist/types-ts4.0/i18n/et.d.ts +0 -94
- package/dist/types-ts4.0/i18n/fi.d.ts +0 -71
- package/dist/types-ts4.0/i18n/fr.d.ts +0 -71
- package/dist/types-ts4.0/i18n/hu.d.ts +0 -71
- package/dist/types-ts4.0/i18n/index.d.ts +0 -35
- package/dist/types-ts4.0/i18n/is.d.ts +0 -70
- package/dist/types-ts4.0/i18n/it.d.ts +0 -71
- package/dist/types-ts4.0/i18n/ja.d.ts +0 -71
- package/dist/types-ts4.0/i18n/ko.d.ts +0 -71
- package/dist/types-ts4.0/i18n/languages.d.ts +0 -27
- package/dist/types-ts4.0/i18n/nb.d.ts +0 -71
- package/dist/types-ts4.0/i18n/nl.d.ts +0 -71
- package/dist/types-ts4.0/i18n/pl.d.ts +0 -71
- package/dist/types-ts4.0/i18n/pt_BR.d.ts +0 -71
- package/dist/types-ts4.0/i18n/pt_PT.d.ts +0 -94
- package/dist/types-ts4.0/i18n/ro.d.ts +0 -70
- package/dist/types-ts4.0/i18n/ru.d.ts +0 -71
- package/dist/types-ts4.0/i18n/sk.d.ts +0 -94
- package/dist/types-ts4.0/i18n/sv.d.ts +0 -71
- package/dist/types-ts4.0/i18n/th.d.ts +0 -71
- package/dist/types-ts4.0/i18n/tr.d.ts +0 -71
- package/dist/types-ts4.0/i18n/uk.d.ts +0 -71
- package/dist/types-ts4.0/i18n/vi.d.ts +0 -71
- package/dist/types-ts4.0/i18n/zh.d.ts +0 -71
- package/dist/types-ts4.0/i18n/zh_TW.d.ts +0 -71
- package/dist/types-ts4.0/in-product.d.ts +0 -1
- package/dist/types-ts4.0/index.d.ts +0 -22
- package/dist/types-ts4.0/messages.d.ts +0 -8
- package/dist/types-ts4.0/model/invoke-handler.d.ts +0 -3
- package/dist/types-ts4.0/model/invoke-opts.d.ts +0 -17
- package/dist/types-ts4.0/ssr.d.ts +0 -6
- package/dist/types-ts4.0/state/actions/constants.d.ts +0 -6
- package/dist/types-ts4.0/state/actions/index.d.ts +0 -12
- package/dist/types-ts4.0/state/actions/types.d.ts +0 -2
- package/dist/types-ts4.0/state/analytics/index.d.ts +0 -3
- package/dist/types-ts4.0/state/analytics/types.d.ts +0 -9
- package/dist/types-ts4.0/state/analytics/ufoExperiences.d.ts +0 -7
- package/dist/types-ts4.0/state/analytics/useSmartLinkAnalytics.d.ts +0 -195
- package/dist/types-ts4.0/state/config/index.d.ts +0 -2
- package/dist/types-ts4.0/state/flexible-ui-context/index.d.ts +0 -8
- package/dist/types-ts4.0/state/flexible-ui-context/types.d.ts +0 -165
- package/dist/types-ts4.0/state/helpers.d.ts +0 -16
- package/dist/types-ts4.0/state/hooks/index.d.ts +0 -2
- package/dist/types-ts4.0/state/hooks/usePrefetch.d.ts +0 -1
- package/dist/types-ts4.0/state/hooks/useSmartLink.d.ts +0 -50
- package/dist/types-ts4.0/state/hooks-external/useSmartLinkActions.d.ts +0 -49
- package/dist/types-ts4.0/state/hooks-external/useSmartLinkReload.d.ts +0 -19
- package/dist/types-ts4.0/state/index.d.ts +0 -5
- package/dist/types-ts4.0/state/reducers/types.d.ts +0 -4
- package/dist/types-ts4.0/state/renderers/index.d.ts +0 -2
- package/dist/types-ts4.0/state/store/index.d.ts +0 -3
- package/dist/types-ts4.0/state/types.d.ts +0 -1
- package/dist/types-ts4.0/types.d.ts +0 -20
- package/dist/types-ts4.0/utils/analytics/__mocks__/analytics.d.ts +0 -2
- package/dist/types-ts4.0/utils/analytics/analytics.d.ts +0 -32
- package/dist/types-ts4.0/utils/analytics/index.d.ts +0 -4
- package/dist/types-ts4.0/utils/analytics/types.d.ts +0 -93
- package/dist/types-ts4.0/utils/flexible.d.ts +0 -5
- package/dist/types-ts4.0/utils/index.d.ts +0 -12
- package/dist/types-ts4.0/utils/jsonld.d.ts +0 -3
- package/dist/types-ts4.0/utils/mocks.d.ts +0 -75
- package/dist/types-ts4.0/utils/performance.d.ts +0 -8
- package/dist/types-ts4.0/utils/test-utils.d.ts +0 -4
- package/dist/types-ts4.0/utils/token.d.ts +0 -16
- package/dist/types-ts4.0/utils/types.d.ts +0 -14
- package/dist/types-ts4.0/view/BlockCard/actions/AuthorizeAction.d.ts +0 -2
- package/dist/types-ts4.0/view/BlockCard/actions/DownloadAction.d.ts +0 -8
- package/dist/types-ts4.0/view/BlockCard/actions/ForbiddenAction.d.ts +0 -2
- package/dist/types-ts4.0/view/BlockCard/actions/PreviewAction.d.ts +0 -30
- package/dist/types-ts4.0/view/BlockCard/actions/RetryAction.d.ts +0 -2
- package/dist/types-ts4.0/view/BlockCard/actions/ViewAction.d.ts +0 -8
- package/dist/types-ts4.0/view/BlockCard/components/Action.d.ts +0 -13
- package/dist/types-ts4.0/view/BlockCard/components/ActionIcon.d.ts +0 -12
- package/dist/types-ts4.0/view/BlockCard/components/ActionList.d.ts +0 -7
- package/dist/types-ts4.0/view/BlockCard/components/CollaboratorList.d.ts +0 -15
- package/dist/types-ts4.0/view/BlockCard/components/Content.d.ts +0 -9
- package/dist/types-ts4.0/view/BlockCard/components/ContentFooter.d.ts +0 -9
- package/dist/types-ts4.0/view/BlockCard/components/ContentHeader.d.ts +0 -10
- package/dist/types-ts4.0/view/BlockCard/components/Emoji.d.ts +0 -7
- package/dist/types-ts4.0/view/BlockCard/components/Frame.d.ts +0 -16
- package/dist/types-ts4.0/view/BlockCard/components/Link.d.ts +0 -8
- package/dist/types-ts4.0/view/BlockCard/components/Name.d.ts +0 -12
- package/dist/types-ts4.0/view/BlockCard/components/Provider.d.ts +0 -8
- package/dist/types-ts4.0/view/BlockCard/components/Thumbnail.d.ts +0 -10
- package/dist/types-ts4.0/view/BlockCard/components/UnresolvedText.d.ts +0 -8
- package/dist/types-ts4.0/view/BlockCard/index.d.ts +0 -14
- package/dist/types-ts4.0/view/BlockCard/types.d.ts +0 -25
- package/dist/types-ts4.0/view/BlockCard/utils/constants.d.ts +0 -3
- package/dist/types-ts4.0/view/BlockCard/utils/handlers.d.ts +0 -2
- package/dist/types-ts4.0/view/BlockCard/views/ErroredView.d.ts +0 -14
- package/dist/types-ts4.0/view/BlockCard/views/ForbiddenView.d.ts +0 -23
- package/dist/types-ts4.0/view/BlockCard/views/NotFoundView.d.ts +0 -17
- package/dist/types-ts4.0/view/BlockCard/views/ResolvedView.d.ts +0 -34
- package/dist/types-ts4.0/view/BlockCard/views/ResolvingView.d.ts +0 -9
- package/dist/types-ts4.0/view/BlockCard/views/UnauthorizedView.d.ts +0 -19
- package/dist/types-ts4.0/view/Card/index.d.ts +0 -5
- package/dist/types-ts4.0/view/Card/types.d.ts +0 -37
- package/dist/types-ts4.0/view/CardWithData/component.d.ts +0 -5
- package/dist/types-ts4.0/view/CardWithData/loader.d.ts +0 -9
- package/dist/types-ts4.0/view/CardWithData/types.d.ts +0 -15
- package/dist/types-ts4.0/view/CardWithUrl/component-lazy/LazyFallback.d.ts +0 -4
- package/dist/types-ts4.0/view/CardWithUrl/component-lazy/LazyIntersectionObserverCard.d.ts +0 -3
- package/dist/types-ts4.0/view/CardWithUrl/component-lazy/LazyLazilyRenderCard.d.ts +0 -3
- package/dist/types-ts4.0/view/CardWithUrl/component-lazy/index.d.ts +0 -3
- package/dist/types-ts4.0/view/CardWithUrl/component.d.ts +0 -3
- package/dist/types-ts4.0/view/CardWithUrl/loader.d.ts +0 -3
- package/dist/types-ts4.0/view/CardWithUrl/types.d.ts +0 -29
- package/dist/types-ts4.0/view/EmbedCard/EmbedResizeMessageListener.d.ts +0 -15
- package/dist/types-ts4.0/view/EmbedCard/components/ExpandedFrame.d.ts +0 -23
- package/dist/types-ts4.0/view/EmbedCard/components/Frame.d.ts +0 -7
- package/dist/types-ts4.0/view/EmbedCard/components/ImageIcon.d.ts +0 -9
- package/dist/types-ts4.0/view/EmbedCard/components/styled.d.ts +0 -45
- package/dist/types-ts4.0/view/EmbedCard/index.d.ts +0 -3
- package/dist/types-ts4.0/view/EmbedCard/types.d.ts +0 -46
- package/dist/types-ts4.0/view/EmbedCard/views/ErroredView.d.ts +0 -9
- package/dist/types-ts4.0/view/EmbedCard/views/ForbiddenView.d.ts +0 -13
- package/dist/types-ts4.0/view/EmbedCard/views/NotFoundView.d.ts +0 -11
- package/dist/types-ts4.0/view/EmbedCard/views/ResolvedView.d.ts +0 -27
- package/dist/types-ts4.0/view/EmbedCard/views/UnauthorisedView.d.ts +0 -12
- package/dist/types-ts4.0/view/EmbedCard/views/UnresolvedView.d.ts +0 -18
- package/dist/types-ts4.0/view/EmbedModal/components/analytics/index.d.ts +0 -5
- package/dist/types-ts4.0/view/EmbedModal/components/analytics/types.d.ts +0 -6
- package/dist/types-ts4.0/view/EmbedModal/components/embed-content/index.d.ts +0 -5
- package/dist/types-ts4.0/view/EmbedModal/components/embed-content/types.d.ts +0 -6
- package/dist/types-ts4.0/view/EmbedModal/components/error-boundary/index.d.ts +0 -4
- package/dist/types-ts4.0/view/EmbedModal/components/link-info/index.d.ts +0 -4
- package/dist/types-ts4.0/view/EmbedModal/components/link-info/link-info-button/index.d.ts +0 -4
- package/dist/types-ts4.0/view/EmbedModal/components/link-info/link-info-button/types.d.ts +0 -9
- package/dist/types-ts4.0/view/EmbedModal/components/link-info/styled.d.ts +0 -4
- package/dist/types-ts4.0/view/EmbedModal/components/link-info/types.d.ts +0 -13
- package/dist/types-ts4.0/view/EmbedModal/constants.d.ts +0 -2
- package/dist/types-ts4.0/view/EmbedModal/index.d.ts +0 -4
- package/dist/types-ts4.0/view/EmbedModal/types.d.ts +0 -31
- package/dist/types-ts4.0/view/FlexibleCard/components/actions/action/action-button/index.d.ts +0 -5
- package/dist/types-ts4.0/view/FlexibleCard/components/actions/action/action-button/types.d.ts +0 -8
- package/dist/types-ts4.0/view/FlexibleCard/components/actions/action/action-dropdown-item/index.d.ts +0 -4
- package/dist/types-ts4.0/view/FlexibleCard/components/actions/action/action-dropdown-item/types.d.ts +0 -8
- package/dist/types-ts4.0/view/FlexibleCard/components/actions/action/action-icon/index.d.ts +0 -5
- package/dist/types-ts4.0/view/FlexibleCard/components/actions/action/action-icon/types.d.ts +0 -7
- package/dist/types-ts4.0/view/FlexibleCard/components/actions/action/index.d.ts +0 -13
- package/dist/types-ts4.0/view/FlexibleCard/components/actions/action/types.d.ts +0 -48
- package/dist/types-ts4.0/view/FlexibleCard/components/actions/index.d.ts +0 -20
- package/dist/types-ts4.0/view/FlexibleCard/components/actions/utils.d.ts +0 -4
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/action-group/index.d.ts +0 -11
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/action-group/types.d.ts +0 -37
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/block/index.d.ts +0 -12
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/element-group/index.d.ts +0 -15
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/element-group/types.d.ts +0 -10
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/footer-block/index.d.ts +0 -11
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/footer-block/types.d.ts +0 -10
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/index.d.ts +0 -5
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/metadata-block/index.d.ts +0 -11
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/metadata-block/types.d.ts +0 -26
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/preview-block/index.d.ts +0 -10
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/preview-block/types.d.ts +0 -8
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/snippet-block/index.d.ts +0 -10
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/snippet-block/types.d.ts +0 -8
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/title-block/errored/index.d.ts +0 -12
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/title-block/index.d.ts +0 -16
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/title-block/resolved/index.d.ts +0 -9
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/title-block/resolving/index.d.ts +0 -11
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/title-block/types.d.ts +0 -92
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/types.d.ts +0 -300
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/utils.d.ts +0 -13
- package/dist/types-ts4.0/view/FlexibleCard/components/common/atlaskit-icon/index.d.ts +0 -4
- package/dist/types-ts4.0/view/FlexibleCard/components/common/atlaskit-icon/types.d.ts +0 -6
- package/dist/types-ts4.0/view/FlexibleCard/components/common/image-icon/index.d.ts +0 -5
- package/dist/types-ts4.0/view/FlexibleCard/components/common/image-icon/types.d.ts +0 -7
- package/dist/types-ts4.0/view/FlexibleCard/components/common/loading-skeleton/index.d.ts +0 -5
- package/dist/types-ts4.0/view/FlexibleCard/components/common/loading-skeleton/types.d.ts +0 -16
- package/dist/types-ts4.0/view/FlexibleCard/components/container/index.d.ts +0 -16
- package/dist/types-ts4.0/view/FlexibleCard/components/container/layered-link/index.d.ts +0 -10
- package/dist/types-ts4.0/view/FlexibleCard/components/container/layered-link/types.d.ts +0 -12
- package/dist/types-ts4.0/view/FlexibleCard/components/container/types.d.ts +0 -25
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/avatar-group/index.d.ts +0 -12
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/avatar-group/types.d.ts +0 -21
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/badge/index.d.ts +0 -18
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/badge/types.d.ts +0 -17
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/date-time/index.d.ts +0 -12
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/date-time/types.d.ts +0 -16
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/icon/index.d.ts +0 -11
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/icon/types.d.ts +0 -27
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/index.d.ts +0 -129
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/link/index.d.ts +0 -11
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/link/types.d.ts +0 -35
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/lozenge/index.d.ts +0 -11
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/lozenge/types.d.ts +0 -13
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/media/index.d.ts +0 -11
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/media/types.d.ts +0 -17
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/text/index.d.ts +0 -11
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/text/types.d.ts +0 -17
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/types.d.ts +0 -24
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/utils.d.ts +0 -3
- package/dist/types-ts4.0/view/FlexibleCard/components/types.d.ts +0 -6
- package/dist/types-ts4.0/view/FlexibleCard/components/utils.d.ts +0 -15
- package/dist/types-ts4.0/view/FlexibleCard/index.d.ts +0 -10
- package/dist/types-ts4.0/view/FlexibleCard/types.d.ts +0 -113
- package/dist/types-ts4.0/view/FlexibleCard/utils.d.ts +0 -7
- package/dist/types-ts4.0/view/HoverCard/components/HoverCardComponent.d.ts +0 -4
- package/dist/types-ts4.0/view/HoverCard/components/HoverCardContent.d.ts +0 -9
- package/dist/types-ts4.0/view/HoverCard/components/HoverCardLoadingView.d.ts +0 -4
- package/dist/types-ts4.0/view/HoverCard/components/SnippetOrPreview.d.ts +0 -4
- package/dist/types-ts4.0/view/HoverCard/index.d.ts +0 -3
- package/dist/types-ts4.0/view/HoverCard/styled.d.ts +0 -12
- package/dist/types-ts4.0/view/HoverCard/types.d.ts +0 -45
- package/dist/types-ts4.0/view/HoverCard/utils.d.ts +0 -3
- package/dist/types-ts4.0/view/InlineCard/ErroredView/index.d.ts +0 -21
- package/dist/types-ts4.0/view/InlineCard/ForbiddenView/index.d.ts +0 -25
- package/dist/types-ts4.0/view/InlineCard/Frame/index.d.ts +0 -16
- package/dist/types-ts4.0/view/InlineCard/Frame/styled.d.ts +0 -8
- package/dist/types-ts4.0/view/InlineCard/Icon.d.ts +0 -4
- package/dist/types-ts4.0/view/InlineCard/IconAndTitleLayout/index.d.ts +0 -19
- package/dist/types-ts4.0/view/InlineCard/IconAndTitleLayout/styled.d.ts +0 -13
- package/dist/types-ts4.0/view/InlineCard/ResolvedView/index.d.ts +0 -30
- package/dist/types-ts4.0/view/InlineCard/ResolvingView/index.d.ts +0 -18
- package/dist/types-ts4.0/view/InlineCard/ResolvingView/styled.d.ts +0 -14
- package/dist/types-ts4.0/view/InlineCard/UnauthorisedView/index.d.ts +0 -20
- package/dist/types-ts4.0/view/InlineCard/index.d.ts +0 -9
- package/dist/types-ts4.0/view/InlineCard/styled.d.ts +0 -9
- package/dist/types-ts4.0/view/InlineCard/types.d.ts +0 -21
- package/dist/types-ts4.0/view/LinkView/index.d.ts +0 -8
- package/dist/types-ts4.0/view/SmartLinkEvents/useSmartLinkEvents.d.ts +0 -2
- package/dist/types-ts4.0/view/__mocks__/intersection-observer.d.ts +0 -26
- package/dist/types-ts4.0/view/__mocks__/intersection-observer.mock.d.ts +0 -12
- package/dist/types-ts4.0/view/common/Byline.d.ts +0 -10
- package/dist/types-ts4.0/view/common/Icon.d.ts +0 -11
- package/dist/types-ts4.0/view/common/Metadata.d.ts +0 -10
- package/dist/types-ts4.0/view/common/MetadataList.d.ts +0 -9
- package/dist/types-ts4.0/view/common/utils.d.ts +0 -5
- package/dist/types-ts4.0/view/types.d.ts +0 -29
|
@@ -6,3 +6,79 @@ import { FlexibleUiDataContext } from './types';
|
|
|
6
6
|
*/
|
|
7
7
|
export declare const FlexibleUiContext: import("react").Context<FlexibleUiDataContext | undefined>;
|
|
8
8
|
export declare const useFlexibleUiContext: () => FlexibleUiDataContext | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* This provides the data that will be used by Smart Links Flexible UI to populate it's
|
|
11
|
+
* underlying elements.
|
|
12
|
+
*/
|
|
13
|
+
export declare const FlexibleUiAnalyticsContext: import("react").Context<{
|
|
14
|
+
ui: {
|
|
15
|
+
authEvent: ({ display, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").UiAuthEventProps) => void;
|
|
16
|
+
authAlternateAccountEvent: ({ display, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").UiAuthAlternateAccountEventProps) => void;
|
|
17
|
+
buttonClickedEvent: (data: Partial<import("../..").AnalyticsPayload> & {
|
|
18
|
+
actionSubjectId: string;
|
|
19
|
+
}) => void;
|
|
20
|
+
cardClickedEvent: ({ id, display, status, definitionId, extensionKey, isModifierKeyPressed, location, destinationProduct, destinationSubproduct, actionSubjectId, }: import("../../utils/analytics/types").UiCardClickedEventProps) => void;
|
|
21
|
+
actionClickedEvent: ({ id, actionType, display, invokeType, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").UiActionClickedEventProps) => void;
|
|
22
|
+
hoverCardOpenLinkClickedEvent: ({ previewDisplay, definitionId, extensionKey, destinationProduct, destinationSubproduct, location, previewInvokeMethod, }: import("../../utils/analytics/types").UiHoverCardOpenLinkClickedEventProps) => void;
|
|
23
|
+
closedAuthEvent: ({ display, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").UiClosedAuthEventProps) => void;
|
|
24
|
+
modalClosedEvent: (data: Partial<import("../..").AnalyticsPayload> & {
|
|
25
|
+
actionSubjectId: string;
|
|
26
|
+
}) => void;
|
|
27
|
+
renderSuccessEvent: ({ display, status, id, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").UiRenderSuccessEventProps) => void;
|
|
28
|
+
renderFailedEvent: ({ display, id, error, errorInfo, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").UiRenderFailedEventProps) => void;
|
|
29
|
+
hoverCardViewedEvent: ({ previewDisplay, previewInvokeMethod, id, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").UiHoverCardViewedEventProps) => void;
|
|
30
|
+
hoverCardDismissedEvent: ({ id, previewDisplay, hoverTime, previewInvokeMethod, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").UiHoverCardDismissedEventProps) => void;
|
|
31
|
+
};
|
|
32
|
+
operational: {
|
|
33
|
+
invokeSucceededEvent: ({ id, actionType, display, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").InvokeSucceededEventProps) => void;
|
|
34
|
+
invokeFailedEvent: ({ id, actionType, display, reason, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").InvokeFailedEventProps) => void;
|
|
35
|
+
connectSucceededEvent: ({ id, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").ConnectSucceededEventProps) => void;
|
|
36
|
+
connectFailedEvent: ({ id, reason, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").ConnectFailedEventProps) => void;
|
|
37
|
+
instrument: ({ id, status, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, error, }: import("../../utils/analytics/types").InstrumentEventProps) => void;
|
|
38
|
+
};
|
|
39
|
+
track: {
|
|
40
|
+
appAccountConnected: ({ extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").CommonEventProps) => void;
|
|
41
|
+
};
|
|
42
|
+
screen: {
|
|
43
|
+
authPopupEvent: ({ extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").CommonEventProps) => void;
|
|
44
|
+
modalViewedEvent: (data: Partial<import("../..").AnalyticsPayload> & {
|
|
45
|
+
name: "embedPreviewModal";
|
|
46
|
+
}) => void;
|
|
47
|
+
};
|
|
48
|
+
} | undefined>;
|
|
49
|
+
export declare const useFlexibleUiAnalyticsContext: () => {
|
|
50
|
+
ui: {
|
|
51
|
+
authEvent: ({ display, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").UiAuthEventProps) => void;
|
|
52
|
+
authAlternateAccountEvent: ({ display, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").UiAuthAlternateAccountEventProps) => void;
|
|
53
|
+
buttonClickedEvent: (data: Partial<import("../..").AnalyticsPayload> & {
|
|
54
|
+
actionSubjectId: string;
|
|
55
|
+
}) => void;
|
|
56
|
+
cardClickedEvent: ({ id, display, status, definitionId, extensionKey, isModifierKeyPressed, location, destinationProduct, destinationSubproduct, actionSubjectId, }: import("../../utils/analytics/types").UiCardClickedEventProps) => void;
|
|
57
|
+
actionClickedEvent: ({ id, actionType, display, invokeType, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").UiActionClickedEventProps) => void;
|
|
58
|
+
hoverCardOpenLinkClickedEvent: ({ previewDisplay, definitionId, extensionKey, destinationProduct, destinationSubproduct, location, previewInvokeMethod, }: import("../../utils/analytics/types").UiHoverCardOpenLinkClickedEventProps) => void;
|
|
59
|
+
closedAuthEvent: ({ display, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").UiClosedAuthEventProps) => void;
|
|
60
|
+
modalClosedEvent: (data: Partial<import("../..").AnalyticsPayload> & {
|
|
61
|
+
actionSubjectId: string;
|
|
62
|
+
}) => void;
|
|
63
|
+
renderSuccessEvent: ({ display, status, id, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").UiRenderSuccessEventProps) => void;
|
|
64
|
+
renderFailedEvent: ({ display, id, error, errorInfo, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").UiRenderFailedEventProps) => void;
|
|
65
|
+
hoverCardViewedEvent: ({ previewDisplay, previewInvokeMethod, id, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").UiHoverCardViewedEventProps) => void;
|
|
66
|
+
hoverCardDismissedEvent: ({ id, previewDisplay, hoverTime, previewInvokeMethod, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").UiHoverCardDismissedEventProps) => void;
|
|
67
|
+
};
|
|
68
|
+
operational: {
|
|
69
|
+
invokeSucceededEvent: ({ id, actionType, display, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").InvokeSucceededEventProps) => void;
|
|
70
|
+
invokeFailedEvent: ({ id, actionType, display, reason, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").InvokeFailedEventProps) => void;
|
|
71
|
+
connectSucceededEvent: ({ id, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").ConnectSucceededEventProps) => void;
|
|
72
|
+
connectFailedEvent: ({ id, reason, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").ConnectFailedEventProps) => void;
|
|
73
|
+
instrument: ({ id, status, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, error, }: import("../../utils/analytics/types").InstrumentEventProps) => void;
|
|
74
|
+
};
|
|
75
|
+
track: {
|
|
76
|
+
appAccountConnected: ({ extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").CommonEventProps) => void;
|
|
77
|
+
};
|
|
78
|
+
screen: {
|
|
79
|
+
authPopupEvent: ({ extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").CommonEventProps) => void;
|
|
80
|
+
modalViewedEvent: (data: Partial<import("../..").AnalyticsPayload> & {
|
|
81
|
+
name: "embedPreviewModal";
|
|
82
|
+
}) => void;
|
|
83
|
+
};
|
|
84
|
+
} | undefined;
|
|
@@ -65,6 +65,24 @@ export declare type FlexibleUiDataContext = {
|
|
|
65
65
|
* @see CreatedOn
|
|
66
66
|
*/
|
|
67
67
|
createdOn?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Contains data needed to show a preview action.
|
|
70
|
+
* @type PreviewActionData
|
|
71
|
+
* @see PreviewAction
|
|
72
|
+
*/
|
|
73
|
+
previewAction?: PreviewActionData;
|
|
74
|
+
/**
|
|
75
|
+
* Contains data needed to show a view action.
|
|
76
|
+
* @type ViewActionData
|
|
77
|
+
* @see ViewAction
|
|
78
|
+
*/
|
|
79
|
+
viewAction?: ViewActionData;
|
|
80
|
+
/**
|
|
81
|
+
* Contains data needed to show a download action.
|
|
82
|
+
* @type DownloadActionData
|
|
83
|
+
* @see DownloadAction
|
|
84
|
+
*/
|
|
85
|
+
downloadAction?: DownloadActionData;
|
|
68
86
|
/**
|
|
69
87
|
* Contains the information about the latest commit in the repository
|
|
70
88
|
*/
|
|
@@ -163,3 +181,17 @@ export declare type Media = {
|
|
|
163
181
|
type: MediaType;
|
|
164
182
|
url: string;
|
|
165
183
|
};
|
|
184
|
+
export declare type PreviewActionData = {
|
|
185
|
+
downloadUrl?: string;
|
|
186
|
+
linkIcon?: Icon;
|
|
187
|
+
providerName?: string;
|
|
188
|
+
src?: string;
|
|
189
|
+
title?: string;
|
|
190
|
+
url?: string;
|
|
191
|
+
};
|
|
192
|
+
export declare type ViewActionData = {
|
|
193
|
+
viewUrl?: string;
|
|
194
|
+
};
|
|
195
|
+
export declare type DownloadActionData = {
|
|
196
|
+
downloadUrl?: string;
|
|
197
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React, { ErrorInfo } from 'react';
|
|
2
2
|
import { AnalyticsFacade } from '../../../state/analytics';
|
|
3
|
-
import {
|
|
3
|
+
import { EmbedModalProps } from '../../EmbedModal/types';
|
|
4
4
|
import { ActionProps } from '../components/Action';
|
|
5
5
|
import { IconProps } from '../../common/Icon';
|
|
6
6
|
import { MetadataProps } from '../../common/Metadata';
|
|
7
7
|
import { AnalyticsOrigin } from '../../../utils/types';
|
|
8
|
-
export interface PreviewFunctionArg extends
|
|
8
|
+
export interface PreviewFunctionArg extends EmbedModalProps {
|
|
9
9
|
popupMountPointId: string;
|
|
10
10
|
}
|
|
11
11
|
export declare function previewFunction({ popupMountPointId, onClose, ...rest }: PreviewFunctionArg): Promise<void>;
|
|
@@ -29,6 +29,7 @@ export interface WithShowControlMethodProp {
|
|
|
29
29
|
}
|
|
30
30
|
export interface ContextViewModel {
|
|
31
31
|
icon?: ReactNode;
|
|
32
|
+
image?: string;
|
|
32
33
|
text: string;
|
|
33
34
|
}
|
|
34
35
|
export declare type AccessTypes = 'REQUEST_ACCESS' | 'PENDING_REQUEST_EXISTS' | 'FORBIDDEN' | 'DIRECT_ACCESS' | 'DENIED_REQUEST_EXISTS' | 'APPROVED_REQUEST_EXISTS' | 'ACCESS_EXISTS';
|
|
@@ -1,4 +1,22 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
declare const _default: React.FC<
|
|
2
|
+
import { EmbedModalSize } from './types';
|
|
3
|
+
declare const _default: React.FC<{
|
|
4
|
+
download?: string | undefined;
|
|
5
|
+
icon?: import("../common/Icon").IconProps | undefined;
|
|
6
|
+
iframeName: string;
|
|
7
|
+
isTrusted?: boolean | undefined;
|
|
8
|
+
onClose: (context: import("./types").EmbedModalContext) => void;
|
|
9
|
+
onDownloadActionClick?: (() => void) | undefined;
|
|
10
|
+
onOpen?: ((context: import("./types").EmbedModalContext) => void) | undefined;
|
|
11
|
+
onOpenFailed?: ((error: Error, errorInfo: React.ErrorInfo) => void) | undefined;
|
|
12
|
+
onResize?: ((context: import("./types").EmbedModalContext) => void) | undefined;
|
|
13
|
+
onViewActionClick?: (() => void) | undefined;
|
|
14
|
+
providerName?: string | undefined;
|
|
15
|
+
showModal?: boolean | undefined;
|
|
16
|
+
size?: EmbedModalSize | undefined;
|
|
17
|
+
src?: string | undefined;
|
|
18
|
+
testId?: string | undefined;
|
|
19
|
+
title?: string | undefined;
|
|
20
|
+
url?: string | undefined;
|
|
21
|
+
} & import("./components/analytics/types").WithAnalytics>;
|
|
4
22
|
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PreviewActionProps, PreviewFunctionProps } from './types';
|
|
3
|
+
declare const PreviewAction: React.FC<PreviewActionProps>;
|
|
4
|
+
export declare function previewFunction({ popupMountPointId, ...rest }: PreviewFunctionProps): Promise<void>;
|
|
5
|
+
export default PreviewAction;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Icon } from '../../../../../../state/flexible-ui-context/types';
|
|
2
|
+
import { EmbedModalProps } from '../../../../../../view/EmbedModal/types';
|
|
3
|
+
import { ActionProps } from '../types';
|
|
4
|
+
export declare type PreviewActionProps = ActionProps & FlexibleEmbedProps;
|
|
5
|
+
export declare type FlexibleEmbedProps = {
|
|
6
|
+
downloadUrl?: string;
|
|
7
|
+
linkIcon?: Icon;
|
|
8
|
+
providerName?: string;
|
|
9
|
+
src?: string;
|
|
10
|
+
title?: string;
|
|
11
|
+
url: string;
|
|
12
|
+
};
|
|
13
|
+
export interface PreviewFunctionProps extends EmbedModalProps {
|
|
14
|
+
popupMountPointId: string;
|
|
15
|
+
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ActionProps } from './action/types';
|
|
3
|
+
import { PreviewActionProps } from './action/preview-action/types';
|
|
4
|
+
import { ViewActionProps } from './action/view-action/types';
|
|
5
|
+
import { DownloadActionProps } from './action/download-action/types';
|
|
3
6
|
/**
|
|
4
7
|
* Creates a DeleteAction component. Accepts default ActionProps, but defaults
|
|
5
8
|
* the icon to a cross icon.
|
|
@@ -12,6 +15,24 @@ export declare const DeleteAction: import("react").FC<ActionProps>;
|
|
|
12
15
|
* @see Action
|
|
13
16
|
*/
|
|
14
17
|
export declare const EditAction: import("react").FC<ActionProps>;
|
|
18
|
+
/**
|
|
19
|
+
* Creates a PreviewAction component. Accepts default PreviewActionProps, and defaults
|
|
20
|
+
* to the text 'Preview' inside the button.
|
|
21
|
+
* @see Action
|
|
22
|
+
*/
|
|
23
|
+
export declare const PreviewAction: import("react").FC<PreviewActionProps>;
|
|
24
|
+
/**
|
|
25
|
+
* Creates a ViewAction component. Accepts default ViewActionProps, and defaults
|
|
26
|
+
* to the text 'View' inside the button.
|
|
27
|
+
* @see Action
|
|
28
|
+
*/
|
|
29
|
+
export declare const ViewAction: import("react").FC<ViewActionProps>;
|
|
30
|
+
/**
|
|
31
|
+
* Creates a DownloadAction component. Accepts default DownloadActionProps, and defaults
|
|
32
|
+
* to the text 'Download' inside the button.
|
|
33
|
+
* @see Action
|
|
34
|
+
*/
|
|
35
|
+
export declare const DownloadAction: import("react").FC<DownloadActionProps>;
|
|
15
36
|
/**
|
|
16
37
|
* Creates a CustomAction component. Accepts default ActionProps. Required to provide
|
|
17
38
|
* your own icon or text.
|
|
@@ -101,12 +101,59 @@ export declare type BaseActionItem = {
|
|
|
101
101
|
testId?: string;
|
|
102
102
|
};
|
|
103
103
|
/**
|
|
104
|
-
*
|
|
104
|
+
* Used to represent an Action which self-hydrates with data when passing props into Flexible UI.
|
|
105
|
+
*/
|
|
106
|
+
export declare type BaseDataActionItem = {
|
|
107
|
+
/**
|
|
108
|
+
* Determines whether the action should hide the text content of the button.
|
|
109
|
+
*/
|
|
110
|
+
hideContent?: boolean;
|
|
111
|
+
/**
|
|
112
|
+
* Determines whether the action should hide the icon inside the button.
|
|
113
|
+
*/
|
|
114
|
+
hideIcon?: boolean;
|
|
115
|
+
/**
|
|
116
|
+
* Determines the text and icon representation of the action, with exception
|
|
117
|
+
* to CustomAction.
|
|
118
|
+
*/
|
|
119
|
+
name: ActionName;
|
|
120
|
+
/**
|
|
121
|
+
* Determines the onClick behaviour of the action. This is optional because
|
|
122
|
+
* the onClick functionality will be hydrated by the action by default.
|
|
123
|
+
*/
|
|
124
|
+
onClick?: () => any;
|
|
125
|
+
/**
|
|
126
|
+
* Additional CSS properties on the Action.
|
|
127
|
+
*/
|
|
128
|
+
overrideCss?: SerializedStyles;
|
|
129
|
+
/**
|
|
130
|
+
* Determines the size of the Action. Corresponds to an Action appearance.
|
|
131
|
+
*/
|
|
132
|
+
size?: SmartLinkSize;
|
|
133
|
+
/**
|
|
134
|
+
* A `testId` prop is provided for specified elements, which is a unique
|
|
135
|
+
* string that appears as a data attribute `data-testid` in the rendered code,
|
|
136
|
+
* serving as a hook for automated tests
|
|
137
|
+
*/
|
|
138
|
+
testId?: string;
|
|
139
|
+
};
|
|
140
|
+
/**
|
|
141
|
+
* This represents an action that will render based on the data provided from the Smart Link.
|
|
142
|
+
* Icon and Content are also provided implicitly.
|
|
143
|
+
* @example PreviewAction - by default will contain a fullscreen icon with the 'Preview'
|
|
144
|
+
* content if content and icon are not provided. This also will add a button that
|
|
145
|
+
* renders a preview modal when clicked.
|
|
146
|
+
*/
|
|
147
|
+
export declare type NamedDataActionItem = BaseDataActionItem & {
|
|
148
|
+
name: ActionName.PreviewAction | ActionName.DownloadAction | ActionName.ViewAction;
|
|
149
|
+
};
|
|
150
|
+
/**
|
|
151
|
+
* This represents an action that does not fetch data where Icon and Content are provided implicitly.
|
|
105
152
|
* @example DeleteAction - by default will contain a cross icon with the
|
|
106
153
|
* 'delete' content if content and icon are not provided.
|
|
107
154
|
*/
|
|
108
155
|
export declare type NamedActionItem = BaseActionItem & {
|
|
109
|
-
name:
|
|
156
|
+
name: ActionName.DeleteAction | ActionName.EditAction;
|
|
110
157
|
};
|
|
111
158
|
/**
|
|
112
159
|
* This represents an action where either Icon or label must be provided.
|
|
@@ -114,7 +161,7 @@ export declare type NamedActionItem = BaseActionItem & {
|
|
|
114
161
|
export declare type CustomActionItem = BaseActionItem & {
|
|
115
162
|
name: ActionName.CustomAction;
|
|
116
163
|
} & ((Required<Pick<ActionProps, 'icon' | 'iconPosition'>> & Pick<ActionProps, 'content'>) | ((Required<Pick<ActionProps, 'content'>> & Pick<ActionProps, 'icon' | 'iconPosition'>) & Pick<ActionProps, 'tooltipMessage'>));
|
|
117
|
-
export declare type ActionItem = NamedActionItem | CustomActionItem;
|
|
164
|
+
export declare type ActionItem = NamedActionItem | NamedDataActionItem | CustomActionItem;
|
|
118
165
|
export declare type OnActionMenuOpenChangeOptions = {
|
|
119
166
|
isOpen: boolean;
|
|
120
167
|
};
|
|
@@ -10,4 +10,4 @@ export declare const getBaseStyles: (direction: SmartLinkDirection, size: SmartL
|
|
|
10
10
|
export declare const highlightRemoveStyles: SerializedStyles;
|
|
11
11
|
export declare const renderChildren: (children: React.ReactNode, size: SmartLinkSize) => React.ReactNode;
|
|
12
12
|
export declare const renderElementItems: (items?: ElementItem[], display?: ElementDisplaySchemaType) => React.ReactNode | undefined;
|
|
13
|
-
export declare const renderActionItems: (items?: ActionItem[], size?: SmartLinkSize, appearance?: Appearance | undefined, asDropDownItems?: boolean | undefined, onActionItemClick?: (() => void) | undefined) => React.
|
|
13
|
+
export declare const renderActionItems: (items?: ActionItem[], size?: SmartLinkSize, appearance?: Appearance | undefined, asDropDownItems?: boolean | undefined, onActionItemClick?: (() => void) | undefined) => React.ReactElement[] | undefined;
|
|
@@ -6,11 +6,17 @@ import { SmartLinkSize, SmartLinkTheme } from '../../constants';
|
|
|
6
6
|
import { CardAppearance } from '../../view/Card';
|
|
7
7
|
import { OnResolveCallback } from '../Card/types';
|
|
8
8
|
import { OnErrorCallback } from '../types';
|
|
9
|
+
import { AnalyticsFacade } from '../../state/analytics';
|
|
9
10
|
export declare type FlexibleCardProps = {
|
|
10
11
|
/**
|
|
11
12
|
* @internal A unique ID for a Smart Link.
|
|
12
13
|
*/
|
|
13
14
|
id?: string;
|
|
15
|
+
/**
|
|
16
|
+
* An analytics facade object which will be used to send analytics.
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
19
|
+
analytics?: AnalyticsFacade;
|
|
14
20
|
/**
|
|
15
21
|
* Determines the appearance of the Smart Link.
|
|
16
22
|
* @internal
|
|
@@ -6,6 +6,7 @@ export interface IconProps {
|
|
|
6
6
|
icon?: React.ReactNode;
|
|
7
7
|
defaultIcon?: React.ReactNode;
|
|
8
8
|
testId?: string;
|
|
9
|
+
isFlexibleUi?: boolean;
|
|
9
10
|
}
|
|
10
11
|
export declare const blockCardIconImageClassName = "block-card-icon-image";
|
|
11
|
-
export declare const Icon: ({ url, icon, defaultIcon, testId, }: IconProps) => jsx.JSX.Element;
|
|
12
|
+
export declare const Icon: ({ url, icon, defaultIcon, testId, isFlexibleUi, }: IconProps) => jsx.JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-card",
|
|
3
|
-
"version": "23.
|
|
3
|
+
"version": "23.4.0",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -12,14 +12,6 @@
|
|
|
12
12
|
"module": "dist/esm/index.js",
|
|
13
13
|
"module:es2019": "dist/es2019/index.js",
|
|
14
14
|
"types": "dist/types/index.d.ts",
|
|
15
|
-
"typesVersions": {
|
|
16
|
-
">=4.0 <4.5": {
|
|
17
|
-
"*": [
|
|
18
|
-
"dist/types-ts4.0/*",
|
|
19
|
-
"dist/types-ts4.0/index.d.ts"
|
|
20
|
-
]
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
15
|
"sideEffects": false,
|
|
24
16
|
"atlaskit:src": "src/index.ts",
|
|
25
17
|
"atlassian": {
|
|
@@ -41,7 +33,7 @@
|
|
|
41
33
|
"@atlaskit/icon-object": "^6.2.0",
|
|
42
34
|
"@atlaskit/icon-priority": "^6.3.0",
|
|
43
35
|
"@atlaskit/in-product-testing": "^0.1.0",
|
|
44
|
-
"@atlaskit/linking-common": "^1.
|
|
36
|
+
"@atlaskit/linking-common": "^1.12.0",
|
|
45
37
|
"@atlaskit/logo": "^13.10.0",
|
|
46
38
|
"@atlaskit/lozenge": "^11.3.0",
|
|
47
39
|
"@atlaskit/media-common": "^2.17.0",
|
package/report.api.md
CHANGED
|
@@ -47,7 +47,10 @@ import { WithIntlProps } from 'react-intl-next';
|
|
|
47
47
|
import { WrappedComponentProps } from 'react-intl-next';
|
|
48
48
|
|
|
49
49
|
// @public (undocumented)
|
|
50
|
-
export type ActionItem =
|
|
50
|
+
export type ActionItem =
|
|
51
|
+
| CustomActionItem
|
|
52
|
+
| NamedActionItem
|
|
53
|
+
| NamedDataActionItem;
|
|
51
54
|
|
|
52
55
|
// @public
|
|
53
56
|
export enum ActionName {
|
|
@@ -56,7 +59,13 @@ export enum ActionName {
|
|
|
56
59
|
// (undocumented)
|
|
57
60
|
DeleteAction = 'DeleteAction',
|
|
58
61
|
// (undocumented)
|
|
62
|
+
DownloadAction = 'DownloadAction',
|
|
63
|
+
// (undocumented)
|
|
59
64
|
EditAction = 'EditAction',
|
|
65
|
+
// (undocumented)
|
|
66
|
+
PreviewAction = 'PreviewAction',
|
|
67
|
+
// (undocumented)
|
|
68
|
+
ViewAction = 'ViewAction',
|
|
60
69
|
}
|
|
61
70
|
|
|
62
71
|
// @public (undocumented)
|
|
@@ -145,6 +154,17 @@ type BaseActionItem = {
|
|
|
145
154
|
testId?: string;
|
|
146
155
|
};
|
|
147
156
|
|
|
157
|
+
// @public
|
|
158
|
+
type BaseDataActionItem = {
|
|
159
|
+
hideContent?: boolean;
|
|
160
|
+
hideIcon?: boolean;
|
|
161
|
+
name: ActionName;
|
|
162
|
+
onClick?: () => any;
|
|
163
|
+
overrideCss?: SerializedStyles;
|
|
164
|
+
size?: SmartLinkSize;
|
|
165
|
+
testId?: string;
|
|
166
|
+
};
|
|
167
|
+
|
|
148
168
|
export { BlockCardAdf };
|
|
149
169
|
|
|
150
170
|
// @public (undocumented)
|
|
@@ -577,7 +597,15 @@ type ModifiedOn = {
|
|
|
577
597
|
|
|
578
598
|
// @public
|
|
579
599
|
type NamedActionItem = BaseActionItem & {
|
|
580
|
-
name:
|
|
600
|
+
name: ActionName.DeleteAction | ActionName.EditAction;
|
|
601
|
+
};
|
|
602
|
+
|
|
603
|
+
// @public
|
|
604
|
+
type NamedDataActionItem = BaseDataActionItem & {
|
|
605
|
+
name:
|
|
606
|
+
| ActionName.DownloadAction
|
|
607
|
+
| ActionName.PreviewAction
|
|
608
|
+
| ActionName.ViewAction;
|
|
581
609
|
};
|
|
582
610
|
|
|
583
611
|
// @public (undocumented)
|
package/tmp/api-report-tmp.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ import { WithIntlProps } from 'react-intl-next';
|
|
|
37
37
|
import { WrappedComponentProps } from 'react-intl-next';
|
|
38
38
|
|
|
39
39
|
// @public (undocumented)
|
|
40
|
-
export type ActionItem = CustomActionItem | NamedActionItem;
|
|
40
|
+
export type ActionItem = CustomActionItem | NamedActionItem | NamedDataActionItem;
|
|
41
41
|
|
|
42
42
|
// @public
|
|
43
43
|
export enum ActionName {
|
|
@@ -46,7 +46,13 @@ export enum ActionName {
|
|
|
46
46
|
// (undocumented)
|
|
47
47
|
DeleteAction = "DeleteAction",
|
|
48
48
|
// (undocumented)
|
|
49
|
-
|
|
49
|
+
DownloadAction = "DownloadAction",
|
|
50
|
+
// (undocumented)
|
|
51
|
+
EditAction = "EditAction",
|
|
52
|
+
// (undocumented)
|
|
53
|
+
PreviewAction = "PreviewAction",
|
|
54
|
+
// (undocumented)
|
|
55
|
+
ViewAction = "ViewAction"
|
|
50
56
|
}
|
|
51
57
|
|
|
52
58
|
// @public (undocumented)
|
|
@@ -113,6 +119,17 @@ type BaseActionItem = {
|
|
|
113
119
|
testId?: string;
|
|
114
120
|
};
|
|
115
121
|
|
|
122
|
+
// @public
|
|
123
|
+
type BaseDataActionItem = {
|
|
124
|
+
hideContent?: boolean;
|
|
125
|
+
hideIcon?: boolean;
|
|
126
|
+
name: ActionName;
|
|
127
|
+
onClick?: () => any;
|
|
128
|
+
overrideCss?: SerializedStyles;
|
|
129
|
+
size?: SmartLinkSize;
|
|
130
|
+
testId?: string;
|
|
131
|
+
};
|
|
132
|
+
|
|
116
133
|
export { BlockCardAdf }
|
|
117
134
|
|
|
118
135
|
// @public (undocumented)
|
|
@@ -466,7 +483,12 @@ type ModifiedOn = {
|
|
|
466
483
|
|
|
467
484
|
// @public
|
|
468
485
|
type NamedActionItem = BaseActionItem & {
|
|
469
|
-
name:
|
|
486
|
+
name: ActionName.DeleteAction | ActionName.EditAction;
|
|
487
|
+
};
|
|
488
|
+
|
|
489
|
+
// @public
|
|
490
|
+
type NamedDataActionItem = BaseDataActionItem & {
|
|
491
|
+
name: ActionName.DownloadAction | ActionName.PreviewAction | ActionName.ViewAction;
|
|
470
492
|
};
|
|
471
493
|
|
|
472
494
|
// @public (undocumented)
|
|
@@ -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,16 +0,0 @@
|
|
|
1
|
-
/// <reference types="cypress" />
|
|
2
|
-
import { InProductTestPageObject, CypressType } from '@atlaskit/in-product-testing';
|
|
3
|
-
import { CardType, CardAppearance } from '@atlaskit/linking-common';
|
|
4
|
-
export declare class BaseCardPageObject extends InProductTestPageObject {
|
|
5
|
-
protected cy: CypressType;
|
|
6
|
-
protected appearance: CardAppearance;
|
|
7
|
-
protected constructor(cy: CypressType, appearance: CardAppearance);
|
|
8
|
-
private static CARD_TIMEOUT;
|
|
9
|
-
private _toSelector;
|
|
10
|
-
expectCardReady(numOfCards?: number, status?: CardType): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
11
|
-
expectCardNotExists(status?: CardType): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
12
|
-
findCardNth(nth?: number, status?: CardType): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
13
|
-
assertHrefRendered(url: string): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
14
|
-
assertHrefNotRendered(url: string): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
15
|
-
click(status?: CardType): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
16
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export { contentFooterClassName } from './view/BlockCard/components/ContentFooter';
|
|
2
|
-
export { metadataListClassName } from './view/common/MetadataList';
|
|
3
|
-
export { blockCardResolvingViewClassName } from './view/BlockCard/views/ResolvingView';
|
|
4
|
-
export { blockCardResolvedViewClassName, blockCardResolvedViewByClassName, } from './view/BlockCard/views/ResolvedView';
|
|
5
|
-
export { blockCardForbiddenViewClassName, blockCardForbiddenViewLinkClassName, } from './view/BlockCard/views/ForbiddenView';
|
|
6
|
-
export { blockCardIconImageClassName } from './view/common/Icon';
|
|
7
|
-
export { blockCardContentClassName } from './view/BlockCard/components/Content';
|
|
8
|
-
export { blockCardContentHeaderClassName } from './view/BlockCard/components/ContentHeader';
|
|
9
|
-
export { blockCardContentHeaderNameClassName } from './view/BlockCard/components/Name';
|
|
10
|
-
export { blockCardNotFoundViewClassName } from './view/BlockCard/views/NotFoundView';
|
|
11
|
-
export { blockCardErroredViewClassName } from './view/BlockCard/views/ErroredView';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { CardClient as default } from '@atlaskit/link-provider';
|