@atlaskit/smart-card 34.7.0 → 34.9.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 +27 -0
- package/dist/cjs/constants.js +1 -0
- package/dist/cjs/extractors/common/icon/extractIconFromDocument.js +26 -4
- package/dist/cjs/extractors/flexible/icon/extract-document-type-icon.js +28 -5
- package/dist/cjs/extractors/flexible/icon/extract-jsonld-data-icon.js +1 -1
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/utils/flexible.js +9 -9
- package/dist/cjs/utils/index.js +33 -22
- package/dist/cjs/view/BlockCard/views/styledOld.js +1 -0
- package/dist/cjs/view/EmbedCard/components/styled.compiled.css +4 -1
- package/dist/cjs/view/EmbedCard/components/styled.js +1 -1
- package/dist/cjs/view/EmbedCard/views/unresolved-view/index.compiled.css +4 -1
- package/dist/cjs/view/EmbedCard/views/unresolved-view/index.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/actions/action/action-stack-item/action-button.compiled.css +10 -0
- package/dist/cjs/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +37 -37
- package/dist/cjs/view/FlexibleCard/components/actions/action/action-stack-item/action-buttonOld.js +73 -0
- package/dist/cjs/view/FlexibleCard/components/actions/action/index.js +3 -3
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/AutomationActionOld.js +100 -0
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/AutomationModalEmptyStateOld.js +93 -0
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/main.compiled.css +9 -0
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/main.js +33 -29
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/error-state/AutomationModalErrorStateOld.js +50 -0
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/error-state/main.compiled.css +8 -0
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/error-state/main.js +28 -23
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/execution-state-message/AutomationModalExecutionStateOld.js +43 -0
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/execution-state-message/main.compiled.css +3 -0
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/execution-state-message/main.js +24 -13
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/AutomationModalHeaderOld.js +58 -0
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.compiled.css +5 -0
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.js +31 -20
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule/AutomationModalRuleOld.js +69 -0
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule/main.compiled.css +7 -0
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule/main.js +29 -26
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule-list/AutomationModalRuleListOld.js +32 -0
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule-list/main.js +11 -3
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/index.js +11 -3
- package/dist/cjs/view/FlexibleCard/components/blocks/action-block/action-footer/ActionFooterOld.js +72 -0
- package/dist/cjs/view/FlexibleCard/components/blocks/action-block/action-footer/index.compiled.css +15 -0
- package/dist/cjs/view/FlexibleCard/components/blocks/action-block/action-footer/index.js +32 -36
- package/dist/cjs/view/FlexibleCard/components/blocks/action-block/index.js +23 -8
- package/dist/cjs/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.js +12 -4
- package/dist/cjs/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadataOld.js +46 -0
- package/dist/cjs/view/FlexibleCard/components/blocks/title-block/errored/index.js +2 -2
- package/dist/cjs/view/FlexibleCard/components/common/atlaskit-icon/index.js +25 -16
- package/dist/cjs/view/FlexibleCard/components/common/motion-wrapper/index.js +2 -2
- package/dist/cjs/view/FlexibleCard/components/elements/icon/index.compiled.css +3 -0
- package/dist/cjs/view/FlexibleCard/components/elements/icon/index.js +14 -19
- package/dist/cjs/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-trigger/index.compiled.css +1 -0
- package/dist/cjs/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-trigger/index.js +6 -7
- package/dist/cjs/view/FlexibleCard/components/elements/lozenge/lozenge-action/styled.js +1 -0
- package/dist/cjs/view/FlexibleCard/components/utils.js +1 -0
- package/dist/cjs/view/InlineCard/ErroredView/InlineCardErroredViewOld.js +118 -0
- package/dist/cjs/view/InlineCard/ErroredView/index.compiled.css +1 -0
- package/dist/cjs/view/InlineCard/ErroredView/index.js +76 -95
- package/dist/cjs/view/InlineCard/ForbiddenView/InlineCardForbiddenViewOld.js +207 -0
- package/dist/cjs/view/InlineCard/ForbiddenView/index.compiled.css +6 -0
- package/dist/cjs/view/InlineCard/ForbiddenView/index.js +126 -176
- package/dist/cjs/view/InlineCard/IconAndTitleLayout/IconAndTitleLayoutOld.compiled.css +1 -0
- package/dist/cjs/view/InlineCard/IconAndTitleLayout/IconAndTitleLayoutOld.js +226 -0
- package/dist/cjs/view/InlineCard/IconAndTitleLayout/index.compiled.css +29 -0
- package/dist/cjs/view/InlineCard/IconAndTitleLayout/index.js +231 -286
- package/dist/cjs/view/InlineCard/IconAndTitleLayout/styled-emotion.js +12 -2
- package/dist/cjs/view/InlineCard/ResolvedView/index.js +1 -4
- package/dist/cjs/view/InlineCard/ResolvingView/InlineCardResolvingViewOld.js +92 -0
- package/dist/cjs/view/InlineCard/ResolvingView/index.js +48 -78
- package/dist/cjs/view/InlineCard/UnauthorisedView/InlineCardUnauthorizedViewOld.js +142 -0
- package/dist/cjs/view/InlineCard/UnauthorisedView/index.compiled.css +1 -0
- package/dist/cjs/view/InlineCard/UnauthorisedView/index.js +42 -63
- package/dist/cjs/view/LinkUrl/LinkWarningModal/WarningModalOld.js +61 -0
- package/dist/cjs/view/LinkUrl/LinkWarningModal/index.compiled.css +2 -0
- package/dist/cjs/view/LinkUrl/LinkWarningModal/index.js +25 -20
- package/dist/cjs/view/LinkUrl/LinkWarningModal/styled.js +3 -0
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/cjs/view/RelatedLinksModal/components/EmptyState.compiled.css +12 -0
- package/dist/cjs/view/RelatedLinksModal/components/EmptyState.js +27 -25
- package/dist/cjs/view/RelatedLinksModal/components/EmptyStateOld.js +41 -0
- package/dist/cjs/view/RelatedLinksModal/components/RelatedLinksBaseModal.compiled.css +1 -0
- package/dist/cjs/view/RelatedLinksModal/components/RelatedLinksBaseModal.js +15 -11
- package/dist/cjs/view/RelatedLinksModal/components/related-link-item/index.compiled.css +5 -1
- package/dist/cjs/view/RelatedLinksModal/components/related-link-item/index.js +4 -12
- package/dist/cjs/view/RelatedLinksModal/components/related-links-list/index.compiled.css +4 -0
- package/dist/cjs/view/RelatedLinksModal/components/related-links-list/index.js +23 -23
- package/dist/cjs/view/RelatedLinksModal/views/resolved/index.js +2 -2
- package/dist/cjs/view/RelatedLinksModal/views/resolving/RelatedLinksResolvingViewOld.js +27 -0
- package/dist/cjs/view/RelatedLinksModal/views/resolving/index.compiled.css +5 -0
- package/dist/cjs/view/RelatedLinksModal/views/resolving/index.js +24 -14
- package/dist/cjs/view/common/Icon.compiled.css +6 -0
- package/dist/cjs/view/common/Icon.js +22 -46
- package/dist/cjs/view/common/IconOld.js +85 -0
- package/dist/cjs/view/common/ai-prism/AIPrismOld.js +58 -0
- package/dist/cjs/view/common/ai-prism/ai-glowing-border/AIGlowingBorderOld.js +61 -0
- package/dist/cjs/view/common/ai-prism/ai-glowing-border/animated-svg-container.compiled.css +13 -0
- package/dist/cjs/view/common/ai-prism/ai-glowing-border/animated-svg-container.js +67 -74
- package/dist/cjs/view/common/ai-prism/ai-glowing-border/animated-svg-containerOld.js +253 -0
- package/dist/cjs/view/common/ai-prism/ai-glowing-border/index.compiled.css +10 -0
- package/dist/cjs/view/common/ai-prism/ai-glowing-border/index.js +32 -34
- package/dist/cjs/view/common/ai-prism/constants.js +6 -0
- package/dist/cjs/view/common/ai-prism/index.compiled.css +8 -0
- package/dist/cjs/view/common/ai-prism/index.js +28 -31
- package/dist/cjs/view/common/ai-summary/AISummaryOld.js +65 -0
- package/dist/cjs/view/common/ai-summary/index.compiled.css +8 -0
- package/dist/cjs/view/common/ai-summary/index.js +25 -20
- package/dist/cjs/view/common/ai-summary/ulist.compiled.css +2 -0
- package/dist/cjs/view/common/ai-summary/ulist.js +16 -14
- package/dist/cjs/view/common/ai-summary/ulistOld.js +29 -0
- package/dist/cjs/view/common/stop-propagation/StopPropagationOld.js +37 -0
- package/dist/cjs/view/common/stop-propagation/index.compiled.css +3 -0
- package/dist/cjs/view/common/stop-propagation/index.js +17 -21
- package/dist/cjs/view/common/utils.js +9 -0
- package/dist/es2019/constants.js +1 -0
- package/dist/es2019/extractors/common/icon/extractIconFromDocument.js +26 -4
- package/dist/es2019/extractors/flexible/icon/extract-document-type-icon.js +28 -5
- package/dist/es2019/extractors/flexible/icon/extract-jsonld-data-icon.js +1 -1
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/utils/index.js +8 -0
- package/dist/es2019/view/BlockCard/views/styledOld.js +1 -0
- package/dist/es2019/view/EmbedCard/components/styled.compiled.css +4 -1
- package/dist/es2019/view/EmbedCard/components/styled.js +1 -1
- package/dist/es2019/view/EmbedCard/views/unresolved-view/index.compiled.css +4 -1
- package/dist/es2019/view/EmbedCard/views/unresolved-view/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/actions/action/action-stack-item/action-button.compiled.css +10 -0
- package/dist/es2019/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +35 -35
- package/dist/es2019/view/FlexibleCard/components/actions/action/action-stack-item/action-buttonOld.js +64 -0
- package/dist/es2019/view/FlexibleCard/components/actions/action/index.js +3 -3
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/AutomationActionOld.js +87 -0
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/AutomationModalEmptyStateOld.js +89 -0
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/main.compiled.css +9 -0
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/main.js +22 -21
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/error-state/AutomationModalErrorStateOld.js +44 -0
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/error-state/main.compiled.css +8 -0
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/error-state/main.js +22 -20
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/execution-state-message/AutomationModalExecutionStateOld.js +37 -0
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/execution-state-message/main.compiled.css +3 -0
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/execution-state-message/main.js +18 -10
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/AutomationModalHeaderOld.js +55 -0
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.compiled.css +5 -0
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.js +23 -15
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule/AutomationModalRuleOld.js +65 -0
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule/main.compiled.css +7 -0
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule/main.js +22 -22
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule-list/AutomationModalRuleListOld.js +25 -0
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule-list/main.js +10 -2
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/index.js +10 -2
- package/dist/es2019/view/FlexibleCard/components/blocks/action-block/action-footer/ActionFooterOld.js +66 -0
- package/dist/es2019/view/FlexibleCard/components/blocks/action-block/action-footer/index.compiled.css +15 -0
- package/dist/es2019/view/FlexibleCard/components/blocks/action-block/action-footer/index.js +25 -32
- package/dist/es2019/view/FlexibleCard/components/blocks/action-block/index.js +21 -6
- package/dist/es2019/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.js +10 -2
- package/dist/es2019/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadataOld.js +41 -0
- package/dist/es2019/view/FlexibleCard/components/blocks/title-block/errored/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/common/atlaskit-icon/index.js +6 -0
- package/dist/es2019/view/FlexibleCard/components/common/motion-wrapper/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/elements/icon/index.compiled.css +3 -0
- package/dist/es2019/view/FlexibleCard/components/elements/icon/index.js +7 -12
- package/dist/es2019/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-trigger/index.compiled.css +1 -0
- package/dist/es2019/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-trigger/index.js +5 -6
- package/dist/es2019/view/FlexibleCard/components/elements/lozenge/lozenge-action/styled.js +1 -0
- package/dist/es2019/view/FlexibleCard/components/utils.js +1 -0
- package/dist/es2019/view/InlineCard/ErroredView/InlineCardErroredViewOld.js +98 -0
- package/dist/es2019/view/InlineCard/ErroredView/index.compiled.css +1 -0
- package/dist/es2019/view/InlineCard/ErroredView/index.js +76 -82
- package/dist/es2019/view/InlineCard/ForbiddenView/InlineCardForbiddenViewOld.js +189 -0
- package/dist/es2019/view/InlineCard/ForbiddenView/index.compiled.css +6 -0
- package/dist/es2019/view/InlineCard/ForbiddenView/index.js +123 -165
- package/dist/es2019/view/InlineCard/IconAndTitleLayout/IconAndTitleLayoutOld.compiled.css +1 -0
- package/dist/es2019/view/InlineCard/IconAndTitleLayout/IconAndTitleLayoutOld.js +203 -0
- package/dist/es2019/view/InlineCard/IconAndTitleLayout/index.compiled.css +29 -0
- package/dist/es2019/view/InlineCard/IconAndTitleLayout/index.js +178 -220
- package/dist/es2019/view/InlineCard/IconAndTitleLayout/styled-emotion.js +11 -1
- package/dist/es2019/view/InlineCard/ResolvedView/index.js +1 -4
- package/dist/es2019/view/InlineCard/ResolvingView/InlineCardResolvingViewOld.js +70 -0
- package/dist/es2019/view/InlineCard/ResolvingView/index.js +47 -64
- package/dist/es2019/view/InlineCard/UnauthorisedView/InlineCardUnauthorizedViewOld.js +135 -0
- package/dist/es2019/view/InlineCard/UnauthorisedView/index.compiled.css +1 -0
- package/dist/es2019/view/InlineCard/UnauthorisedView/index.js +42 -63
- package/dist/es2019/view/LinkUrl/LinkWarningModal/WarningModalOld.js +50 -0
- package/dist/es2019/view/LinkUrl/LinkWarningModal/index.compiled.css +2 -0
- package/dist/es2019/view/LinkUrl/LinkWarningModal/index.js +25 -19
- package/dist/es2019/view/LinkUrl/LinkWarningModal/styled.js +3 -0
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/es2019/view/RelatedLinksModal/components/EmptyState.compiled.css +12 -0
- package/dist/es2019/view/RelatedLinksModal/components/EmptyState.js +20 -21
- package/dist/es2019/view/RelatedLinksModal/components/EmptyStateOld.js +35 -0
- package/dist/es2019/view/RelatedLinksModal/components/RelatedLinksBaseModal.compiled.css +1 -0
- package/dist/es2019/view/RelatedLinksModal/components/RelatedLinksBaseModal.js +10 -6
- package/dist/es2019/view/RelatedLinksModal/components/related-link-item/index.compiled.css +5 -1
- package/dist/es2019/view/RelatedLinksModal/components/related-link-item/index.js +4 -12
- package/dist/es2019/view/RelatedLinksModal/components/related-links-list/index.compiled.css +4 -0
- package/dist/es2019/view/RelatedLinksModal/components/related-links-list/index.js +12 -15
- package/dist/es2019/view/RelatedLinksModal/views/resolved/index.js +1 -1
- package/dist/es2019/view/RelatedLinksModal/views/resolving/RelatedLinksResolvingViewOld.js +18 -0
- package/dist/es2019/view/RelatedLinksModal/views/resolving/index.compiled.css +5 -0
- package/dist/es2019/view/RelatedLinksModal/views/resolving/index.js +19 -12
- package/dist/es2019/view/common/Icon.compiled.css +6 -0
- package/dist/es2019/view/common/Icon.js +21 -44
- package/dist/es2019/view/common/IconOld.js +76 -0
- package/dist/es2019/view/common/ai-prism/AIPrismOld.js +49 -0
- package/dist/es2019/view/common/ai-prism/ai-glowing-border/AIGlowingBorderOld.js +51 -0
- package/dist/es2019/view/common/ai-prism/ai-glowing-border/animated-svg-container.compiled.css +13 -0
- package/dist/es2019/view/common/ai-prism/ai-glowing-border/animated-svg-container.js +57 -71
- package/dist/es2019/view/common/ai-prism/ai-glowing-border/animated-svg-containerOld.js +243 -0
- package/dist/es2019/view/common/ai-prism/ai-glowing-border/index.compiled.css +10 -0
- package/dist/es2019/view/common/ai-prism/ai-glowing-border/index.js +28 -32
- package/dist/es2019/view/common/ai-prism/constants.js +6 -0
- package/dist/es2019/view/common/ai-prism/index.compiled.css +8 -0
- package/dist/es2019/view/common/ai-prism/index.js +25 -30
- package/dist/es2019/view/common/ai-summary/AISummaryOld.js +55 -0
- package/dist/es2019/view/common/ai-summary/index.compiled.css +8 -0
- package/dist/es2019/view/common/ai-summary/index.js +24 -21
- package/dist/es2019/view/common/ai-summary/ulist.compiled.css +2 -0
- package/dist/es2019/view/common/ai-summary/ulist.js +16 -15
- package/dist/es2019/view/common/ai-summary/ulistOld.js +20 -0
- package/dist/es2019/view/common/stop-propagation/StopPropagationOld.js +28 -0
- package/dist/es2019/view/common/stop-propagation/index.compiled.css +3 -0
- package/dist/es2019/view/common/stop-propagation/index.js +17 -20
- package/dist/es2019/view/common/utils.js +9 -0
- package/dist/esm/constants.js +1 -0
- package/dist/esm/extractors/common/icon/extractIconFromDocument.js +26 -4
- package/dist/esm/extractors/flexible/icon/extract-document-type-icon.js +28 -5
- package/dist/esm/extractors/flexible/icon/extract-jsonld-data-icon.js +1 -1
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/utils/flexible.js +13 -9
- package/dist/esm/utils/index.js +32 -22
- package/dist/esm/view/BlockCard/views/styledOld.js +1 -0
- package/dist/esm/view/EmbedCard/components/styled.compiled.css +4 -1
- package/dist/esm/view/EmbedCard/components/styled.js +1 -1
- package/dist/esm/view/EmbedCard/views/unresolved-view/index.compiled.css +4 -1
- package/dist/esm/view/EmbedCard/views/unresolved-view/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/actions/action/action-stack-item/action-button.compiled.css +10 -0
- package/dist/esm/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +35 -35
- package/dist/esm/view/FlexibleCard/components/actions/action/action-stack-item/action-buttonOld.js +63 -0
- package/dist/esm/view/FlexibleCard/components/actions/action/index.js +3 -3
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/AutomationActionOld.js +88 -0
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/AutomationModalEmptyStateOld.js +86 -0
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/main.compiled.css +9 -0
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/main.js +22 -21
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/error-state/AutomationModalErrorStateOld.js +43 -0
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/error-state/main.compiled.css +8 -0
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/error-state/main.js +22 -20
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/execution-state-message/AutomationModalExecutionStateOld.js +36 -0
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/execution-state-message/main.compiled.css +3 -0
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/execution-state-message/main.js +18 -10
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/AutomationModalHeaderOld.js +51 -0
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.compiled.css +5 -0
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.js +23 -15
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule/AutomationModalRuleOld.js +62 -0
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule/main.compiled.css +7 -0
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule/main.js +22 -22
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule-list/AutomationModalRuleListOld.js +25 -0
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule-list/main.js +10 -2
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/index.js +10 -2
- package/dist/esm/view/FlexibleCard/components/blocks/action-block/action-footer/ActionFooterOld.js +65 -0
- package/dist/esm/view/FlexibleCard/components/blocks/action-block/action-footer/index.compiled.css +15 -0
- package/dist/esm/view/FlexibleCard/components/blocks/action-block/action-footer/index.js +25 -32
- package/dist/esm/view/FlexibleCard/components/blocks/action-block/index.js +21 -6
- package/dist/esm/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.js +10 -2
- package/dist/esm/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadataOld.js +39 -0
- package/dist/esm/view/FlexibleCard/components/blocks/title-block/errored/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/common/atlaskit-icon/index.js +23 -16
- package/dist/esm/view/FlexibleCard/components/common/motion-wrapper/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/elements/icon/index.compiled.css +3 -0
- package/dist/esm/view/FlexibleCard/components/elements/icon/index.js +7 -12
- package/dist/esm/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-trigger/index.compiled.css +1 -0
- package/dist/esm/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-trigger/index.js +5 -6
- package/dist/esm/view/FlexibleCard/components/elements/lozenge/lozenge-action/styled.js +1 -0
- package/dist/esm/view/FlexibleCard/components/utils.js +1 -0
- package/dist/esm/view/InlineCard/ErroredView/InlineCardErroredViewOld.js +111 -0
- package/dist/esm/view/InlineCard/ErroredView/index.compiled.css +1 -0
- package/dist/esm/view/InlineCard/ErroredView/index.js +76 -95
- package/dist/esm/view/InlineCard/ForbiddenView/InlineCardForbiddenViewOld.js +200 -0
- package/dist/esm/view/InlineCard/ForbiddenView/index.compiled.css +6 -0
- package/dist/esm/view/InlineCard/ForbiddenView/index.js +126 -176
- package/dist/esm/view/InlineCard/IconAndTitleLayout/IconAndTitleLayoutOld.compiled.css +1 -0
- package/dist/esm/view/InlineCard/IconAndTitleLayout/IconAndTitleLayoutOld.js +219 -0
- package/dist/esm/view/InlineCard/IconAndTitleLayout/index.compiled.css +29 -0
- package/dist/esm/view/InlineCard/IconAndTitleLayout/index.js +231 -286
- package/dist/esm/view/InlineCard/IconAndTitleLayout/styled-emotion.js +11 -1
- package/dist/esm/view/InlineCard/ResolvedView/index.js +1 -4
- package/dist/esm/view/InlineCard/ResolvingView/InlineCardResolvingViewOld.js +85 -0
- package/dist/esm/view/InlineCard/ResolvingView/index.js +49 -79
- package/dist/esm/view/InlineCard/UnauthorisedView/InlineCardUnauthorizedViewOld.js +135 -0
- package/dist/esm/view/InlineCard/UnauthorisedView/index.compiled.css +1 -0
- package/dist/esm/view/InlineCard/UnauthorisedView/index.js +42 -63
- package/dist/esm/view/LinkUrl/LinkWarningModal/WarningModalOld.js +50 -0
- package/dist/esm/view/LinkUrl/LinkWarningModal/index.compiled.css +2 -0
- package/dist/esm/view/LinkUrl/LinkWarningModal/index.js +25 -19
- package/dist/esm/view/LinkUrl/LinkWarningModal/styled.js +3 -0
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/esm/view/RelatedLinksModal/components/EmptyState.compiled.css +12 -0
- package/dist/esm/view/RelatedLinksModal/components/EmptyState.js +20 -21
- package/dist/esm/view/RelatedLinksModal/components/EmptyStateOld.js +34 -0
- package/dist/esm/view/RelatedLinksModal/components/RelatedLinksBaseModal.compiled.css +1 -0
- package/dist/esm/view/RelatedLinksModal/components/RelatedLinksBaseModal.js +10 -6
- package/dist/esm/view/RelatedLinksModal/components/related-link-item/index.compiled.css +5 -1
- package/dist/esm/view/RelatedLinksModal/components/related-link-item/index.js +4 -12
- package/dist/esm/view/RelatedLinksModal/components/related-links-list/index.compiled.css +4 -0
- package/dist/esm/view/RelatedLinksModal/components/related-links-list/index.js +12 -15
- package/dist/esm/view/RelatedLinksModal/views/resolved/index.js +1 -1
- package/dist/esm/view/RelatedLinksModal/views/resolving/RelatedLinksResolvingViewOld.js +20 -0
- package/dist/esm/view/RelatedLinksModal/views/resolving/index.compiled.css +5 -0
- package/dist/esm/view/RelatedLinksModal/views/resolving/index.js +19 -12
- package/dist/esm/view/common/Icon.compiled.css +6 -0
- package/dist/esm/view/common/Icon.js +21 -44
- package/dist/esm/view/common/IconOld.js +77 -0
- package/dist/esm/view/common/ai-prism/AIPrismOld.js +50 -0
- package/dist/esm/view/common/ai-prism/ai-glowing-border/AIGlowingBorderOld.js +53 -0
- package/dist/esm/view/common/ai-prism/ai-glowing-border/animated-svg-container.compiled.css +13 -0
- package/dist/esm/view/common/ai-prism/ai-glowing-border/animated-svg-container.js +62 -72
- package/dist/esm/view/common/ai-prism/ai-glowing-border/animated-svg-containerOld.js +246 -0
- package/dist/esm/view/common/ai-prism/ai-glowing-border/index.compiled.css +10 -0
- package/dist/esm/view/common/ai-prism/ai-glowing-border/index.js +28 -32
- package/dist/esm/view/common/ai-prism/constants.js +6 -0
- package/dist/esm/view/common/ai-prism/index.compiled.css +8 -0
- package/dist/esm/view/common/ai-prism/index.js +25 -30
- package/dist/esm/view/common/ai-summary/AISummaryOld.js +57 -0
- package/dist/esm/view/common/ai-summary/index.compiled.css +8 -0
- package/dist/esm/view/common/ai-summary/index.js +24 -21
- package/dist/esm/view/common/ai-summary/ulist.compiled.css +2 -0
- package/dist/esm/view/common/ai-summary/ulist.js +16 -15
- package/dist/esm/view/common/ai-summary/ulistOld.js +23 -0
- package/dist/esm/view/common/stop-propagation/StopPropagationOld.js +27 -0
- package/dist/esm/view/common/stop-propagation/index.compiled.css +3 -0
- package/dist/esm/view/common/stop-propagation/index.js +17 -20
- package/dist/esm/view/common/utils.js +9 -0
- package/dist/types/common/ui/icons/utils.d.ts +1 -1
- package/dist/types/constants.d.ts +1 -0
- package/dist/types/extractors/common/icon/prioritiseIcon.d.ts +5 -0
- package/dist/types/extractors/flexible/icon/extract-document-type-icon.d.ts +16 -1
- package/dist/types/state/hooks/use-resolve/index.d.ts +1 -1
- package/dist/types/state/hooks/use-response/index.d.ts +1 -1
- package/dist/types/utils/analytics/click.d.ts +1 -1
- package/dist/types/view/Card/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/action/action-stack-item/action-button.d.ts +2 -7
- package/dist/types/view/FlexibleCard/components/actions/action/action-stack-item/action-buttonOld.d.ts +12 -0
- package/dist/types/view/FlexibleCard/components/actions/action/action-stack-item/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/action/types.d.ts +6 -1
- package/dist/types/view/FlexibleCard/components/actions/automation-action/AutomationActionOld.d.ts +4 -0
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/AutomationModalEmptyStateOld.d.ts +2 -0
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/error-state/AutomationModalErrorStateOld.d.ts +2 -0
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/execution-state-message/AutomationModalExecutionStateOld.d.ts +2 -0
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/execution-state-message/main.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/AutomationModalHeaderOld.d.ts +7 -0
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule/AutomationModalRuleOld.d.ts +9 -0
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule/main.d.ts +5 -1
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule-list/AutomationModalRuleListOld.d.ts +8 -0
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule-list/main.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/automation-action/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/action-block/action-footer/ActionFooterOld.d.ts +3 -0
- package/dist/types/view/FlexibleCard/components/blocks/action-block/action-footer/index.d.ts +5 -1
- package/dist/types/view/FlexibleCard/components/blocks/action-block/action-footer/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/action-block/index.d.ts +6 -0
- package/dist/types/view/FlexibleCard/components/blocks/action-block/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.d.ts +3 -3
- package/dist/types/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadataOld.d.ts +5 -0
- package/dist/types/view/FlexibleCard/components/utils.d.ts +2 -1
- package/dist/types/view/HoverCard/components/CustomPopupContainer.d.ts +1 -1
- package/dist/types/view/InlineCard/ErroredView/InlineCardErroredViewOld.d.ts +26 -0
- package/dist/types/view/InlineCard/ErroredView/index.d.ts +5 -6
- package/dist/types/view/InlineCard/ForbiddenView/InlineCardForbiddenViewOld.d.ts +33 -0
- package/dist/types/view/InlineCard/ForbiddenView/index.d.ts +5 -10
- package/dist/types/view/InlineCard/Frame/styled.d.ts +2 -2
- package/dist/types/view/InlineCard/IconAndTitleLayout/IconAndTitleLayoutOld.d.ts +33 -0
- package/dist/types/view/InlineCard/IconAndTitleLayout/index.d.ts +3 -14
- package/dist/types/view/InlineCard/IconAndTitleLayout/styled-emotion.d.ts +4 -0
- package/dist/types/view/InlineCard/ResolvingView/InlineCardResolvingViewOld.d.ts +21 -0
- package/dist/types/view/InlineCard/ResolvingView/index.d.ts +1 -3
- package/dist/types/view/InlineCard/ResolvingView/styled-emotion.d.ts +0 -2
- package/dist/types/view/InlineCard/UnauthorisedView/InlineCardUnauthorizedViewOld.d.ts +26 -0
- package/dist/types/view/InlineCard/UnauthorisedView/index.d.ts +5 -1
- package/dist/types/view/InlineCard/common/action-button/index.d.ts +7 -16
- package/dist/types/view/LinkUrl/LinkWarningModal/WarningModalOld.d.ts +15 -0
- package/dist/types/view/LinkUrl/LinkWarningModal/index.d.ts +2 -2
- package/dist/types/view/LinkUrl/LinkWarningModal/styled.d.ts +3 -0
- package/dist/types/view/RelatedLinksModal/components/EmptyState.d.ts +3 -2
- package/dist/types/view/RelatedLinksModal/components/EmptyStateOld.d.ts +9 -0
- package/dist/types/view/RelatedLinksModal/views/resolving/RelatedLinksResolvingViewOld.d.ts +3 -0
- package/dist/types/view/common/Icon.d.ts +2 -2
- package/dist/types/view/common/IconOld.d.ts +21 -0
- package/dist/types/view/common/ai-prism/AIPrismOld.d.ts +8 -0
- package/dist/types/view/common/ai-prism/ai-glowing-border/AIGlowingBorderOld.d.ts +14 -0
- package/dist/types/view/common/ai-prism/ai-glowing-border/animated-svg-container.d.ts +2 -7
- package/dist/types/view/common/ai-prism/ai-glowing-border/animated-svg-containerOld.d.ts +9 -0
- package/dist/types/view/common/ai-prism/ai-glowing-border/index.d.ts +2 -12
- package/dist/types/view/common/ai-prism/ai-glowing-border/types.d.ts +16 -0
- package/dist/types/view/common/ai-prism/constants.d.ts +6 -0
- package/dist/types/view/common/ai-prism/index.d.ts +2 -6
- package/dist/types/view/common/ai-summary/AISummaryOld.d.ts +38 -0
- package/dist/types/view/common/ai-summary/index.d.ts +5 -22
- package/dist/types/view/common/ai-summary/ulist.d.ts +1 -2
- package/dist/types/view/common/ai-summary/ulistOld.d.ts +8 -0
- package/dist/types/view/common/stop-propagation/StopPropagationOld.d.ts +11 -0
- package/dist/types/view/common/stop-propagation/index.d.ts +1 -2
- package/dist/types/view/common/utils.d.ts +9 -0
- package/dist/types-ts4.5/common/ui/icons/utils.d.ts +1 -1
- package/dist/types-ts4.5/constants.d.ts +1 -0
- package/dist/types-ts4.5/extractors/common/icon/prioritiseIcon.d.ts +5 -0
- package/dist/types-ts4.5/extractors/flexible/icon/extract-document-type-icon.d.ts +16 -1
- package/dist/types-ts4.5/state/hooks/use-resolve/index.d.ts +1 -1
- package/dist/types-ts4.5/state/hooks/use-response/index.d.ts +1 -1
- package/dist/types-ts4.5/utils/analytics/click.d.ts +1 -1
- package/dist/types-ts4.5/view/Card/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-stack-item/action-button.d.ts +2 -7
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-stack-item/action-buttonOld.d.ts +12 -0
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-stack-item/types.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/types.d.ts +6 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/AutomationActionOld.d.ts +4 -0
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/AutomationModalEmptyStateOld.d.ts +2 -0
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/error-state/AutomationModalErrorStateOld.d.ts +2 -0
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/execution-state-message/AutomationModalExecutionStateOld.d.ts +2 -0
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/execution-state-message/main.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/AutomationModalHeaderOld.d.ts +7 -0
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule/AutomationModalRuleOld.d.ts +9 -0
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule/main.d.ts +5 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule-list/AutomationModalRuleListOld.d.ts +8 -0
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule-list/main.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-block/action-footer/ActionFooterOld.d.ts +3 -0
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-block/action-footer/index.d.ts +5 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-block/action-footer/types.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-block/index.d.ts +6 -0
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-block/types.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.d.ts +3 -3
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadataOld.d.ts +5 -0
- package/dist/types-ts4.5/view/FlexibleCard/components/utils.d.ts +2 -1
- package/dist/types-ts4.5/view/HoverCard/components/CustomPopupContainer.d.ts +1 -1
- package/dist/types-ts4.5/view/InlineCard/ErroredView/InlineCardErroredViewOld.d.ts +26 -0
- package/dist/types-ts4.5/view/InlineCard/ErroredView/index.d.ts +5 -6
- package/dist/types-ts4.5/view/InlineCard/ForbiddenView/InlineCardForbiddenViewOld.d.ts +33 -0
- package/dist/types-ts4.5/view/InlineCard/ForbiddenView/index.d.ts +5 -10
- package/dist/types-ts4.5/view/InlineCard/Frame/styled.d.ts +2 -2
- package/dist/types-ts4.5/view/InlineCard/IconAndTitleLayout/IconAndTitleLayoutOld.d.ts +33 -0
- package/dist/types-ts4.5/view/InlineCard/IconAndTitleLayout/index.d.ts +3 -14
- package/dist/types-ts4.5/view/InlineCard/IconAndTitleLayout/styled-emotion.d.ts +4 -0
- package/dist/types-ts4.5/view/InlineCard/ResolvingView/InlineCardResolvingViewOld.d.ts +21 -0
- package/dist/types-ts4.5/view/InlineCard/ResolvingView/index.d.ts +1 -3
- package/dist/types-ts4.5/view/InlineCard/ResolvingView/styled-emotion.d.ts +0 -2
- package/dist/types-ts4.5/view/InlineCard/UnauthorisedView/InlineCardUnauthorizedViewOld.d.ts +26 -0
- package/dist/types-ts4.5/view/InlineCard/UnauthorisedView/index.d.ts +5 -1
- package/dist/types-ts4.5/view/InlineCard/common/action-button/index.d.ts +7 -16
- package/dist/types-ts4.5/view/LinkUrl/LinkWarningModal/WarningModalOld.d.ts +15 -0
- package/dist/types-ts4.5/view/LinkUrl/LinkWarningModal/index.d.ts +2 -2
- package/dist/types-ts4.5/view/LinkUrl/LinkWarningModal/styled.d.ts +3 -0
- package/dist/types-ts4.5/view/RelatedLinksModal/components/EmptyState.d.ts +3 -2
- package/dist/types-ts4.5/view/RelatedLinksModal/components/EmptyStateOld.d.ts +9 -0
- package/dist/types-ts4.5/view/RelatedLinksModal/views/resolving/RelatedLinksResolvingViewOld.d.ts +3 -0
- package/dist/types-ts4.5/view/common/Icon.d.ts +2 -2
- package/dist/types-ts4.5/view/common/IconOld.d.ts +21 -0
- package/dist/types-ts4.5/view/common/ai-prism/AIPrismOld.d.ts +8 -0
- package/dist/types-ts4.5/view/common/ai-prism/ai-glowing-border/AIGlowingBorderOld.d.ts +14 -0
- package/dist/types-ts4.5/view/common/ai-prism/ai-glowing-border/animated-svg-container.d.ts +2 -7
- package/dist/types-ts4.5/view/common/ai-prism/ai-glowing-border/animated-svg-containerOld.d.ts +9 -0
- package/dist/types-ts4.5/view/common/ai-prism/ai-glowing-border/index.d.ts +2 -12
- package/dist/types-ts4.5/view/common/ai-prism/ai-glowing-border/types.d.ts +16 -0
- package/dist/types-ts4.5/view/common/ai-prism/constants.d.ts +6 -0
- package/dist/types-ts4.5/view/common/ai-prism/index.d.ts +2 -6
- package/dist/types-ts4.5/view/common/ai-summary/AISummaryOld.d.ts +38 -0
- package/dist/types-ts4.5/view/common/ai-summary/index.d.ts +5 -22
- package/dist/types-ts4.5/view/common/ai-summary/ulist.d.ts +1 -2
- package/dist/types-ts4.5/view/common/ai-summary/ulistOld.d.ts +8 -0
- package/dist/types-ts4.5/view/common/stop-propagation/StopPropagationOld.d.ts +11 -0
- package/dist/types-ts4.5/view/common/stop-propagation/index.d.ts +1 -2
- package/dist/types-ts4.5/view/common/utils.d.ts +9 -0
- package/package.json +48 -47
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 34.9.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#109430](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109430)
|
|
8
|
+
[`c6429aa44850a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6429aa44850a) -
|
|
9
|
+
[ux] Adds support for Confluence Live Doc icons to @atlaskit/smart-card
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 34.8.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- [#107356](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/107356)
|
|
20
|
+
[`af53ea9193631`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/af53ea9193631) -
|
|
21
|
+
Convert the rest of exported smart card to use compiledcss
|
|
22
|
+
- [#109060](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109060)
|
|
23
|
+
[`4660ec858a305`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4660ec858a305) -
|
|
24
|
+
Update `React` from v16 to v18
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- Updated dependencies
|
|
29
|
+
|
|
3
30
|
## 34.7.0
|
|
4
31
|
|
|
5
32
|
### Minor Changes
|
package/dist/cjs/constants.js
CHANGED
|
@@ -200,6 +200,7 @@ var IconType = exports.IconType = /*#__PURE__*/function (IconType) {
|
|
|
200
200
|
IconType["Story"] = "Jira:Story";
|
|
201
201
|
IconType["SubTask"] = "Jira:SubTask";
|
|
202
202
|
IconType["Task"] = "Jira:Task";
|
|
203
|
+
IconType["LiveDocument"] = "Confluence:LiveDocument";
|
|
203
204
|
IconType["Confluence"] = "Provider:Confluence";
|
|
204
205
|
IconType["Jira"] = "Provider:Jira";
|
|
205
206
|
IconType["Default"] = "Default";
|
|
@@ -10,8 +10,10 @@ var _ = _interopRequireDefault(require("@atlaskit/icon-file-type/glyph/document/
|
|
|
10
10
|
var _2 = _interopRequireDefault(require("@atlaskit/icon-file-type/glyph/generic/16"));
|
|
11
11
|
var _3 = _interopRequireDefault(require("@atlaskit/icon-file-type/glyph/presentation/16"));
|
|
12
12
|
var _4 = _interopRequireDefault(require("@atlaskit/icon-file-type/glyph/spreadsheet/16"));
|
|
13
|
+
var _pageLiveDoc = _interopRequireDefault(require("@atlaskit/icon-lab/core/page-live-doc"));
|
|
13
14
|
var _5 = _interopRequireDefault(require("@atlaskit/icon-object/glyph/blog/16"));
|
|
14
15
|
var _pageDocumentFilled = _interopRequireDefault(require("@atlaskit/icon/core/migration/page--document-filled"));
|
|
16
|
+
var _linkExtractors = require("@atlaskit/link-extractors");
|
|
15
17
|
var _utils = require("../../../utils");
|
|
16
18
|
var _prioritiseIcon = require("./prioritiseIcon");
|
|
17
19
|
/**
|
|
@@ -45,10 +47,7 @@ var documentTypeToIcon = function documentTypeToIcon(type, opts) {
|
|
|
45
47
|
testId: "blog-icon"
|
|
46
48
|
});
|
|
47
49
|
case 'schema:DigitalDocument':
|
|
48
|
-
return
|
|
49
|
-
label: opts.title || 'file',
|
|
50
|
-
testId: "file-icon"
|
|
51
|
-
});
|
|
50
|
+
return digitalDocumentToIcon(opts);
|
|
52
51
|
case 'schema:TextDigitalDocument':
|
|
53
52
|
return /*#__PURE__*/_react.default.createElement(_.default, {
|
|
54
53
|
label: opts.title || 'document',
|
|
@@ -76,4 +75,27 @@ var documentTypeToIcon = function documentTypeToIcon(type, opts) {
|
|
|
76
75
|
testId: "document-icon"
|
|
77
76
|
});
|
|
78
77
|
}
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Enables providers to represent `schema:DigitalDocument` in a manner which
|
|
82
|
+
* aligns with their customers when representing provider-specific types, which
|
|
83
|
+
* do not apply across multiple providers.
|
|
84
|
+
* @example Confluence digital documents represent 'live documents', specific to Confluence.
|
|
85
|
+
* @remark This mechanism will be superseded by backend-driven icon URLs as part
|
|
86
|
+
* of go/j/MODES-5864. Do not add more!
|
|
87
|
+
*/
|
|
88
|
+
var digitalDocumentToIcon = function digitalDocumentToIcon(opts) {
|
|
89
|
+
var _opts$provider;
|
|
90
|
+
if ((_opts$provider = opts.provider) !== null && _opts$provider !== void 0 && _opts$provider.id && (0, _linkExtractors.isConfluenceGenerator)(opts.provider.id)) {
|
|
91
|
+
return /*#__PURE__*/_react.default.createElement(_pageLiveDoc.default, {
|
|
92
|
+
label: "live-doc",
|
|
93
|
+
testId: "live-doc-icon"
|
|
94
|
+
});
|
|
95
|
+
} else {
|
|
96
|
+
return /*#__PURE__*/_react.default.createElement(_2.default, {
|
|
97
|
+
label: opts.title || 'file',
|
|
98
|
+
testId: "file-icon"
|
|
99
|
+
});
|
|
100
|
+
}
|
|
79
101
|
};
|
|
@@ -4,8 +4,24 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
+
var _linkExtractors = require("@atlaskit/link-extractors");
|
|
7
8
|
var _constants = require("../../../constants");
|
|
8
|
-
|
|
9
|
+
/**
|
|
10
|
+
* Computes the relevant icon for a document type.
|
|
11
|
+
*
|
|
12
|
+
* @remark Note that document icons can vary based on the provider. E.g., a
|
|
13
|
+
* provider may choose to re-use one of these document types in their domain,
|
|
14
|
+
* but offer a different SVG icon on the frontend (to map to this type in their
|
|
15
|
+
* domain). See `schema:digitalDocument` for an example of this behaviour. This
|
|
16
|
+
* mechanism will be superseded by backend-driven icon URLs as part of
|
|
17
|
+
* go/j/MODES-5864. Do not add more!
|
|
18
|
+
*
|
|
19
|
+
* @param documentType JSON-LD document type
|
|
20
|
+
* @param label human-readable label to be displayed on the icon
|
|
21
|
+
* @param providerId JSON-LD provider (generator ID)
|
|
22
|
+
* @returns an icon descriptor representing the document type
|
|
23
|
+
*/
|
|
24
|
+
var extractDocumentTypeIcon = function extractDocumentTypeIcon(documentType, label, providerId) {
|
|
9
25
|
switch (documentType) {
|
|
10
26
|
case 'schema:BlogPosting':
|
|
11
27
|
return {
|
|
@@ -13,10 +29,17 @@ var extractDocumentTypeIcon = function extractDocumentTypeIcon(documentType, lab
|
|
|
13
29
|
label: label || 'Blog'
|
|
14
30
|
};
|
|
15
31
|
case 'schema:DigitalDocument':
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
32
|
+
if (providerId && (0, _linkExtractors.isConfluenceGenerator)(providerId)) {
|
|
33
|
+
return {
|
|
34
|
+
icon: _constants.IconType.LiveDocument,
|
|
35
|
+
label: label || 'Live Document'
|
|
36
|
+
};
|
|
37
|
+
} else {
|
|
38
|
+
return {
|
|
39
|
+
icon: _constants.IconType.File,
|
|
40
|
+
label: label || 'File'
|
|
41
|
+
};
|
|
42
|
+
}
|
|
20
43
|
case 'schema:TextDigitalDocument':
|
|
21
44
|
return {
|
|
22
45
|
icon: _constants.IconType.Document,
|
|
@@ -54,7 +54,7 @@ function chooseIcon(_ref2) {
|
|
|
54
54
|
label: label,
|
|
55
55
|
providerId: providerId,
|
|
56
56
|
data: data
|
|
57
|
-
}) || (0, _extractDocumentTypeIcon.default)(type, label);
|
|
57
|
+
}) || (0, _extractDocumentTypeIcon.default)(type, label, providerId);
|
|
58
58
|
return (0, _icon.prioritiseIcon)({
|
|
59
59
|
fileFormatIcon: fileFormatIcon,
|
|
60
60
|
documentTypeIcon: documentTypeIcon,
|
|
@@ -11,7 +11,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
|
|
|
11
11
|
var context = exports.context = {
|
|
12
12
|
componentName: 'smart-cards',
|
|
13
13
|
packageName: "@atlaskit/smart-card",
|
|
14
|
-
packageVersion: "34.
|
|
14
|
+
packageVersion: "34.9.0"
|
|
15
15
|
};
|
|
16
16
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
17
17
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -15,13 +15,13 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
15
15
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
16
16
|
var isFlexibleUiCard = exports.isFlexibleUiCard = function isFlexibleUiCard(children) {
|
|
17
17
|
if (children && _react.default.Children.toArray(children).some(function (child) {
|
|
18
|
-
return
|
|
18
|
+
return _isFlexibleUiTitleBlock(child);
|
|
19
19
|
})) {
|
|
20
20
|
return true;
|
|
21
21
|
}
|
|
22
22
|
return false;
|
|
23
23
|
};
|
|
24
|
-
var
|
|
24
|
+
var _isFlexibleUiBlock = exports.isFlexibleUiBlock = function isFlexibleUiBlock(node) {
|
|
25
25
|
var _node$type;
|
|
26
26
|
if (!(0, _platformFeatureFlags.fg)('bandicoots-compiled-migration-smartcard')) {
|
|
27
27
|
return /*#__PURE__*/_react.default.isValidElement(node) && Object.values(Blocks).some(function (type) {
|
|
@@ -44,7 +44,7 @@ var isFlexibleUiBlock = exports.isFlexibleUiBlock = function isFlexibleUiBlock(n
|
|
|
44
44
|
return;
|
|
45
45
|
}
|
|
46
46
|
if (typeof child.type !== 'string' && ((_child$type = child.type) === null || _child$type === void 0 ? void 0 : _child$type.name) !== 'Style') {
|
|
47
|
-
isChildrenValid =
|
|
47
|
+
isChildrenValid = _isFlexibleUiBlock(child);
|
|
48
48
|
}
|
|
49
49
|
});
|
|
50
50
|
return isChildrenValid;
|
|
@@ -56,7 +56,7 @@ var isFlexibleUiBlock = exports.isFlexibleUiBlock = function isFlexibleUiBlock(n
|
|
|
56
56
|
}
|
|
57
57
|
return false;
|
|
58
58
|
};
|
|
59
|
-
var
|
|
59
|
+
var _isFlexibleUiElement = exports.isFlexibleUiElement = function isFlexibleUiElement(node) {
|
|
60
60
|
var _node$type2;
|
|
61
61
|
if (!(0, _platformFeatureFlags.fg)('bandicoots-compiled-migration-smartcard')) {
|
|
62
62
|
return /*#__PURE__*/_react.default.isValidElement(node) && Object.values(Elements).some(function (type) {
|
|
@@ -84,14 +84,14 @@ var isFlexibleUiElement = exports.isFlexibleUiElement = function isFlexibleUiEle
|
|
|
84
84
|
return;
|
|
85
85
|
}
|
|
86
86
|
if (typeof child.type !== 'string' && ((_child$type2 = child.type) === null || _child$type2 === void 0 ? void 0 : _child$type2.name) !== 'Style') {
|
|
87
|
-
isChildrenValid =
|
|
87
|
+
isChildrenValid = _isFlexibleUiElement(child);
|
|
88
88
|
}
|
|
89
89
|
});
|
|
90
90
|
return isChildrenValid;
|
|
91
91
|
}
|
|
92
92
|
return false;
|
|
93
93
|
};
|
|
94
|
-
var
|
|
94
|
+
var _isFlexibleUiTitleBlock = exports.isFlexibleUiTitleBlock = function isFlexibleUiTitleBlock(node) {
|
|
95
95
|
var _node$type3;
|
|
96
96
|
if (!(0, _platformFeatureFlags.fg)('bandicoots-compiled-migration-smartcard')) {
|
|
97
97
|
return /*#__PURE__*/_react.default.isValidElement(node) && node.type === _blocks.TitleBlock;
|
|
@@ -115,14 +115,14 @@ var isFlexibleUiTitleBlock = exports.isFlexibleUiTitleBlock = function isFlexibl
|
|
|
115
115
|
return;
|
|
116
116
|
}
|
|
117
117
|
if (typeof child.type !== 'string' && ((_child$type3 = child.type) === null || _child$type3 === void 0 ? void 0 : _child$type3.name) !== 'Style') {
|
|
118
|
-
isChildrenValid =
|
|
118
|
+
isChildrenValid = _isFlexibleUiTitleBlock(child);
|
|
119
119
|
}
|
|
120
120
|
});
|
|
121
121
|
return isChildrenValid;
|
|
122
122
|
}
|
|
123
123
|
return false;
|
|
124
124
|
};
|
|
125
|
-
var
|
|
125
|
+
var _isFlexibleUiPreviewBlock = exports.isFlexibleUiPreviewBlock = function isFlexibleUiPreviewBlock(node) {
|
|
126
126
|
var _node$type4;
|
|
127
127
|
if (!(0, _platformFeatureFlags.fg)('bandicoots-compiled-migration-smartcard')) {
|
|
128
128
|
return /*#__PURE__*/_react.default.isValidElement(node) && node.type === _blocks.PreviewBlock;
|
|
@@ -146,7 +146,7 @@ var isFlexibleUiPreviewBlock = exports.isFlexibleUiPreviewBlock = function isFle
|
|
|
146
146
|
return;
|
|
147
147
|
}
|
|
148
148
|
if (typeof child.type !== 'string' && ((_child$type4 = child.type) === null || _child$type4 === void 0 ? void 0 : _child$type4.name) !== 'Style') {
|
|
149
|
-
isChildrenValid =
|
|
149
|
+
isChildrenValid = _isFlexibleUiPreviewBlock(child);
|
|
150
150
|
}
|
|
151
151
|
});
|
|
152
152
|
return isChildrenValid;
|
package/dist/cjs/utils/index.js
CHANGED
|
@@ -337,8 +337,8 @@ var typeToIcon = {
|
|
|
337
337
|
|
|
338
338
|
// prettier-ignore
|
|
339
339
|
var getLazyIcons = exports.getLazyIcons = function getLazyIcons() {
|
|
340
|
-
var
|
|
341
|
-
return
|
|
340
|
+
var _ref4;
|
|
341
|
+
return _ref4 = {}, (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_ref4, _constants.IconType.Document, {
|
|
342
342
|
default: function _default() {
|
|
343
343
|
return Promise.resolve().then(function () {
|
|
344
344
|
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_page-icon" */'../common/ui/icons/page-icon'));
|
|
@@ -398,7 +398,7 @@ var getLazyIcons = exports.getLazyIcons = function getLazyIcons() {
|
|
|
398
398
|
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_list-bullet-icon" */'../common/ui/icons/list-bullet-icon'));
|
|
399
399
|
});
|
|
400
400
|
}
|
|
401
|
-
}), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(
|
|
401
|
+
}), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_ref4, _constants.IconType.Video, {
|
|
402
402
|
default: function _default() {
|
|
403
403
|
return Promise.resolve().then(function () {
|
|
404
404
|
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_video-icon" */'../common/ui/icons/video-icon'));
|
|
@@ -483,7 +483,7 @@ var getLazyIcons = exports.getLazyIcons = function getLazyIcons() {
|
|
|
483
483
|
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphGoogleForms" */'@atlaskit/icon-file-type/glyph/google-form/24'));
|
|
484
484
|
});
|
|
485
485
|
}
|
|
486
|
-
}), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(
|
|
486
|
+
}), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_ref4, _constants.IconType.GoogleSheets, {
|
|
487
487
|
default: function _default() {
|
|
488
488
|
return Promise.resolve().then(function () {
|
|
489
489
|
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphGoogleSheets" */'@atlaskit/icon-file-type/glyph/google-sheet/16'));
|
|
@@ -593,7 +593,7 @@ var getLazyIcons = exports.getLazyIcons = function getLazyIcons() {
|
|
|
593
593
|
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphPullRequest" */'@atlaskit/icon-object/glyph/pull-request/24'));
|
|
594
594
|
});
|
|
595
595
|
}
|
|
596
|
-
}), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(
|
|
596
|
+
}), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_ref4, _constants.IconType.Repo, {
|
|
597
597
|
default: function _default() {
|
|
598
598
|
return Promise.resolve().then(function () {
|
|
599
599
|
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphRepo" */'@atlaskit/icon-object/glyph/code/16'));
|
|
@@ -703,12 +703,23 @@ var getLazyIcons = exports.getLazyIcons = function getLazyIcons() {
|
|
|
703
703
|
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphTask" */'@atlaskit/icon-object/glyph/task/24'));
|
|
704
704
|
});
|
|
705
705
|
}
|
|
706
|
-
}), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(
|
|
706
|
+
}), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_ref4, _constants.IconType.LiveDocument, {
|
|
707
707
|
default: function _default() {
|
|
708
708
|
return Promise.resolve().then(function () {
|
|
709
|
-
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-
|
|
709
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphConfluenceLiveDocument" */'@atlaskit/icon-lab/core/page-live-doc'));
|
|
710
710
|
}).then(function (_ref) {
|
|
711
|
-
var
|
|
711
|
+
var LiveDocumentIcon = _ref.default;
|
|
712
|
+
return {
|
|
713
|
+
default: LiveDocumentIcon
|
|
714
|
+
};
|
|
715
|
+
});
|
|
716
|
+
}
|
|
717
|
+
}), _constants.IconType.Confluence, {
|
|
718
|
+
default: function _default() {
|
|
719
|
+
return Promise.resolve().then(function () {
|
|
720
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphConfluence" */'@atlaskit/logo/confluence-icon'));
|
|
721
|
+
}).then(function (_ref2) {
|
|
722
|
+
var ConfluenceIcon = _ref2.ConfluenceIcon;
|
|
712
723
|
return {
|
|
713
724
|
default: ConfluenceIcon
|
|
714
725
|
};
|
|
@@ -718,8 +729,8 @@ var getLazyIcons = exports.getLazyIcons = function getLazyIcons() {
|
|
|
718
729
|
default: function _default() {
|
|
719
730
|
return Promise.resolve().then(function () {
|
|
720
731
|
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphJira" */'@atlaskit/logo/jira-icon'));
|
|
721
|
-
}).then(function (
|
|
722
|
-
var JiraIcon =
|
|
732
|
+
}).then(function (_ref3) {
|
|
733
|
+
var JiraIcon = _ref3.JiraIcon;
|
|
723
734
|
return {
|
|
724
735
|
default: JiraIcon
|
|
725
736
|
};
|
|
@@ -767,13 +778,13 @@ var getLazyIcons = exports.getLazyIcons = function getLazyIcons() {
|
|
|
767
778
|
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphBlocker" */'@atlaskit/icon-priority/glyph/priority-blocker'));
|
|
768
779
|
});
|
|
769
780
|
}
|
|
770
|
-
}), _constants.IconType.PriorityCritical, {
|
|
781
|
+
}), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_ref4, _constants.IconType.PriorityCritical, {
|
|
771
782
|
default: function _default() {
|
|
772
783
|
return Promise.resolve().then(function () {
|
|
773
784
|
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphCritical" */'@atlaskit/icon-priority/glyph/priority-critical'));
|
|
774
785
|
});
|
|
775
786
|
}
|
|
776
|
-
}),
|
|
787
|
+
}), _constants.IconType.PriorityHigh, {
|
|
777
788
|
default: function _default() {
|
|
778
789
|
return Promise.resolve().then(function () {
|
|
779
790
|
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphHigh" */'@atlaskit/icon-priority/glyph/priority-high'));
|
|
@@ -827,13 +838,13 @@ var getLazyIcons = exports.getLazyIcons = function getLazyIcons() {
|
|
|
827
838
|
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphUndefined" */'@atlaskit/icon/core/migration/question-circle--question'));
|
|
828
839
|
});
|
|
829
840
|
}
|
|
830
|
-
}), _constants.IconType.ProgrammingLanguage, {
|
|
841
|
+
}), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_ref4, _constants.IconType.ProgrammingLanguage, {
|
|
831
842
|
default: function _default() {
|
|
832
843
|
return Promise.resolve().then(function () {
|
|
833
844
|
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphProgrammingLanguage" */'@atlaskit/icon/core/migration/angle-brackets--code'));
|
|
834
845
|
});
|
|
835
846
|
}
|
|
836
|
-
}),
|
|
847
|
+
}), _constants.IconType.Subscriber, {
|
|
837
848
|
default: function _default() {
|
|
838
849
|
return Promise.resolve().then(function () {
|
|
839
850
|
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphSubscriber" */'@atlaskit/icon/core/migration/people-group--people'));
|
|
@@ -878,8 +889,8 @@ var sleep = exports.sleep = function sleep(ms) {
|
|
|
878
889
|
return setTimeout(resolve, ms);
|
|
879
890
|
});
|
|
880
891
|
};
|
|
881
|
-
var
|
|
882
|
-
var
|
|
892
|
+
var _importWithRetry = exports.importWithRetry = /*#__PURE__*/function () {
|
|
893
|
+
var _ref5 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(importFn) {
|
|
883
894
|
var retries,
|
|
884
895
|
interval,
|
|
885
896
|
_args = arguments;
|
|
@@ -903,7 +914,7 @@ var importWithRetry = exports.importWithRetry = /*#__PURE__*/function () {
|
|
|
903
914
|
_context.next = 13;
|
|
904
915
|
return sleep(interval);
|
|
905
916
|
case 13:
|
|
906
|
-
return _context.abrupt("return",
|
|
917
|
+
return _context.abrupt("return", _importWithRetry(importFn, retries - 1, interval));
|
|
907
918
|
case 16:
|
|
908
919
|
throw _context.t0;
|
|
909
920
|
case 17:
|
|
@@ -913,11 +924,11 @@ var importWithRetry = exports.importWithRetry = /*#__PURE__*/function () {
|
|
|
913
924
|
}, _callee, null, [[2, 8]]);
|
|
914
925
|
}));
|
|
915
926
|
return function importWithRetry(_x) {
|
|
916
|
-
return
|
|
927
|
+
return _ref5.apply(this, arguments);
|
|
917
928
|
};
|
|
918
929
|
}();
|
|
919
930
|
var downloadUrl = exports.downloadUrl = /*#__PURE__*/function () {
|
|
920
|
-
var
|
|
931
|
+
var _ref6 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(url) {
|
|
921
932
|
var isIE11, isSafari, iframeName, link, iframe;
|
|
922
933
|
return _regenerator.default.wrap(function _callee2$(_context2) {
|
|
923
934
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -953,11 +964,11 @@ var downloadUrl = exports.downloadUrl = /*#__PURE__*/function () {
|
|
|
953
964
|
}, _callee2);
|
|
954
965
|
}));
|
|
955
966
|
return function downloadUrl(_x2) {
|
|
956
|
-
return
|
|
967
|
+
return _ref6.apply(this, arguments);
|
|
957
968
|
};
|
|
958
969
|
}();
|
|
959
970
|
var openUrl = exports.openUrl = /*#__PURE__*/function () {
|
|
960
|
-
var
|
|
971
|
+
var _ref7 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3(url) {
|
|
961
972
|
return _regenerator.default.wrap(function _callee3$(_context3) {
|
|
962
973
|
while (1) switch (_context3.prev = _context3.next) {
|
|
963
974
|
case 0:
|
|
@@ -975,7 +986,7 @@ var openUrl = exports.openUrl = /*#__PURE__*/function () {
|
|
|
975
986
|
}, _callee3);
|
|
976
987
|
}));
|
|
977
988
|
return function openUrl(_x3) {
|
|
978
|
-
return
|
|
989
|
+
return _ref7.apply(this, arguments);
|
|
979
990
|
};
|
|
980
991
|
}();
|
|
981
992
|
|
|
@@ -42,6 +42,7 @@ var footerBlockCss = exports.footerBlockCss = (0, _react.css)({
|
|
|
42
42
|
'.actions-button-group': {
|
|
43
43
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
44
44
|
'button, button:hover, button:focus, button:active': {
|
|
45
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
45
46
|
fontSize: '0.875rem'
|
|
46
47
|
}
|
|
47
48
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
._11c8qk37{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._14mjpd34:after{border-radius:var(--ds-border-radius-200,8px)}
|
|
3
|
-
._18s81cq1{margin:var(--ds-space-050,4px) 0 var(--ds-space-150,9pt) var(--ds-space-150,9pt)}
|
|
4
3
|
._18s81xf9{margin:0 var(--ds-space-100,8px) var(--ds-space-100,8px)}
|
|
5
4
|
._19ith6cr{border:1px solid var(--ds-border,#dfe1e6)}
|
|
6
5
|
._1u3rh6cr:hover:after{border:1px solid var(--ds-border,#dfe1e6)}
|
|
@@ -19,10 +18,12 @@
|
|
|
19
18
|
._18m91wug{overflow-y:auto}
|
|
20
19
|
._18postnw:after{position:absolute}
|
|
21
20
|
._18u01wug{margin-left:auto}
|
|
21
|
+
._18u0utpp{margin-left:var(--ds-space-150,9pt)}
|
|
22
22
|
._19do1kw7:after{left:inherit}
|
|
23
23
|
._19doidpf:after{left:0}
|
|
24
24
|
._19dox0bf:after{left:var(--ds-space-negative-100,-8px)}
|
|
25
25
|
._19pk19bv{margin-top:10px}
|
|
26
|
+
._19pk1b66{margin-top:var(--ds-space-050,4px)}
|
|
26
27
|
._19pkidpf{margin-top:0}
|
|
27
28
|
._1aaxusic{float:right}
|
|
28
29
|
._1bsb176v{width:125px}
|
|
@@ -48,6 +49,7 @@
|
|
|
48
49
|
._1ul91pd6{min-width:var(--_10q0298)}
|
|
49
50
|
._2hwx1b66{margin-right:var(--ds-space-050,4px)}
|
|
50
51
|
._2hwx1wug{margin-right:auto}
|
|
52
|
+
._2hwxidpf{margin-right:0}
|
|
51
53
|
._2lx21bp4{flex-direction:column}
|
|
52
54
|
._4cvr1h6o{align-items:center}
|
|
53
55
|
._4t3i17ym{height:var(--_rcxkve)}
|
|
@@ -74,6 +76,7 @@
|
|
|
74
76
|
._kqswstnw{position:absolute}
|
|
75
77
|
._o5721q9c{white-space:nowrap}
|
|
76
78
|
._otyridpf{margin-bottom:0}
|
|
79
|
+
._otyrutpp{margin-bottom:var(--ds-space-150,9pt)}
|
|
77
80
|
._p12f1ayu{max-width:var(--_1et2rhb)}
|
|
78
81
|
._rd9b1wug >.embed-preview>div{margin-right:auto}
|
|
79
82
|
._syaz1rc1{color:var(--ds-text-subtlest,#5e6c84)}
|
|
@@ -216,7 +216,7 @@ var Thumbnail = exports.Thumbnail = (0, _react.forwardRef)(function (_ref9, __cm
|
|
|
216
216
|
"--_13orr8u": (0, _runtime.ix)("url(".concat(__cmplp.src, ")"))
|
|
217
217
|
}),
|
|
218
218
|
ref: __cmplr,
|
|
219
|
-
className: (0, _runtime.ax)(["_2rko1sit
|
|
219
|
+
className: (0, _runtime.ax)(["_2rko1sit _1bsbckbl _4t3ickbl _1aaxusic _19pk1b66 _2hwxidpf _otyrutpp _18u0utpp _bfhkqrzy _1lrw1dfr _1itk2pcs", __cmplp.className])
|
|
220
220
|
}));
|
|
221
221
|
});
|
|
222
222
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
._11c81oud{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
|
|
2
|
-
._1yt4pxbi{padding:var(--ds-space-200,1pc)}
|
|
3
2
|
._zulpv47k{gap:var(--ds-space-250,20px)}
|
|
4
3
|
._18u01wug{margin-left:auto}
|
|
4
|
+
._19bvpxbi{padding-left:var(--ds-space-200,1pc)}
|
|
5
5
|
._19pk1wug{margin-top:auto}
|
|
6
6
|
._1bah1h6o{justify-content:center}
|
|
7
7
|
._1bsbmgvx{width:180px}
|
|
@@ -13,7 +13,10 @@
|
|
|
13
13
|
._4t3i1kw7{height:inherit}
|
|
14
14
|
._4t3i68cl{height:90pt}
|
|
15
15
|
._5ral1f51{object-fit:contain}
|
|
16
|
+
._ca0qpxbi{padding-top:var(--ds-space-200,1pc)}
|
|
17
|
+
._n3tdpxbi{padding-bottom:var(--ds-space-200,1pc)}
|
|
16
18
|
._otyr1wug{margin-bottom:auto}
|
|
17
19
|
._p12f1kdj{max-width:25pc}
|
|
18
20
|
._rsufaqso{object-position:center center}
|
|
21
|
+
._u5f3pxbi{padding-right:var(--ds-space-200,1pc)}
|
|
19
22
|
._y3gn1h6o{text-align:center}
|
|
@@ -91,7 +91,7 @@ var UnresolvedView = function UnresolvedView(_ref) {
|
|
|
91
91
|
"data-testid": "".concat(testId, "-unresolved-container"),
|
|
92
92
|
className: (0, _runtime.ax)(["_1e0c11p5 _4t3i1kw7"])
|
|
93
93
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
94
|
-
className: (0, _runtime.ax)(["_19pk1wug _2hwx1wug _otyr1wug _18u01wug
|
|
94
|
+
className: (0, _runtime.ax)(["_19pk1wug _2hwx1wug _otyr1wug _18u01wug _zulpv47k _1e0c1txw _2lx21bp4 _1bah1h6o _y3gn1h6o _4cvr1h6o _ca0qpxbi _u5f3pxbi _n3tdpxbi _19bvpxbi _p12f1kdj"])
|
|
95
95
|
}, image, /*#__PURE__*/_react.default.createElement(_heading.default, {
|
|
96
96
|
size: "large",
|
|
97
97
|
testId: "".concat(testId, "-unresolved-title")
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
|
|
2
|
+
._kkk2n7od{all:unset}._11c8qk37{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
|
|
3
|
+
._19bv1b66{padding-left:var(--ds-space-050,4px)}
|
|
4
|
+
._1bsb1osq{width:100%}
|
|
5
|
+
._ca0q1b66{padding-top:var(--ds-space-050,4px)}
|
|
6
|
+
._n3td1b66{padding-bottom:var(--ds-space-050,4px)}
|
|
7
|
+
._syaz1fxt{color:var(--ds-text,#172b4d)}
|
|
8
|
+
._u5f31b66{padding-right:var(--ds-space-050,4px)}
|
|
9
|
+
._irr3166n:hover{background-color:var(--ds-background-neutral-subtle-hovered,#091e420f)}
|
|
10
|
+
._1di61dty:active{background-color:var(--ds-background-neutral-subtle-pressed,#091e4224)}
|
package/dist/cjs/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* action-button.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
1
2
|
"use strict";
|
|
2
3
|
|
|
3
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -6,30 +7,24 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
7
|
value: true
|
|
7
8
|
});
|
|
8
9
|
exports.default = void 0;
|
|
9
|
-
|
|
10
|
+
require("./action-button.compiled.css");
|
|
10
11
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
-
var
|
|
12
|
+
var React = _react;
|
|
13
|
+
var _runtime = require("@compiled/react/runtime");
|
|
14
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
15
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
16
|
+
var _compiled = require("@atlaskit/primitives/compiled");
|
|
12
17
|
var _spinner = _interopRequireDefault(require("@atlaskit/spinner"));
|
|
13
18
|
var _utils = require("../../../utils");
|
|
14
19
|
var _actionIcon = _interopRequireDefault(require("../action-icon"));
|
|
20
|
+
var _actionButtonOld = _interopRequireDefault(require("./action-buttonOld"));
|
|
15
21
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
16
22
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
17
|
-
var
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
backgroundColor: 'color.background.neutral.subtle.hovered'
|
|
23
|
-
},
|
|
24
|
-
':active': {
|
|
25
|
-
backgroundColor: 'color.background.neutral.subtle.pressed'
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
var contentStyles = (0, _primitives.xcss)({
|
|
29
|
-
color: 'color.text',
|
|
30
|
-
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)"
|
|
31
|
-
});
|
|
32
|
-
var ActionButton = function ActionButton(_ref) {
|
|
23
|
+
var styles = {
|
|
24
|
+
button: "_kkk2n7od _ca0q1b66 _u5f31b66 _n3td1b66 _19bv1b66 _1bsb1osq _irr3166n _1di61dty",
|
|
25
|
+
content: "_11c8qk37 _syaz1fxt"
|
|
26
|
+
};
|
|
27
|
+
var ActionButtonNew = function ActionButtonNew(_ref) {
|
|
33
28
|
var content = _ref.content,
|
|
34
29
|
iconOption = _ref.icon,
|
|
35
30
|
isDisabled = _ref.isDisabled,
|
|
@@ -39,35 +34,40 @@ var ActionButton = function ActionButton(_ref) {
|
|
|
39
34
|
spaceOption = _ref.space,
|
|
40
35
|
testId = _ref.testId,
|
|
41
36
|
tooltipProps = _ref.tooltipProps,
|
|
42
|
-
|
|
37
|
+
style = _ref.style;
|
|
43
38
|
var space = spaceOption !== null && spaceOption !== void 0 ? spaceOption : (0, _utils.getPrimitivesInlineSpaceBySize)(size);
|
|
44
39
|
var onClick = (0, _react.useCallback)(function () {
|
|
45
40
|
if (!isDisabled && !isLoading && onClickCallback) {
|
|
46
41
|
onClickCallback();
|
|
47
42
|
}
|
|
48
43
|
}, [isDisabled, isLoading, onClickCallback]);
|
|
49
|
-
var icon = iconOption && isLoading ? /*#__PURE__*/
|
|
44
|
+
var icon = iconOption && isLoading ? /*#__PURE__*/React.createElement(_actionIcon.default, {
|
|
50
45
|
asStackItemIcon: true,
|
|
51
|
-
icon: /*#__PURE__*/
|
|
46
|
+
icon: /*#__PURE__*/React.createElement(_spinner.default, {
|
|
52
47
|
testId: "".concat(testId, "-loading")
|
|
53
48
|
}),
|
|
54
49
|
size: size
|
|
55
50
|
}) : iconOption;
|
|
56
|
-
return (
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
51
|
+
return /*#__PURE__*/React.createElement(_compiled.Pressable, (0, _extends2.default)({
|
|
52
|
+
xcss: styles.button
|
|
53
|
+
}, tooltipProps, {
|
|
54
|
+
onClick: onClick,
|
|
55
|
+
testId: testId
|
|
56
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
57
|
+
,
|
|
58
|
+
style: style
|
|
59
|
+
}), /*#__PURE__*/React.createElement(_compiled.Inline, {
|
|
60
|
+
alignBlock: "center",
|
|
61
|
+
grow: "fill",
|
|
62
|
+
space: space
|
|
63
|
+
}, icon, /*#__PURE__*/React.createElement(_compiled.Box, {
|
|
64
|
+
xcss: styles.content
|
|
65
|
+
}, content)));
|
|
66
|
+
};
|
|
67
|
+
var ActionButton = function ActionButton(props) {
|
|
68
|
+
if ((0, _platformFeatureFlags.fg)('bandicoots-compiled-migration-smartcard')) {
|
|
69
|
+
return /*#__PURE__*/React.createElement(ActionButtonNew, props);
|
|
70
|
+
}
|
|
71
|
+
return /*#__PURE__*/React.createElement(_actionButtonOld.default, props);
|
|
72
72
|
};
|
|
73
73
|
var _default = exports.default = ActionButton;
|