@atlaskit/media-card 79.0.0 → 79.0.1
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 +9 -0
- package/dist/cjs/card/card.js +1 -1
- package/dist/cjs/card/cardView.js +29 -33
- package/dist/cjs/card/inlinePlayerWrapper-compiled.compiled.css +19 -0
- package/dist/cjs/card/inlinePlayerWrapper-compiled.js +52 -0
- package/dist/cjs/card/inlinePlayerWrapper-emotion.js +42 -0
- package/dist/cjs/card/inlinePlayerWrapper.js +5 -33
- package/dist/cjs/card/media-card-analytics-error-boundary.js +1 -1
- package/dist/cjs/card/svgView/svgImage-compiled.compiled.css +4 -0
- package/dist/cjs/card/svgView/svgImage-compiled.js +94 -0
- package/dist/cjs/card/svgView/svgImage-emotion.js +102 -0
- package/dist/cjs/card/ui/actionsBar/actionsBarWrapper-compiled.compiled.css +15 -0
- package/dist/cjs/card/ui/actionsBar/actionsBarWrapper-compiled.js +29 -0
- package/dist/cjs/card/ui/actionsBar/actionsBarWrapper-emotion.js +33 -0
- package/dist/cjs/card/ui/actionsBar/actionsBarWrapper.js +6 -25
- package/dist/cjs/card/ui/actionsBar/cardActions/cardActionButton-compiled.compiled.css +13 -0
- package/dist/cjs/card/ui/actionsBar/cardActions/cardActionButton-compiled.js +41 -0
- package/dist/cjs/card/ui/actionsBar/cardActions/cardActionButton-emotion.js +35 -0
- package/dist/cjs/card/ui/actionsBar/cardActions/cardActionButton.js +10 -24
- package/dist/cjs/card/ui/actionsBar/cardActions/cardActionsView.js +9 -10
- package/dist/cjs/card/ui/blanket/blanket-compiled.compiled.css +9 -0
- package/dist/cjs/card/ui/blanket/blanket-compiled.js +30 -0
- package/dist/cjs/card/ui/blanket/blanket-emotion.js +25 -0
- package/dist/cjs/card/ui/blanket/blanket.js +6 -17
- package/dist/cjs/card/ui/iconMessage/iconMessageWrapper-compiled.compiled.css +14 -0
- package/dist/cjs/card/ui/iconMessage/iconMessageWrapper-compiled.js +23 -0
- package/dist/cjs/card/ui/iconMessage/iconMessageWrapper-emotion.js +51 -0
- package/dist/cjs/card/ui/iconMessage/iconMessageWrapper.js +6 -43
- package/dist/cjs/card/ui/iconWrapper/iconWrapper-compiled.compiled.css +6 -0
- package/dist/cjs/card/ui/iconWrapper/iconWrapper-compiled.js +38 -0
- package/dist/cjs/card/ui/iconWrapper/iconWrapper-emotion.js +27 -0
- package/dist/cjs/card/ui/iconWrapper/iconWrapper.js +6 -19
- package/dist/cjs/card/ui/playButton/playButtonBackground-compiled.compiled.css +7 -0
- package/dist/cjs/card/ui/playButton/playButtonBackground-compiled.js +27 -0
- package/dist/cjs/card/ui/playButton/playButtonBackground-emotion.js +21 -0
- package/dist/cjs/card/ui/playButton/playButtonWrapper-compiled.compiled.css +10 -0
- package/dist/cjs/card/ui/playButton/playButtonWrapper-compiled.js +24 -0
- package/dist/cjs/card/ui/playButton/playButtonWrapper-emotion.js +23 -0
- package/dist/cjs/card/ui/playButton/playButtonWrapper.js +6 -15
- package/dist/cjs/card/ui/progressBar/styledBar-compiled.compiled.css +13 -0
- package/dist/cjs/card/ui/progressBar/styledBar-compiled.js +66 -0
- package/dist/cjs/card/ui/progressBar/styledBar-emotion.js +33 -0
- package/dist/cjs/card/ui/progressBar/styledBar.js +6 -25
- package/dist/cjs/card/ui/tickBox/tickBoxWrapper-compiled.compiled.css +18 -0
- package/dist/cjs/card/ui/tickBox/tickBoxWrapper-compiled.js +30 -0
- package/dist/cjs/card/ui/tickBox/tickBoxWrapper-emotion.js +67 -0
- package/dist/cjs/card/ui/tickBox/tickBoxWrapper.js +7 -59
- package/dist/cjs/card/ui/titleBox/titleBoxComponents-compiled.compiled.css +35 -0
- package/dist/cjs/card/ui/titleBox/titleBoxComponents-compiled.js +88 -0
- package/dist/cjs/card/ui/titleBox/titleBoxComponents-emotion.js +72 -0
- package/dist/cjs/card/ui/titleBox/titleBoxComponents.js +9 -55
- package/dist/cjs/card/ui/unhandledErrorCard/contentLoadingErrorMessage.js +20 -0
- package/dist/cjs/card/ui/unhandledErrorCard/index.js +7 -97
- package/dist/cjs/card/ui/unhandledErrorCard/unhandledErrorCard-compiled.compiled.css +11 -0
- package/dist/cjs/card/ui/unhandledErrorCard/unhandledErrorCard-compiled.js +88 -0
- package/dist/cjs/card/ui/unhandledErrorCard/unhandledErrorCard-emotion.js +106 -0
- package/dist/cjs/card/ui/wrapper/imageContainer-compiled.compiled.css +12 -0
- package/dist/cjs/card/ui/wrapper/imageContainer-compiled.js +41 -0
- package/dist/cjs/card/ui/wrapper/imageContainer-emotion.js +55 -0
- package/dist/cjs/card/ui/wrapper/imageContainer.js +6 -48
- package/dist/cjs/card/ui/wrapper/wrapper-compiled.compiled.css +24 -0
- package/dist/cjs/card/ui/wrapper/wrapper-compiled.js +96 -0
- package/dist/cjs/card/ui/wrapper/wrapper-emotion.js +61 -0
- package/dist/cjs/card/ui/wrapper/wrapper.js +5 -52
- package/dist/cjs/inline/loader.js +1 -1
- package/dist/cjs/utils/ufoExperiences.js +1 -1
- package/dist/es2019/card/card.js +1 -1
- package/dist/es2019/card/cardView.js +21 -27
- package/dist/es2019/card/inlinePlayerWrapper-compiled.compiled.css +19 -0
- package/dist/es2019/card/inlinePlayerWrapper-compiled.js +45 -0
- package/dist/es2019/card/inlinePlayerWrapper-emotion.js +36 -0
- package/dist/es2019/card/inlinePlayerWrapper.js +5 -34
- package/dist/es2019/card/media-card-analytics-error-boundary.js +1 -1
- package/dist/es2019/card/svgView/svgImage-compiled.compiled.css +4 -0
- package/dist/es2019/card/svgView/svgImage-compiled.js +80 -0
- package/dist/es2019/card/svgView/svgImage-emotion.js +90 -0
- package/dist/es2019/card/ui/actionsBar/actionsBarWrapper-compiled.compiled.css +15 -0
- package/dist/es2019/card/ui/actionsBar/actionsBarWrapper-compiled.js +20 -0
- package/dist/es2019/card/ui/actionsBar/actionsBarWrapper-emotion.js +26 -0
- package/dist/es2019/card/ui/actionsBar/actionsBarWrapper.js +5 -26
- package/dist/es2019/card/ui/actionsBar/cardActions/cardActionButton-compiled.compiled.css +13 -0
- package/dist/es2019/card/ui/actionsBar/cardActions/cardActionButton-compiled.js +31 -0
- package/dist/es2019/card/ui/actionsBar/cardActions/cardActionButton-emotion.js +28 -0
- package/dist/es2019/card/ui/actionsBar/cardActions/cardActionButton.js +9 -27
- package/dist/es2019/card/ui/actionsBar/cardActions/cardActionsView.js +4 -10
- package/dist/es2019/card/ui/blanket/blanket-compiled.compiled.css +9 -0
- package/dist/es2019/card/ui/blanket/blanket-compiled.js +20 -0
- package/dist/es2019/card/ui/blanket/blanket-emotion.js +20 -0
- package/dist/es2019/card/ui/blanket/blanket.js +5 -20
- package/dist/es2019/card/ui/iconMessage/iconMessageWrapper-compiled.compiled.css +14 -0
- package/dist/es2019/card/ui/iconMessage/iconMessageWrapper-compiled.js +16 -0
- package/dist/es2019/card/ui/iconMessage/iconMessageWrapper-emotion.js +46 -0
- package/dist/es2019/card/ui/iconMessage/iconMessageWrapper.js +5 -46
- package/dist/es2019/card/ui/iconWrapper/iconWrapper-compiled.compiled.css +6 -0
- package/dist/es2019/card/ui/iconWrapper/iconWrapper-compiled.js +30 -0
- package/dist/es2019/card/ui/iconWrapper/iconWrapper-emotion.js +22 -0
- package/dist/es2019/card/ui/iconWrapper/iconWrapper.js +5 -22
- package/dist/es2019/card/ui/playButton/playButtonBackground-compiled.compiled.css +7 -0
- package/dist/es2019/card/ui/playButton/playButtonBackground-compiled.js +14 -0
- package/dist/es2019/card/ui/playButton/playButtonBackground-emotion.js +14 -0
- package/dist/es2019/card/ui/playButton/playButtonWrapper-compiled.compiled.css +10 -0
- package/dist/es2019/card/ui/playButton/playButtonWrapper-compiled.js +12 -0
- package/dist/es2019/card/ui/playButton/playButtonWrapper-emotion.js +16 -0
- package/dist/es2019/card/ui/playButton/playButtonWrapper.js +5 -16
- package/dist/es2019/card/ui/progressBar/styledBar-compiled.compiled.css +16 -0
- package/dist/es2019/card/ui/progressBar/styledBar-compiled.js +52 -0
- package/dist/es2019/card/ui/progressBar/styledBar-emotion.js +28 -0
- package/dist/es2019/card/ui/progressBar/styledBar.js +5 -28
- package/dist/es2019/card/ui/tickBox/tickBoxWrapper-compiled.compiled.css +18 -0
- package/dist/es2019/card/ui/tickBox/tickBoxWrapper-compiled.js +18 -0
- package/dist/es2019/card/ui/tickBox/tickBoxWrapper-emotion.js +57 -0
- package/dist/es2019/card/ui/tickBox/tickBoxWrapper.js +5 -56
- package/dist/es2019/card/ui/titleBox/titleBoxComponents-compiled.compiled.css +35 -0
- package/dist/es2019/card/ui/titleBox/titleBoxComponents-compiled.js +86 -0
- package/dist/es2019/card/ui/titleBox/titleBoxComponents-emotion.js +71 -0
- package/dist/es2019/card/ui/titleBox/titleBoxComponents.js +8 -70
- package/dist/es2019/card/ui/unhandledErrorCard/contentLoadingErrorMessage.js +11 -0
- package/dist/es2019/card/ui/unhandledErrorCard/index.js +5 -83
- package/dist/es2019/card/ui/unhandledErrorCard/unhandledErrorCard-compiled.compiled.css +11 -0
- package/dist/es2019/card/ui/unhandledErrorCard/unhandledErrorCard-compiled.js +56 -0
- package/dist/es2019/card/ui/unhandledErrorCard/unhandledErrorCard-emotion.js +85 -0
- package/dist/es2019/card/ui/wrapper/imageContainer-compiled.compiled.css +12 -0
- package/dist/es2019/card/ui/wrapper/imageContainer-compiled.js +31 -0
- package/dist/es2019/card/ui/wrapper/imageContainer-emotion.js +47 -0
- package/dist/es2019/card/ui/wrapper/imageContainer.js +5 -47
- package/dist/es2019/card/ui/wrapper/wrapper-compiled.compiled.css +24 -0
- package/dist/es2019/card/ui/wrapper/wrapper-compiled.js +86 -0
- package/dist/es2019/card/ui/wrapper/wrapper-emotion.js +55 -0
- package/dist/es2019/card/ui/wrapper/wrapper.js +5 -55
- package/dist/es2019/inline/loader.js +1 -1
- package/dist/es2019/utils/ufoExperiences.js +1 -1
- package/dist/esm/card/card.js +1 -1
- package/dist/esm/card/cardView.js +21 -27
- package/dist/esm/card/inlinePlayerWrapper-compiled.compiled.css +19 -0
- package/dist/esm/card/inlinePlayerWrapper-compiled.js +42 -0
- package/dist/esm/card/inlinePlayerWrapper-emotion.js +34 -0
- package/dist/esm/card/inlinePlayerWrapper.js +5 -32
- package/dist/esm/card/media-card-analytics-error-boundary.js +1 -1
- package/dist/esm/card/svgView/svgImage-compiled.compiled.css +4 -0
- package/dist/esm/card/svgView/svgImage-compiled.js +84 -0
- package/dist/esm/card/svgView/svgImage-emotion.js +94 -0
- package/dist/esm/card/ui/actionsBar/actionsBarWrapper-compiled.compiled.css +15 -0
- package/dist/esm/card/ui/actionsBar/actionsBarWrapper-compiled.js +20 -0
- package/dist/esm/card/ui/actionsBar/actionsBarWrapper-emotion.js +26 -0
- package/dist/esm/card/ui/actionsBar/actionsBarWrapper.js +5 -24
- package/dist/esm/card/ui/actionsBar/cardActions/cardActionButton-compiled.compiled.css +13 -0
- package/dist/esm/card/ui/actionsBar/cardActions/cardActionButton-compiled.js +33 -0
- package/dist/esm/card/ui/actionsBar/cardActions/cardActionButton-emotion.js +30 -0
- package/dist/esm/card/ui/actionsBar/cardActions/cardActionButton.js +8 -26
- package/dist/esm/card/ui/actionsBar/cardActions/cardActionsView.js +4 -10
- package/dist/esm/card/ui/blanket/blanket-compiled.compiled.css +9 -0
- package/dist/esm/card/ui/blanket/blanket-compiled.js +21 -0
- package/dist/esm/card/ui/blanket/blanket-emotion.js +18 -0
- package/dist/esm/card/ui/blanket/blanket.js +5 -16
- package/dist/esm/card/ui/iconMessage/iconMessageWrapper-compiled.compiled.css +14 -0
- package/dist/esm/card/ui/iconMessage/iconMessageWrapper-compiled.js +14 -0
- package/dist/esm/card/ui/iconMessage/iconMessageWrapper-emotion.js +44 -0
- package/dist/esm/card/ui/iconMessage/iconMessageWrapper.js +5 -42
- package/dist/esm/card/ui/iconWrapper/iconWrapper-compiled.compiled.css +6 -0
- package/dist/esm/card/ui/iconWrapper/iconWrapper-compiled.js +28 -0
- package/dist/esm/card/ui/iconWrapper/iconWrapper-emotion.js +20 -0
- package/dist/esm/card/ui/iconWrapper/iconWrapper.js +5 -18
- package/dist/esm/card/ui/playButton/playButtonBackground-compiled.compiled.css +7 -0
- package/dist/esm/card/ui/playButton/playButtonBackground-compiled.js +18 -0
- package/dist/esm/card/ui/playButton/playButtonBackground-emotion.js +14 -0
- package/dist/esm/card/ui/playButton/playButtonWrapper-compiled.compiled.css +10 -0
- package/dist/esm/card/ui/playButton/playButtonWrapper-compiled.js +15 -0
- package/dist/esm/card/ui/playButton/playButtonWrapper-emotion.js +16 -0
- package/dist/esm/card/ui/playButton/playButtonWrapper.js +5 -14
- package/dist/esm/card/ui/progressBar/styledBar-compiled.compiled.css +13 -0
- package/dist/esm/card/ui/progressBar/styledBar-compiled.js +55 -0
- package/dist/esm/card/ui/progressBar/styledBar-emotion.js +26 -0
- package/dist/esm/card/ui/progressBar/styledBar.js +5 -24
- package/dist/esm/card/ui/tickBox/tickBoxWrapper-compiled.compiled.css +18 -0
- package/dist/esm/card/ui/tickBox/tickBoxWrapper-compiled.js +21 -0
- package/dist/esm/card/ui/tickBox/tickBoxWrapper-emotion.js +60 -0
- package/dist/esm/card/ui/tickBox/tickBoxWrapper.js +6 -58
- package/dist/esm/card/ui/titleBox/titleBoxComponents-compiled.compiled.css +35 -0
- package/dist/esm/card/ui/titleBox/titleBoxComponents-compiled.js +79 -0
- package/dist/esm/card/ui/titleBox/titleBoxComponents-emotion.js +65 -0
- package/dist/esm/card/ui/titleBox/titleBoxComponents.js +8 -54
- package/dist/esm/card/ui/unhandledErrorCard/contentLoadingErrorMessage.js +13 -0
- package/dist/esm/card/ui/unhandledErrorCard/index.js +7 -99
- package/dist/esm/card/ui/unhandledErrorCard/unhandledErrorCard-compiled.compiled.css +11 -0
- package/dist/esm/card/ui/unhandledErrorCard/unhandledErrorCard-compiled.js +78 -0
- package/dist/esm/card/ui/unhandledErrorCard/unhandledErrorCard-emotion.js +101 -0
- package/dist/esm/card/ui/wrapper/imageContainer-compiled.compiled.css +12 -0
- package/dist/esm/card/ui/wrapper/imageContainer-compiled.js +32 -0
- package/dist/esm/card/ui/wrapper/imageContainer-emotion.js +48 -0
- package/dist/esm/card/ui/wrapper/imageContainer.js +6 -47
- package/dist/esm/card/ui/wrapper/wrapper-compiled.compiled.css +24 -0
- package/dist/esm/card/ui/wrapper/wrapper-compiled.js +86 -0
- package/dist/esm/card/ui/wrapper/wrapper-emotion.js +53 -0
- package/dist/esm/card/ui/wrapper/wrapper.js +5 -51
- package/dist/esm/inline/loader.js +1 -1
- package/dist/esm/utils/ufoExperiences.js +1 -1
- package/dist/types/card/cardView.d.ts +1 -6
- package/dist/types/card/inlinePlayerWrapper-compiled.d.ts +4 -0
- package/dist/types/card/inlinePlayerWrapper-emotion.d.ts +7 -0
- package/dist/types/card/inlinePlayerWrapper.d.ts +2 -6
- package/dist/types/card/svgView/svgImage-compiled.d.ts +17 -0
- package/dist/types/card/svgView/svgImage-emotion.d.ts +22 -0
- package/dist/types/card/ui/actionsBar/actionsBarWrapper-compiled.d.ts +6 -0
- package/dist/types/card/ui/actionsBar/actionsBarWrapper-emotion.d.ts +7 -0
- package/dist/types/card/ui/actionsBar/actionsBarWrapper.d.ts +2 -6
- package/dist/types/card/ui/actionsBar/cardActions/cardActionButton-compiled.d.ts +3 -0
- package/dist/types/card/ui/actionsBar/cardActions/cardActionButton-emotion.d.ts +3 -0
- package/dist/types/card/ui/actionsBar/cardActions/cardActionButton.d.ts +2 -2
- package/dist/types/card/ui/blanket/blanket-compiled.d.ts +10 -0
- package/dist/types/card/ui/blanket/blanket-emotion.d.ts +9 -0
- package/dist/types/card/ui/blanket/blanket.d.ts +2 -6
- package/dist/types/card/ui/iconMessage/iconMessageWrapper-compiled.d.ts +3 -0
- package/dist/types/card/ui/iconMessage/iconMessageWrapper-emotion.d.ts +7 -0
- package/dist/types/card/ui/iconMessage/iconMessageWrapper.d.ts +2 -6
- package/dist/types/card/ui/iconWrapper/iconWrapper-compiled.d.ts +8 -0
- package/dist/types/card/ui/iconWrapper/iconWrapper-emotion.d.ts +7 -0
- package/dist/types/card/ui/iconWrapper/iconWrapper.d.ts +2 -6
- package/dist/types/card/ui/playButton/playButtonBackground-compiled.d.ts +2 -0
- package/dist/types/card/ui/playButton/playButtonBackground-emotion.d.ts +6 -0
- package/dist/types/card/ui/playButton/playButtonWrapper-compiled.d.ts +2 -0
- package/dist/types/card/ui/playButton/playButtonWrapper-emotion.d.ts +6 -0
- package/dist/types/card/ui/playButton/playButtonWrapper.d.ts +2 -6
- package/dist/types/card/ui/progressBar/styledBar-compiled.d.ts +14 -0
- package/dist/types/card/ui/progressBar/styledBar-emotion.d.ts +7 -0
- package/dist/types/card/ui/progressBar/styledBar.d.ts +2 -6
- package/dist/types/card/ui/tickBox/tickBoxWrapper-compiled.d.ts +6 -0
- package/dist/types/card/ui/tickBox/tickBoxWrapper-emotion.d.ts +7 -0
- package/dist/types/card/ui/tickBox/tickBoxWrapper.d.ts +5 -6
- package/dist/types/card/ui/titleBox/titleBoxComponents-compiled.d.ts +16 -0
- package/dist/types/card/ui/titleBox/titleBoxComponents-emotion.d.ts +11 -0
- package/dist/types/card/ui/titleBox/titleBoxComponents.d.ts +6 -10
- package/dist/types/card/ui/unhandledErrorCard/contentLoadingErrorMessage.d.ts +6 -0
- package/dist/types/card/ui/unhandledErrorCard/index.d.ts +2 -9
- package/dist/types/card/ui/unhandledErrorCard/unhandledErrorCard-compiled.d.ts +9 -0
- package/dist/types/card/ui/unhandledErrorCard/unhandledErrorCard-emotion.d.ts +10 -0
- package/dist/types/card/ui/wrapper/imageContainer-compiled.d.ts +13 -0
- package/dist/types/card/ui/wrapper/imageContainer-emotion.d.ts +18 -0
- package/dist/types/card/ui/wrapper/imageContainer.d.ts +2 -7
- package/dist/types/card/ui/wrapper/wrapper-compiled.d.ts +6 -0
- package/dist/types/card/ui/wrapper/wrapper-emotion.d.ts +7 -0
- package/dist/types/card/ui/wrapper/wrapper.d.ts +2 -6
- package/dist/types-ts4.5/card/cardView.d.ts +1 -6
- package/dist/types-ts4.5/card/inlinePlayerWrapper-compiled.d.ts +4 -0
- package/dist/types-ts4.5/card/inlinePlayerWrapper-emotion.d.ts +7 -0
- package/dist/types-ts4.5/card/inlinePlayerWrapper.d.ts +2 -6
- package/dist/types-ts4.5/card/svgView/svgImage-compiled.d.ts +17 -0
- package/dist/types-ts4.5/card/svgView/svgImage-emotion.d.ts +22 -0
- package/dist/types-ts4.5/card/ui/actionsBar/actionsBarWrapper-compiled.d.ts +6 -0
- package/dist/types-ts4.5/card/ui/actionsBar/actionsBarWrapper-emotion.d.ts +7 -0
- package/dist/types-ts4.5/card/ui/actionsBar/actionsBarWrapper.d.ts +2 -6
- package/dist/types-ts4.5/card/ui/actionsBar/cardActions/cardActionButton-compiled.d.ts +3 -0
- package/dist/types-ts4.5/card/ui/actionsBar/cardActions/cardActionButton-emotion.d.ts +3 -0
- package/dist/types-ts4.5/card/ui/actionsBar/cardActions/cardActionButton.d.ts +2 -2
- package/dist/types-ts4.5/card/ui/blanket/blanket-compiled.d.ts +10 -0
- package/dist/types-ts4.5/card/ui/blanket/blanket-emotion.d.ts +9 -0
- package/dist/types-ts4.5/card/ui/blanket/blanket.d.ts +2 -6
- package/dist/types-ts4.5/card/ui/iconMessage/iconMessageWrapper-compiled.d.ts +3 -0
- package/dist/types-ts4.5/card/ui/iconMessage/iconMessageWrapper-emotion.d.ts +7 -0
- package/dist/types-ts4.5/card/ui/iconMessage/iconMessageWrapper.d.ts +2 -6
- package/dist/types-ts4.5/card/ui/iconWrapper/iconWrapper-compiled.d.ts +8 -0
- package/dist/types-ts4.5/card/ui/iconWrapper/iconWrapper-emotion.d.ts +7 -0
- package/dist/types-ts4.5/card/ui/iconWrapper/iconWrapper.d.ts +2 -6
- package/dist/types-ts4.5/card/ui/playButton/playButtonBackground-compiled.d.ts +2 -0
- package/dist/types-ts4.5/card/ui/playButton/playButtonBackground-emotion.d.ts +6 -0
- package/dist/types-ts4.5/card/ui/playButton/playButtonWrapper-compiled.d.ts +2 -0
- package/dist/types-ts4.5/card/ui/playButton/playButtonWrapper-emotion.d.ts +6 -0
- package/dist/types-ts4.5/card/ui/playButton/playButtonWrapper.d.ts +2 -6
- package/dist/types-ts4.5/card/ui/progressBar/styledBar-compiled.d.ts +14 -0
- package/dist/types-ts4.5/card/ui/progressBar/styledBar-emotion.d.ts +7 -0
- package/dist/types-ts4.5/card/ui/progressBar/styledBar.d.ts +2 -6
- package/dist/types-ts4.5/card/ui/tickBox/tickBoxWrapper-compiled.d.ts +6 -0
- package/dist/types-ts4.5/card/ui/tickBox/tickBoxWrapper-emotion.d.ts +7 -0
- package/dist/types-ts4.5/card/ui/tickBox/tickBoxWrapper.d.ts +5 -6
- package/dist/types-ts4.5/card/ui/titleBox/titleBoxComponents-compiled.d.ts +16 -0
- package/dist/types-ts4.5/card/ui/titleBox/titleBoxComponents-emotion.d.ts +11 -0
- package/dist/types-ts4.5/card/ui/titleBox/titleBoxComponents.d.ts +6 -10
- package/dist/types-ts4.5/card/ui/unhandledErrorCard/contentLoadingErrorMessage.d.ts +6 -0
- package/dist/types-ts4.5/card/ui/unhandledErrorCard/index.d.ts +2 -9
- package/dist/types-ts4.5/card/ui/unhandledErrorCard/unhandledErrorCard-compiled.d.ts +9 -0
- package/dist/types-ts4.5/card/ui/unhandledErrorCard/unhandledErrorCard-emotion.d.ts +10 -0
- package/dist/types-ts4.5/card/ui/wrapper/imageContainer-compiled.d.ts +13 -0
- package/dist/types-ts4.5/card/ui/wrapper/imageContainer-emotion.d.ts +18 -0
- package/dist/types-ts4.5/card/ui/wrapper/imageContainer.d.ts +2 -7
- package/dist/types-ts4.5/card/ui/wrapper/wrapper-compiled.d.ts +6 -0
- package/dist/types-ts4.5/card/ui/wrapper/wrapper-emotion.d.ts +7 -0
- package/dist/types-ts4.5/card/ui/wrapper/wrapper.d.ts +2 -6
- package/package.json +9 -2
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/* playButtonBackground-compiled.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
2
|
+
import "./playButtonBackground-compiled.compiled.css";
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
5
|
+
import { N90A } from '@atlaskit/theme/colors';
|
|
6
|
+
import { bkgClassName } from './styles';
|
|
7
|
+
var discSize = 48;
|
|
8
|
+
var backgroundStyles = null;
|
|
9
|
+
export var PlayButtonBackground = function PlayButtonBackground() {
|
|
10
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
11
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
12
|
+
className: ax(["_2rko1osq _k8m0jofv _1oec1yx9 _kqswstnw _1bsb1ezv _4t3i1ezv _bfhk1ypx", bkgClassName]),
|
|
13
|
+
style: {
|
|
14
|
+
"--_zq1rrr": ix("".concat(discSize, "px")),
|
|
15
|
+
"--_gra0m5": ix("var(--ds-background-neutral-bold, ".concat(N90A, ")"))
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
|
+
import { jsx } from '@emotion/react';
|
|
7
|
+
import { backgroundStyles, bkgClassName } from './styles';
|
|
8
|
+
export var PlayButtonBackground = function PlayButtonBackground() {
|
|
9
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
10
|
+
return jsx("div", {
|
|
11
|
+
css: backgroundStyles,
|
|
12
|
+
className: bkgClassName
|
|
13
|
+
});
|
|
14
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
._154iidpf{top:0}
|
|
2
|
+
._1bah1h6o{justify-content:center}
|
|
3
|
+
._1bsb1osq{width:100%}
|
|
4
|
+
._1e0c1txw{display:flex}
|
|
5
|
+
._1ltvidpf{left:0}
|
|
6
|
+
._4cvr1h6o{align-items:center}
|
|
7
|
+
._4t3i1osq{height:100%}
|
|
8
|
+
._kqswstnw{position:absolute}
|
|
9
|
+
._syazw5hi{color:var(--_1qgzj18)}
|
|
10
|
+
._vr2wstnw span{position:absolute}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* playButtonWrapper-compiled.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
2
|
+
import "./playButtonWrapper-compiled.compiled.css";
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
5
|
+
import { N0 } from '@atlaskit/theme/colors';
|
|
6
|
+
import { playButtonClassName } from './styles';
|
|
7
|
+
var playButtonWrapperStyles = null;
|
|
8
|
+
export var PlayButtonWrapper = function PlayButtonWrapper(props) {
|
|
9
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
10
|
+
className: ax(["_kqswstnw _154iidpf _1ltvidpf _1bsb1osq _4t3i1osq _1e0c1txw _4cvr1h6o _1bah1h6o _syazw5hi _vr2wstnw", playButtonClassName]),
|
|
11
|
+
style: {
|
|
12
|
+
"--_1qgzj18": ix("var(--ds-icon-inverse, ".concat(N0, ")"))
|
|
13
|
+
}
|
|
14
|
+
}, props.children);
|
|
15
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
|
+
import { jsx } from '@emotion/react';
|
|
7
|
+
import { playButtonClassName, playButtonWrapperStyles } from './styles';
|
|
8
|
+
export var PlayButtonWrapper = function PlayButtonWrapper(props) {
|
|
9
|
+
return (
|
|
10
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
11
|
+
jsx("div", {
|
|
12
|
+
css: playButtonWrapperStyles,
|
|
13
|
+
className: playButtonClassName
|
|
14
|
+
}, props.children)
|
|
15
|
+
);
|
|
16
|
+
};
|
|
@@ -1,16 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
|
-
import { jsx } from '@emotion/react';
|
|
7
|
-
import { playButtonClassName, playButtonWrapperStyles } from './styles';
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
3
|
+
import { PlayButtonWrapper as CompiledPlayButtonWrapper } from './playButtonWrapper-compiled';
|
|
4
|
+
import { PlayButtonWrapper as EmotionPlayButtonWrapper } from './playButtonWrapper-emotion';
|
|
8
5
|
export var PlayButtonWrapper = function PlayButtonWrapper(props) {
|
|
9
|
-
return (
|
|
10
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
11
|
-
jsx("div", {
|
|
12
|
-
css: playButtonWrapperStyles,
|
|
13
|
-
className: playButtonClassName
|
|
14
|
-
}, props.children)
|
|
15
|
-
);
|
|
6
|
+
return fg('platform_media_compiled') ? /*#__PURE__*/React.createElement(CompiledPlayButtonWrapper, props) : /*#__PURE__*/React.createElement(EmotionPlayButtonWrapper, props);
|
|
16
7
|
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
|
|
2
|
+
._1yt4xh0m{padding:var(--_cw4itz)}
|
|
3
|
+
._2rko1l7b{border-radius:3px}._18m915vq{overflow-y:hidden}
|
|
4
|
+
._1bsb1b7y{width:var(--_1xe2l1p)}
|
|
5
|
+
._1e0c1ule{display:block}
|
|
6
|
+
._1ltv1ghs{left:2.5%}
|
|
7
|
+
._1reo15vq{overflow-x:hidden}
|
|
8
|
+
._4t3i12iw{height:var(--_15ce6z9)}
|
|
9
|
+
._4t3i1osq{height:100%}
|
|
10
|
+
._bfhk1p0d{background-color:#44546f}
|
|
11
|
+
._bfhkrcrw{background-color:hsla(0,0%,100%,.8)}
|
|
12
|
+
._kqswstnw{position:absolute}
|
|
13
|
+
._vchhusvi{box-sizing:border-box}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/* styledBar-compiled.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
2
|
+
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
|
+
import "./styledBar-compiled.compiled.css";
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
6
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
7
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
8
|
+
import { Breakpoint, getTitleBoxHeight, responsiveSettings } from '../common';
|
|
9
|
+
var height = 3;
|
|
10
|
+
var padding = 1;
|
|
11
|
+
var width = 95; // %
|
|
12
|
+
|
|
13
|
+
var smallSizeSettings = {
|
|
14
|
+
marginBottom: 4
|
|
15
|
+
};
|
|
16
|
+
var largeSizeSettings = {
|
|
17
|
+
marginBottom: 12
|
|
18
|
+
};
|
|
19
|
+
export function generateResponsiveStyles(breakpoint, positionBottom, showOnTop) {
|
|
20
|
+
var multiplier = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1;
|
|
21
|
+
var setting = breakpoint === Breakpoint.SMALL ? smallSizeSettings : largeSizeSettings;
|
|
22
|
+
var marginPositionBottom = responsiveSettings[breakpoint].titleBox.verticalPadding;
|
|
23
|
+
var marginBottom = setting.marginBottom * multiplier + (positionBottom ? marginPositionBottom : getTitleBoxHeight(breakpoint));
|
|
24
|
+
var spacing = "".concat(marginBottom, "px");
|
|
25
|
+
return showOnTop ? {
|
|
26
|
+
top: spacing
|
|
27
|
+
} : {
|
|
28
|
+
bottom: spacing
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
var styledBarStyles = null;
|
|
32
|
+
var styleChild = null;
|
|
33
|
+
export var StyledBar = function StyledBar(props) {
|
|
34
|
+
var progress = props.progress,
|
|
35
|
+
breakpoint = props.breakpoint,
|
|
36
|
+
positionBottom = props.positionBottom,
|
|
37
|
+
showOnTop = props.showOnTop;
|
|
38
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
39
|
+
id: "styledBar",
|
|
40
|
+
role: "progressbar",
|
|
41
|
+
"aria-valuenow": progress,
|
|
42
|
+
className: ax(["_1reo15vq _18m915vq _1yt4xh0m _2rko1l7b _kqswstnw _1bsb1b7y _1ltv1ghs _bfhkrcrw _4t3i12iw _vchhusvi"]),
|
|
43
|
+
style: _objectSpread(_objectSpread({}, generateResponsiveStyles(breakpoint, positionBottom, showOnTop)), {}, {
|
|
44
|
+
"--_1xe2l1p": ix("".concat(width, "%")),
|
|
45
|
+
"--_15ce6z9": ix("".concat(height + padding * 2, "px")),
|
|
46
|
+
"--_cw4itz": ix("".concat(padding, "px"))
|
|
47
|
+
})
|
|
48
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
49
|
+
style: {
|
|
50
|
+
width: "".concat(progress, "%")
|
|
51
|
+
},
|
|
52
|
+
className: ax(["_2rko1l7b _bfhk1p0d _1e0c1ule _4t3i1osq"])
|
|
53
|
+
}));
|
|
54
|
+
};
|
|
55
|
+
StyledBar.displayName = 'StyledProgressBar';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
|
+
import { jsx } from '@emotion/react';
|
|
7
|
+
import { styledBarStyles } from './styles';
|
|
8
|
+
export var StyledBar = function StyledBar(props) {
|
|
9
|
+
var progress = props.progress,
|
|
10
|
+
breakpoint = props.breakpoint,
|
|
11
|
+
positionBottom = props.positionBottom,
|
|
12
|
+
showOnTop = props.showOnTop;
|
|
13
|
+
return jsx("div", {
|
|
14
|
+
id: "styledBar",
|
|
15
|
+
role: "progressbar",
|
|
16
|
+
"aria-valuenow": progress
|
|
17
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
18
|
+
,
|
|
19
|
+
css: styledBarStyles({
|
|
20
|
+
progress: progress,
|
|
21
|
+
breakpoint: breakpoint,
|
|
22
|
+
positionBottom: positionBottom,
|
|
23
|
+
showOnTop: showOnTop
|
|
24
|
+
})
|
|
25
|
+
});
|
|
26
|
+
};
|
|
@@ -1,26 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
|
-
import { jsx } from '@emotion/react';
|
|
7
|
-
import { styledBarStyles } from './styles';
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
3
|
+
import { StyledBar as CompiledStyledBar } from './styledBar-compiled';
|
|
4
|
+
import { StyledBar as EmotionStyledBar } from './styledBar-emotion';
|
|
8
5
|
export var StyledBar = function StyledBar(props) {
|
|
9
|
-
|
|
10
|
-
breakpoint = props.breakpoint,
|
|
11
|
-
positionBottom = props.positionBottom,
|
|
12
|
-
showOnTop = props.showOnTop;
|
|
13
|
-
return jsx("div", {
|
|
14
|
-
id: "styledBar",
|
|
15
|
-
role: "progressbar",
|
|
16
|
-
"aria-valuenow": progress
|
|
17
|
-
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
18
|
-
,
|
|
19
|
-
css: styledBarStyles({
|
|
20
|
-
progress: progress,
|
|
21
|
-
breakpoint: breakpoint,
|
|
22
|
-
positionBottom: positionBottom,
|
|
23
|
-
showOnTop: showOnTop
|
|
24
|
-
})
|
|
25
|
-
});
|
|
6
|
+
return fg('platform_media_compiled') ? /*#__PURE__*/React.createElement(CompiledStyledBar, props) : /*#__PURE__*/React.createElement(EmotionStyledBar, props);
|
|
26
7
|
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
._11c81oud{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
|
|
2
|
+
._2rkov47k{border-radius:var(--ds-space-250,20px)}
|
|
3
|
+
._v564ybtr{transition:all .3s}
|
|
4
|
+
._154i1tpr{top:var(--ds-space-075,7px)}
|
|
5
|
+
._1b941ule span{display:block}
|
|
6
|
+
._1bsbdlk8{width:14px}
|
|
7
|
+
._1bsbpxbi{width:var(--ds-space-200,1pc)}
|
|
8
|
+
._1e0c11p5{display:grid}
|
|
9
|
+
._1ltv1tpr{left:var(--ds-space-075,7px)}
|
|
10
|
+
._1mcmdlk8 span svg{height:14px}
|
|
11
|
+
._4cvr1h6o{align-items:center}
|
|
12
|
+
._4t3idlk8{height:14px}
|
|
13
|
+
._4t3ipxbi{height:var(--ds-space-200,1pc)}
|
|
14
|
+
._6a6z1h6o{justify-items:center}
|
|
15
|
+
._bfhkqre5{background-color:var(--_1flhvp0)}
|
|
16
|
+
._kqswstnw{position:absolute}
|
|
17
|
+
._syaz1j28{color:transparent}
|
|
18
|
+
._syaz5w2r{color:var(--ds-icon-inverse,#fff)}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/* tickBoxWrapper-compiled.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
2
|
+
import "./tickBoxWrapper-compiled.compiled.css";
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
5
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
|
+
import { tickBoxClassName } from './styles';
|
|
7
|
+
import { B200 } from '@atlaskit/theme/colors';
|
|
8
|
+
var selectedStyles = null;
|
|
9
|
+
var oldWrapperStyes = null;
|
|
10
|
+
var wrapperStyles = null;
|
|
11
|
+
export var TickBoxWrapper = function TickBoxWrapper(props) {
|
|
12
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
13
|
+
id: "tickBoxWrapper",
|
|
14
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
15
|
+
className: ax(["_11c81oud _2rkov47k _4cvr1h6o _6a6z1h6o _v564ybtr _1bsbpxbi _4t3ipxbi _kqswstnw _154i1tpr _1ltv1tpr _syaz1j28 _1e0c11p5 _1b941ule", !fg('platform-visual-refresh-icons') && "_1bsbdlk8 _4t3idlk8 _1mcmdlk8", props.selected && "_bfhkqre5 _syaz5w2r", tickBoxClassName]),
|
|
16
|
+
style: {
|
|
17
|
+
"--_1flhvp0": ix("var(--ds-icon-information, ".concat(B200, ")"))
|
|
18
|
+
}
|
|
19
|
+
}, props.children);
|
|
20
|
+
};
|
|
21
|
+
TickBoxWrapper.displayName = 'TickBoxWrapper';
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
|
+
import { jsx } from '@emotion/react';
|
|
7
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
|
+
import { tickBoxClassName } from './styles';
|
|
9
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
10
|
+
import { css } from '@emotion/react';
|
|
11
|
+
import { transition } from '../styles';
|
|
12
|
+
import { B200 } from '@atlaskit/theme/colors';
|
|
13
|
+
var getSelectedStyles = function getSelectedStyles(selected) {
|
|
14
|
+
return selected ? "background-color: ".concat("var(--ds-icon-information, ".concat(B200, ")"), ";\n color: ", "var(--ds-icon-inverse, white)", ";") : "";
|
|
15
|
+
};
|
|
16
|
+
var oldWrapperStyes = css({
|
|
17
|
+
width: '14px',
|
|
18
|
+
height: '14px',
|
|
19
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
20
|
+
span: {
|
|
21
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
22
|
+
svg: {
|
|
23
|
+
height: '14px'
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
var wrapperStyles = function wrapperStyles(selected) {
|
|
28
|
+
return css(
|
|
29
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
30
|
+
transition && transition(), {
|
|
31
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
32
|
+
width: "var(--ds-space-200, 16px)",
|
|
33
|
+
height: "var(--ds-space-200, 16px)",
|
|
34
|
+
position: 'absolute',
|
|
35
|
+
top: "var(--ds-space-075, 7px)",
|
|
36
|
+
left: "var(--ds-space-075, 7px)",
|
|
37
|
+
borderRadius: "var(--ds-space-250, 20px)",
|
|
38
|
+
color: 'transparent',
|
|
39
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
40
|
+
span: {
|
|
41
|
+
display: 'block'
|
|
42
|
+
},
|
|
43
|
+
display: 'grid',
|
|
44
|
+
placeItems: 'center'
|
|
45
|
+
},
|
|
46
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
47
|
+
getSelectedStyles(selected));
|
|
48
|
+
};
|
|
49
|
+
wrapperStyles.displayName = 'TickBoxWrapper';
|
|
50
|
+
export var TickBoxWrapper = function TickBoxWrapper(props) {
|
|
51
|
+
return jsx("div", {
|
|
52
|
+
id: "tickBoxWrapper",
|
|
53
|
+
css: [
|
|
54
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
55
|
+
wrapperStyles(props.selected), !fg('platform-visual-refresh-icons') && oldWrapperStyes]
|
|
56
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
57
|
+
,
|
|
58
|
+
className: tickBoxClassName
|
|
59
|
+
}, props.children);
|
|
60
|
+
};
|
|
@@ -1,60 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
|
-
import { jsx } from '@emotion/react';
|
|
1
|
+
import React from 'react';
|
|
7
2
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
import { css } from '@emotion/react';
|
|
11
|
-
import { transition } from '../styles';
|
|
12
|
-
import { B200 } from '@atlaskit/theme/colors';
|
|
13
|
-
var getSelectedStyles = function getSelectedStyles(selected) {
|
|
14
|
-
return selected ? "background-color: ".concat("var(--ds-icon-information, ".concat(B200, ")"), ";\n color: ", "var(--ds-icon-inverse, white)", ";") : "";
|
|
15
|
-
};
|
|
16
|
-
var oldWrapperStyes = css({
|
|
17
|
-
width: '14px',
|
|
18
|
-
height: '14px',
|
|
19
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
20
|
-
span: {
|
|
21
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
22
|
-
svg: {
|
|
23
|
-
height: '14px'
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
var wrapperStyles = function wrapperStyles(selected) {
|
|
28
|
-
return css(
|
|
29
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
30
|
-
transition && transition(), {
|
|
31
|
-
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
32
|
-
width: "var(--ds-space-200, 16px)",
|
|
33
|
-
height: "var(--ds-space-200, 16px)",
|
|
34
|
-
position: 'absolute',
|
|
35
|
-
top: "var(--ds-space-075, 7px)",
|
|
36
|
-
left: "var(--ds-space-075, 7px)",
|
|
37
|
-
borderRadius: "var(--ds-space-250, 20px)",
|
|
38
|
-
color: 'transparent',
|
|
39
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
40
|
-
span: {
|
|
41
|
-
display: 'block'
|
|
42
|
-
},
|
|
43
|
-
display: 'grid',
|
|
44
|
-
placeItems: 'center'
|
|
45
|
-
},
|
|
46
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
47
|
-
getSelectedStyles(selected));
|
|
48
|
-
};
|
|
49
|
-
wrapperStyles.displayName = 'TickBoxWrapper';
|
|
3
|
+
import { TickBoxWrapper as CompiledTickBoxWrapper } from './tickBoxWrapper-compiled';
|
|
4
|
+
import { TickBoxWrapper as EmotionTickBoxWrapper } from './tickBoxWrapper-emotion';
|
|
50
5
|
export var TickBoxWrapper = function TickBoxWrapper(props) {
|
|
51
|
-
return
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
55
|
-
wrapperStyles(props.selected), !fg('platform-visual-refresh-icons') && oldWrapperStyes]
|
|
56
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
57
|
-
,
|
|
58
|
-
className: tickBoxClassName
|
|
59
|
-
}, props.children);
|
|
60
|
-
};
|
|
6
|
+
return fg('platform_media_compiled') ? /*#__PURE__*/React.createElement(CompiledTickBoxWrapper, props) : /*#__PURE__*/React.createElement(EmotionTickBoxWrapper, props);
|
|
7
|
+
};
|
|
8
|
+
TickBoxWrapper.displayName = 'TickBoxWrapper';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
|
|
2
|
+
._zulpv77o{gap:var(--ds-space-025,2px)}._184u1b66 span:nth-child(2){margin-right:var(--ds-space-050,4px)}
|
|
3
|
+
._18m915vq{overflow-y:hidden}
|
|
4
|
+
._19bv1crf{padding-left:9pt}
|
|
5
|
+
._19bvftgi{padding-left:8px}
|
|
6
|
+
._1bah1h6o{justify-content:center}
|
|
7
|
+
._1bah1y6m{justify-content:flex-start}
|
|
8
|
+
._1bsb1osq{width:100%}
|
|
9
|
+
._1bto1l2s{text-overflow:ellipsis}
|
|
10
|
+
._1e0c1txw{display:flex}
|
|
11
|
+
._1nm41b66 span:nth-child(2){margin-left:var(--ds-space-050,4px)}
|
|
12
|
+
._1reo15vq{overflow-x:hidden}
|
|
13
|
+
._1xi21b66{right:var(--ds-space-050,4px)}
|
|
14
|
+
._2lx21bp4{flex-direction:column}
|
|
15
|
+
._4cvr1h6o{align-items:center}
|
|
16
|
+
._4t3i14no{height:36px}
|
|
17
|
+
._4t3i1wqb{height:60px}
|
|
18
|
+
._80om1kw7{cursor:inherit}
|
|
19
|
+
._94n51b66{bottom:var(--ds-space-050,4px)}
|
|
20
|
+
._94n5idpf{bottom:0}
|
|
21
|
+
._bfhkvuon{background-color:var(--ds-surface,#fff)}
|
|
22
|
+
._bozgv77o{padding-inline-start:var(--ds-space-025,2px)}
|
|
23
|
+
._ca0q1y44{padding-top:4px}
|
|
24
|
+
._ca0qftgi{padding-top:8px}
|
|
25
|
+
._e4kmnkob span{vertical-align:middle}
|
|
26
|
+
._k48p1pd9{font-weight:var(--ds-font-weight-semibold,600)}
|
|
27
|
+
._kqswstnw{position:absolute}
|
|
28
|
+
._lcxvglyw{pointer-events:none}
|
|
29
|
+
._n3td1y44{padding-bottom:4px}
|
|
30
|
+
._n3tdftgi{padding-bottom:8px}
|
|
31
|
+
._o5721q9c{white-space:nowrap}
|
|
32
|
+
._syaz1o8f{color:var(--_ggxzyp)}
|
|
33
|
+
._u5f319bv{padding-right:10px}
|
|
34
|
+
._u5f31crf{padding-right:9pt}
|
|
35
|
+
._u5f3ftgi{padding-right:8px}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/* titleBoxComponents-compiled.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
2
|
+
import "./titleBoxComponents-compiled.compiled.css";
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
5
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
|
+
import { N0, N800 } from '@atlaskit/theme/colors';
|
|
7
|
+
import { rgba } from '../styles';
|
|
8
|
+
var smallLineHeight = 14;
|
|
9
|
+
var smallVerticalPadding = 4;
|
|
10
|
+
var smallHorizontalPadding = 8;
|
|
11
|
+
var largeLineHeight = 22;
|
|
12
|
+
var largeVerticalPadding = 8;
|
|
13
|
+
var largeHorizontalPadding = 12;
|
|
14
|
+
var responsiveStyleMap = {
|
|
15
|
+
small: "_ca0q1y44 _u5f3ftgi _n3td1y44 _19bvftgi _4t3i14no",
|
|
16
|
+
large: "_ca0qftgi _u5f31crf _n3tdftgi _19bv1crf _4t3i1wqb"
|
|
17
|
+
};
|
|
18
|
+
var HEX_REGEX = /^#[0-9A-F]{6}$/i;
|
|
19
|
+
var titleBoxWrapperStyles = null;
|
|
20
|
+
export var TitleBoxWrapper = function TitleBoxWrapper(props) {
|
|
21
|
+
var breakpoint = props.breakpoint,
|
|
22
|
+
titleBoxBgColor = props.titleBoxBgColor,
|
|
23
|
+
hidden = props.hidden;
|
|
24
|
+
var color = titleBoxBgColor && rgba(HEX_REGEX.test(titleBoxBgColor) ? titleBoxBgColor : N0, 1);
|
|
25
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
26
|
+
id: "titleBoxWrapper",
|
|
27
|
+
"data-testid": "media-title-box",
|
|
28
|
+
className: ax(["_kqswstnw _94n5idpf _1bsb1osq _bfhkvuon _syaz1o8f _80om1kw7 _lcxvglyw _1e0c1txw _2lx21bp4 _1bah1h6o", responsiveStyleMap[breakpoint]]),
|
|
29
|
+
style: {
|
|
30
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
31
|
+
backgroundColor: color,
|
|
32
|
+
display: hidden ? 'none' : undefined,
|
|
33
|
+
"--_ggxzyp": ix("var(--ds-text, ".concat(N800, ")"))
|
|
34
|
+
}
|
|
35
|
+
}, props.children);
|
|
36
|
+
};
|
|
37
|
+
TitleBoxWrapper.displayName = 'TitleBoxWrapper';
|
|
38
|
+
var infoStyles = null;
|
|
39
|
+
var iconOverlapStyle = null;
|
|
40
|
+
var titleBoxHeaderStyles = null;
|
|
41
|
+
export var TitleBoxHeader = function TitleBoxHeader(props) {
|
|
42
|
+
var hasIconOverlap = props.hasIconOverlap;
|
|
43
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
44
|
+
id: "titleBoxHeader",
|
|
45
|
+
"data-testid": "title-box-header"
|
|
46
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
47
|
+
,
|
|
48
|
+
className: ax(["_k48p1pd9", "_1reo15vq _18m915vq _o5721q9c", hasIconOverlap && "_u5f319bv"])
|
|
49
|
+
}, props.children);
|
|
50
|
+
};
|
|
51
|
+
TitleBoxHeader.displayName = 'FailedTitleBoxHeader';
|
|
52
|
+
var titleBoxFooterStyles = null;
|
|
53
|
+
export var TitleBoxFooter = function TitleBoxFooter(props) {
|
|
54
|
+
var hasIconOverlap = props.hasIconOverlap;
|
|
55
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
56
|
+
id: "titleBoxFooter",
|
|
57
|
+
"data-testid": "title-box-footer"
|
|
58
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
59
|
+
,
|
|
60
|
+
className: ax(["_1bto1l2s", "_1reo15vq _18m915vq _o5721q9c", hasIconOverlap && "_u5f319bv"])
|
|
61
|
+
}, props.children);
|
|
62
|
+
};
|
|
63
|
+
TitleBoxFooter.displayName = 'TitleBoxFooter';
|
|
64
|
+
var titleBoxIconStyles = null;
|
|
65
|
+
var newTitleBoxIconStyles = null;
|
|
66
|
+
export var TitleBoxIcon = function TitleBoxIcon(props) {
|
|
67
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
68
|
+
id: "titleBoxIcon",
|
|
69
|
+
"data-testid": "title-box-icon",
|
|
70
|
+
className: ax([fg('platform-visual-refresh-icons') && "_kqswstnw _1xi21b66 _94n51b66", !fg('platform-visual-refresh-icons') && "_kqswstnw _1xi21b66 _94n5idpf"])
|
|
71
|
+
}, props.children);
|
|
72
|
+
};
|
|
73
|
+
var errorMessageWrapperStyles = null;
|
|
74
|
+
export var ErrorMessageWrapper = function ErrorMessageWrapper(props) {
|
|
75
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
76
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
77
|
+
className: ax(["_zulpv77o _1e0c1txw _4cvr1h6o _1bah1y6m _bozgv77o _e4kmnkob _1nm41b66 _184u1b66"])
|
|
78
|
+
}, props.children);
|
|
79
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
|
+
import { jsx } from '@emotion/react';
|
|
7
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
|
+
import { errorMessageWrapperStyles, newTitleBoxIconStyles, titleBoxFooterStyles, titleBoxHeaderStyles, titleBoxIconStyles, titleBoxWrapperStyles } from './styles';
|
|
9
|
+
export var TitleBoxWrapper = function TitleBoxWrapper(props) {
|
|
10
|
+
var breakpoint = props.breakpoint,
|
|
11
|
+
titleBoxBgColor = props.titleBoxBgColor,
|
|
12
|
+
hidden = props.hidden;
|
|
13
|
+
return jsx("div", {
|
|
14
|
+
id: "titleBoxWrapper",
|
|
15
|
+
"data-testid": "media-title-box"
|
|
16
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
17
|
+
,
|
|
18
|
+
css: titleBoxWrapperStyles({
|
|
19
|
+
breakpoint: breakpoint,
|
|
20
|
+
display: hidden ? 'none' : 'flex',
|
|
21
|
+
titleBoxBgColor: titleBoxBgColor
|
|
22
|
+
})
|
|
23
|
+
}, props.children);
|
|
24
|
+
};
|
|
25
|
+
export var TitleBoxHeader = function TitleBoxHeader(props) {
|
|
26
|
+
var hasIconOverlap = props.hasIconOverlap;
|
|
27
|
+
return jsx("div", {
|
|
28
|
+
id: "titleBoxHeader",
|
|
29
|
+
"data-testid": "title-box-header"
|
|
30
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
31
|
+
,
|
|
32
|
+
css: titleBoxHeaderStyles({
|
|
33
|
+
hasIconOverlap: hasIconOverlap
|
|
34
|
+
})
|
|
35
|
+
}, props.children);
|
|
36
|
+
};
|
|
37
|
+
export var TitleBoxFooter = function TitleBoxFooter(props) {
|
|
38
|
+
var hasIconOverlap = props.hasIconOverlap;
|
|
39
|
+
return jsx("div", {
|
|
40
|
+
id: "titleBoxFooter",
|
|
41
|
+
"data-testid": "title-box-footer"
|
|
42
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
43
|
+
,
|
|
44
|
+
css: titleBoxFooterStyles({
|
|
45
|
+
hasIconOverlap: hasIconOverlap
|
|
46
|
+
})
|
|
47
|
+
}, props.children);
|
|
48
|
+
};
|
|
49
|
+
export var TitleBoxIcon = function TitleBoxIcon(props) {
|
|
50
|
+
return jsx("div", {
|
|
51
|
+
id: "titleBoxIcon",
|
|
52
|
+
"data-testid": "title-box-icon",
|
|
53
|
+
css: fg('platform-visual-refresh-icons') ?
|
|
54
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
55
|
+
newTitleBoxIconStyles :
|
|
56
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
57
|
+
titleBoxIconStyles
|
|
58
|
+
}, props.children);
|
|
59
|
+
};
|
|
60
|
+
export var ErrorMessageWrapper = function ErrorMessageWrapper(props) {
|
|
61
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
62
|
+
return jsx("div", {
|
|
63
|
+
css: errorMessageWrapperStyles
|
|
64
|
+
}, props.children);
|
|
65
|
+
};
|