@pushwoosh/dumb-components 1.1.161 → 1.1.163
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/Modal/components/Modal/styles.js +3 -3
- package/NativeRichMediaPreview/NativeRichMediaPreview.d.ts +11 -0
- package/NativeRichMediaPreview/NativeRichMediaPreview.js +151 -0
- package/NativeRichMediaPreview/components/NativeRichMediaCardButtons/NativeRichMediaCardButtons.d.ts +3 -0
- package/NativeRichMediaPreview/components/NativeRichMediaCardButtons/NativeRichMediaCardButtons.js +29 -0
- package/NativeRichMediaPreview/components/NativeRichMediaCardButtons/index.d.ts +1 -0
- package/NativeRichMediaPreview/components/NativeRichMediaCardButtons/index.js +1 -0
- package/NativeRichMediaPreview/components/NativeRichMediaCardButtons/types.d.ts +5 -0
- package/NativeRichMediaPreview/components/NativeRichMediaCardButtons/types.js +1 -0
- package/NativeRichMediaPreview/components/NativeRichMediaCloseChip/NativeRichMediaCloseChip.d.ts +3 -0
- package/NativeRichMediaPreview/components/NativeRichMediaCloseChip/NativeRichMediaCloseChip.js +15 -0
- package/NativeRichMediaPreview/components/NativeRichMediaCloseChip/index.d.ts +2 -0
- package/NativeRichMediaPreview/components/NativeRichMediaCloseChip/index.js +2 -0
- package/NativeRichMediaPreview/components/NativeRichMediaCloseChip/styles.d.ts +7 -0
- package/NativeRichMediaPreview/components/NativeRichMediaCloseChip/styles.js +19 -0
- package/NativeRichMediaPreview/components/NativeRichMediaCloseChip/types.d.ts +5 -0
- package/NativeRichMediaPreview/components/NativeRichMediaCloseChip/types.js +1 -0
- package/NativeRichMediaPreview/components/NativeRichMediaCoverImg/NativeRichMediaCoverImg.d.ts +3 -0
- package/NativeRichMediaPreview/components/NativeRichMediaCoverImg/NativeRichMediaCoverImg.js +27 -0
- package/NativeRichMediaPreview/components/NativeRichMediaCoverImg/index.d.ts +1 -0
- package/NativeRichMediaPreview/components/NativeRichMediaCoverImg/index.js +1 -0
- package/NativeRichMediaPreview/components/NativeRichMediaCoverImg/styles.d.ts +11 -0
- package/NativeRichMediaPreview/components/NativeRichMediaCoverImg/styles.js +23 -0
- package/NativeRichMediaPreview/components/NativeRichMediaCoverImg/types.d.ts +11 -0
- package/NativeRichMediaPreview/components/NativeRichMediaCoverImg/types.js +1 -0
- package/NativeRichMediaPreview/components/NativeRichMediaDim/index.d.ts +1 -0
- package/NativeRichMediaPreview/components/NativeRichMediaDim/index.js +1 -0
- package/NativeRichMediaPreview/components/NativeRichMediaDim/styles.d.ts +1 -0
- package/NativeRichMediaPreview/components/NativeRichMediaDim/styles.js +5 -0
- package/NativeRichMediaPreview/components/NativeRichMediaExpandChip/NativeRichMediaExpandChip.d.ts +3 -0
- package/NativeRichMediaPreview/components/NativeRichMediaExpandChip/NativeRichMediaExpandChip.js +15 -0
- package/NativeRichMediaPreview/components/NativeRichMediaExpandChip/index.d.ts +1 -0
- package/NativeRichMediaPreview/components/NativeRichMediaExpandChip/index.js +1 -0
- package/NativeRichMediaPreview/components/NativeRichMediaExpandChip/types.d.ts +4 -0
- package/NativeRichMediaPreview/components/NativeRichMediaExpandChip/types.js +1 -0
- package/NativeRichMediaPreview/components/NativeRichMediaMuteChip/NativeRichMediaMuteChip.d.ts +3 -0
- package/NativeRichMediaPreview/components/NativeRichMediaMuteChip/NativeRichMediaMuteChip.js +21 -0
- package/NativeRichMediaPreview/components/NativeRichMediaMuteChip/index.d.ts +1 -0
- package/NativeRichMediaPreview/components/NativeRichMediaMuteChip/index.js +1 -0
- package/NativeRichMediaPreview/components/NativeRichMediaMuteChip/types.d.ts +8 -0
- package/NativeRichMediaPreview/components/NativeRichMediaMuteChip/types.js +1 -0
- package/NativeRichMediaPreview/components/NativeRichMediaOverlayButtons/NativeRichMediaOverlayButtons.d.ts +3 -0
- package/NativeRichMediaPreview/components/NativeRichMediaOverlayButtons/NativeRichMediaOverlayButtons.js +40 -0
- package/NativeRichMediaPreview/components/NativeRichMediaOverlayButtons/index.d.ts +1 -0
- package/NativeRichMediaPreview/components/NativeRichMediaOverlayButtons/index.js +1 -0
- package/NativeRichMediaPreview/components/NativeRichMediaOverlayButtons/types.d.ts +4 -0
- package/NativeRichMediaPreview/components/NativeRichMediaOverlayButtons/types.js +1 -0
- package/NativeRichMediaPreview/components/NativeRichMediaPreviewCanvas/NativeRichMediaPreviewCanvas.d.ts +3 -0
- package/NativeRichMediaPreview/components/NativeRichMediaPreviewCanvas/NativeRichMediaPreviewCanvas.js +10 -0
- package/NativeRichMediaPreview/components/NativeRichMediaPreviewCanvas/index.d.ts +1 -0
- package/NativeRichMediaPreview/components/NativeRichMediaPreviewCanvas/index.js +1 -0
- package/NativeRichMediaPreview/components/NativeRichMediaPreviewCanvas/styles.d.ts +1 -0
- package/NativeRichMediaPreview/components/NativeRichMediaPreviewCanvas/styles.js +6 -0
- package/NativeRichMediaPreview/components/NativeRichMediaPreviewCanvas/types.d.ts +4 -0
- package/NativeRichMediaPreview/components/NativeRichMediaPreviewCanvas/types.js +1 -0
- package/NativeRichMediaPreview/components/NativeRichMediaPtLabel/NativeRichMediaPtLabel.d.ts +3 -0
- package/NativeRichMediaPreview/components/NativeRichMediaPtLabel/NativeRichMediaPtLabel.js +27 -0
- package/NativeRichMediaPreview/components/NativeRichMediaPtLabel/index.d.ts +1 -0
- package/NativeRichMediaPreview/components/NativeRichMediaPtLabel/index.js +1 -0
- package/NativeRichMediaPreview/components/NativeRichMediaPtLabel/styles.d.ts +10 -0
- package/NativeRichMediaPreview/components/NativeRichMediaPtLabel/styles.js +30 -0
- package/NativeRichMediaPreview/components/NativeRichMediaPtLabel/types.d.ts +12 -0
- package/NativeRichMediaPreview/components/NativeRichMediaPtLabel/types.js +1 -0
- package/NativeRichMediaPreview/components/NativeRichMediaRewardPanel/NativeRichMediaRewardPanel.d.ts +3 -0
- package/NativeRichMediaPreview/components/NativeRichMediaRewardPanel/NativeRichMediaRewardPanel.js +56 -0
- package/NativeRichMediaPreview/components/NativeRichMediaRewardPanel/index.d.ts +1 -0
- package/NativeRichMediaPreview/components/NativeRichMediaRewardPanel/index.js +1 -0
- package/NativeRichMediaPreview/components/NativeRichMediaRewardPanel/styles.d.ts +8 -0
- package/NativeRichMediaPreview/components/NativeRichMediaRewardPanel/styles.js +17 -0
- package/NativeRichMediaPreview/components/NativeRichMediaRewardPanel/types.d.ts +5 -0
- package/NativeRichMediaPreview/components/NativeRichMediaRewardPanel/types.js +1 -0
- package/NativeRichMediaPreview/helpers.d.ts +17 -0
- package/NativeRichMediaPreview/helpers.js +81 -0
- package/NativeRichMediaPreview/icons/CopyIcon.svg +4 -0
- package/NativeRichMediaPreview/icons/ExpandIcon.svg +3 -0
- package/NativeRichMediaPreview/icons/MutedIcon.svg +4 -0
- package/NativeRichMediaPreview/icons/ScribbleIcon.svg +3 -0
- package/NativeRichMediaPreview/icons/SoundIcon.svg +4 -0
- package/NativeRichMediaPreview/icons/index.d.ts +5 -0
- package/NativeRichMediaPreview/icons/index.js +5 -0
- package/NativeRichMediaPreview/index.d.ts +4 -0
- package/NativeRichMediaPreview/index.js +3 -0
- package/NativeRichMediaPreview/parseNativeRichMediaConfig.d.ts +6 -0
- package/NativeRichMediaPreview/parseNativeRichMediaConfig.js +40 -0
- package/NativeRichMediaPreview/polyglot/index.d.ts +2 -0
- package/NativeRichMediaPreview/polyglot/index.js +34 -0
- package/NativeRichMediaPreview/polyglot/messages_ar.d.ts +3 -0
- package/NativeRichMediaPreview/polyglot/messages_ar.js +4 -0
- package/NativeRichMediaPreview/polyglot/messages_bn.d.ts +3 -0
- package/NativeRichMediaPreview/polyglot/messages_bn.js +4 -0
- package/NativeRichMediaPreview/polyglot/messages_de.d.ts +3 -0
- package/NativeRichMediaPreview/polyglot/messages_de.js +4 -0
- package/NativeRichMediaPreview/polyglot/messages_en.d.ts +3 -0
- package/NativeRichMediaPreview/polyglot/messages_en.js +4 -0
- package/NativeRichMediaPreview/polyglot/messages_es.d.ts +3 -0
- package/NativeRichMediaPreview/polyglot/messages_es.js +4 -0
- package/NativeRichMediaPreview/polyglot/messages_fr.d.ts +3 -0
- package/NativeRichMediaPreview/polyglot/messages_fr.js +4 -0
- package/NativeRichMediaPreview/polyglot/messages_he.d.ts +3 -0
- package/NativeRichMediaPreview/polyglot/messages_he.js +4 -0
- package/NativeRichMediaPreview/polyglot/messages_hi.d.ts +3 -0
- package/NativeRichMediaPreview/polyglot/messages_hi.js +4 -0
- package/NativeRichMediaPreview/polyglot/messages_ja.d.ts +3 -0
- package/NativeRichMediaPreview/polyglot/messages_ja.js +4 -0
- package/NativeRichMediaPreview/polyglot/messages_ko.d.ts +3 -0
- package/NativeRichMediaPreview/polyglot/messages_ko.js +4 -0
- package/NativeRichMediaPreview/polyglot/messages_pt.d.ts +3 -0
- package/NativeRichMediaPreview/polyglot/messages_pt.js +4 -0
- package/NativeRichMediaPreview/polyglot/messages_ru.d.ts +3 -0
- package/NativeRichMediaPreview/polyglot/messages_ru.js +4 -0
- package/NativeRichMediaPreview/polyglot/messages_th.d.ts +3 -0
- package/NativeRichMediaPreview/polyglot/messages_th.js +4 -0
- package/NativeRichMediaPreview/polyglot/messages_zh.d.ts +3 -0
- package/NativeRichMediaPreview/polyglot/messages_zh.js +4 -0
- package/NativeRichMediaPreview/polyglot/types.d.ts +5 -0
- package/NativeRichMediaPreview/polyglot/types.js +1 -0
- package/NativeRichMediaPreview/styles.d.ts +19 -0
- package/NativeRichMediaPreview/styles.js +45 -0
- package/NativeRichMediaPreview/types.d.ts +294 -0
- package/NativeRichMediaPreview/types.js +2 -0
- package/NativeRichMediaPreview/views/NativeRichMediaBannerView/NativeRichMediaBannerView.d.ts +3 -0
- package/NativeRichMediaPreview/views/NativeRichMediaBannerView/NativeRichMediaBannerView.js +46 -0
- package/NativeRichMediaPreview/views/NativeRichMediaBannerView/index.d.ts +1 -0
- package/NativeRichMediaPreview/views/NativeRichMediaBannerView/index.js +1 -0
- package/NativeRichMediaPreview/views/NativeRichMediaBannerView/styles.d.ts +7 -0
- package/NativeRichMediaPreview/views/NativeRichMediaBannerView/styles.js +19 -0
- package/NativeRichMediaPreview/views/NativeRichMediaBannerView/types.d.ts +4 -0
- package/NativeRichMediaPreview/views/NativeRichMediaBannerView/types.js +1 -0
- package/NativeRichMediaPreview/views/NativeRichMediaCarouselView/NativeRichMediaCarouselView.d.ts +3 -0
- package/NativeRichMediaPreview/views/NativeRichMediaCarouselView/NativeRichMediaCarouselView.js +43 -0
- package/NativeRichMediaPreview/views/NativeRichMediaCarouselView/index.d.ts +1 -0
- package/NativeRichMediaPreview/views/NativeRichMediaCarouselView/index.js +1 -0
- package/NativeRichMediaPreview/views/NativeRichMediaCarouselView/styles.d.ts +9 -0
- package/NativeRichMediaPreview/views/NativeRichMediaCarouselView/styles.js +31 -0
- package/NativeRichMediaPreview/views/NativeRichMediaCarouselView/types.d.ts +6 -0
- package/NativeRichMediaPreview/views/NativeRichMediaCarouselView/types.js +1 -0
- package/NativeRichMediaPreview/views/NativeRichMediaFullscreenView/NativeRichMediaFullscreenView.d.ts +3 -0
- package/NativeRichMediaPreview/views/NativeRichMediaFullscreenView/NativeRichMediaFullscreenView.js +42 -0
- package/NativeRichMediaPreview/views/NativeRichMediaFullscreenView/index.d.ts +1 -0
- package/NativeRichMediaPreview/views/NativeRichMediaFullscreenView/index.js +1 -0
- package/NativeRichMediaPreview/views/NativeRichMediaFullscreenView/styles.d.ts +1 -0
- package/NativeRichMediaPreview/views/NativeRichMediaFullscreenView/styles.js +1 -0
- package/NativeRichMediaPreview/views/NativeRichMediaFullscreenView/types.d.ts +4 -0
- package/NativeRichMediaPreview/views/NativeRichMediaFullscreenView/types.js +1 -0
- package/NativeRichMediaPreview/views/NativeRichMediaInvalidView/NativeRichMediaInvalidView.d.ts +2 -0
- package/NativeRichMediaPreview/views/NativeRichMediaInvalidView/NativeRichMediaInvalidView.js +10 -0
- package/NativeRichMediaPreview/views/NativeRichMediaInvalidView/index.d.ts +1 -0
- package/NativeRichMediaPreview/views/NativeRichMediaInvalidView/index.js +1 -0
- package/NativeRichMediaPreview/views/NativeRichMediaInvalidView/styles.d.ts +1 -0
- package/NativeRichMediaPreview/views/NativeRichMediaInvalidView/styles.js +6 -0
- package/NativeRichMediaPreview/views/NativeRichMediaModalView/NativeRichMediaModalView.d.ts +3 -0
- package/NativeRichMediaPreview/views/NativeRichMediaModalView/NativeRichMediaModalView.js +50 -0
- package/NativeRichMediaPreview/views/NativeRichMediaModalView/index.d.ts +1 -0
- package/NativeRichMediaPreview/views/NativeRichMediaModalView/index.js +1 -0
- package/NativeRichMediaPreview/views/NativeRichMediaModalView/styles.d.ts +6 -0
- package/NativeRichMediaPreview/views/NativeRichMediaModalView/styles.js +8 -0
- package/NativeRichMediaPreview/views/NativeRichMediaModalView/types.d.ts +4 -0
- package/NativeRichMediaPreview/views/NativeRichMediaModalView/types.js +1 -0
- package/NativeRichMediaPreview/views/NativeRichMediaPipView/NativeRichMediaPipView.d.ts +3 -0
- package/NativeRichMediaPreview/views/NativeRichMediaPipView/NativeRichMediaPipView.js +51 -0
- package/NativeRichMediaPreview/views/NativeRichMediaPipView/index.d.ts +1 -0
- package/NativeRichMediaPreview/views/NativeRichMediaPipView/index.js +1 -0
- package/NativeRichMediaPreview/views/NativeRichMediaPipView/styles.d.ts +9 -0
- package/NativeRichMediaPreview/views/NativeRichMediaPipView/styles.js +19 -0
- package/NativeRichMediaPreview/views/NativeRichMediaPipView/types.d.ts +4 -0
- package/NativeRichMediaPreview/views/NativeRichMediaPipView/types.js +1 -0
- package/NativeRichMediaPreview/views/NativeRichMediaScratchcardView/NativeRichMediaScratchcardView.d.ts +3 -0
- package/NativeRichMediaPreview/views/NativeRichMediaScratchcardView/NativeRichMediaScratchcardView.js +68 -0
- package/NativeRichMediaPreview/views/NativeRichMediaScratchcardView/index.d.ts +1 -0
- package/NativeRichMediaPreview/views/NativeRichMediaScratchcardView/index.js +1 -0
- package/NativeRichMediaPreview/views/NativeRichMediaScratchcardView/styles.d.ts +17 -0
- package/NativeRichMediaPreview/views/NativeRichMediaScratchcardView/styles.js +35 -0
- package/NativeRichMediaPreview/views/NativeRichMediaScratchcardView/types.d.ts +4 -0
- package/NativeRichMediaPreview/views/NativeRichMediaScratchcardView/types.js +1 -0
- package/NativeRichMediaPreview/views/NativeRichMediaSheetView/NativeRichMediaSheetView.d.ts +3 -0
- package/NativeRichMediaPreview/views/NativeRichMediaSheetView/NativeRichMediaSheetView.js +49 -0
- package/NativeRichMediaPreview/views/NativeRichMediaSheetView/index.d.ts +1 -0
- package/NativeRichMediaPreview/views/NativeRichMediaSheetView/index.js +1 -0
- package/NativeRichMediaPreview/views/NativeRichMediaSheetView/styles.d.ts +4 -0
- package/NativeRichMediaPreview/views/NativeRichMediaSheetView/styles.js +12 -0
- package/NativeRichMediaPreview/views/NativeRichMediaSheetView/types.d.ts +4 -0
- package/NativeRichMediaPreview/views/NativeRichMediaSheetView/types.js +1 -0
- package/NativeRichMediaPreview/views/NativeRichMediaSpinwheelView/NativeRichMediaSpinwheelView.d.ts +3 -0
- package/NativeRichMediaPreview/views/NativeRichMediaSpinwheelView/NativeRichMediaSpinwheelView.js +63 -0
- package/NativeRichMediaPreview/views/NativeRichMediaSpinwheelView/index.d.ts +1 -0
- package/NativeRichMediaPreview/views/NativeRichMediaSpinwheelView/index.js +1 -0
- package/NativeRichMediaPreview/views/NativeRichMediaSpinwheelView/styles.d.ts +19 -0
- package/NativeRichMediaPreview/views/NativeRichMediaSpinwheelView/styles.js +40 -0
- package/NativeRichMediaPreview/views/NativeRichMediaSpinwheelView/types.d.ts +4 -0
- package/NativeRichMediaPreview/views/NativeRichMediaSpinwheelView/types.js +1 -0
- package/NativeRichMediaPreview/views/NativeRichMediaStoriesView/NativeRichMediaStoriesView.d.ts +3 -0
- package/NativeRichMediaPreview/views/NativeRichMediaStoriesView/NativeRichMediaStoriesView.js +51 -0
- package/NativeRichMediaPreview/views/NativeRichMediaStoriesView/index.d.ts +1 -0
- package/NativeRichMediaPreview/views/NativeRichMediaStoriesView/index.js +1 -0
- package/NativeRichMediaPreview/views/NativeRichMediaStoriesView/styles.d.ts +11 -0
- package/NativeRichMediaPreview/views/NativeRichMediaStoriesView/styles.js +30 -0
- package/NativeRichMediaPreview/views/NativeRichMediaStoriesView/types.d.ts +6 -0
- package/NativeRichMediaPreview/views/NativeRichMediaStoriesView/types.js +1 -0
- package/NativeRichMediaPreview/views/NativeRichMediaVideoView/NativeRichMediaVideoView.d.ts +3 -0
- package/NativeRichMediaPreview/views/NativeRichMediaVideoView/NativeRichMediaVideoView.js +49 -0
- package/NativeRichMediaPreview/views/NativeRichMediaVideoView/index.d.ts +1 -0
- package/NativeRichMediaPreview/views/NativeRichMediaVideoView/index.js +1 -0
- package/NativeRichMediaPreview/views/NativeRichMediaVideoView/styles.d.ts +1 -0
- package/NativeRichMediaPreview/views/NativeRichMediaVideoView/styles.js +1 -0
- package/NativeRichMediaPreview/views/NativeRichMediaVideoView/types.d.ts +4 -0
- package/NativeRichMediaPreview/views/NativeRichMediaVideoView/types.js +1 -0
- package/NativeRichMediaPreview/views/index.d.ts +11 -0
- package/NativeRichMediaPreview/views/index.js +11 -0
- package/NativeRichMediaPreview/views/shared/styles.d.ts +8 -0
- package/NativeRichMediaPreview/views/shared/styles.js +19 -0
- package/index.d.ts +2 -0
- package/index.js +1 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { CSSTransition } from 'react-transition-group';
|
|
3
3
|
import styled, { createGlobalStyle } from 'styled-components';
|
|
4
|
-
import { ShapeRadius } from '@pushwoosh/kit-constants';
|
|
4
|
+
import { Color, ShapeRadius } from '@pushwoosh/kit-constants';
|
|
5
5
|
const animationTimeout = 300;
|
|
6
6
|
export const LockBody = createGlobalStyle(["body{overflow:hidden;position:relative;height:100%;}"]);
|
|
7
7
|
export const ModalBox = styled.div.attrs(({
|
|
@@ -44,9 +44,9 @@ export const ModalBoxTrans = styled(ModalBoxBase).withConfig({
|
|
|
44
44
|
export const ModalContainer = styled.div.withConfig({
|
|
45
45
|
displayName: "ModalContainer",
|
|
46
46
|
componentId: "sc-lejcgu-3"
|
|
47
|
-
})(["display:inline-flex;flex-direction:column;align-items:stretch;justify-content:flex-start;position:relative;width:", ";height:calc(100vh - 2 * 56px);vertical-align:middle;z-index:10;& > *{&:first-child{border-top-left-radius:", ";border-top-right-radius:", ";}&:last-child{border-bottom-left-radius:", ";border-bottom-right-radius:", ";}}"], ({
|
|
47
|
+
})(["display:inline-flex;flex-direction:column;align-items:stretch;justify-content:flex-start;position:relative;width:", ";height:calc(100vh - 2 * 56px);vertical-align:middle;z-index:10;background:", ";& > *{&:first-child{border-top-left-radius:", ";border-top-right-radius:", ";}&:last-child{border-bottom-left-radius:", ";border-bottom-right-radius:", ";}}"], ({
|
|
48
48
|
$width
|
|
49
|
-
}) => $width, ShapeRadius.DIALOG, ShapeRadius.DIALOG, ShapeRadius.DIALOG, ShapeRadius.DIALOG);
|
|
49
|
+
}) => $width, Color.CLEAR, ShapeRadius.DIALOG, ShapeRadius.DIALOG, ShapeRadius.DIALOG, ShapeRadius.DIALOG);
|
|
50
50
|
ModalBox.displayName = 'ModalBox';
|
|
51
51
|
ModalInner.displayName = 'ModalInner';
|
|
52
52
|
ModalContainer.displayName = 'ModalContainer';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type ReactElement } from 'react';
|
|
2
|
+
import type { NativeRichMediaPreviewProps } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* Phone-frame preview of a native rich media (modal, banner, stories,
|
|
5
|
+
* spinwheel, …) rendered from its JSON config; shows an invalid-config
|
|
6
|
+
* placeholder when the config cannot be parsed.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* <NativeRichMediaPreview content={'{"displayType":"modal","modal":{"title":{"text":"Hi"}}}'} />
|
|
10
|
+
*/
|
|
11
|
+
export declare function NativeRichMediaPreview(props: NativeRichMediaPreviewProps): ReactElement;
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useEffect, useMemo, useRef, useState } from 'react';
|
|
3
|
+
import { Color } from '@pushwoosh/kit-constants';
|
|
4
|
+
import { Spinner } from '../Spinner';
|
|
5
|
+
import { NativeRichMediaDim } from './components/NativeRichMediaDim';
|
|
6
|
+
import { NativeRichMediaPreviewCanvas } from './components/NativeRichMediaPreviewCanvas';
|
|
7
|
+
import { PT } from './helpers';
|
|
8
|
+
import { parseNativeRichMediaConfig } from './parseNativeRichMediaConfig';
|
|
9
|
+
import { CanvasWrapper, ScaledCanvasHost } from './styles';
|
|
10
|
+
import { NativeRichMediaBannerView, NativeRichMediaCarouselView, NativeRichMediaFullscreenView, NativeRichMediaInvalidView, NativeRichMediaModalView, NativeRichMediaPipView, NativeRichMediaScratchcardView, NativeRichMediaSheetView, NativeRichMediaSpinwheelView, NativeRichMediaStoriesView, NativeRichMediaVideoView } from './views';
|
|
11
|
+
const DEFAULT_WIDTH = 304;
|
|
12
|
+
const DEFAULT_HEIGHT = 659;
|
|
13
|
+
function dimsScreen(config) {
|
|
14
|
+
if (!config) {
|
|
15
|
+
return false;
|
|
16
|
+
}
|
|
17
|
+
switch (config.displayType) {
|
|
18
|
+
case 'modal':
|
|
19
|
+
return config.modal.dimBackground !== false;
|
|
20
|
+
case 'sheet':
|
|
21
|
+
return config.sheet.dimBackground !== false;
|
|
22
|
+
case 'carousel':
|
|
23
|
+
case 'scratchcard':
|
|
24
|
+
case 'spinwheel':
|
|
25
|
+
return true;
|
|
26
|
+
default:
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
function renderConfig(config, activeIndex, onNavigate) {
|
|
31
|
+
switch (config.displayType) {
|
|
32
|
+
case 'modal':
|
|
33
|
+
return _jsx(NativeRichMediaModalView, {
|
|
34
|
+
block: config.modal
|
|
35
|
+
});
|
|
36
|
+
case 'sheet':
|
|
37
|
+
return _jsx(NativeRichMediaSheetView, {
|
|
38
|
+
block: config.sheet
|
|
39
|
+
});
|
|
40
|
+
case 'carousel':
|
|
41
|
+
return _jsx(NativeRichMediaCarouselView, {
|
|
42
|
+
block: config.carousel,
|
|
43
|
+
activeIndex: activeIndex,
|
|
44
|
+
onNavigate: onNavigate
|
|
45
|
+
});
|
|
46
|
+
case 'stories':
|
|
47
|
+
return _jsx(NativeRichMediaStoriesView, {
|
|
48
|
+
block: config.stories,
|
|
49
|
+
activeIndex: activeIndex,
|
|
50
|
+
onNavigate: onNavigate
|
|
51
|
+
});
|
|
52
|
+
case 'banner':
|
|
53
|
+
return _jsx(NativeRichMediaBannerView, {
|
|
54
|
+
block: config.banner
|
|
55
|
+
});
|
|
56
|
+
case 'fullscreen':
|
|
57
|
+
return _jsx(NativeRichMediaFullscreenView, {
|
|
58
|
+
block: config.fullscreen
|
|
59
|
+
});
|
|
60
|
+
case 'video':
|
|
61
|
+
return _jsx(NativeRichMediaVideoView, {
|
|
62
|
+
block: config.video
|
|
63
|
+
});
|
|
64
|
+
case 'pip':
|
|
65
|
+
return _jsx(NativeRichMediaPipView, {
|
|
66
|
+
block: config.pip
|
|
67
|
+
});
|
|
68
|
+
case 'scratchcard':
|
|
69
|
+
return _jsx(NativeRichMediaScratchcardView, {
|
|
70
|
+
block: config.scratchcard
|
|
71
|
+
});
|
|
72
|
+
case 'spinwheel':
|
|
73
|
+
return _jsx(NativeRichMediaSpinwheelView, {
|
|
74
|
+
block: config.spinwheel
|
|
75
|
+
});
|
|
76
|
+
default:
|
|
77
|
+
return _jsx(NativeRichMediaInvalidView, {});
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Phone-frame preview of a native rich media (modal, banner, stories,
|
|
82
|
+
* spinwheel, …) rendered from its JSON config; shows an invalid-config
|
|
83
|
+
* placeholder when the config cannot be parsed.
|
|
84
|
+
*
|
|
85
|
+
* @example
|
|
86
|
+
* <NativeRichMediaPreview content={'{"displayType":"modal","modal":{"title":{"text":"Hi"}}}'} />
|
|
87
|
+
*/
|
|
88
|
+
export function NativeRichMediaPreview(props) {
|
|
89
|
+
const {
|
|
90
|
+
content,
|
|
91
|
+
name,
|
|
92
|
+
width = DEFAULT_WIDTH,
|
|
93
|
+
height = DEFAULT_HEIGHT,
|
|
94
|
+
isLoading = false,
|
|
95
|
+
withBackground = true
|
|
96
|
+
} = props;
|
|
97
|
+
const [activeIndex, setActiveIndex] = useState(0);
|
|
98
|
+
const config = useMemo(() => parseNativeRichMediaConfig(content), [content]);
|
|
99
|
+
const hostRef = useRef(null);
|
|
100
|
+
const isSizeString = typeof width !== 'number' || typeof height !== 'number';
|
|
101
|
+
const [measuredSize, setMeasuredSize] = useState(null);
|
|
102
|
+
useEffect(() => {
|
|
103
|
+
const host = hostRef.current;
|
|
104
|
+
if (!isSizeString || !host) {
|
|
105
|
+
return undefined;
|
|
106
|
+
}
|
|
107
|
+
const observer = new ResizeObserver(([entry]) => {
|
|
108
|
+
if (entry) {
|
|
109
|
+
const {
|
|
110
|
+
width: measuredWidth,
|
|
111
|
+
height: measuredHeight
|
|
112
|
+
} = entry.contentRect;
|
|
113
|
+
setMeasuredSize({
|
|
114
|
+
width: measuredWidth,
|
|
115
|
+
height: measuredHeight
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
});
|
|
119
|
+
observer.observe(host);
|
|
120
|
+
return () => observer.disconnect();
|
|
121
|
+
}, [isSizeString]);
|
|
122
|
+
const scale = useMemo(() => {
|
|
123
|
+
const effectiveWidth = typeof width === 'number' ? width : (measuredSize === null || measuredSize === void 0 ? void 0 : measuredSize.width) ?? DEFAULT_WIDTH;
|
|
124
|
+
const effectiveHeight = typeof height === 'number' ? height : (measuredSize === null || measuredSize === void 0 ? void 0 : measuredSize.height) ?? DEFAULT_HEIGHT;
|
|
125
|
+
return Math.min(effectiveWidth / PT.W, effectiveHeight / PT.H);
|
|
126
|
+
}, [width, height, measuredSize]);
|
|
127
|
+
const shouldDim = !isLoading && dimsScreen(config);
|
|
128
|
+
return _jsxs(ScaledCanvasHost, {
|
|
129
|
+
ref: hostRef,
|
|
130
|
+
width: width,
|
|
131
|
+
height: height,
|
|
132
|
+
"$withBackground": withBackground,
|
|
133
|
+
title: name,
|
|
134
|
+
children: [shouldDim && _jsx(NativeRichMediaDim, {}), isLoading && _jsx(CanvasWrapper, {
|
|
135
|
+
"$canvasWidth": PT.W,
|
|
136
|
+
"$canvasHeight": PT.H,
|
|
137
|
+
"$scale": scale,
|
|
138
|
+
children: _jsx(Spinner, {
|
|
139
|
+
size: "medium",
|
|
140
|
+
color: Color.LOCKED
|
|
141
|
+
})
|
|
142
|
+
}), !isLoading && !config && _jsx(NativeRichMediaInvalidView, {}), !isLoading && config && _jsx(CanvasWrapper, {
|
|
143
|
+
"$canvasWidth": PT.W,
|
|
144
|
+
"$canvasHeight": PT.H,
|
|
145
|
+
"$scale": scale,
|
|
146
|
+
children: _jsx(NativeRichMediaPreviewCanvas, {
|
|
147
|
+
children: renderConfig(config, activeIndex, setActiveIndex)
|
|
148
|
+
}, config.displayType)
|
|
149
|
+
})]
|
|
150
|
+
});
|
|
151
|
+
}
|
package/NativeRichMediaPreview/components/NativeRichMediaCardButtons/NativeRichMediaCardButtons.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Color } from '@pushwoosh/kit-constants';
|
|
3
|
+
import { Vertical } from '@pushwoosh/kit-helpers';
|
|
4
|
+
import { SECONDARY_LABEL, asText, withAlpha } from '../../helpers';
|
|
5
|
+
import { ButtonRow } from '../../styles';
|
|
6
|
+
export function NativeRichMediaCardButtons(props) {
|
|
7
|
+
const {
|
|
8
|
+
buttons,
|
|
9
|
+
$padding
|
|
10
|
+
} = props;
|
|
11
|
+
return _jsx(Vertical, {
|
|
12
|
+
"$padding": $padding,
|
|
13
|
+
"$gap": 10,
|
|
14
|
+
children: (buttons || []).map((b, i) => {
|
|
15
|
+
const bg = b.background || (i === 0 ? Color.PRIMARY : 'transparent');
|
|
16
|
+
const color = b.textColor || (b.background || i === 0 ? '#FFFFFF' : SECONDARY_LABEL);
|
|
17
|
+
const boxShadow = i === 0 && bg !== 'transparent' ? '0 5px 10px ' + withAlpha(bg, 0.28) : undefined;
|
|
18
|
+
return _jsx(ButtonRow
|
|
19
|
+
// eslint-disable-next-line react/no-array-index-key
|
|
20
|
+
, {
|
|
21
|
+
"$borderRadius": b.cornerRadius !== undefined ? b.cornerRadius : 8,
|
|
22
|
+
"$background": bg,
|
|
23
|
+
"$color": color,
|
|
24
|
+
"$boxShadow": boxShadow,
|
|
25
|
+
children: asText(b.text)
|
|
26
|
+
}, `card-btn-${i}`);
|
|
27
|
+
})
|
|
28
|
+
});
|
|
29
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { NativeRichMediaCardButtons } from './NativeRichMediaCardButtons';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { NativeRichMediaCardButtons } from './NativeRichMediaCardButtons';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/NativeRichMediaPreview/components/NativeRichMediaCloseChip/NativeRichMediaCloseChip.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Chip } from './styles';
|
|
3
|
+
export function NativeRichMediaCloseChip(props) {
|
|
4
|
+
const {
|
|
5
|
+
top,
|
|
6
|
+
right,
|
|
7
|
+
small
|
|
8
|
+
} = props;
|
|
9
|
+
return _jsx(Chip, {
|
|
10
|
+
"$small": small,
|
|
11
|
+
"$top": top,
|
|
12
|
+
"$right": right,
|
|
13
|
+
children: "\u2715"
|
|
14
|
+
});
|
|
15
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
export const Chip = styled.div.withConfig({
|
|
3
|
+
displayName: "Chip",
|
|
4
|
+
componentId: "sc-17mcpnr-0"
|
|
5
|
+
})(["position:absolute;width:", ";height:", ";border-radius:50%;background:rgba(70,70,76,0.62);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#FFF;display:flex;align-items:center;justify-content:center;font-size:", ";font-weight:700;z-index:6;line-height:1;", " ", " ", " ", " svg{display:block;}"], ({
|
|
6
|
+
$small
|
|
7
|
+
}) => $small ? '26px' : '34px', ({
|
|
8
|
+
$small
|
|
9
|
+
}) => $small ? '26px' : '34px', ({
|
|
10
|
+
$small
|
|
11
|
+
}) => $small ? '11px' : '14px', ({
|
|
12
|
+
$top
|
|
13
|
+
}) => $top !== undefined ? `top: ${$top}px;` : '', ({
|
|
14
|
+
$right
|
|
15
|
+
}) => $right !== undefined ? `right: ${$right}px;` : '', ({
|
|
16
|
+
$bottom
|
|
17
|
+
}) => $bottom !== undefined ? `bottom: ${$bottom}px;` : '', ({
|
|
18
|
+
$left
|
|
19
|
+
}) => $left !== undefined ? `left: ${$left}px;` : '');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { CoverBox } from './styles';
|
|
3
|
+
export function NativeRichMediaCoverImg(props) {
|
|
4
|
+
const {
|
|
5
|
+
url,
|
|
6
|
+
margin,
|
|
7
|
+
width,
|
|
8
|
+
height,
|
|
9
|
+
borderRadius,
|
|
10
|
+
position,
|
|
11
|
+
inset,
|
|
12
|
+
backgroundColor,
|
|
13
|
+
flex
|
|
14
|
+
} = props;
|
|
15
|
+
const escapedUrl = url ? String(url).replace(/'/g, '%27') : undefined;
|
|
16
|
+
return _jsx(CoverBox, {
|
|
17
|
+
"$backgroundImage": escapedUrl,
|
|
18
|
+
"$backgroundColor": backgroundColor,
|
|
19
|
+
"$margin": margin,
|
|
20
|
+
"$width": width,
|
|
21
|
+
"$height": height,
|
|
22
|
+
"$borderRadius": borderRadius,
|
|
23
|
+
"$position": position,
|
|
24
|
+
"$inset": inset,
|
|
25
|
+
"$flex": flex
|
|
26
|
+
});
|
|
27
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { NativeRichMediaCoverImg } from './NativeRichMediaCoverImg';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { NativeRichMediaCoverImg } from './NativeRichMediaCoverImg';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const CoverBox: import("styled-components").StyledComponent<"div", any, {
|
|
2
|
+
$backgroundImage?: string;
|
|
3
|
+
$backgroundColor?: string;
|
|
4
|
+
$margin?: string;
|
|
5
|
+
$width?: number;
|
|
6
|
+
$height?: number;
|
|
7
|
+
$borderRadius?: number;
|
|
8
|
+
$position?: "absolute";
|
|
9
|
+
$inset?: boolean;
|
|
10
|
+
$flex?: string;
|
|
11
|
+
}, never>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
export const CoverBox = styled.div.withConfig({
|
|
3
|
+
displayName: "CoverBox",
|
|
4
|
+
componentId: "sc-15zx77-0"
|
|
5
|
+
})(["background-size:cover;background-position:center;background-color:", ";", " ", " ", " ", " ", " ", " ", " ", ""], ({
|
|
6
|
+
$backgroundColor
|
|
7
|
+
}) => $backgroundColor || 'rgba(116, 116, 128, 0.08)', ({
|
|
8
|
+
$backgroundImage
|
|
9
|
+
}) => $backgroundImage !== undefined ? `background-image: url('${$backgroundImage}');` : '', ({
|
|
10
|
+
$margin
|
|
11
|
+
}) => $margin !== undefined ? `margin: ${$margin};` : '', ({
|
|
12
|
+
$width
|
|
13
|
+
}) => $width !== undefined ? `width: ${$width}px;` : '', ({
|
|
14
|
+
$height
|
|
15
|
+
}) => $height !== undefined ? `height: ${$height}px;` : '', ({
|
|
16
|
+
$borderRadius
|
|
17
|
+
}) => $borderRadius !== undefined ? `border-radius: ${$borderRadius}px;` : '', ({
|
|
18
|
+
$position
|
|
19
|
+
}) => $position !== undefined ? `position: ${$position};` : '', ({
|
|
20
|
+
$inset
|
|
21
|
+
}) => $inset ? 'inset: 0;' : '', ({
|
|
22
|
+
$flex
|
|
23
|
+
}) => $flex !== undefined ? `flex: ${$flex};` : '');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { NativeRichMediaDim } from './styles';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { NativeRichMediaDim } from './styles';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const NativeRichMediaDim: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
export const NativeRichMediaDim = styled.div.withConfig({
|
|
3
|
+
displayName: "NativeRichMediaDim",
|
|
4
|
+
componentId: "sc-1xu35ei-0"
|
|
5
|
+
})(["position:absolute;inset:0;background:rgba(14,14,18,0.42);backdrop-filter:blur(9px) saturate(115%);-webkit-backdrop-filter:blur(9px) saturate(115%);"]);
|
package/NativeRichMediaPreview/components/NativeRichMediaExpandChip/NativeRichMediaExpandChip.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { ExpandIcon } from '../../icons';
|
|
3
|
+
import { Chip } from '../NativeRichMediaCloseChip';
|
|
4
|
+
export function NativeRichMediaExpandChip(props) {
|
|
5
|
+
const {
|
|
6
|
+
bottom,
|
|
7
|
+
left
|
|
8
|
+
} = props;
|
|
9
|
+
return _jsx(Chip, {
|
|
10
|
+
"$small": true,
|
|
11
|
+
"$bottom": bottom,
|
|
12
|
+
"$left": left,
|
|
13
|
+
children: _jsx(ExpandIcon, {})
|
|
14
|
+
});
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { NativeRichMediaExpandChip } from './NativeRichMediaExpandChip';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { NativeRichMediaExpandChip } from './NativeRichMediaExpandChip';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { MutedIcon, SoundIcon } from '../../icons';
|
|
3
|
+
import { Chip } from '../NativeRichMediaCloseChip';
|
|
4
|
+
export function NativeRichMediaMuteChip(props) {
|
|
5
|
+
const {
|
|
6
|
+
muted,
|
|
7
|
+
small,
|
|
8
|
+
top,
|
|
9
|
+
right,
|
|
10
|
+
bottom,
|
|
11
|
+
left
|
|
12
|
+
} = props;
|
|
13
|
+
return _jsx(Chip, {
|
|
14
|
+
"$small": small,
|
|
15
|
+
"$top": top,
|
|
16
|
+
"$right": right,
|
|
17
|
+
"$bottom": bottom,
|
|
18
|
+
"$left": left,
|
|
19
|
+
children: muted === false ? _jsx(SoundIcon, {}) : _jsx(MutedIcon, {})
|
|
20
|
+
});
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { NativeRichMediaMuteChip } from './NativeRichMediaMuteChip';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { NativeRichMediaMuteChip } from './NativeRichMediaMuteChip';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Vertical } from '@pushwoosh/kit-helpers';
|
|
3
|
+
import { asText } from '../../helpers';
|
|
4
|
+
import { ButtonRow } from '../../styles';
|
|
5
|
+
export function NativeRichMediaOverlayButtons(props) {
|
|
6
|
+
const {
|
|
7
|
+
buttons
|
|
8
|
+
} = props;
|
|
9
|
+
return _jsx(Vertical, {
|
|
10
|
+
"$margin": {
|
|
11
|
+
top: 20
|
|
12
|
+
},
|
|
13
|
+
"$gap": 10,
|
|
14
|
+
children: (buttons || []).map((b, i) => {
|
|
15
|
+
const borderRadius = b.cornerRadius !== undefined ? b.cornerRadius : 8;
|
|
16
|
+
let background;
|
|
17
|
+
let color;
|
|
18
|
+
let border;
|
|
19
|
+
if (b.background) {
|
|
20
|
+
background = b.background;
|
|
21
|
+
color = b.textColor || '#FFFFFF';
|
|
22
|
+
} else if (i === 0) {
|
|
23
|
+
background = '#FFFFFF';
|
|
24
|
+
color = b.textColor || '#0F0F0F';
|
|
25
|
+
} else {
|
|
26
|
+
border = '1.5px solid rgba(255,255,255,0.6)';
|
|
27
|
+
color = b.textColor || '#FFFFFF';
|
|
28
|
+
}
|
|
29
|
+
return _jsx(ButtonRow
|
|
30
|
+
// eslint-disable-next-line react/no-array-index-key
|
|
31
|
+
, {
|
|
32
|
+
"$borderRadius": borderRadius,
|
|
33
|
+
"$background": background,
|
|
34
|
+
"$color": color,
|
|
35
|
+
"$border": border,
|
|
36
|
+
children: asText(b.text)
|
|
37
|
+
}, `overlay-btn-${i}`);
|
|
38
|
+
})
|
|
39
|
+
});
|
|
40
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { NativeRichMediaOverlayButtons } from './NativeRichMediaOverlayButtons';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { NativeRichMediaOverlayButtons } from './NativeRichMediaOverlayButtons';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { NativeRichMediaPreviewCanvas } from './NativeRichMediaPreviewCanvas';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { NativeRichMediaPreviewCanvas } from './NativeRichMediaPreviewCanvas';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Canvas: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
import { PT } from '../../helpers';
|
|
3
|
+
export const Canvas = styled.div.withConfig({
|
|
4
|
+
displayName: "Canvas",
|
|
5
|
+
componentId: "sc-1evwb9s-0"
|
|
6
|
+
})(["position:relative;overflow:hidden;width:", "px;height:", "px;font-family:ui-rounded,-apple-system,BlinkMacSystemFont,'SF Pro Rounded','Helvetica Neue',sans-serif;-webkit-font-smoothing:antialiased;*{box-sizing:border-box;}"], PT.W, PT.H);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|