@atlaskit/smart-card 34.7.0 → 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 +15 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/BlockCard/views/styledOld.js +1 -0
- 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/styledOld.js +1 -0
- 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/styledOld.js +1 -0
- 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/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/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
|
@@ -12,14 +12,30 @@ export type AIGlowingBorderProps = {
|
|
|
12
12
|
isMoving?: boolean;
|
|
13
13
|
isGlowing?: boolean;
|
|
14
14
|
testId?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @deprecated remove on FF clean up of bandicoots-compiled-migration-smartcard
|
|
17
|
+
* use css instead for compiledcss
|
|
18
|
+
*/
|
|
15
19
|
additionalCss?: {
|
|
16
20
|
container?: SerializedStyles;
|
|
17
21
|
animatedSvgContainer?: SerializedStyles;
|
|
18
22
|
};
|
|
23
|
+
/**
|
|
24
|
+
* For compiled css
|
|
25
|
+
*/
|
|
26
|
+
className?: string;
|
|
19
27
|
};
|
|
20
28
|
export type AnimatedSvgContainerProps = {
|
|
21
29
|
palette: AIBorderPalette;
|
|
22
30
|
isMoving?: boolean;
|
|
23
31
|
isGlowing?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* @deprecated remove on FF clean up of bandicoots-compiled-migration-smartcard
|
|
34
|
+
* use css instead for compiledcss
|
|
35
|
+
*/
|
|
24
36
|
additionalCss?: SerializedStyles;
|
|
37
|
+
/**
|
|
38
|
+
* For compiled css
|
|
39
|
+
*/
|
|
40
|
+
className?: string;
|
|
25
41
|
};
|
|
@@ -4,7 +4,13 @@ import { type AIThemeBorderPalette } from './types';
|
|
|
4
4
|
* https://bitbucket.org/atlassian/barrel/src/master/ui/platform/ui-kit/ai
|
|
5
5
|
* with modifications.
|
|
6
6
|
*/
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated remove on FF clean up bandicoots-compiled-migration-smartcard
|
|
9
|
+
*/
|
|
7
10
|
export declare const INNER_BORDER_RADIUS = 8;
|
|
11
|
+
/**
|
|
12
|
+
* @deprecated remove on FF clean up bandicoots-compiled-migration-smartcard
|
|
13
|
+
*/
|
|
8
14
|
export declare const OUTER_BORDER_RADIUS = 10;
|
|
9
15
|
export declare const aiThemeTokens: {
|
|
10
16
|
blueUniqueGradientLight: string;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import { jsx } from '@emotion/react';
|
|
1
|
+
/// <reference types="react" />
|
|
6
2
|
import type { AIPrismProps } from './types';
|
|
7
|
-
declare const AIPrism: (
|
|
3
|
+
declare const AIPrism: (props: AIPrismProps) => JSX.Element;
|
|
8
4
|
export default AIPrism;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
import { jsx, type SerializedStyles } from '@emotion/react';
|
|
6
|
+
/**
|
|
7
|
+
* Move this type to the index file upon FF cleanup. bandicoots-compiled-migration-smartcard
|
|
8
|
+
* Remove the export as well.
|
|
9
|
+
*/
|
|
10
|
+
export type AISummaryProps = {
|
|
11
|
+
content?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Additional CSS properties
|
|
14
|
+
* @deprecated remove on FF cleanup bandicoots-compiled-migration-smartcard
|
|
15
|
+
* Use compiled css instead
|
|
16
|
+
*/
|
|
17
|
+
overrideCss?: SerializedStyles;
|
|
18
|
+
/**
|
|
19
|
+
* appears as a data attribute `data-testid` in the rendered code,
|
|
20
|
+
* serving as a hook for automated tests
|
|
21
|
+
*/
|
|
22
|
+
testId?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Minimum height requirement for the AISummary component to prevent fluctuations in a card size on the summary action.
|
|
25
|
+
*/
|
|
26
|
+
minHeight?: number;
|
|
27
|
+
/**
|
|
28
|
+
* For compiled css
|
|
29
|
+
*/
|
|
30
|
+
className?: string;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* A component to render a response from AI in markdown text.
|
|
34
|
+
* @internal
|
|
35
|
+
* @param {AISummaryProps} AISummaryProps
|
|
36
|
+
*/
|
|
37
|
+
declare const AISummaryOld: ({ content, overrideCss, testId, minHeight, }: AISummaryProps) => jsx.JSX.Element | null;
|
|
38
|
+
export default AISummaryOld;
|
|
@@ -1,25 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
3
|
+
* Move this import into this file when cleaning up FF bandicoots-compiled-migration-smartcard
|
|
4
|
+
* Remove the export as well
|
|
4
5
|
*/
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
content?: string;
|
|
8
|
-
overrideCss?: SerializedStyles;
|
|
9
|
-
/**
|
|
10
|
-
* appears as a data attribute `data-testid` in the rendered code,
|
|
11
|
-
* serving as a hook for automated tests
|
|
12
|
-
*/
|
|
13
|
-
testId?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Minimum height requirement for the AISummary component to prevent fluctuations in a card size on the summary action.
|
|
16
|
-
*/
|
|
17
|
-
minHeight?: number;
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* A component to render a response from AI in markdown text.
|
|
21
|
-
* @internal
|
|
22
|
-
* @param {AISummaryProps} AISummaryProps
|
|
23
|
-
*/
|
|
24
|
-
declare const AISummary: ({ content, overrideCss, testId, minHeight, }: AISummaryProps) => jsx.JSX.Element | null;
|
|
6
|
+
import { type AISummaryProps } from './AISummaryOld';
|
|
7
|
+
declare const AISummary: (props: AISummaryProps) => JSX.Element;
|
|
25
8
|
export default AISummary;
|
|
@@ -3,6 +3,5 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
|
|
7
|
-
declare const UList: ({ children, ...props }: React.HTMLAttributes<HTMLUListElement>) => jsx.JSX.Element;
|
|
6
|
+
declare const UList: (props: React.HTMLAttributes<HTMLUListElement>) => JSX.Element;
|
|
8
7
|
export default UList;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
import { type ReactNode } from 'react';
|
|
6
|
+
import { jsx } from '@emotion/react';
|
|
7
|
+
type StopPropagationProps = {
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
};
|
|
10
|
+
export declare const StopPropagationOld: ({ children }: StopPropagationProps) => jsx.JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import { type ReactNode } from 'react';
|
|
6
|
-
import { jsx } from '@emotion/react';
|
|
7
6
|
type StopPropagationProps = {
|
|
8
7
|
children: ReactNode;
|
|
9
8
|
};
|
|
10
|
-
export declare const StopPropagation: (
|
|
9
|
+
export declare const StopPropagation: (props: StopPropagationProps) => JSX.Element;
|
|
11
10
|
export {};
|
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import facepaint from 'facepaint';
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated, these can be replaced with constants
|
|
5
|
+
*/
|
|
3
6
|
declare const gs: (times: number) => string;
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated, these can be replaced with constants
|
|
9
|
+
*/
|
|
4
10
|
declare const br: (times?: number) => string;
|
|
11
|
+
/**
|
|
12
|
+
* @deprecated, these can be replaced with constants
|
|
13
|
+
*/
|
|
5
14
|
declare const mq: facepaint.DynamicStyleFunction;
|
|
6
15
|
export { gs, br, mq };
|
|
7
16
|
export declare const handleClickCommon: (event: React.MouseEvent, onClick?: React.MouseEventHandler) => void;
|
|
@@ -2,7 +2,7 @@ import React, { type ComponentPropsWithoutRef, type ComponentType } from 'react'
|
|
|
2
2
|
import { IconTile } from '@atlaskit/icon';
|
|
3
3
|
import { SmartLinkSize } from '../../../constants';
|
|
4
4
|
import type { AtlaskitIconTileProps } from './types';
|
|
5
|
-
export declare const transformSmartLinkSizeToIconTileSize: (size?: SmartLinkSize) => "
|
|
5
|
+
export declare const transformSmartLinkSizeToIconTileSize: (size?: SmartLinkSize) => "16" | "24";
|
|
6
6
|
type IconProps = {
|
|
7
7
|
label: string;
|
|
8
8
|
testId?: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const useResolve: () => (url: string, isReloading?:
|
|
1
|
+
declare const useResolve: () => (url: string, isReloading?: boolean, isMetadataRequest?: boolean, id?: string) => Promise<void>;
|
|
2
2
|
export default useResolve;
|
|
3
3
|
export type ResolveFunction = ReturnType<typeof useResolve>;
|
|
@@ -2,6 +2,6 @@ import { type JsonLd } from 'json-ld-types';
|
|
|
2
2
|
import { APIError } from '@atlaskit/linking-common';
|
|
3
3
|
declare const useResponse: () => {
|
|
4
4
|
handleResolvedLinkError: (url: string, error: APIError, response?: JsonLd.Response, isMetadataRequest?: boolean) => void;
|
|
5
|
-
handleResolvedLinkResponse: (resourceUrl: string, response: JsonLd.Response | undefined, isReloading?:
|
|
5
|
+
handleResolvedLinkResponse: (resourceUrl: string, response: JsonLd.Response | undefined, isReloading?: boolean, isMetadataRequest?: boolean) => void;
|
|
6
6
|
};
|
|
7
7
|
export default useResponse;
|
|
@@ -5,7 +5,7 @@ import { type LinkProps } from '@atlaskit/link';
|
|
|
5
5
|
import { type AnalyticsPayload } from '../types';
|
|
6
6
|
import { type ClickOutcome, type ClickType, type UiLinkClickedEventProps } from './types';
|
|
7
7
|
export declare const buttonMap: Map<number | undefined, "left" | "right" | "none" | "middle">;
|
|
8
|
-
export declare const getKeys: (e: React.MouseEvent) => ("
|
|
8
|
+
export declare const getKeys: (e: React.MouseEvent) => ("meta" | "alt" | "shift" | "ctrl")[];
|
|
9
9
|
export declare function getLinkClickOutcome(e: React.MouseEvent, clickType: ClickType): ClickOutcome;
|
|
10
10
|
export declare const createLinkClickedPayload: (event: React.MouseEvent) => AnalyticsPayload | undefined;
|
|
11
11
|
type DeepPartial<T> = T extends object ? {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type WrappedComponentProps } from 'react-intl-next';
|
|
3
3
|
import { type CardAppearance, type CardPlatform, type CardProps } from './types';
|
|
4
|
-
export declare const Card: React.ForwardRefExoticComponent<
|
|
4
|
+
export declare const Card: React.ForwardRefExoticComponent<Omit<Omit<Omit<CardProps & WrappedComponentProps, "intl"> & {
|
|
5
5
|
forwardedRef?: React.Ref<any> | undefined;
|
|
6
|
-
}, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "
|
|
6
|
+
}, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "ref"> & React.RefAttributes<any>>;
|
|
7
7
|
export type { CardAppearance, CardProps, CardPlatform };
|
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { TriggerProps } from '@atlaskit/tooltip';
|
|
3
3
|
import type { ActionStackItemProps } from './types';
|
|
4
|
-
declare const ActionButton: (
|
|
5
|
-
|
|
6
|
-
space?: "space.0" | "space.025" | "space.050" | "space.075" | "space.100" | "space.150" | "space.200" | "space.250" | "space.300" | "space.400" | "space.500" | "space.600" | "space.800" | "space.1000" | undefined;
|
|
7
|
-
tooltipOnHide?: ((analyticsEvent: import("@atlaskit/analytics-next").UIAnalyticsEvent) => any) | undefined;
|
|
8
|
-
hideTooltipOnMouseDown?: boolean | undefined;
|
|
9
|
-
} & {
|
|
10
|
-
tooltipProps?: TriggerProps | undefined;
|
|
4
|
+
declare const ActionButton: (props: ActionStackItemProps & {
|
|
5
|
+
tooltipProps?: TriggerProps;
|
|
11
6
|
}) => JSX.Element;
|
|
12
7
|
export default ActionButton;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { TriggerProps } from '@atlaskit/tooltip';
|
|
3
|
+
import type { ActionStackItemProps } from './types';
|
|
4
|
+
declare const ActionButtonOld: ({ content, icon: iconOption, isDisabled, isLoading, onClick: onClickCallback, size, space: spaceOption, testId, tooltipProps, xcss, }: import("../types").ActionProps & {
|
|
5
|
+
size: import("../../../../../..").SmartLinkSize;
|
|
6
|
+
space?: import("@atlaskit/primitives/compiled").Space | undefined;
|
|
7
|
+
tooltipOnHide?: ((analyticsEvent: import("@atlaskit/analytics-next").UIAnalyticsEvent) => any) | undefined;
|
|
8
|
+
hideTooltipOnMouseDown?: boolean | undefined;
|
|
9
|
+
} & {
|
|
10
|
+
tooltipProps?: TriggerProps | undefined;
|
|
11
|
+
}) => JSX.Element;
|
|
12
|
+
export default ActionButtonOld;
|
package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-stack-item/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
2
|
-
import type { Space } from '@atlaskit/primitives';
|
|
2
|
+
import type { Space } from '@atlaskit/primitives/compiled';
|
|
3
3
|
import type { SmartLinkSize } from '../../../../../../constants';
|
|
4
4
|
import type { ActionProps } from '../types';
|
|
5
5
|
export type ActionStackItemProps = ActionProps & {
|
|
@@ -2,7 +2,8 @@ import type { ReactChild, ReactNode } from 'react';
|
|
|
2
2
|
import type { SerializedStyles } from '@emotion/react';
|
|
3
3
|
import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
4
4
|
import type { Appearance } from '@atlaskit/button/types';
|
|
5
|
-
import type {
|
|
5
|
+
import type { XCSS } from '@atlaskit/primitives';
|
|
6
|
+
import type { Space } from '@atlaskit/primitives/compiled';
|
|
6
7
|
import type { SmartLinkSize } from '../../../../../constants';
|
|
7
8
|
export type ActionMessageAppearance = 'error';
|
|
8
9
|
export type ActionMessage = {
|
|
@@ -96,9 +97,13 @@ export type ActionProps = {
|
|
|
96
97
|
*/
|
|
97
98
|
isDisabled?: boolean;
|
|
98
99
|
/**
|
|
100
|
+
* @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-24430 Internal documentation for deprecation (no external access)}
|
|
99
101
|
* Additional styling properties for Primitives based component
|
|
102
|
+
*
|
|
103
|
+
* Use style instead
|
|
100
104
|
*/
|
|
101
105
|
xcss?: XCSS;
|
|
106
|
+
style?: React.CSSProperties;
|
|
102
107
|
/**
|
|
103
108
|
* Allows the use of hyperlinks as buttons via the atlaskit component
|
|
104
109
|
*/
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const AutomationModalExecutionState: () => JSX.Element
|
|
2
|
+
export declare const AutomationModalExecutionState: () => JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type AutomationModalHeaderProps = {
|
|
3
|
+
modalTitle?: React.ReactNode;
|
|
4
|
+
modalDescription?: React.ReactNode;
|
|
5
|
+
};
|
|
6
|
+
export declare const AutomationModalHeaderOld: ({ modalTitle, modalDescription, }: AutomationModalHeaderProps) => JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
type AutomationModalHeaderProps = {
|
|
3
3
|
modalTitle?: React.ReactNode;
|
|
4
4
|
modalDescription?: React.ReactNode;
|
|
5
5
|
};
|
|
6
|
-
export declare const AutomationModalHeader: (
|
|
6
|
+
export declare const AutomationModalHeader: (props: AutomationModalHeaderProps) => JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type Dispatch, type SetStateAction } from 'react';
|
|
2
|
+
import type { ManualRule } from '../../../manual-triggers-container/common/types';
|
|
3
|
+
type AutomationModalRuleProps = {
|
|
4
|
+
rule: ManualRule;
|
|
5
|
+
selectedRule: ManualRule | undefined;
|
|
6
|
+
setSelectedRule: Dispatch<SetStateAction<ManualRule | undefined>>;
|
|
7
|
+
};
|
|
8
|
+
export declare const AutomationModalRuleOld: ({ rule, selectedRule, setSelectedRule, }: AutomationModalRuleProps) => JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
1
5
|
import { type Dispatch, type SetStateAction } from 'react';
|
|
2
6
|
import type { ManualRule } from '../../../manual-triggers-container/common/types';
|
|
3
7
|
type AutomationModalRuleProps = {
|
|
@@ -5,5 +9,5 @@ type AutomationModalRuleProps = {
|
|
|
5
9
|
selectedRule: ManualRule | undefined;
|
|
6
10
|
setSelectedRule: Dispatch<SetStateAction<ManualRule | undefined>>;
|
|
7
11
|
};
|
|
8
|
-
export declare const AutomationModalRule: (
|
|
12
|
+
export declare const AutomationModalRule: (props: AutomationModalRuleProps) => JSX.Element;
|
|
9
13
|
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type Dispatch, type SetStateAction } from 'react';
|
|
2
|
+
import type { ManualRule } from '../../../manual-triggers-container/common/types';
|
|
3
|
+
type AutomationModalRuleListProps = {
|
|
4
|
+
selectedRule: ManualRule | undefined;
|
|
5
|
+
setSelectedRule: Dispatch<SetStateAction<ManualRule | undefined>>;
|
|
6
|
+
};
|
|
7
|
+
export declare const AutomationModalRuleListOld: ({ selectedRule, setSelectedRule, }: AutomationModalRuleListProps) => JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -4,5 +4,5 @@ type AutomationModalRuleListProps = {
|
|
|
4
4
|
selectedRule: ManualRule | undefined;
|
|
5
5
|
setSelectedRule: Dispatch<SetStateAction<ManualRule | undefined>>;
|
|
6
6
|
};
|
|
7
|
-
export declare const AutomationModalRuleList: (
|
|
7
|
+
export declare const AutomationModalRuleList: (props: AutomationModalRuleListProps) => JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { type LinkActionProps } from '../types';
|
|
3
|
-
declare const AutomationAction: (props: LinkActionProps) => JSX.Element
|
|
3
|
+
declare const AutomationAction: (props: LinkActionProps) => JSX.Element;
|
|
4
4
|
export default AutomationAction;
|
package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-block/action-footer/index.d.ts
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
/**
|
|
3
|
+
* @jsxRuntime classic
|
|
4
|
+
* @jsx jsx
|
|
5
|
+
*/
|
|
2
6
|
import { type ActionFooterProps } from './types';
|
|
3
|
-
export declare const ActionFooter: (
|
|
7
|
+
export declare const ActionFooter: (props: ActionFooterProps) => JSX.Element;
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { SmartLinkSize } from '../../../../../constants';
|
|
2
3
|
import type { ActionBlockProps } from './types';
|
|
4
|
+
/**
|
|
5
|
+
* Get container padding based on smart link size
|
|
6
|
+
* To replace container/index.tsx getPadding() with space token for primitives
|
|
7
|
+
*/
|
|
8
|
+
export declare const getPrimitivesPaddingSpaceBySize: (size: SmartLinkSize) => "var(--ds-space-100)" | "var(--ds-space-200)" | "var(--ds-space-250)" | "var(--ds-space-300)";
|
|
3
9
|
declare const ActionBlock: (props: ActionBlockProps) => JSX.Element;
|
|
4
10
|
export default ActionBlock;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { AISummaryActionData } from '../../../../../../state/flexible-ui-context/types';
|
|
3
|
-
export declare const AIFooterMetadata: (
|
|
4
|
-
testId?: string
|
|
5
|
-
}) => JSX.Element
|
|
3
|
+
export declare const AIFooterMetadata: (props: AISummaryActionData & {
|
|
4
|
+
testId?: string;
|
|
5
|
+
}) => JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { AISummaryActionData } from '../../../../../../state/flexible-ui-context/types';
|
|
3
|
+
export declare const AIFooterMetadataOld: ({ testId, url }: AISummaryActionData & {
|
|
4
|
+
testId?: string | undefined;
|
|
5
|
+
}) => JSX.Element | null;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { type SerializedStyles } from '@emotion/react';
|
|
3
3
|
import { type IntlShape, type MessageDescriptor } from 'react-intl-next';
|
|
4
4
|
import { type Spacing } from '@atlaskit/button';
|
|
5
|
-
import type { Space } from '@atlaskit/primitives';
|
|
5
|
+
import type { Space } from '@atlaskit/primitives/compiled';
|
|
6
6
|
import { SmartLinkSize } from '../../../constants';
|
|
7
7
|
import { type MessageProps } from './types';
|
|
8
8
|
export declare const sizeToButtonSpacing: Record<SmartLinkSize, Spacing>;
|
|
@@ -34,6 +34,7 @@ export declare const getPrimitivesInlineSpaceBySize: (size: SmartLinkSize) => Sp
|
|
|
34
34
|
/**
|
|
35
35
|
* Get container padding based on smart link size
|
|
36
36
|
* To replace container/index.tsx getPadding() with space token for primitives
|
|
37
|
+
* @deprecated remove on FF clean up bandicoots-compiled-migration-smartcard
|
|
37
38
|
*/
|
|
38
39
|
export declare const getPrimitivesPaddingSpaceBySize: (size: SmartLinkSize) => Space;
|
|
39
40
|
/**
|
|
@@ -5,5 +5,5 @@ import { type PopupComponentProps } from '@atlaskit/popup';
|
|
|
5
5
|
* HoverCard border implementation is in ContentContainer where it can
|
|
6
6
|
* change between the default border and prism border during runtime.
|
|
7
7
|
*/
|
|
8
|
-
declare const CustomPopupContainer: React.ForwardRefExoticComponent<
|
|
8
|
+
declare const CustomPopupContainer: React.ForwardRefExoticComponent<Omit<PopupComponentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
9
|
export default CustomPopupContainer;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface InlineCardErroredViewProps {
|
|
3
|
+
/** The url to display */
|
|
4
|
+
url: string;
|
|
5
|
+
/** The error message to display */
|
|
6
|
+
message: string;
|
|
7
|
+
/** The optional click handler */
|
|
8
|
+
onClick?: React.EventHandler<React.MouseEvent | React.KeyboardEvent>;
|
|
9
|
+
/** What to do when a user clicks "Try again" button */
|
|
10
|
+
onRetry?: () => void;
|
|
11
|
+
/** A flag that determines whether the card is selected in edit mode. */
|
|
12
|
+
isSelected?: boolean;
|
|
13
|
+
/** A `testId` prop is provided for specified elements, which is a unique string that appears as a data attribute `data-testid` in the rendered code, serving as a hook for automated tests */
|
|
14
|
+
testId?: string;
|
|
15
|
+
icon?: React.ReactNode;
|
|
16
|
+
/** Enables showing a custom preview on hover of link */
|
|
17
|
+
showHoverPreview?: boolean;
|
|
18
|
+
/** Truncates the card to one line */
|
|
19
|
+
truncateInline?: boolean;
|
|
20
|
+
}
|
|
21
|
+
export declare class InlineCardErroredViewOld extends React.Component<InlineCardErroredViewProps> {
|
|
22
|
+
private frameRef;
|
|
23
|
+
handleRetry: (event: React.MouseEvent<HTMLElement>) => void;
|
|
24
|
+
renderActionButton: () => JSX.Element | undefined;
|
|
25
|
+
render(): JSX.Element;
|
|
26
|
+
}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
1
5
|
import React from 'react';
|
|
2
6
|
export interface InlineCardErroredViewProps {
|
|
3
7
|
/** The url to display */
|
|
@@ -18,9 +22,4 @@ export interface InlineCardErroredViewProps {
|
|
|
18
22
|
/** Truncates the card to one line */
|
|
19
23
|
truncateInline?: boolean;
|
|
20
24
|
}
|
|
21
|
-
export declare
|
|
22
|
-
private frameRef;
|
|
23
|
-
handleRetry: (event: React.MouseEvent<HTMLElement>) => void;
|
|
24
|
-
renderActionButton: () => JSX.Element | undefined;
|
|
25
|
-
render(): JSX.Element;
|
|
26
|
-
}
|
|
25
|
+
export declare const InlineCardErroredView: (props: InlineCardErroredViewProps) => JSX.Element;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type RequestAccessContextProps } from '../../types';
|
|
3
|
+
export interface InlineCardForbiddenViewProps {
|
|
4
|
+
/** The url to display */
|
|
5
|
+
url: string;
|
|
6
|
+
/** The icon of the service (e.g. Dropbox/Asana/Google/etc) to display */
|
|
7
|
+
icon?: React.ReactNode;
|
|
8
|
+
/** The name of the service (e.g. Jira/Confluence/Asana/etc) to display */
|
|
9
|
+
context?: string;
|
|
10
|
+
/** The optional click handler */
|
|
11
|
+
onClick?: React.EventHandler<React.MouseEvent | React.KeyboardEvent>;
|
|
12
|
+
/** The optional handler for "Connect" button */
|
|
13
|
+
onAuthorise?: () => void;
|
|
14
|
+
/** A flag that determines whether the card is selected in edit mode. */
|
|
15
|
+
isSelected?: boolean;
|
|
16
|
+
/** A `testId` prop is provided for specified elements, which is a unique string that appears as a data attribute `data-testid` in the rendered code, serving as a hook for automated tests */
|
|
17
|
+
testId?: string;
|
|
18
|
+
requestAccessContext?: RequestAccessContextProps;
|
|
19
|
+
/** Enables showing a custom preview on hover of link */
|
|
20
|
+
showHoverPreview?: boolean;
|
|
21
|
+
/** Truncates the card to one line */
|
|
22
|
+
truncateInline?: boolean;
|
|
23
|
+
}
|
|
24
|
+
export declare class InlineCardForbiddenViewOld extends React.Component<InlineCardForbiddenViewProps> {
|
|
25
|
+
private frameRef;
|
|
26
|
+
state: {
|
|
27
|
+
hasRequestAccessContextMessage: boolean;
|
|
28
|
+
};
|
|
29
|
+
handleRetry: (event: React.MouseEvent<HTMLElement>) => void;
|
|
30
|
+
renderForbiddenAccessMessage: () => JSX.Element;
|
|
31
|
+
renderActionButton: () => JSX.Element | null;
|
|
32
|
+
render(): JSX.Element;
|
|
33
|
+
}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
1
5
|
import React from 'react';
|
|
2
6
|
import { type RequestAccessContextProps } from '../../types';
|
|
3
7
|
export interface InlineCardForbiddenViewProps {
|
|
@@ -21,13 +25,4 @@ export interface InlineCardForbiddenViewProps {
|
|
|
21
25
|
/** Truncates the card to one line */
|
|
22
26
|
truncateInline?: boolean;
|
|
23
27
|
}
|
|
24
|
-
export declare
|
|
25
|
-
private frameRef;
|
|
26
|
-
state: {
|
|
27
|
-
hasRequestAccessContextMessage: boolean;
|
|
28
|
-
};
|
|
29
|
-
handleRetry: (event: React.MouseEvent<HTMLElement>) => void;
|
|
30
|
-
renderForbiddenAccessMessage: () => JSX.Element;
|
|
31
|
-
renderActionButton: () => JSX.Element | null;
|
|
32
|
-
render(): JSX.Element;
|
|
33
|
-
}
|
|
28
|
+
export declare const InlineCardForbiddenView: (props: InlineCardForbiddenViewProps) => JSX.Element;
|
|
@@ -11,5 +11,5 @@ export interface WrapperProps extends React.ComponentProps<any> {
|
|
|
11
11
|
isHovered?: boolean;
|
|
12
12
|
truncateInline?: boolean;
|
|
13
13
|
}
|
|
14
|
-
export declare const WrapperSpan: React.ForwardRefExoticComponent<
|
|
15
|
-
export declare const WrapperAnchor: React.ForwardRefExoticComponent<
|
|
14
|
+
export declare const WrapperSpan: React.ForwardRefExoticComponent<Omit<WrapperProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
15
|
+
export declare const WrapperAnchor: React.ForwardRefExoticComponent<Omit<WrapperProps, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|