@atlaskit/smart-card 34.6.6 → 34.8.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 +23 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/BlockCard/views/ResolvedView.js +2 -1
- package/dist/cjs/view/BlockCard/views/styledOld.js +1 -0
- package/dist/cjs/view/EmbedCard/components/ErrorFrame.compiled.css +28 -0
- package/dist/cjs/view/EmbedCard/components/ErrorFrame.js +59 -63
- package/dist/cjs/view/EmbedCard/components/ErrorFrameOld.js +100 -0
- package/dist/cjs/view/EmbedCard/components/ExpandedFrame.js +24 -10
- package/dist/cjs/view/EmbedCard/components/ExpandedFrameOld.js +114 -0
- package/dist/cjs/view/EmbedCard/components/Frame.compiled.css +9 -0
- package/dist/cjs/view/EmbedCard/components/Frame.js +23 -23
- package/dist/cjs/view/EmbedCard/components/FrameOld.js +144 -0
- package/dist/cjs/view/EmbedCard/components/ImageIcon.js +20 -9
- package/dist/cjs/view/EmbedCard/components/styled.compiled.css +92 -0
- package/dist/cjs/view/EmbedCard/components/styled.js +197 -234
- package/dist/cjs/view/EmbedCard/components/styledOld.js +261 -0
- package/dist/cjs/view/EmbedCard/views/ErroredView.compiled.css +13 -0
- package/dist/cjs/view/EmbedCard/views/ErroredView.js +30 -38
- package/dist/cjs/view/EmbedCard/views/ErroredViewOld.js +69 -0
- package/dist/cjs/view/EmbedCard/views/ResolvedView.js +19 -13
- package/dist/cjs/view/EmbedCard/views/ResolvedViewOld.js +82 -0
- package/dist/cjs/view/EmbedCard/views/unresolved-view/UnresolvedViewOld.js +129 -0
- package/dist/cjs/view/EmbedCard/views/unresolved-view/index.compiled.css +19 -0
- package/dist/cjs/view/EmbedCard/views/unresolved-view/index.js +36 -55
- package/dist/cjs/view/FlexibleCard/components/actions/action/action-stack-item/action-button.compiled.css +7 -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 +13 -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/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 +3 -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 +7 -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/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/BlockCard/views/ResolvedView.js +2 -1
- package/dist/es2019/view/BlockCard/views/styledOld.js +1 -0
- package/dist/es2019/view/EmbedCard/components/ErrorFrame.compiled.css +28 -0
- package/dist/es2019/view/EmbedCard/components/ErrorFrame.js +48 -61
- package/dist/es2019/view/EmbedCard/components/ErrorFrameOld.js +91 -0
- package/dist/es2019/view/EmbedCard/components/ExpandedFrame.js +48 -32
- package/dist/es2019/view/EmbedCard/components/ExpandedFrameOld.js +96 -0
- package/dist/es2019/view/EmbedCard/components/Frame.compiled.css +9 -0
- package/dist/es2019/view/EmbedCard/components/Frame.js +23 -22
- package/dist/es2019/view/EmbedCard/components/FrameOld.js +114 -0
- package/dist/es2019/view/EmbedCard/components/ImageIcon.js +20 -9
- package/dist/es2019/view/EmbedCard/components/styled.compiled.css +92 -0
- package/dist/es2019/view/EmbedCard/components/styled.js +192 -343
- package/dist/es2019/view/EmbedCard/components/styledOld.js +362 -0
- package/dist/es2019/view/EmbedCard/views/ErroredView.compiled.css +13 -0
- package/dist/es2019/view/EmbedCard/views/ErroredView.js +27 -37
- package/dist/es2019/view/EmbedCard/views/ErroredViewOld.js +58 -0
- package/dist/es2019/view/EmbedCard/views/ResolvedView.js +19 -12
- package/dist/es2019/view/EmbedCard/views/ResolvedViewOld.js +72 -0
- package/dist/es2019/view/EmbedCard/views/unresolved-view/UnresolvedViewOld.js +119 -0
- package/dist/es2019/view/EmbedCard/views/unresolved-view/index.compiled.css +19 -0
- package/dist/es2019/view/EmbedCard/views/unresolved-view/index.js +35 -53
- package/dist/es2019/view/FlexibleCard/components/actions/action/action-stack-item/action-button.compiled.css +7 -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 +13 -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/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 +3 -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 +7 -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/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/BlockCard/views/ResolvedView.js +2 -1
- package/dist/esm/view/BlockCard/views/styledOld.js +1 -0
- package/dist/esm/view/EmbedCard/components/ErrorFrame.compiled.css +28 -0
- package/dist/esm/view/EmbedCard/components/ErrorFrame.js +59 -62
- package/dist/esm/view/EmbedCard/components/ErrorFrameOld.js +92 -0
- package/dist/esm/view/EmbedCard/components/ExpandedFrame.js +13 -2
- package/dist/esm/view/EmbedCard/components/ExpandedFrameOld.js +104 -0
- package/dist/esm/view/EmbedCard/components/Frame.compiled.css +9 -0
- package/dist/esm/view/EmbedCard/components/Frame.js +23 -22
- package/dist/esm/view/EmbedCard/components/FrameOld.js +133 -0
- package/dist/esm/view/EmbedCard/components/ImageIcon.js +20 -9
- package/dist/esm/view/EmbedCard/components/styled.compiled.css +92 -0
- package/dist/esm/view/EmbedCard/components/styled.js +197 -234
- package/dist/esm/view/EmbedCard/components/styledOld.js +252 -0
- package/dist/esm/view/EmbedCard/views/ErroredView.compiled.css +13 -0
- package/dist/esm/view/EmbedCard/views/ErroredView.js +27 -37
- package/dist/esm/view/EmbedCard/views/ErroredViewOld.js +61 -0
- package/dist/esm/view/EmbedCard/views/ResolvedView.js +19 -12
- package/dist/esm/view/EmbedCard/views/ResolvedViewOld.js +74 -0
- package/dist/esm/view/EmbedCard/views/unresolved-view/UnresolvedViewOld.js +118 -0
- package/dist/esm/view/EmbedCard/views/unresolved-view/index.compiled.css +19 -0
- package/dist/esm/view/EmbedCard/views/unresolved-view/index.js +35 -53
- package/dist/esm/view/FlexibleCard/components/actions/action/action-stack-item/action-button.compiled.css +7 -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 +13 -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/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 +3 -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 +7 -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/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/EmbedCard/components/ErrorFrame.d.ts +3 -4
- package/dist/types/view/EmbedCard/components/ErrorFrameOld.d.ts +19 -0
- package/dist/types/view/EmbedCard/components/ExpandedFrame.d.ts +2 -2
- package/dist/types/view/EmbedCard/components/ExpandedFrameOld.d.ts +40 -0
- package/dist/types/view/EmbedCard/components/FrameOld.d.ts +14 -0
- package/dist/types/view/EmbedCard/components/styled.d.ts +15 -77
- package/dist/types/view/EmbedCard/components/styledOld.d.ts +109 -0
- package/dist/types/view/EmbedCard/views/ErroredView.d.ts +2 -2
- package/dist/types/view/EmbedCard/views/ErroredViewOld.d.ts +12 -0
- package/dist/types/view/EmbedCard/views/ResolvedView.d.ts +0 -4
- package/dist/types/view/EmbedCard/views/ResolvedViewOld.d.ts +36 -0
- package/dist/types/view/EmbedCard/views/unresolved-view/UnresolvedViewOld.d.ts +4 -0
- package/dist/types/view/EmbedCard/views/unresolved-view/index.d.ts +3 -3
- 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/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/EmbedCard/components/ErrorFrame.d.ts +3 -4
- package/dist/types-ts4.5/view/EmbedCard/components/ErrorFrameOld.d.ts +19 -0
- package/dist/types-ts4.5/view/EmbedCard/components/ExpandedFrame.d.ts +2 -2
- package/dist/types-ts4.5/view/EmbedCard/components/ExpandedFrameOld.d.ts +40 -0
- package/dist/types-ts4.5/view/EmbedCard/components/FrameOld.d.ts +14 -0
- package/dist/types-ts4.5/view/EmbedCard/components/styled.d.ts +15 -77
- package/dist/types-ts4.5/view/EmbedCard/components/styledOld.d.ts +109 -0
- package/dist/types-ts4.5/view/EmbedCard/views/ErroredView.d.ts +2 -2
- package/dist/types-ts4.5/view/EmbedCard/views/ErroredViewOld.d.ts +12 -0
- package/dist/types-ts4.5/view/EmbedCard/views/ResolvedView.d.ts +0 -4
- package/dist/types-ts4.5/view/EmbedCard/views/ResolvedViewOld.d.ts +36 -0
- package/dist/types-ts4.5/view/EmbedCard/views/unresolved-view/UnresolvedViewOld.d.ts +4 -0
- package/dist/types-ts4.5/view/EmbedCard/views/unresolved-view/index.d.ts +3 -3
- 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 +46 -46
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
var _react2 = require("@emotion/react");
|
|
12
|
+
var _excluded = ["children"];
|
|
13
|
+
/**
|
|
14
|
+
* @jsxRuntime classic
|
|
15
|
+
* @jsx jsx
|
|
16
|
+
*/
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
18
|
+
var listStyles = (0, _react2.css)({
|
|
19
|
+
paddingLeft: "var(--ds-space-250, 20px)",
|
|
20
|
+
paddingInlineStart: "var(--ds-space-250, 20px)"
|
|
21
|
+
});
|
|
22
|
+
var UListOld = function UListOld(_ref) {
|
|
23
|
+
var children = _ref.children,
|
|
24
|
+
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
25
|
+
return (0, _react2.jsx)("ul", (0, _extends2.default)({
|
|
26
|
+
css: listStyles
|
|
27
|
+
}, props), children);
|
|
28
|
+
};
|
|
29
|
+
var _default = exports.default = UListOld;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.StopPropagationOld = void 0;
|
|
8
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
9
|
+
var _react2 = require("@emotion/react");
|
|
10
|
+
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); }
|
|
11
|
+
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; }
|
|
12
|
+
/**
|
|
13
|
+
* @jsxRuntime classic
|
|
14
|
+
* @jsx jsx
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
18
|
+
|
|
19
|
+
var styles = (0, _react2.css)({
|
|
20
|
+
maxHeight: 0,
|
|
21
|
+
maxWidth: 0,
|
|
22
|
+
position: 'absolute'
|
|
23
|
+
});
|
|
24
|
+
var StopPropagationOld = exports.StopPropagationOld = function StopPropagationOld(_ref) {
|
|
25
|
+
var children = _ref.children;
|
|
26
|
+
var onClick = (0, _react.useCallback)(function (e) {
|
|
27
|
+
// Prevent click event inside modal from bubble up
|
|
28
|
+
e.stopPropagation();
|
|
29
|
+
}, []);
|
|
30
|
+
return (
|
|
31
|
+
// eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions
|
|
32
|
+
(0, _react2.jsx)("span", {
|
|
33
|
+
css: styles,
|
|
34
|
+
onClick: onClick
|
|
35
|
+
}, children)
|
|
36
|
+
);
|
|
37
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
1
2
|
"use strict";
|
|
2
3
|
|
|
3
4
|
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
@@ -5,33 +6,28 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
7
8
|
exports.StopPropagation = void 0;
|
|
9
|
+
require("./index.compiled.css");
|
|
10
|
+
var _runtime = require("@compiled/react/runtime");
|
|
8
11
|
var _react = _interopRequireWildcard(require("react"));
|
|
9
|
-
var
|
|
12
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
13
|
+
var _StopPropagationOld = require("./StopPropagationOld");
|
|
10
14
|
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); }
|
|
11
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; }
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
* @jsx jsx
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
18
|
-
|
|
19
|
-
var styles = (0, _react2.css)({
|
|
20
|
-
maxHeight: 0,
|
|
21
|
-
maxWidth: 0,
|
|
22
|
-
position: 'absolute'
|
|
23
|
-
});
|
|
24
|
-
var StopPropagation = exports.StopPropagation = function StopPropagation(_ref) {
|
|
16
|
+
var styles = null;
|
|
17
|
+
var StopPropagationNew = function StopPropagationNew(_ref) {
|
|
25
18
|
var children = _ref.children;
|
|
26
19
|
var onClick = (0, _react.useCallback)(function (e) {
|
|
27
20
|
// Prevent click event inside modal from bubble up
|
|
28
21
|
e.stopPropagation();
|
|
29
22
|
}, []);
|
|
30
|
-
return (
|
|
31
|
-
|
|
32
|
-
(0,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
)
|
|
23
|
+
return /*#__PURE__*/_react.default.createElement("span", {
|
|
24
|
+
onClick: onClick,
|
|
25
|
+
className: (0, _runtime.ax)(["_c71lidpf _p12fidpf _kqswstnw"])
|
|
26
|
+
}, children);
|
|
27
|
+
};
|
|
28
|
+
var StopPropagation = exports.StopPropagation = function StopPropagation(props) {
|
|
29
|
+
if ((0, _platformFeatureFlags.fg)('bandicoots-compiled-migration-smartcard')) {
|
|
30
|
+
return /*#__PURE__*/_react.default.createElement(StopPropagationNew, props);
|
|
31
|
+
}
|
|
32
|
+
return /*#__PURE__*/_react.default.createElement(_StopPropagationOld.StopPropagationOld, props);
|
|
37
33
|
};
|
|
@@ -9,13 +9,22 @@ var _facepaint = _interopRequireDefault(require("facepaint"));
|
|
|
9
9
|
// this function is used for spacing, fontsize and line height,
|
|
10
10
|
// once design tokens have been established for the all of these categories
|
|
11
11
|
// then this function can be replaced with the tokens
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated, these can be replaced with constants
|
|
14
|
+
*/
|
|
12
15
|
var gs = exports.gs = function gs(times) {
|
|
13
16
|
return "".concat(8 * times, "px");
|
|
14
17
|
};
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated, these can be replaced with constants
|
|
20
|
+
*/
|
|
15
21
|
var br = exports.br = function br() {
|
|
16
22
|
var times = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;
|
|
17
23
|
return "".concat(3 * times, "px");
|
|
18
24
|
};
|
|
25
|
+
/**
|
|
26
|
+
* @deprecated, these can be replaced with constants
|
|
27
|
+
*/
|
|
19
28
|
var mq = exports.mq = (0, _facepaint.default)(['@media(min-width: 576px)']);
|
|
20
29
|
var handleClickCommon = exports.handleClickCommon = function handleClickCommon(event, onClick) {
|
|
21
30
|
if (onClick) {
|
|
@@ -2,7 +2,7 @@ export const ANALYTICS_CHANNEL = 'media';
|
|
|
2
2
|
export const context = {
|
|
3
3
|
componentName: 'smart-cards',
|
|
4
4
|
packageName: "@atlaskit/smart-card",
|
|
5
|
-
packageVersion: "34.
|
|
5
|
+
packageVersion: "34.8.0"
|
|
6
6
|
};
|
|
7
7
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
8
8
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -48,6 +48,7 @@ const ResolvedView = ({
|
|
|
48
48
|
name: ActionName.DownloadAction,
|
|
49
49
|
hideIcon: true
|
|
50
50
|
}], []);
|
|
51
|
+
const status = cardState.status;
|
|
51
52
|
return /*#__PURE__*/React.createElement(FlexibleCard, {
|
|
52
53
|
appearance: "block",
|
|
53
54
|
cardState: cardState,
|
|
@@ -65,7 +66,7 @@ const ResolvedView = ({
|
|
|
65
66
|
name: ElementName.Location
|
|
66
67
|
}],
|
|
67
68
|
metadataPosition: SmartLinkPosition.Top,
|
|
68
|
-
status:
|
|
69
|
+
status: status,
|
|
69
70
|
className: ax(["_zulpcxkx _13mh1pd9"])
|
|
70
71
|
})), /*#__PURE__*/React.createElement(MetadataBlock, {
|
|
71
72
|
primary: topMetadata,
|
|
@@ -35,6 +35,7 @@ export const footerBlockCss = css({
|
|
|
35
35
|
'.actions-button-group': {
|
|
36
36
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
37
37
|
'button, button:hover, button:focus, button:active': {
|
|
38
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
38
39
|
fontSize: '0.875rem'
|
|
39
40
|
}
|
|
40
41
|
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
|
|
2
|
+
._2rko1l7b{border-radius:3px}
|
|
3
|
+
._2rko1lya{border-radius:1.5px}
|
|
4
|
+
._189eyh40{border-width:2px}
|
|
5
|
+
._1dqonqa1{border-style:solid}
|
|
6
|
+
._1h6d1can{border-color:var(--ds-border-selected,#2684ff)}
|
|
7
|
+
._1h6d1j28{border-color:transparent}._16qsy59s{box-shadow:var(--ds-shadow-raised,0 1px 1px rgba(9,30,66,.25),0 0 1px 1px rgba(9,30,66,.13))}
|
|
8
|
+
._18m915vq{overflow-y:hidden}
|
|
9
|
+
._19bvidpf{padding-left:0}
|
|
10
|
+
._1bah1h6o{justify-content:center}
|
|
11
|
+
._1bah1yb4{justify-content:space-between}
|
|
12
|
+
._1bsb1osq{width:100%}
|
|
13
|
+
._1e0c1txw{display:flex}
|
|
14
|
+
._1reo15vq{overflow-x:hidden}
|
|
15
|
+
._1tke68cl{min-height:90pt}
|
|
16
|
+
._1tkeidpf{min-height:0}
|
|
17
|
+
._4cvr1h6o{align-items:center}
|
|
18
|
+
._4t3i1osq{height:100%}
|
|
19
|
+
._4t3i1ylp{height:40px}
|
|
20
|
+
._bfhk1j54{background-color:var(--ds-background-neutral,rgba(9,30,66,.04))}
|
|
21
|
+
._bfhkhp5a{background-color:var(--ds-surface-raised,#fff)}
|
|
22
|
+
._ca0qidpf{padding-top:0}
|
|
23
|
+
._n3tdidpf{padding-bottom:0}
|
|
24
|
+
._p12fukw8{max-width:760px}
|
|
25
|
+
._u5f3idpf{padding-right:0}
|
|
26
|
+
._d0altlke:hover{cursor:pointer}
|
|
27
|
+
._irr317ks:hover{background-color:var(--ds-background-neutral-hovered,rgba(9,30,66,.08))}
|
|
28
|
+
._irr3h3i3:hover{background-color:var(--ds-background-neutral-subtle-hovered,rgba(9,30,66,.04))}
|
|
@@ -1,29 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
*/
|
|
1
|
+
/* ErrorFrame.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
|
+
import "./ErrorFrame.compiled.css";
|
|
3
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
5
4
|
import React from 'react';
|
|
6
|
-
|
|
7
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
|
-
import { css, jsx } from '@emotion/react';
|
|
5
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
6
|
import { B200, N20A, N30A, N40A, N50A } from '@atlaskit/theme/colors';
|
|
10
|
-
import {
|
|
11
|
-
|
|
7
|
+
import { CompactFrameOld, ExpandedFrameOld, FrameOld } from './ErrorFrameOld';
|
|
8
|
+
const FrameNew = (props = {
|
|
12
9
|
isSelected: false,
|
|
13
10
|
isHoverable: false,
|
|
14
11
|
isFluidHeight: false
|
|
15
|
-
}) => props.compact ?
|
|
16
|
-
const sharedBaseFrameStyles =
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
const
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
};
|
|
26
|
-
export const ExpandedFrame = ({
|
|
12
|
+
}) => props.compact ? /*#__PURE__*/React.createElement(CompactFrame, props) : /*#__PURE__*/React.createElement(ExpandedFrame, props);
|
|
13
|
+
const sharedBaseFrameStyles = null;
|
|
14
|
+
const sharedFrameStyles = null;
|
|
15
|
+
const expandedFrameHoverStyles = null;
|
|
16
|
+
const expandedFrameFluidHeightTrueStyles = null;
|
|
17
|
+
const expandedFrameFluidHeightFalseStyles = null;
|
|
18
|
+
const expandedFrameSelectedStyles = null;
|
|
19
|
+
const expandedFrameNotSelectedStyles = null;
|
|
20
|
+
const expandedFrameStyles = null;
|
|
21
|
+
const ExpandedFrameNew = ({
|
|
27
22
|
children,
|
|
28
23
|
isSelected,
|
|
29
24
|
isHoverable,
|
|
@@ -31,32 +26,21 @@ export const ExpandedFrame = ({
|
|
|
31
26
|
className,
|
|
32
27
|
isFluidHeight
|
|
33
28
|
}) => {
|
|
34
|
-
return
|
|
35
|
-
css: [sharedBaseFrameStyles, sharedFrameStyles,
|
|
36
|
-
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
37
|
-
mq({
|
|
38
|
-
'&:hover': isHoverable ? {
|
|
39
|
-
// TODO: https://product-fabric.atlassian.net/browse/DSP-4064
|
|
40
|
-
backgroundColor: `var(--ds-background-neutral-subtle-hovered, ${N20A})`,
|
|
41
|
-
cursor: 'pointer'
|
|
42
|
-
} : undefined,
|
|
43
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
44
|
-
minHeight: isFluidHeight ? 0 : [gs(21), gs(15)],
|
|
45
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
46
|
-
borderRadius: isSelected ? br() : br(0.5),
|
|
47
|
-
border: `2px solid ${isSelected ? `var(--ds-border-selected, ${B200})` : 'transparent'}`,
|
|
48
|
-
justifyContent: 'space-between',
|
|
49
|
-
overflow: 'hidden',
|
|
50
|
-
boxShadow: `var(--ds-shadow-raised, ${`0 1px 1px ${N50A}, 0 0 1px 1px ${N40A}`})`
|
|
51
|
-
})],
|
|
29
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
52
30
|
"data-testid": testId
|
|
53
31
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
54
32
|
,
|
|
55
|
-
className: className,
|
|
33
|
+
className: ax(["_1bsb1osq _1e0c1txw", "_p12fukw8 _bfhkhp5a", isHoverable && "_irr3h3i3 _d0altlke", isFluidHeight ? "_1tkeidpf" : "_1tke68cl", isSelected ? "_2rko1l7b _1h6d1can _1dqonqa1 _189eyh40" : "_2rko1lya _1h6d1j28 _1dqonqa1 _189eyh40", "_1reo15vq _18m915vq _1bah1yb4 _16qsy59s", className]),
|
|
56
34
|
"data-trello-do-not-use-override": testId
|
|
57
35
|
}, children);
|
|
58
36
|
};
|
|
59
|
-
|
|
37
|
+
const compactFrameHoverStyles = null;
|
|
38
|
+
const compactFrameInheritDimensionsTrueStyles = null;
|
|
39
|
+
const compactFrameInheritDimensionsFalseStyles = null;
|
|
40
|
+
const compactFrameAlignStyles = null;
|
|
41
|
+
const compactFrameStyles = null;
|
|
42
|
+
const compactFrameNotSelectedStyles = null;
|
|
43
|
+
const CompactFrameNew = ({
|
|
60
44
|
children,
|
|
61
45
|
isHoverable,
|
|
62
46
|
isSelected,
|
|
@@ -64,28 +48,31 @@ export const CompactFrame = ({
|
|
|
64
48
|
className,
|
|
65
49
|
inheritDimensions
|
|
66
50
|
}) => {
|
|
67
|
-
return
|
|
68
|
-
css: [sharedBaseFrameStyles, sharedFrameStyles,
|
|
69
|
-
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
70
|
-
mq({
|
|
71
|
-
'&:hover': isHoverable ? {
|
|
72
|
-
backgroundColor: `var(--ds-background-neutral-hovered, ${N30A})`
|
|
73
|
-
} : undefined,
|
|
74
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
75
|
-
borderRadius: isSelected ? br() : br(0.5),
|
|
76
|
-
border: isSelected ? `2px solid ${`var(--ds-border-selected, ${B200})`}` : '',
|
|
77
|
-
justifyContent: 'center',
|
|
78
|
-
alignItems: 'center',
|
|
79
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
80
|
-
height: inheritDimensions ? '100%' : gs(5),
|
|
81
|
-
backgroundColor: `var(--ds-background-neutral, ${N20A})`,
|
|
82
|
-
width: ['calc(100% - 16px)', '100%'],
|
|
83
|
-
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
84
|
-
padding: [`0px ${gs(1)}`, '0']
|
|
85
|
-
})],
|
|
51
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
86
52
|
"data-testid": testId
|
|
87
53
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
88
54
|
,
|
|
89
|
-
className: className
|
|
55
|
+
className: ax(["_1bsb1osq _1e0c1txw", "_p12fukw8 _bfhkhp5a", isHoverable && "_irr317ks", isSelected && "_2rko1l7b _1h6d1can _1dqonqa1 _189eyh40", !isSelected && "_2rko1lya", "_1bah1h6o _4cvr1h6o _bfhk1j54", inheritDimensions ? "_4t3i1osq" : "_4t3i1ylp", "_ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1bsb1osq", className])
|
|
90
56
|
}, children);
|
|
57
|
+
};
|
|
58
|
+
export const ExpandedFrame = props => {
|
|
59
|
+
if (fg('bandicoots-compiled-migration-smartcard')) {
|
|
60
|
+
return /*#__PURE__*/React.createElement(ExpandedFrameNew, props);
|
|
61
|
+
} else {
|
|
62
|
+
return /*#__PURE__*/React.createElement(ExpandedFrameOld, props);
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
export const CompactFrame = props => {
|
|
66
|
+
if (fg('bandicoots-compiled-migration-smartcard')) {
|
|
67
|
+
return /*#__PURE__*/React.createElement(CompactFrameNew, props);
|
|
68
|
+
} else {
|
|
69
|
+
return /*#__PURE__*/React.createElement(CompactFrameOld, props);
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
export const Frame = props => {
|
|
73
|
+
if (fg('bandicoots-compiled-migration-smartcard')) {
|
|
74
|
+
return /*#__PURE__*/React.createElement(FrameNew, props);
|
|
75
|
+
} else {
|
|
76
|
+
return /*#__PURE__*/React.createElement(FrameOld, props);
|
|
77
|
+
}
|
|
91
78
|
};
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
import React from 'react';
|
|
6
|
+
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
|
+
import { css, jsx } from '@emotion/react';
|
|
9
|
+
import { B200, N20A, N30A, N40A, N50A } from '@atlaskit/theme/colors';
|
|
10
|
+
import { br, gs, mq } from '../../common/utils';
|
|
11
|
+
export const FrameOld = (props = {
|
|
12
|
+
isSelected: false,
|
|
13
|
+
isHoverable: false,
|
|
14
|
+
isFluidHeight: false
|
|
15
|
+
}) => props.compact ? jsx(CompactFrameOld, props) : jsx(ExpandedFrameOld, props);
|
|
16
|
+
const sharedBaseFrameStyles = css({
|
|
17
|
+
width: '100%',
|
|
18
|
+
display: 'flex'
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
22
|
+
const sharedFrameStyles = {
|
|
23
|
+
maxWidth: gs(95),
|
|
24
|
+
backgroundColor: "var(--ds-surface-raised, white)"
|
|
25
|
+
};
|
|
26
|
+
export const ExpandedFrameOld = ({
|
|
27
|
+
children,
|
|
28
|
+
isSelected,
|
|
29
|
+
isHoverable,
|
|
30
|
+
testId,
|
|
31
|
+
className,
|
|
32
|
+
isFluidHeight
|
|
33
|
+
}) => {
|
|
34
|
+
return jsx("div", {
|
|
35
|
+
css: [sharedBaseFrameStyles, sharedFrameStyles,
|
|
36
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
37
|
+
mq({
|
|
38
|
+
'&:hover': isHoverable ? {
|
|
39
|
+
// TODO: https://product-fabric.atlassian.net/browse/DSP-4064
|
|
40
|
+
backgroundColor: `var(--ds-background-neutral-subtle-hovered, ${N20A})`,
|
|
41
|
+
cursor: 'pointer'
|
|
42
|
+
} : undefined,
|
|
43
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
44
|
+
minHeight: isFluidHeight ? 0 : [gs(21), gs(15)],
|
|
45
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
46
|
+
borderRadius: isSelected ? br() : br(0.5),
|
|
47
|
+
border: `2px solid ${isSelected ? `var(--ds-border-selected, ${B200})` : 'transparent'}`,
|
|
48
|
+
justifyContent: 'space-between',
|
|
49
|
+
overflow: 'hidden',
|
|
50
|
+
boxShadow: `var(--ds-shadow-raised, ${`0 1px 1px ${N50A}, 0 0 1px 1px ${N40A}`})`
|
|
51
|
+
})],
|
|
52
|
+
"data-testid": testId
|
|
53
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
54
|
+
,
|
|
55
|
+
className: className,
|
|
56
|
+
"data-trello-do-not-use-override": testId
|
|
57
|
+
}, children);
|
|
58
|
+
};
|
|
59
|
+
export const CompactFrameOld = ({
|
|
60
|
+
children,
|
|
61
|
+
isHoverable,
|
|
62
|
+
isSelected,
|
|
63
|
+
testId,
|
|
64
|
+
className,
|
|
65
|
+
inheritDimensions
|
|
66
|
+
}) => {
|
|
67
|
+
return jsx("div", {
|
|
68
|
+
css: [sharedBaseFrameStyles, sharedFrameStyles,
|
|
69
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
70
|
+
mq({
|
|
71
|
+
'&:hover': isHoverable ? {
|
|
72
|
+
backgroundColor: `var(--ds-background-neutral-hovered, ${N30A})`
|
|
73
|
+
} : undefined,
|
|
74
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
75
|
+
borderRadius: isSelected ? br() : br(0.5),
|
|
76
|
+
border: isSelected ? `2px solid ${`var(--ds-border-selected, ${B200})`}` : '',
|
|
77
|
+
justifyContent: 'center',
|
|
78
|
+
alignItems: 'center',
|
|
79
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
80
|
+
height: inheritDimensions ? '100%' : gs(5),
|
|
81
|
+
backgroundColor: `var(--ds-background-neutral, ${N20A})`,
|
|
82
|
+
width: ['calc(100% - 16px)', '100%'],
|
|
83
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
84
|
+
padding: [`0px ${gs(1)}`, '0']
|
|
85
|
+
})],
|
|
86
|
+
"data-testid": testId
|
|
87
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
88
|
+
,
|
|
89
|
+
className: className
|
|
90
|
+
}, children);
|
|
91
|
+
};
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
/* ExpandedFrame.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
4
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
2
5
|
import Tooltip from '@atlaskit/tooltip';
|
|
3
6
|
import { useMouseDownEvent } from '../../../state/analytics/useLinkClicked';
|
|
4
7
|
import { handleClickCommon } from '../../common/utils';
|
|
8
|
+
import { ExpandedFrameOld } from './ExpandedFrameOld';
|
|
5
9
|
import { className, Content, Header, IconWrapper, LinkWrapper, TextWrapper, TooltipWrapper, Wrapper } from './styled';
|
|
6
|
-
|
|
10
|
+
const ExpandedFrameNew = ({
|
|
7
11
|
isPlaceholder = false,
|
|
8
12
|
children,
|
|
9
13
|
onClick,
|
|
@@ -22,36 +26,41 @@ export const ExpandedFrame = ({
|
|
|
22
26
|
const isInteractive = () => !isPlaceholder && (Boolean(href) || Boolean(onClick));
|
|
23
27
|
const handleClick = event => handleClickCommon(event, onClick);
|
|
24
28
|
const handleMouseDown = useMouseDownEvent();
|
|
25
|
-
const renderHeader = () =>
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
29
|
+
const renderHeader = () => {
|
|
30
|
+
return (
|
|
31
|
+
/*#__PURE__*/
|
|
32
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
33
|
+
React.createElement(Header, {
|
|
34
|
+
className: "embed-header",
|
|
35
|
+
frameStyle: frameStyle
|
|
36
|
+
}, /*#__PURE__*/React.createElement(IconWrapper, {
|
|
37
|
+
isPlaceholder: isPlaceholder
|
|
38
|
+
}, !isPlaceholder && icon), /*#__PURE__*/React.createElement(TooltipWrapper, null, /*#__PURE__*/React.createElement(Tooltip, {
|
|
39
|
+
content: text,
|
|
40
|
+
hideTooltipOnMouseDown: true
|
|
41
|
+
}, /*#__PURE__*/React.createElement(TextWrapper, {
|
|
42
|
+
isPlaceholder: isPlaceholder
|
|
43
|
+
}, !isPlaceholder && /*#__PURE__*/React.createElement("a", {
|
|
44
|
+
href: href,
|
|
45
|
+
onClick: handleClick,
|
|
46
|
+
onMouseDown: handleMouseDown
|
|
47
|
+
}, text)))))
|
|
48
|
+
);
|
|
49
|
+
};
|
|
50
|
+
const renderContent = () => {
|
|
51
|
+
return /*#__PURE__*/React.createElement(Content, {
|
|
52
|
+
"data-testid": "embed-content-wrapper",
|
|
53
|
+
allowScrollBar: allowScrollBar,
|
|
54
|
+
removeOverflow: !setOverflow,
|
|
55
|
+
isInteractive: isInteractive(),
|
|
56
|
+
frameStyle: frameStyle
|
|
57
|
+
// This fixes an issue with input fields in cross domain iframes (ie. databases and jira fields from different domains)
|
|
58
|
+
// See: HOT-107830
|
|
59
|
+
,
|
|
60
|
+
contentEditable: 'false',
|
|
61
|
+
suppressContentEditableWarning: true
|
|
62
|
+
}, children);
|
|
63
|
+
};
|
|
55
64
|
if (!isPlaceholder && href) {
|
|
56
65
|
return /*#__PURE__*/React.createElement(LinkWrapper
|
|
57
66
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
@@ -86,4 +95,11 @@ export const ExpandedFrame = ({
|
|
|
86
95
|
"data-is-interactive": isInteractive()
|
|
87
96
|
}, renderHeader(), renderContent());
|
|
88
97
|
}
|
|
98
|
+
};
|
|
99
|
+
export const ExpandedFrame = props => {
|
|
100
|
+
if (fg('bandicoots-compiled-migration-smartcard')) {
|
|
101
|
+
return /*#__PURE__*/React.createElement(ExpandedFrameNew, props);
|
|
102
|
+
} else {
|
|
103
|
+
return /*#__PURE__*/React.createElement(ExpandedFrameOld, props);
|
|
104
|
+
}
|
|
89
105
|
};
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/* ExpandedFrameOld.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
4
|
+
import Tooltip from '@atlaskit/tooltip';
|
|
5
|
+
import { useMouseDownEvent } from '../../../state/analytics/useLinkClicked';
|
|
6
|
+
import { handleClickCommon } from '../../common/utils';
|
|
7
|
+
import { className, Content, Header, IconWrapper, LinkWrapper, TextWrapper, TooltipWrapper, Wrapper } from './styledOld';
|
|
8
|
+
export const ExpandedFrameOld = ({
|
|
9
|
+
isPlaceholder = false,
|
|
10
|
+
children,
|
|
11
|
+
onClick,
|
|
12
|
+
icon,
|
|
13
|
+
text,
|
|
14
|
+
isSelected,
|
|
15
|
+
frameStyle = 'showOnHover',
|
|
16
|
+
href,
|
|
17
|
+
minWidth,
|
|
18
|
+
maxWidth,
|
|
19
|
+
testId = 'expanded-frame',
|
|
20
|
+
inheritDimensions,
|
|
21
|
+
allowScrollBar = false,
|
|
22
|
+
setOverflow = true
|
|
23
|
+
}) => {
|
|
24
|
+
const isInteractive = () => !isPlaceholder && (Boolean(href) || Boolean(onClick));
|
|
25
|
+
const handleClick = event => handleClickCommon(event, onClick);
|
|
26
|
+
const handleMouseDown = useMouseDownEvent();
|
|
27
|
+
const renderHeader = () => {
|
|
28
|
+
return (
|
|
29
|
+
/*#__PURE__*/
|
|
30
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
31
|
+
React.createElement(Header, {
|
|
32
|
+
className: "embed-header",
|
|
33
|
+
frameStyle: frameStyle
|
|
34
|
+
}, /*#__PURE__*/React.createElement(IconWrapper, {
|
|
35
|
+
isPlaceholder: isPlaceholder
|
|
36
|
+
}, !isPlaceholder && icon), /*#__PURE__*/React.createElement(TooltipWrapper, null, /*#__PURE__*/React.createElement(Tooltip, {
|
|
37
|
+
content: text,
|
|
38
|
+
hideTooltipOnMouseDown: true
|
|
39
|
+
}, /*#__PURE__*/React.createElement(TextWrapper, {
|
|
40
|
+
isPlaceholder: isPlaceholder
|
|
41
|
+
}, !isPlaceholder && /*#__PURE__*/React.createElement("a", {
|
|
42
|
+
href: href,
|
|
43
|
+
onClick: handleClick,
|
|
44
|
+
onMouseDown: handleMouseDown
|
|
45
|
+
}, text)))))
|
|
46
|
+
);
|
|
47
|
+
};
|
|
48
|
+
const renderContent = () => {
|
|
49
|
+
return /*#__PURE__*/React.createElement(Content, {
|
|
50
|
+
"data-testid": "embed-content-wrapper",
|
|
51
|
+
allowScrollBar: allowScrollBar,
|
|
52
|
+
removeOverflow: !setOverflow,
|
|
53
|
+
isInteractive: isInteractive(),
|
|
54
|
+
frameStyle: frameStyle
|
|
55
|
+
// This fixes an issue with input fields in cross domain iframes (ie. databases and jira fields from different domains)
|
|
56
|
+
// See: HOT-107830
|
|
57
|
+
,
|
|
58
|
+
contentEditable: 'false',
|
|
59
|
+
suppressContentEditableWarning: true
|
|
60
|
+
}, children);
|
|
61
|
+
};
|
|
62
|
+
if (!isPlaceholder && href) {
|
|
63
|
+
return /*#__PURE__*/React.createElement(LinkWrapper
|
|
64
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
65
|
+
, {
|
|
66
|
+
className: className,
|
|
67
|
+
isInteractive: isInteractive(),
|
|
68
|
+
isSelected: isSelected,
|
|
69
|
+
frameStyle: frameStyle,
|
|
70
|
+
minWidth: minWidth,
|
|
71
|
+
maxWidth: maxWidth,
|
|
72
|
+
"data-testid": testId,
|
|
73
|
+
"data-trello-do-not-use-override": testId
|
|
74
|
+
// Due to limitations of testing library, we can't assert ::after
|
|
75
|
+
,
|
|
76
|
+
"data-is-selected": isSelected,
|
|
77
|
+
inheritDimensions: inheritDimensions
|
|
78
|
+
}, renderHeader(), renderContent());
|
|
79
|
+
} else {
|
|
80
|
+
return /*#__PURE__*/React.createElement(Wrapper
|
|
81
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
82
|
+
, {
|
|
83
|
+
className: className,
|
|
84
|
+
isInteractive: isInteractive(),
|
|
85
|
+
isSelected: isSelected,
|
|
86
|
+
minWidth: minWidth,
|
|
87
|
+
frameStyle: frameStyle,
|
|
88
|
+
maxWidth: maxWidth,
|
|
89
|
+
"data-testid": testId,
|
|
90
|
+
"data-trello-do-not-use-override": testId,
|
|
91
|
+
"data-is-selected": isSelected,
|
|
92
|
+
"data-wrapper-type": "default",
|
|
93
|
+
"data-is-interactive": isInteractive()
|
|
94
|
+
}, renderHeader(), renderContent());
|
|
95
|
+
}
|
|
96
|
+
};
|