@atlaskit/smart-card 32.7.1 → 32.7.2
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 +8 -0
- package/dist/cjs/classNames.js +14 -82
- package/dist/cjs/extractors/common/actions/extractActions.js +1 -67
- package/dist/cjs/i18n/cs.js +2 -4
- package/dist/cjs/i18n/da.js +2 -4
- package/dist/cjs/i18n/de.js +2 -4
- package/dist/cjs/i18n/en.js +2 -4
- package/dist/cjs/i18n/en_GB.js +2 -4
- package/dist/cjs/i18n/en_ZZ.js +2 -4
- package/dist/cjs/i18n/es.js +8 -10
- package/dist/cjs/i18n/fi.js +5 -7
- package/dist/cjs/i18n/fr.js +2 -4
- package/dist/cjs/i18n/hu.js +2 -4
- package/dist/cjs/i18n/it.js +2 -4
- package/dist/cjs/i18n/ja.js +8 -10
- package/dist/cjs/i18n/ko.js +2 -4
- package/dist/cjs/i18n/nb.js +2 -4
- package/dist/cjs/i18n/nl.js +2 -4
- package/dist/cjs/i18n/pl.js +2 -4
- package/dist/cjs/i18n/pt_BR.js +2 -4
- package/dist/cjs/i18n/ru.js +2 -4
- package/dist/cjs/i18n/sv.js +2 -4
- package/dist/cjs/i18n/th.js +2 -4
- package/dist/cjs/i18n/tr.js +8 -10
- package/dist/cjs/i18n/uk.js +2 -4
- package/dist/cjs/i18n/vi.js +2 -4
- package/dist/cjs/i18n/zh.js +2 -4
- package/dist/cjs/i18n/zh_TW.js +2 -4
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/BlockCard/components/Action.js +1 -58
- package/dist/cjs/view/BlockCard/index.js +29 -218
- package/dist/cjs/view/CardWithUrl/component.js +1 -5
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/classNames.js +12 -10
- package/dist/es2019/extractors/common/actions/extractActions.js +1 -55
- package/dist/es2019/i18n/cs.js +2 -4
- package/dist/es2019/i18n/da.js +2 -4
- package/dist/es2019/i18n/de.js +2 -4
- package/dist/es2019/i18n/en.js +2 -4
- package/dist/es2019/i18n/en_GB.js +2 -4
- package/dist/es2019/i18n/en_ZZ.js +2 -4
- package/dist/es2019/i18n/es.js +8 -10
- package/dist/es2019/i18n/fi.js +5 -7
- package/dist/es2019/i18n/fr.js +2 -4
- package/dist/es2019/i18n/hu.js +2 -4
- package/dist/es2019/i18n/it.js +2 -4
- package/dist/es2019/i18n/ja.js +8 -10
- package/dist/es2019/i18n/ko.js +2 -4
- package/dist/es2019/i18n/nb.js +2 -4
- package/dist/es2019/i18n/nl.js +2 -4
- package/dist/es2019/i18n/pl.js +2 -4
- package/dist/es2019/i18n/pt_BR.js +2 -4
- package/dist/es2019/i18n/ru.js +2 -4
- package/dist/es2019/i18n/sv.js +2 -4
- package/dist/es2019/i18n/th.js +2 -4
- package/dist/es2019/i18n/tr.js +8 -10
- package/dist/es2019/i18n/uk.js +2 -4
- package/dist/es2019/i18n/vi.js +2 -4
- package/dist/es2019/i18n/zh.js +2 -4
- package/dist/es2019/i18n/zh_TW.js +2 -4
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/BlockCard/components/Action.js +1 -48
- package/dist/es2019/view/BlockCard/index.js +27 -163
- package/dist/es2019/view/CardWithUrl/component.js +1 -5
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/classNames.js +12 -10
- package/dist/esm/extractors/common/actions/extractActions.js +1 -65
- package/dist/esm/i18n/cs.js +2 -4
- package/dist/esm/i18n/da.js +2 -4
- package/dist/esm/i18n/de.js +2 -4
- package/dist/esm/i18n/en.js +2 -4
- package/dist/esm/i18n/en_GB.js +2 -4
- package/dist/esm/i18n/en_ZZ.js +2 -4
- package/dist/esm/i18n/es.js +8 -10
- package/dist/esm/i18n/fi.js +5 -7
- package/dist/esm/i18n/fr.js +2 -4
- package/dist/esm/i18n/hu.js +2 -4
- package/dist/esm/i18n/it.js +2 -4
- package/dist/esm/i18n/ja.js +8 -10
- package/dist/esm/i18n/ko.js +2 -4
- package/dist/esm/i18n/nb.js +2 -4
- package/dist/esm/i18n/nl.js +2 -4
- package/dist/esm/i18n/pl.js +2 -4
- package/dist/esm/i18n/pt_BR.js +2 -4
- package/dist/esm/i18n/ru.js +2 -4
- package/dist/esm/i18n/sv.js +2 -4
- package/dist/esm/i18n/th.js +2 -4
- package/dist/esm/i18n/tr.js +8 -10
- package/dist/esm/i18n/uk.js +2 -4
- package/dist/esm/i18n/vi.js +2 -4
- package/dist/esm/i18n/zh.js +2 -4
- package/dist/esm/i18n/zh_TW.js +2 -4
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/BlockCard/components/Action.js +1 -54
- package/dist/esm/view/BlockCard/index.js +29 -164
- package/dist/esm/view/CardWithUrl/component.js +1 -5
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/types/classNames.d.ts +12 -10
- package/dist/types/extractors/common/actions/extractActions.d.ts +0 -8
- package/dist/types/extractors/common/actions/types.d.ts +0 -9
- package/dist/types/i18n/cs.d.ts +1 -3
- package/dist/types/i18n/da.d.ts +1 -3
- package/dist/types/i18n/de.d.ts +1 -3
- package/dist/types/i18n/en.d.ts +1 -3
- package/dist/types/i18n/en_GB.d.ts +1 -3
- package/dist/types/i18n/en_ZZ.d.ts +1 -3
- package/dist/types/i18n/es.d.ts +1 -3
- package/dist/types/i18n/fi.d.ts +1 -3
- package/dist/types/i18n/fr.d.ts +1 -3
- package/dist/types/i18n/hu.d.ts +1 -3
- package/dist/types/i18n/it.d.ts +1 -3
- package/dist/types/i18n/ja.d.ts +1 -3
- package/dist/types/i18n/ko.d.ts +1 -3
- package/dist/types/i18n/nb.d.ts +1 -3
- package/dist/types/i18n/nl.d.ts +1 -3
- package/dist/types/i18n/pl.d.ts +1 -3
- package/dist/types/i18n/pt_BR.d.ts +1 -3
- package/dist/types/i18n/ru.d.ts +1 -3
- package/dist/types/i18n/sv.d.ts +1 -3
- package/dist/types/i18n/th.d.ts +1 -3
- package/dist/types/i18n/tr.d.ts +1 -3
- package/dist/types/i18n/uk.d.ts +1 -3
- package/dist/types/i18n/vi.d.ts +1 -3
- package/dist/types/i18n/zh.d.ts +1 -3
- package/dist/types/i18n/zh_TW.d.ts +1 -3
- package/dist/types/utils/analytics/click.d.ts +1 -1
- package/dist/types/view/BlockCard/components/Action.d.ts +0 -4
- package/dist/types/view/BlockCard/index.d.ts +2 -17
- package/dist/types/view/BlockCard/types.d.ts +1 -6
- package/dist/types/view/Card/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/action/action-stack-item/action-button.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/utils.d.ts +1 -1
- package/dist/types/view/HoverCard/components/CustomPopupContainer.d.ts +1 -1
- package/dist/types-ts4.5/classNames.d.ts +12 -10
- package/dist/types-ts4.5/extractors/common/actions/extractActions.d.ts +0 -8
- package/dist/types-ts4.5/extractors/common/actions/types.d.ts +0 -9
- package/dist/types-ts4.5/i18n/cs.d.ts +1 -3
- package/dist/types-ts4.5/i18n/da.d.ts +1 -3
- package/dist/types-ts4.5/i18n/de.d.ts +1 -3
- package/dist/types-ts4.5/i18n/en.d.ts +1 -3
- package/dist/types-ts4.5/i18n/en_GB.d.ts +1 -3
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +1 -3
- package/dist/types-ts4.5/i18n/es.d.ts +1 -3
- package/dist/types-ts4.5/i18n/fi.d.ts +1 -3
- package/dist/types-ts4.5/i18n/fr.d.ts +1 -3
- package/dist/types-ts4.5/i18n/hu.d.ts +1 -3
- package/dist/types-ts4.5/i18n/it.d.ts +1 -3
- package/dist/types-ts4.5/i18n/ja.d.ts +1 -3
- package/dist/types-ts4.5/i18n/ko.d.ts +1 -3
- package/dist/types-ts4.5/i18n/nb.d.ts +1 -3
- package/dist/types-ts4.5/i18n/nl.d.ts +1 -3
- package/dist/types-ts4.5/i18n/pl.d.ts +1 -3
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +1 -3
- package/dist/types-ts4.5/i18n/ru.d.ts +1 -3
- package/dist/types-ts4.5/i18n/sv.d.ts +1 -3
- package/dist/types-ts4.5/i18n/th.d.ts +1 -3
- package/dist/types-ts4.5/i18n/tr.d.ts +1 -3
- package/dist/types-ts4.5/i18n/uk.d.ts +1 -3
- package/dist/types-ts4.5/i18n/vi.d.ts +1 -3
- package/dist/types-ts4.5/i18n/zh.d.ts +1 -3
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +1 -3
- package/dist/types-ts4.5/utils/analytics/click.d.ts +1 -1
- package/dist/types-ts4.5/view/BlockCard/components/Action.d.ts +0 -4
- package/dist/types-ts4.5/view/BlockCard/index.d.ts +2 -17
- package/dist/types-ts4.5/view/BlockCard/types.d.ts +1 -6
- package/dist/types-ts4.5/view/Card/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-stack-item/action-button.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/utils.d.ts +1 -1
- package/dist/types-ts4.5/view/HoverCard/components/CustomPopupContainer.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cjs/extractors/block/index.js +0 -96
- package/dist/cjs/extractors/block/types.js +0 -5
- package/dist/cjs/extractors/common/actions/extractPreviewAction.js +0 -106
- package/dist/cjs/state/reducers/types.js +0 -5
- package/dist/cjs/view/BlockCard/actions/AuthorizeAction.js +0 -22
- package/dist/cjs/view/BlockCard/actions/DownloadAction.js +0 -21
- package/dist/cjs/view/BlockCard/actions/PreviewAction.js +0 -35
- package/dist/cjs/view/BlockCard/actions/RetryAction.js +0 -35
- package/dist/cjs/view/BlockCard/actions/ViewAction.js +0 -21
- package/dist/cjs/view/BlockCard/components/ActionIcon.js +0 -57
- package/dist/cjs/view/BlockCard/components/ActionList.js +0 -78
- package/dist/cjs/view/BlockCard/components/CollaboratorList.js +0 -52
- package/dist/cjs/view/BlockCard/components/Content.js +0 -45
- package/dist/cjs/view/BlockCard/components/ContentFooter.js +0 -41
- package/dist/cjs/view/BlockCard/components/ContentHeader.js +0 -45
- package/dist/cjs/view/BlockCard/components/Emoji.js +0 -33
- package/dist/cjs/view/BlockCard/components/Link.js +0 -31
- package/dist/cjs/view/BlockCard/components/Name.js +0 -61
- package/dist/cjs/view/BlockCard/components/Provider.js +0 -57
- package/dist/cjs/view/BlockCard/components/Thumbnail.js +0 -62
- package/dist/cjs/view/BlockCard/components/UnresolvedText.js +0 -24
- package/dist/cjs/view/BlockCard/views/ErroredView.js +0 -91
- package/dist/cjs/view/BlockCard/views/ForbiddenView.js +0 -121
- package/dist/cjs/view/BlockCard/views/NotFoundView.js +0 -82
- package/dist/cjs/view/BlockCard/views/ResolvedView.js +0 -143
- package/dist/cjs/view/BlockCard/views/ResolvingView.js +0 -57
- package/dist/cjs/view/BlockCard/views/UnauthorizedView.js +0 -72
- package/dist/cjs/view/BlockCard/views/styled.js +0 -18
- package/dist/cjs/view/CardWithData/component.js +0 -66
- package/dist/cjs/view/CardWithData/types.js +0 -5
- package/dist/cjs/view/common/Byline.js +0 -52
- package/dist/cjs/view/common/Metadata.js +0 -56
- package/dist/cjs/view/common/MetadataList.js +0 -43
- package/dist/es2019/extractors/block/index.js +0 -86
- package/dist/es2019/extractors/block/types.js +0 -1
- package/dist/es2019/extractors/common/actions/extractPreviewAction.js +0 -91
- package/dist/es2019/state/reducers/types.js +0 -1
- package/dist/es2019/view/BlockCard/actions/AuthorizeAction.js +0 -9
- package/dist/es2019/view/BlockCard/actions/DownloadAction.js +0 -11
- package/dist/es2019/view/BlockCard/actions/PreviewAction.js +0 -23
- package/dist/es2019/view/BlockCard/actions/RetryAction.js +0 -8
- package/dist/es2019/view/BlockCard/actions/ViewAction.js +0 -11
- package/dist/es2019/view/BlockCard/components/ActionIcon.js +0 -51
- package/dist/es2019/view/BlockCard/components/ActionList.js +0 -63
- package/dist/es2019/view/BlockCard/components/CollaboratorList.js +0 -42
- package/dist/es2019/view/BlockCard/components/Content.js +0 -36
- package/dist/es2019/view/BlockCard/components/ContentFooter.js +0 -32
- package/dist/es2019/view/BlockCard/components/ContentHeader.js +0 -39
- package/dist/es2019/view/BlockCard/components/Emoji.js +0 -26
- package/dist/es2019/view/BlockCard/components/Link.js +0 -24
- package/dist/es2019/view/BlockCard/components/Name.js +0 -54
- package/dist/es2019/view/BlockCard/components/Provider.js +0 -51
- package/dist/es2019/view/BlockCard/components/Thumbnail.js +0 -58
- package/dist/es2019/view/BlockCard/components/UnresolvedText.js +0 -18
- package/dist/es2019/view/BlockCard/views/ErroredView.js +0 -78
- package/dist/es2019/view/BlockCard/views/ForbiddenView.js +0 -104
- package/dist/es2019/view/BlockCard/views/NotFoundView.js +0 -71
- package/dist/es2019/view/BlockCard/views/ResolvedView.js +0 -121
- package/dist/es2019/view/BlockCard/views/ResolvingView.js +0 -46
- package/dist/es2019/view/BlockCard/views/UnauthorizedView.js +0 -60
- package/dist/es2019/view/BlockCard/views/styled.js +0 -10
- package/dist/es2019/view/CardWithData/component.js +0 -43
- package/dist/es2019/view/CardWithData/types.js +0 -1
- package/dist/es2019/view/common/Byline.js +0 -44
- package/dist/es2019/view/common/Metadata.js +0 -49
- package/dist/es2019/view/common/MetadataList.js +0 -34
- package/dist/esm/extractors/block/index.js +0 -89
- package/dist/esm/extractors/block/types.js +0 -1
- package/dist/esm/extractors/common/actions/extractPreviewAction.js +0 -99
- package/dist/esm/state/reducers/types.js +0 -1
- package/dist/esm/view/BlockCard/actions/AuthorizeAction.js +0 -15
- package/dist/esm/view/BlockCard/actions/DownloadAction.js +0 -14
- package/dist/esm/view/BlockCard/actions/PreviewAction.js +0 -30
- package/dist/esm/view/BlockCard/actions/RetryAction.js +0 -28
- package/dist/esm/view/BlockCard/actions/ViewAction.js +0 -14
- package/dist/esm/view/BlockCard/components/ActionIcon.js +0 -50
- package/dist/esm/view/BlockCard/components/ActionList.js +0 -69
- package/dist/esm/view/BlockCard/components/CollaboratorList.js +0 -44
- package/dist/esm/view/BlockCard/components/Content.js +0 -38
- package/dist/esm/view/BlockCard/components/ContentFooter.js +0 -34
- package/dist/esm/view/BlockCard/components/ContentHeader.js +0 -38
- package/dist/esm/view/BlockCard/components/Emoji.js +0 -25
- package/dist/esm/view/BlockCard/components/Link.js +0 -24
- package/dist/esm/view/BlockCard/components/Name.js +0 -54
- package/dist/esm/view/BlockCard/components/Provider.js +0 -50
- package/dist/esm/view/BlockCard/components/Thumbnail.js +0 -57
- package/dist/esm/view/BlockCard/components/UnresolvedText.js +0 -17
- package/dist/esm/view/BlockCard/views/ErroredView.js +0 -87
- package/dist/esm/view/BlockCard/views/ForbiddenView.js +0 -113
- package/dist/esm/view/BlockCard/views/NotFoundView.js +0 -78
- package/dist/esm/view/BlockCard/views/ResolvedView.js +0 -135
- package/dist/esm/view/BlockCard/views/ResolvingView.js +0 -49
- package/dist/esm/view/BlockCard/views/UnauthorizedView.js +0 -68
- package/dist/esm/view/BlockCard/views/styled.js +0 -10
- package/dist/esm/view/CardWithData/component.js +0 -59
- package/dist/esm/view/CardWithData/types.js +0 -1
- package/dist/esm/view/common/Byline.js +0 -45
- package/dist/esm/view/common/Metadata.js +0 -48
- package/dist/esm/view/common/MetadataList.js +0 -35
- package/dist/types/extractors/block/index.d.ts +0 -10
- package/dist/types/extractors/block/types.d.ts +0 -13
- package/dist/types/extractors/common/actions/extractPreviewAction.d.ts +0 -14
- package/dist/types/state/reducers/types.d.ts +0 -4
- package/dist/types/view/BlockCard/actions/AuthorizeAction.d.ts +0 -2
- package/dist/types/view/BlockCard/actions/DownloadAction.d.ts +0 -4
- package/dist/types/view/BlockCard/actions/PreviewAction.d.ts +0 -27
- package/dist/types/view/BlockCard/actions/RetryAction.d.ts +0 -2
- package/dist/types/view/BlockCard/actions/ViewAction.d.ts +0 -4
- package/dist/types/view/BlockCard/components/ActionIcon.d.ts +0 -12
- package/dist/types/view/BlockCard/components/ActionList.d.ts +0 -10
- package/dist/types/view/BlockCard/components/CollaboratorList.d.ts +0 -18
- package/dist/types/view/BlockCard/components/Content.d.ts +0 -18
- package/dist/types/view/BlockCard/components/ContentFooter.d.ts +0 -12
- package/dist/types/view/BlockCard/components/ContentHeader.d.ts +0 -19
- package/dist/types/view/BlockCard/components/Emoji.d.ts +0 -10
- package/dist/types/view/BlockCard/components/Link.d.ts +0 -11
- package/dist/types/view/BlockCard/components/Name.d.ts +0 -21
- package/dist/types/view/BlockCard/components/Provider.d.ts +0 -11
- package/dist/types/view/BlockCard/components/Thumbnail.d.ts +0 -13
- package/dist/types/view/BlockCard/components/UnresolvedText.d.ts +0 -11
- package/dist/types/view/BlockCard/views/ErroredView.d.ts +0 -19
- package/dist/types/view/BlockCard/views/ForbiddenView.d.ts +0 -35
- package/dist/types/view/BlockCard/views/NotFoundView.d.ts +0 -26
- package/dist/types/view/BlockCard/views/ResolvedView.d.ts +0 -46
- package/dist/types/view/BlockCard/views/ResolvingView.d.ts +0 -18
- package/dist/types/view/BlockCard/views/UnauthorizedView.d.ts +0 -19
- package/dist/types/view/BlockCard/views/styled.d.ts +0 -5
- package/dist/types/view/CardWithData/component.d.ts +0 -5
- package/dist/types/view/CardWithData/types.d.ts +0 -15
- package/dist/types/view/common/Byline.d.ts +0 -13
- package/dist/types/view/common/Metadata.d.ts +0 -13
- package/dist/types/view/common/MetadataList.d.ts +0 -12
- package/dist/types-ts4.5/extractors/block/index.d.ts +0 -10
- package/dist/types-ts4.5/extractors/block/types.d.ts +0 -13
- package/dist/types-ts4.5/extractors/common/actions/extractPreviewAction.d.ts +0 -14
- package/dist/types-ts4.5/state/reducers/types.d.ts +0 -4
- 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/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/components/ActionIcon.d.ts +0 -12
- package/dist/types-ts4.5/view/BlockCard/components/ActionList.d.ts +0 -10
- package/dist/types-ts4.5/view/BlockCard/components/CollaboratorList.d.ts +0 -18
- package/dist/types-ts4.5/view/BlockCard/components/Content.d.ts +0 -18
- package/dist/types-ts4.5/view/BlockCard/components/ContentFooter.d.ts +0 -12
- package/dist/types-ts4.5/view/BlockCard/components/ContentHeader.d.ts +0 -19
- package/dist/types-ts4.5/view/BlockCard/components/Emoji.d.ts +0 -10
- package/dist/types-ts4.5/view/BlockCard/components/Link.d.ts +0 -11
- package/dist/types-ts4.5/view/BlockCard/components/Name.d.ts +0 -21
- package/dist/types-ts4.5/view/BlockCard/components/Provider.d.ts +0 -11
- package/dist/types-ts4.5/view/BlockCard/components/Thumbnail.d.ts +0 -13
- package/dist/types-ts4.5/view/BlockCard/components/UnresolvedText.d.ts +0 -11
- package/dist/types-ts4.5/view/BlockCard/views/ErroredView.d.ts +0 -19
- package/dist/types-ts4.5/view/BlockCard/views/ForbiddenView.d.ts +0 -35
- package/dist/types-ts4.5/view/BlockCard/views/NotFoundView.d.ts +0 -26
- package/dist/types-ts4.5/view/BlockCard/views/ResolvedView.d.ts +0 -46
- package/dist/types-ts4.5/view/BlockCard/views/ResolvingView.d.ts +0 -18
- package/dist/types-ts4.5/view/BlockCard/views/UnauthorizedView.d.ts +0 -19
- package/dist/types-ts4.5/view/BlockCard/views/styled.d.ts +0 -5
- package/dist/types-ts4.5/view/CardWithData/component.d.ts +0 -5
- package/dist/types-ts4.5/view/CardWithData/types.d.ts +0 -15
- package/dist/types-ts4.5/view/common/Byline.d.ts +0 -13
- package/dist/types-ts4.5/view/common/Metadata.d.ts +0 -13
- package/dist/types-ts4.5/view/common/MetadataList.d.ts +0 -12
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
3
|
-
import _createClass from "@babel/runtime/helpers/createClass";
|
|
4
|
-
import _inherits from "@babel/runtime/helpers/inherits";
|
|
5
|
-
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
6
|
-
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
7
|
-
function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
|
|
8
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
9
|
-
import React from 'react';
|
|
10
|
-
import { extractBlockProps } from '../../extractors/block';
|
|
11
|
-
import { extractInlineProps } from '../../extractors/inline';
|
|
12
|
-
import { getEmptyJsonLd } from '../../utils/jsonld';
|
|
13
|
-
import { BlockCardResolvedView } from '../BlockCard';
|
|
14
|
-
import { InlineCardResolvedView } from '../InlineCard/ResolvedView';
|
|
15
|
-
export var CardWithDataContent = /*#__PURE__*/function (_React$Component) {
|
|
16
|
-
_inherits(CardWithDataContent, _React$Component);
|
|
17
|
-
var _super = _createSuper(CardWithDataContent);
|
|
18
|
-
function CardWithDataContent() {
|
|
19
|
-
_classCallCheck(this, CardWithDataContent);
|
|
20
|
-
return _super.apply(this, arguments);
|
|
21
|
-
}
|
|
22
|
-
_createClass(CardWithDataContent, [{
|
|
23
|
-
key: "render",
|
|
24
|
-
value: function render() {
|
|
25
|
-
var _this$props = this.props,
|
|
26
|
-
details = _this$props.data,
|
|
27
|
-
isSelected = _this$props.isSelected,
|
|
28
|
-
appearance = _this$props.appearance,
|
|
29
|
-
onClick = _this$props.onClick,
|
|
30
|
-
onResolve = _this$props.onResolve,
|
|
31
|
-
testId = _this$props.testId;
|
|
32
|
-
if (appearance === 'inline') {
|
|
33
|
-
var props = extractInlineProps(details || getEmptyJsonLd());
|
|
34
|
-
if (onResolve) {
|
|
35
|
-
onResolve({
|
|
36
|
-
title: props.title
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
return /*#__PURE__*/React.createElement(InlineCardResolvedView, _extends({}, props, {
|
|
40
|
-
isSelected: isSelected,
|
|
41
|
-
onClick: onClick,
|
|
42
|
-
testId: testId
|
|
43
|
-
}));
|
|
44
|
-
} else {
|
|
45
|
-
var _props = extractBlockProps(details || getEmptyJsonLd());
|
|
46
|
-
if (onResolve) {
|
|
47
|
-
onResolve({
|
|
48
|
-
title: _props.title
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
return /*#__PURE__*/React.createElement(BlockCardResolvedView, _extends({}, _props, {
|
|
52
|
-
isSelected: isSelected,
|
|
53
|
-
onClick: onClick
|
|
54
|
-
}));
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}]);
|
|
58
|
-
return CardWithDataContent;
|
|
59
|
-
}(React.Component);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
|
-
import { css, jsx } from '@emotion/react';
|
|
7
|
-
import { N300 } from '@atlaskit/theme/colors';
|
|
8
|
-
import { gs, mq } from './utils';
|
|
9
|
-
var baseStyles = css({
|
|
10
|
-
// Spec: only allow two lines MAX to be shown.
|
|
11
|
-
display: '-webkit-box',
|
|
12
|
-
overflow: 'hidden',
|
|
13
|
-
textOverflow: 'ellipsis',
|
|
14
|
-
WebkitLineClamp: 2,
|
|
15
|
-
WebkitBoxOrient: 'vertical',
|
|
16
|
-
wordBreak: 'break-word',
|
|
17
|
-
whiteSpace: 'pre-line',
|
|
18
|
-
// EDM-713: fixes copy-paste from renderer to editor for Firefox
|
|
19
|
-
// due to HTML its unwrapping behaviour on paste.
|
|
20
|
-
MozUserSelect: 'none'
|
|
21
|
-
});
|
|
22
|
-
|
|
23
|
-
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
24
|
-
var styles = mq({
|
|
25
|
-
fontSize: gs(1.5),
|
|
26
|
-
lineHeight: gs(2.5),
|
|
27
|
-
color: "".concat("var(--ds-text-subtlest, ".concat(N300, ")")),
|
|
28
|
-
fontWeight: 'normal',
|
|
29
|
-
marginTop: gs(0.5),
|
|
30
|
-
// Fallback options.
|
|
31
|
-
maxHeight: gs(5)
|
|
32
|
-
});
|
|
33
|
-
export var Byline = function Byline(_ref) {
|
|
34
|
-
var text = _ref.text,
|
|
35
|
-
children = _ref.children,
|
|
36
|
-
testId = _ref.testId,
|
|
37
|
-
className = _ref.className;
|
|
38
|
-
return jsx("span", {
|
|
39
|
-
css: [baseStyles, styles],
|
|
40
|
-
"data-testid": testId
|
|
41
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
42
|
-
,
|
|
43
|
-
className: className
|
|
44
|
-
}, text || children);
|
|
45
|
-
};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
|
-
import { css, jsx } from '@emotion/react';
|
|
7
|
-
import { N300 } from '@atlaskit/theme/colors';
|
|
8
|
-
import Tooltip from '@atlaskit/tooltip';
|
|
9
|
-
var wrapperStyles = css({
|
|
10
|
-
display: 'flex',
|
|
11
|
-
alignItems: 'center',
|
|
12
|
-
marginRight: "var(--ds-space-050, 4px)"
|
|
13
|
-
});
|
|
14
|
-
var imgStyles = css({
|
|
15
|
-
width: "var(--ds-space-100, 8px)",
|
|
16
|
-
height: "var(--ds-space-100, 8px)"
|
|
17
|
-
});
|
|
18
|
-
var textStyles = css({
|
|
19
|
-
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
20
|
-
color: "".concat("var(--ds-text-subtlest, ".concat(N300, ")")),
|
|
21
|
-
marginRight: "var(--ds-space-050, 4px)",
|
|
22
|
-
marginLeft: "var(--ds-space-025, 2px)"
|
|
23
|
-
});
|
|
24
|
-
export var Metadata = function Metadata(_ref) {
|
|
25
|
-
var text = _ref.text,
|
|
26
|
-
icon = _ref.icon,
|
|
27
|
-
iconUrl = _ref.iconUrl,
|
|
28
|
-
tooltip = _ref.tooltip;
|
|
29
|
-
var metadataIcon = icon || null;
|
|
30
|
-
if (!metadataIcon && iconUrl) {
|
|
31
|
-
// eslint-disable-next-line jsx-a11y/alt-text
|
|
32
|
-
metadataIcon = jsx("img", {
|
|
33
|
-
src: iconUrl,
|
|
34
|
-
css: imgStyles
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
var metadata = jsx("div", {
|
|
38
|
-
css: wrapperStyles
|
|
39
|
-
}, metadataIcon, jsx("span", {
|
|
40
|
-
css: textStyles
|
|
41
|
-
}, text));
|
|
42
|
-
if (tooltip) {
|
|
43
|
-
return jsx(Tooltip, {
|
|
44
|
-
content: tooltip
|
|
45
|
-
}, metadata);
|
|
46
|
-
}
|
|
47
|
-
return metadata;
|
|
48
|
-
};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
/**
|
|
3
|
-
* @jsxRuntime classic
|
|
4
|
-
* @jsx jsx
|
|
5
|
-
*/
|
|
6
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
|
-
import { css, jsx } from '@emotion/react';
|
|
8
|
-
import { Metadata } from './Metadata';
|
|
9
|
-
import { gs } from './utils';
|
|
10
|
-
export var metadataListClassName = 'smart-link-metadata-list';
|
|
11
|
-
var wrapperStyles = css({
|
|
12
|
-
display: 'flex',
|
|
13
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
14
|
-
marginTop: gs(0.5),
|
|
15
|
-
alignItems: 'center',
|
|
16
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
17
|
-
'&:last-child': {
|
|
18
|
-
marginRight: '0px'
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
export var MetadataList = function MetadataList(_ref) {
|
|
22
|
-
var items = _ref.items,
|
|
23
|
-
testId = _ref.testId;
|
|
24
|
-
return jsx("div", {
|
|
25
|
-
css: wrapperStyles,
|
|
26
|
-
"data-testid": testId
|
|
27
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
28
|
-
,
|
|
29
|
-
className: metadataListClassName
|
|
30
|
-
}, items.map(function (item) {
|
|
31
|
-
return jsx(Metadata, _extends({
|
|
32
|
-
key: item.text
|
|
33
|
-
}, item));
|
|
34
|
-
}));
|
|
35
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type JsonLd } from 'json-ld-types';
|
|
2
|
-
import { type LinkPerson } from '@atlaskit/link-extractors';
|
|
3
|
-
import { type CardProviderRenderers } from '@atlaskit/link-provider';
|
|
4
|
-
import { type BlockCardResolvedViewProps } from '../../view/BlockCard';
|
|
5
|
-
import { type ActionProps } from '../../view/BlockCard/components/Action';
|
|
6
|
-
import { type CardPlatform } from '../../view/Card';
|
|
7
|
-
import { type ExtractBlockOpts } from './types';
|
|
8
|
-
export declare const extractBlockActions: (props: BlockCardResolvedViewProps, jsonLd: JsonLd.Data.BaseData, opts?: ExtractBlockOpts, platform?: CardPlatform, meta?: JsonLd.Meta.BaseMeta) => ActionProps[];
|
|
9
|
-
export declare const extractBlockUsers: (jsonLd: JsonLd.Data.BaseData) => LinkPerson[] | undefined;
|
|
10
|
-
export declare const extractBlockProps: (jsonLd: JsonLd.Data.BaseData, meta?: JsonLd.Meta.BaseMeta, opts?: ExtractBlockOpts, renderers?: CardProviderRenderers, platform?: CardPlatform) => BlockCardResolvedViewProps;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { type InvokeHandler } from '../../model/invoke-handler';
|
|
2
|
-
import { type AnalyticsFacade } from '../../state/analytics';
|
|
3
|
-
import { type AnalyticsOrigin } from '../../utils/types';
|
|
4
|
-
import { type CardActionOptions, type CardInnerAppearance } from '../../view/Card/types';
|
|
5
|
-
export interface ExtractBlockOpts {
|
|
6
|
-
handleInvoke: InvokeHandler;
|
|
7
|
-
analytics: AnalyticsFacade;
|
|
8
|
-
origin?: AnalyticsOrigin;
|
|
9
|
-
extensionKey?: string;
|
|
10
|
-
source?: CardInnerAppearance;
|
|
11
|
-
testId?: string;
|
|
12
|
-
actionOptions?: CardActionOptions;
|
|
13
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { type JsonLd } from 'json-ld-types';
|
|
2
|
-
import { type BlockCardResolvedViewProps } from '../../../view/BlockCard';
|
|
3
|
-
import { type CardPlatform } from '../../../view/Card/types';
|
|
4
|
-
import { type ExtractBlockOpts } from '../../block/types';
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
* @deprecated - use extractPreviewActionProps instead
|
|
8
|
-
*/
|
|
9
|
-
export declare const extractPreviewAction: ({ extensionKey, viewProps, jsonLd, handleInvoke, testId, platform, origin, source, analytics, meta, actionOptions, }: ExtractBlockOpts & {
|
|
10
|
-
viewProps: BlockCardResolvedViewProps;
|
|
11
|
-
jsonLd: JsonLd.Data.BaseData;
|
|
12
|
-
platform?: JsonLd.Primitives.Platforms | undefined;
|
|
13
|
-
meta?: JsonLd.Meta.BaseMeta | undefined;
|
|
14
|
-
}) => import("../../../view/BlockCard/components/Action").ActionProps | undefined;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { type Reducer } from 'react';
|
|
2
|
-
import { type CardAction, type CardActionType } from '@atlaskit/linking-common';
|
|
3
|
-
export type CardReducerMap<StateType, ActionType> = Record<CardActionType, CardReducer<StateType, ActionType>>;
|
|
4
|
-
export type CardReducer<StateType, ActionType> = Reducer<StateType, CardAction<ActionType>>;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import React, { type ErrorInfo } from 'react';
|
|
2
|
-
import { type AnalyticsFacade } from '../../../state/analytics';
|
|
3
|
-
import { type AnalyticsOrigin } from '../../../utils/types';
|
|
4
|
-
import { type IconProps } from '../../common/Icon';
|
|
5
|
-
import { type MetadataProps } from '../../common/Metadata';
|
|
6
|
-
import { type ActionProps } from '../components/Action';
|
|
7
|
-
type PreviewInfo = {
|
|
8
|
-
src?: string;
|
|
9
|
-
testId?: string;
|
|
10
|
-
details?: Array<MetadataProps>;
|
|
11
|
-
icon?: IconProps;
|
|
12
|
-
url?: string;
|
|
13
|
-
title?: string;
|
|
14
|
-
providerName?: string;
|
|
15
|
-
download?: string;
|
|
16
|
-
byline?: React.ReactNode;
|
|
17
|
-
onViewActionClick?: () => void;
|
|
18
|
-
onDownloadActionClick?: () => void;
|
|
19
|
-
onOpen?: () => void;
|
|
20
|
-
onOpenFailed?: (error: Error, errorInfo: ErrorInfo) => void;
|
|
21
|
-
analytics: AnalyticsFacade;
|
|
22
|
-
origin?: AnalyticsOrigin;
|
|
23
|
-
isSupportTheming?: boolean;
|
|
24
|
-
extensionKey?: string;
|
|
25
|
-
};
|
|
26
|
-
declare const _default: ({ details, ...rest }: PreviewInfo) => ActionProps;
|
|
27
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { ActionState } from './Action';
|
|
3
|
-
export declare const spinnerStyles: {
|
|
4
|
-
readonly display: "flex";
|
|
5
|
-
readonly position: "absolute";
|
|
6
|
-
readonly left: "50%";
|
|
7
|
-
readonly top: "50%";
|
|
8
|
-
readonly transform: "translate(-50%, -50%)";
|
|
9
|
-
};
|
|
10
|
-
export declare const ActionIcon: ({ state }: {
|
|
11
|
-
state: ActionState;
|
|
12
|
-
}) => JSX.Element | null;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import { jsx } from '@emotion/react';
|
|
6
|
-
import { type ActionProps } from './Action';
|
|
7
|
-
export interface ActionListProps {
|
|
8
|
-
items: Array<ActionProps>;
|
|
9
|
-
}
|
|
10
|
-
export declare const ActionList: ({ items }: ActionListProps) => jsx.JSX.Element;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
/**
|
|
3
|
-
* @jsxRuntime classic
|
|
4
|
-
* @jsx jsx
|
|
5
|
-
*/
|
|
6
|
-
import { jsx } from '@emotion/react';
|
|
7
|
-
import { type AvatarClickEventHandler } from '@atlaskit/avatar';
|
|
8
|
-
export interface Collaborator {
|
|
9
|
-
src?: string;
|
|
10
|
-
name: string;
|
|
11
|
-
}
|
|
12
|
-
export interface CollaboratorListProps {
|
|
13
|
-
items: Collaborator[];
|
|
14
|
-
handleAvatarClick: AvatarClickEventHandler;
|
|
15
|
-
handleMoreAvatarsClick: React.MouseEventHandler;
|
|
16
|
-
testId?: string;
|
|
17
|
-
}
|
|
18
|
-
export declare const CollaboratorList: ({ items, handleAvatarClick, handleMoreAvatarsClick, testId, }: CollaboratorListProps) => jsx.JSX.Element | null;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
/**
|
|
3
|
-
* @jsxRuntime classic
|
|
4
|
-
* @jsx jsx
|
|
5
|
-
*/
|
|
6
|
-
import { jsx } from '@emotion/react';
|
|
7
|
-
export interface ContentProps {
|
|
8
|
-
children: React.ReactNode;
|
|
9
|
-
isCompact?: boolean;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Class name for selecting non-flexible block card content
|
|
13
|
-
*
|
|
14
|
-
* @deprecated {@link https://hello.jira.atlassian.cloud/browse/ENGHEALTH-6878 Internal documentation for deprecation (no external access)}
|
|
15
|
-
* Using this selctor is deprecated as once the flexible block card feature flag is removed, this class will no longer be used.
|
|
16
|
-
*/
|
|
17
|
-
export declare const blockCardContentClassName = "block-card-content";
|
|
18
|
-
export declare const Content: ({ children, isCompact }: ContentProps) => jsx.JSX.Element;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
/**
|
|
3
|
-
* @jsxRuntime classic
|
|
4
|
-
* @jsx jsx
|
|
5
|
-
*/
|
|
6
|
-
import { jsx } from '@emotion/react';
|
|
7
|
-
export interface ContentFooterProps {
|
|
8
|
-
children: React.ReactNode;
|
|
9
|
-
hasSpaceBetween?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare const contentFooterClassName = "smart-link-content-footer";
|
|
12
|
-
export declare const ContentFooter: ({ children, hasSpaceBetween }: ContentFooterProps) => jsx.JSX.Element;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
/**
|
|
3
|
-
* @jsxRuntime classic
|
|
4
|
-
* @jsx jsx
|
|
5
|
-
*/
|
|
6
|
-
import { jsx } from '@emotion/react';
|
|
7
|
-
export interface ContentHeaderProps {
|
|
8
|
-
onClick: React.MouseEventHandler;
|
|
9
|
-
link: string;
|
|
10
|
-
children: React.ReactNode;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Class name for selecting non-flexible block card header
|
|
14
|
-
*
|
|
15
|
-
* @deprecated {@link https://hello.jira.atlassian.cloud/browse/ENGHEALTH-6878 Internal documentation for deprecation (no external access)}
|
|
16
|
-
* Using this selctor is deprecated as once the flexible block card feature flag is removed, this class will no longer be used.
|
|
17
|
-
*/
|
|
18
|
-
export declare const blockCardContentHeaderClassName = "block-card-content-header";
|
|
19
|
-
export declare const ContentHeader: ({ onClick, link, children }: ContentHeaderProps) => jsx.JSX.Element;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import { jsx } from '@emotion/react';
|
|
6
|
-
export interface LinkProps {
|
|
7
|
-
url: string;
|
|
8
|
-
testId?: string;
|
|
9
|
-
className?: string;
|
|
10
|
-
}
|
|
11
|
-
export declare const Link: ({ url, testId, className }: LinkProps) => jsx.JSX.Element;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
/**
|
|
3
|
-
* @jsxRuntime classic
|
|
4
|
-
* @jsx jsx
|
|
5
|
-
*/
|
|
6
|
-
import { jsx } from '@emotion/react';
|
|
7
|
-
export interface NameProps {
|
|
8
|
-
name: React.ReactNode;
|
|
9
|
-
isLeftPadded?: boolean;
|
|
10
|
-
testId?: string;
|
|
11
|
-
children?: React.ReactNode;
|
|
12
|
-
textColor?: string;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Class name for selecting non-flexible block card header name
|
|
16
|
-
*
|
|
17
|
-
* @deprecated {@link https://hello.jira.atlassian.cloud/browse/ENGHEALTH-6878 Internal documentation for deprecation (no external access)}
|
|
18
|
-
* Using this selctor is deprecated as once the flexible block card feature flag is removed, this class will no longer be used.
|
|
19
|
-
*/
|
|
20
|
-
export declare const blockCardContentHeaderNameClassName = "block-card-content-header-name";
|
|
21
|
-
export declare const Name: ({ name, isLeftPadded, testId, textColor }: NameProps) => jsx.JSX.Element;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
/**
|
|
3
|
-
* @jsxRuntime classic
|
|
4
|
-
* @jsx jsx
|
|
5
|
-
*/
|
|
6
|
-
import { jsx } from '@emotion/react';
|
|
7
|
-
export interface ProviderProps {
|
|
8
|
-
name: string;
|
|
9
|
-
icon?: React.ReactNode;
|
|
10
|
-
}
|
|
11
|
-
export declare const Provider: ({ name, icon }: ProviderProps) => jsx.JSX.Element;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import { jsx } from '@emotion/react';
|
|
6
|
-
export interface ImageProps {
|
|
7
|
-
src: string;
|
|
8
|
-
color?: string;
|
|
9
|
-
testId?: string;
|
|
10
|
-
}
|
|
11
|
-
export declare const Thumbnail: (props: ImageProps) => jsx.JSX.Element;
|
|
12
|
-
export declare const ThumbnailDefault: ({ src, testId }: ImageProps) => jsx.JSX.Element;
|
|
13
|
-
export declare const ThumbnailWithBackground: ({ src, color, testId }: ImageProps) => jsx.JSX.Element;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
/**
|
|
3
|
-
* @jsxRuntime classic
|
|
4
|
-
* @jsx jsx
|
|
5
|
-
*/
|
|
6
|
-
import { jsx } from '@emotion/react';
|
|
7
|
-
export interface UnresolvedTextProps {
|
|
8
|
-
icon: React.ReactNode;
|
|
9
|
-
text: React.ReactNode;
|
|
10
|
-
}
|
|
11
|
-
export declare const UnresolvedText: ({ icon, text }: UnresolvedTextProps) => jsx.JSX.Element;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { jsx } from '@emotion/react';
|
|
3
|
-
export interface ErroredViewProps {
|
|
4
|
-
link?: string;
|
|
5
|
-
onClick?: React.EventHandler<React.MouseEvent | React.KeyboardEvent>;
|
|
6
|
-
isSelected?: boolean;
|
|
7
|
-
onRetry?: () => void;
|
|
8
|
-
message?: string;
|
|
9
|
-
testId?: string;
|
|
10
|
-
inheritDimensions?: boolean;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Class name for selecting non-flexible errored block card
|
|
14
|
-
*
|
|
15
|
-
* @deprecated {@link https://hello.jira.atlassian.cloud/browse/ENGHEALTH-6878 Internal documentation for deprecation (no external access)}
|
|
16
|
-
* Using this selctor is deprecated as once the flexible block card feature flag is removed, this class will no longer be used.
|
|
17
|
-
*/
|
|
18
|
-
export declare const blockCardErroredViewClassName = "block-card-errored-view";
|
|
19
|
-
export declare const ErroredView: ({ isSelected, testId, link, onClick, onRetry, inheritDimensions, }: ErroredViewProps) => jsx.JSX.Element;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { jsx } from '@emotion/react';
|
|
3
|
-
import type { CardActionOptions } from '../../Card/types';
|
|
4
|
-
import { type IconProps } from '../../common/Icon';
|
|
5
|
-
import { type RequestAccessContextProps } from '../../types';
|
|
6
|
-
import { type ActionProps } from '../components/Action';
|
|
7
|
-
export interface PermissionDeniedProps {
|
|
8
|
-
actions?: Array<ActionProps>;
|
|
9
|
-
context?: {
|
|
10
|
-
icon?: React.ReactNode;
|
|
11
|
-
text: string;
|
|
12
|
-
};
|
|
13
|
-
icon: IconProps;
|
|
14
|
-
link?: string;
|
|
15
|
-
onClick?: React.EventHandler<React.MouseEvent | React.KeyboardEvent>;
|
|
16
|
-
isSelected?: boolean;
|
|
17
|
-
testId?: string;
|
|
18
|
-
actionOptions?: CardActionOptions;
|
|
19
|
-
requestAccessContext?: RequestAccessContextProps;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Class name for selecting non-flexible forbidden block card
|
|
23
|
-
*
|
|
24
|
-
* @deprecated {@link https://hello.jira.atlassian.cloud/browse/ENGHEALTH-6878 Internal documentation for deprecation (no external access)}
|
|
25
|
-
* Using this selctor is deprecated as once the flexible block card feature flag is removed, this class will no longer be used.
|
|
26
|
-
*/
|
|
27
|
-
export declare const blockCardForbiddenViewClassName = "block-card-forbidden-view";
|
|
28
|
-
/**
|
|
29
|
-
* Class name for selecting link inside non-flexible forbidden block card
|
|
30
|
-
*
|
|
31
|
-
* @deprecated {@link https://hello.jira.atlassian.cloud/browse/ENGHEALTH-6878 Internal documentation for deprecation (no external access)}
|
|
32
|
-
* Using this selctor is deprecated as once the flexible block card feature flag is removed, this class will no longer be used.
|
|
33
|
-
*/
|
|
34
|
-
export declare const blockCardForbiddenViewLinkClassName = "block-card-forbidden-view-link";
|
|
35
|
-
export declare const ForbiddenView: ({ context, isSelected, actions, testId, link, onClick, requestAccessContext, actionOptions, }: PermissionDeniedProps) => jsx.JSX.Element;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import { jsx } from '@emotion/react';
|
|
7
|
-
import { type IconProps } from '../../common/Icon';
|
|
8
|
-
export interface NotFoundProps {
|
|
9
|
-
context?: {
|
|
10
|
-
icon?: React.ReactNode;
|
|
11
|
-
text: string;
|
|
12
|
-
};
|
|
13
|
-
link?: string;
|
|
14
|
-
onClick?: React.EventHandler<React.MouseEvent | React.KeyboardEvent>;
|
|
15
|
-
isSelected?: boolean;
|
|
16
|
-
icon: IconProps;
|
|
17
|
-
testId?: string;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Class name for selecting non-flexible not-found block card
|
|
21
|
-
*
|
|
22
|
-
* @deprecated {@link https://hello.jira.atlassian.cloud/browse/ENGHEALTH-6878 Internal documentation for deprecation (no external access)}
|
|
23
|
-
* Using this selctor is deprecated as once the flexible block card feature flag is removed, this class will no longer be used.
|
|
24
|
-
*/
|
|
25
|
-
export declare const blockCardNotFoundViewClassName = "block-card-not-found-view";
|
|
26
|
-
export declare const NotFoundView: ({ context, isSelected, testId, link, onClick, }: NotFoundProps) => jsx.JSX.Element;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { jsx } from '@emotion/react';
|
|
3
|
-
import { type AvatarClickEventHandler } from '@atlaskit/avatar';
|
|
4
|
-
import { type LozengeProps } from '../../../types';
|
|
5
|
-
import { type IconProps } from '../../common/Icon';
|
|
6
|
-
import { type MetadataProps } from '../../common/Metadata';
|
|
7
|
-
import { type ContextViewModel } from '../../types';
|
|
8
|
-
import { type ActionProps } from '../components/Action';
|
|
9
|
-
import { type Collaborator } from '../components/CollaboratorList';
|
|
10
|
-
export interface ResolvedViewProps {
|
|
11
|
-
context?: ContextViewModel;
|
|
12
|
-
link?: string;
|
|
13
|
-
icon: IconProps;
|
|
14
|
-
details?: Array<MetadataProps>;
|
|
15
|
-
byline?: React.ReactNode;
|
|
16
|
-
lozenge?: LozengeProps;
|
|
17
|
-
thumbnail?: string;
|
|
18
|
-
title?: string;
|
|
19
|
-
titleTextColor?: string;
|
|
20
|
-
users?: Collaborator[];
|
|
21
|
-
actions?: Array<ActionProps>;
|
|
22
|
-
handleAvatarClick?: AvatarClickEventHandler;
|
|
23
|
-
handleMoreAvatarsClick?: React.MouseEventHandler;
|
|
24
|
-
onClick?: React.EventHandler<React.MouseEvent | React.KeyboardEvent>;
|
|
25
|
-
isSelected?: boolean;
|
|
26
|
-
testId?: string;
|
|
27
|
-
titlePrefix?: React.ReactNode;
|
|
28
|
-
isTrusted?: boolean;
|
|
29
|
-
/** It determines whether a link source supports different design theme modes */
|
|
30
|
-
isSupportTheming?: boolean;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Class name for selecting non-flexible resolved block card
|
|
34
|
-
*
|
|
35
|
-
* @deprecated {@link https://hello.jira.atlassian.cloud/browse/ENGHEALTH-6878 Internal documentation for deprecation (no external access)}
|
|
36
|
-
* Using this selctor is deprecated as once the flexible block card feature flag is removed, this class will no longer be used.
|
|
37
|
-
*/
|
|
38
|
-
export declare const blockCardResolvedViewClassName = "block-card-resolved-view";
|
|
39
|
-
/**
|
|
40
|
-
* Class name for selecting non-flexible resolved byline
|
|
41
|
-
*
|
|
42
|
-
* @deprecated {@link https://hello.jira.atlassian.cloud/browse/ENGHEALTH-6878 Internal documentation for deprecation (no external access)}
|
|
43
|
-
* Using this selctor is deprecated as once the flexible block card feature flag is removed, this class will no longer be used.
|
|
44
|
-
*/
|
|
45
|
-
export declare const blockCardResolvedViewByClassName = "block-card-resolved-view-by";
|
|
46
|
-
export declare const ResolvedView: ({ icon, actions, thumbnail, context, title, titleTextColor, titlePrefix, isSelected, users, handleAvatarClick, handleMoreAvatarsClick, onClick, link, byline, lozenge, details, testId, }: ResolvedViewProps) => jsx.JSX.Element;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import { jsx } from '@emotion/react';
|
|
6
|
-
export interface ResolvingProps {
|
|
7
|
-
isSelected?: boolean;
|
|
8
|
-
testId?: string;
|
|
9
|
-
inheritDimensions?: boolean;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Class name for selecting non-flexible resolving block card
|
|
13
|
-
*
|
|
14
|
-
* @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-6878 Internal documentation for deprecation (no external access)}
|
|
15
|
-
* Using this selctor is deprecated as once the flexible block card feature flag is removed, this class will no longer be used.
|
|
16
|
-
*/
|
|
17
|
-
export declare const blockCardResolvingViewClassName = "block-card-resolving-view";
|
|
18
|
-
export declare const ResolvingView: ({ isSelected, testId, inheritDimensions, }: ResolvingProps) => jsx.JSX.Element;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { jsx } from '@emotion/react';
|
|
3
|
-
import type { CardActionOptions } from '../../Card/types';
|
|
4
|
-
import { type IconProps } from '../../common/Icon';
|
|
5
|
-
import { type ActionProps } from '../components/Action';
|
|
6
|
-
export interface UnauthorizedViewProps {
|
|
7
|
-
actions: ActionProps[];
|
|
8
|
-
context?: {
|
|
9
|
-
icon?: React.ReactNode;
|
|
10
|
-
text: string;
|
|
11
|
-
};
|
|
12
|
-
isSelected?: boolean;
|
|
13
|
-
testId?: string;
|
|
14
|
-
actionOptions?: CardActionOptions;
|
|
15
|
-
icon: IconProps;
|
|
16
|
-
link?: string;
|
|
17
|
-
onClick?: React.EventHandler<React.MouseEvent | React.KeyboardEvent>;
|
|
18
|
-
}
|
|
19
|
-
export declare const UnauthorizedView: ({ context, isSelected, actions, testId, actionOptions, link, onClick, }: UnauthorizedViewProps) => jsx.JSX.Element;
|