pds-dev-kit-web 2.1.13 → 2.1.15
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/dist/src/common/assets/icons/line/SectionContent32.js +1 -1
- package/dist/src/common/assets/icons/line/SectionContent40.js +1 -1
- package/dist/src/common/assets/icons/line/SectionContentsCarousel32.js +1 -1
- package/dist/src/common/assets/icons/line/SectionContentsCarousel40.js +1 -1
- package/dist/src/common/assets/icons/line/SectionCustom32.js +1 -1
- package/dist/src/common/assets/icons/line/SectionCustom40.js +1 -1
- package/dist/src/common/assets/icons/line/SectionDivider32.js +1 -1
- package/dist/src/common/assets/icons/line/SectionDivider40.js +1 -1
- package/dist/src/common/assets/icons/line/SectionFooter32.js +1 -1
- package/dist/src/common/assets/icons/line/SectionFooter40.js +1 -1
- package/dist/src/common/assets/icons/line/SectionIframe32.js +1 -1
- package/dist/src/common/assets/icons/line/SectionIframe40.js +1 -1
- package/dist/src/common/assets/icons/line/SectionInfoBox32.js +1 -1
- package/dist/src/common/assets/icons/line/SectionInfoBox40.js +1 -1
- package/dist/src/common/assets/icons/line/SectionIntro32.js +1 -1
- package/dist/src/common/assets/icons/line/SectionIntro40.js +1 -1
- package/dist/src/common/assets/icons/line/SectionMap32.js +1 -1
- package/dist/src/common/assets/icons/line/SectionMap40.js +1 -1
- package/dist/src/common/assets/icons/line/SectionMembership32.js +1 -1
- package/dist/src/common/assets/icons/line/SectionMembership40.js +1 -1
- package/dist/src/common/assets/icons/line/SectionPriceBox32.js +1 -1
- package/dist/src/common/assets/icons/line/SectionPriceBox40.js +1 -1
- package/dist/src/common/assets/icons/line/SectionProductsCarousel32.js +1 -1
- package/dist/src/common/assets/icons/line/SectionProductsCarousel40.js +1 -1
- package/dist/src/common/assets/icons/line/SectionReview32.js +1 -1
- package/dist/src/common/assets/icons/line/SectionReview40.js +1 -1
- package/dist/src/common/assets/icons/line/SectionSlider32.js +1 -1
- package/dist/src/common/assets/icons/line/SectionSlider40.js +1 -1
- package/dist/src/common/assets/icons/line/SectionTab32.js +1 -1
- package/dist/src/common/assets/icons/line/SectionTab40.js +1 -1
- package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +1 -1
- package/dist/src/desktop/components/Slider/Slider.js +8 -1
- package/dist/src/mobile/components/Slider/Slider.js +8 -1
- package/dist/src/sub/DynamicLayout/DynamicLayout.js +1 -0
- package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Image/Image.d.ts +8 -0
- package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Image/Image.js +46 -0
- package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Image/index.d.ts +2 -0
- package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Image/index.js +8 -0
- package/dist/src/sub/DynamicLayout/components/ComponentBlocks/RichText/RichText.d.ts +6 -0
- package/dist/src/sub/DynamicLayout/components/ComponentBlocks/RichText/RichText.js +24 -0
- package/dist/src/sub/DynamicLayout/components/ComponentBlocks/RichText/index.d.ts +2 -0
- package/dist/src/sub/DynamicLayout/components/ComponentBlocks/RichText/index.js +8 -0
- package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Text/Text.d.ts +13 -0
- package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Text/Text.js +63 -0
- package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Text/index.d.ts +2 -0
- package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Text/index.js +8 -0
- package/dist/src/sub/DynamicLayout/components/ComponentBlocks/TwitterTimeline/TwitterTimeline.d.ts +70 -0
- package/dist/src/sub/DynamicLayout/components/ComponentBlocks/TwitterTimeline/TwitterTimeline.js +52 -0
- package/dist/src/sub/DynamicLayout/components/ComponentBlocks/TwitterTimeline/TwitterTimelineRerender.d.ts +14 -0
- package/dist/src/sub/DynamicLayout/components/ComponentBlocks/TwitterTimeline/TwitterTimelineRerender.js +41 -0
- package/dist/src/sub/DynamicLayout/components/ComponentBlocks/TwitterTimeline/index.d.ts +2 -0
- package/dist/src/sub/DynamicLayout/components/ComponentBlocks/TwitterTimeline/index.js +8 -0
- package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Wrapper/Wrapper.d.ts +35 -0
- package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Wrapper/Wrapper.js +141 -0
- package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Wrapper/constants.d.ts +2 -0
- package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Wrapper/constants.js +33 -0
- package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Wrapper/index.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Wrapper/index.js +8 -0
- package/dist/src/sub/DynamicLayout/components/ComponentBlocks/index.d.ts +4 -0
- package/dist/src/sub/DynamicLayout/components/ComponentBlocks/index.js +9 -0
- package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/EditModeSectionMatcher.js +3 -0
- package/dist/src/sub/DynamicLayout/components/Section/CustomSection.d.ts +11 -0
- package/dist/src/sub/DynamicLayout/components/Section/CustomSection.js +46 -0
- package/dist/src/sub/DynamicLayout/components/Section/ErrorBoundary/ErrorBoundary.d.ts +15 -0
- package/dist/src/sub/DynamicLayout/components/Section/ErrorBoundary/ErrorBoundary.js +62 -0
- package/dist/src/sub/DynamicLayout/components/Section/ErrorBoundary/index.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/components/Section/ErrorBoundary/index.js +8 -0
- package/dist/src/sub/DynamicLayout/components/Section/Section.d.ts +6 -3
- package/dist/src/sub/DynamicLayout/components/Section/Section.js +4 -2
- package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackground.d.ts +5 -0
- package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackground.js +72 -0
- package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.d.ts +14 -0
- package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.js +119 -0
- package/dist/src/sub/DynamicLayout/components/Section/index.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/components/Section/index.js +3 -1
- package/dist/src/sub/DynamicLayout/components/Section/util/index.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/components/Section/util/index.js +8 -0
- package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.d.ts +6 -0
- package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.js +38 -0
- package/dist/src/sub/DynamicLayout/components/SectionMatcher/SectionMatcher.js +4 -1
- package/dist/src/sub/DynamicLayout/components/YouTubeIframe/YouTubeIframe.d.ts +6 -1
- package/dist/src/sub/DynamicLayout/components/YouTubeIframe/YouTubeIframe.js +35 -7
- package/dist/src/sub/DynamicLayout/components/index.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/components/index.js +2 -1
- package/dist/src/sub/DynamicLayout/mock_customSection.d.ts +2 -0
- package/dist/src/sub/DynamicLayout/mock_customSection.js +837 -0
- package/dist/src/sub/DynamicLayout/mock_samplePage.js +2082 -9
- package/dist/src/sub/DynamicLayout/nakedMocks.json +847 -0
- package/dist/src/sub/DynamicLayout/pagesPreviewMock.d.ts +379 -0
- package/dist/src/sub/DynamicLayout/pagesPreviewMock.js +386 -0
- package/dist/src/sub/DynamicLayout/sectionActionTypes.d.ts +29 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.d.ts +5 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +193 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlock.d.ts +7 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlock.js +55 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.d.ts +9 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +50 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.d.ts +5 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +80 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/btnTypes.d.ts +76 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/btnTypes.js +2 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Divider/Divider.d.ts +5 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Divider/Divider.js +71 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.d.ts +5 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +107 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/types.d.ts +12 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/types.js +2 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/RichText.d.ts +5 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/RichText.js +66 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/index.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/index.js +8 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/types.d.ts +44 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/types.js +2 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.d.ts +5 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +65 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/types.d.ts +38 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/types.js +2 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Twitter/Twitter.d.ts +5 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Twitter/Twitter.js +50 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Twitter/types.d.ts +6 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Twitter/types.js +2 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/Youtube.d.ts +5 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/Youtube.js +73 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/index.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/index.js +8 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/parseYoutubeContentProp.d.ts +7 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/parseYoutubeContentProp.js +33 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/types.d.ts +48 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/types.js +2 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_CB_AnimationObserverBox.d.ts +6 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_CB_AnimationObserverBox.js +27 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_CB_Box.d.ts +2 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_CB_Box.js +46 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_CB_BoxWithShadow.d.ts +11 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_CB_BoxWithShadow.js +102 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_HiddenCover.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_HiddenCover.js +13 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/hooks/useCLINK.d.ts +12 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/hooks/useCLINK.js +35 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +21 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.js +2 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/utils/CLINKhandler.d.ts +0 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/utils/CLINKhandler.js +18 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/index.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/index.js +8 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/index.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/index.js +5 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/index.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/index.js +5 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useIntersectionObserver.d.ts +6 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useIntersectionObserver.js +26 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useRefDimensions.d.ts +5 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useRefDimensions.js +19 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/index.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/index.js +8 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/colorUtil.d.ts +31 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/colorUtil.js +71 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/index.d.ts +2 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/index.js +10 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/replaceUndefinedValues.d.ts +2 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/replaceUndefinedValues.js +40 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/textUtil.d.ts +18 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/textUtil.js +200 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +50 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +13 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/contentPropParsers/index.d.ts +3 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/contentPropParsers/index.js +16 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/contentPropParsers/parseContentVisibility.d.ts +12 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/contentPropParsers/parseContentVisibility.js +18 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/contentPropParsers/types.d.ts +5 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/contentPropParsers/types.js +7 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/constants.d.ts +4 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/constants.js +46 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/index.d.ts +3 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/index.js +16 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/parseEffectPropEntAnim.d.ts +19 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/parseEffectPropEntAnim.js +51 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/types.d.ts +5 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/types.js +7 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/index.d.ts +8 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/index.js +22 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/isNullOrUndefined.d.ts +2 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/isNullOrUndefined.js +9 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/index.d.ts +3 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/index.js +19 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/parseLayoutPropArrange.d.ts +24 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/parseLayoutPropArrange.js +80 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/parseLayoutPropPadding.d.ts +23 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/parseLayoutPropPadding.js +32 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/parseSectionPadding.d.ts +23 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/parseSectionPadding.js +26 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/types.d.ts +7 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/types.js +8 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCustomSectionPlacement.d.ts +20 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCustomSectionPlacement.js +24 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseJsonProperties.d.ts +3 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseJsonProperties.js +67 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.d.ts +20 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.js +46 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.d.ts +5 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.js +54 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/index.d.ts +3 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/index.js +41 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropBgColor.d.ts +43 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropBgColor.js +92 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropBgImage.d.ts +23 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropBgImage.js +94 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropBgOverlay.d.ts +43 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropBgOverlay.js +95 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropBorder.d.ts +39 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropBorder.js +85 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropDivider.d.ts +27 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropDivider.js +77 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropImage.d.ts +19 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropImage.js +94 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropOpacity.d.ts +15 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropOpacity.js +47 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropShadow.d.ts +39 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropShadow.js +58 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropTextSpec.d.ts +8 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropTextSpec.js +91 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/types.d.ts +22 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/types.js +16 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +134 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.js +2 -0
- package/dist/src/sub/DynamicLayout/sections/index.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/sections/index.js +3 -1
- package/dist/src/sub/DynamicLayout/types.d.ts +77 -5
- package/package.json +2 -1
- package/release-note.md +3 -24
- package/webhook/node_modules/esrecurse/.babelrc +0 -3
|
@@ -25,6 +25,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
25
25
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
26
26
|
var SectionProductsCarousel40 = function (_a) {
|
|
27
27
|
var color = _a.color, rest = __rest(_a, ["color"]);
|
|
28
|
-
return ((0, jsx_runtime_1.jsx)("svg", __assign({ width: "68", height: "40", viewBox: "0 0 68 40" }, rest, { children: (0, jsx_runtime_1.jsxs)("g", __assign({ fill: "none", fillRule: "evenodd" }, { children: [(0, jsx_runtime_1.jsx)("path", { fill: color, d: "M64,0 C66.209,0 68,1.791 68,4 L68,36 C68,38.209 66.209,40 64,40 L4,40 C1.791,40 0,38.209 0,36 L0,4 C0,1.791 1.791,0 4,0 Z M64,
|
|
28
|
+
return ((0, jsx_runtime_1.jsx)("svg", __assign({ width: "68", height: "40", viewBox: "0 0 68 40" }, rest, { children: (0, jsx_runtime_1.jsxs)("g", __assign({ fill: "none", fillRule: "evenodd" }, { children: [(0, jsx_runtime_1.jsx)("path", { fill: color, d: "M64,0 C66.209,0 68,1.791 68,4 L68,36 C68,38.209 66.209,40 64,40 L4,40 C1.791,40 0,38.209 0,36 L0,4 C0,1.791 1.791,0 4,0 Z M64,2 L4,2 C2.897,2 2,2.897 2,4 L2,36 C2,37.103 2.897,38 4,38 L64,38 C65.103,38 66,37.103 66,36 L66,4 C66,2.897 65.103,2 64,2 Z M17.9702,13.4806 C18.6722,13.0746 19.5382,13.0746 20.2402,13.4806 L24.1842,15.7566 C24.8862,16.1626 25.3192,16.9126 25.3192,17.7236 L25.3192,22.2766 C25.3192,23.0876 24.8862,23.8376 24.1842,24.2426 L20.2402,26.5196 C19.5382,26.9256 18.6722,26.9256 17.9702,26.5196 L14.0272,24.2426 C13.3242,23.8376 12.8912,23.0876 12.8912,22.2766 L12.8912,17.7236 C12.8912,16.9126 13.3242,16.1626 14.0272,15.7566 Z M32.8651,13.4806 C33.5671,13.0746 34.4331,13.0746 35.1351,13.4806 L39.0791,15.7566 C39.7811,16.1626 40.2141,16.9126 40.2141,17.7236 L40.2141,22.2766 C40.2141,23.0876 39.7811,23.8376 39.0791,24.2426 L35.1351,26.5196 C34.4331,26.9256 33.5671,26.9256 32.8651,26.5196 L28.9221,24.2426 C28.2191,23.8376 27.7861,23.0876 27.7861,22.2766 L27.7861,17.7236 C27.7861,16.9126 28.2191,16.1626 28.9221,15.7566 Z M47.76,13.4806 C48.462,13.0746 49.328,13.0746 50.03,13.4806 L53.974,15.7566 C54.676,16.1626 55.109,16.9126 55.109,17.7236 L55.109,22.2766 C55.109,23.0876 54.676,23.8376 53.974,24.2426 L50.03,26.5196 C49.328,26.9256 48.462,26.9256 47.76,26.5196 L43.817,24.2426 C43.114,23.8376 42.681,23.0876 42.681,22.2766 L42.681,17.7236 C42.681,16.9126 43.114,16.1626 43.817,15.7566 Z" }, void 0), (0, jsx_runtime_1.jsx)("path", { stroke: color, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", d: "M9.1001,17.5551 L6.8701,19.9711 L9.1541,22.4451 M58.9003,17.5551 L61.1303,19.9711 L58.8463,22.4451" }, void 0)] }), void 0) }), void 0));
|
|
29
29
|
};
|
|
30
30
|
exports.default = SectionProductsCarousel40;
|
|
@@ -25,6 +25,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
25
25
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
26
26
|
var SectionReview32 = function (_a) {
|
|
27
27
|
var color = _a.color, rest = __rest(_a, ["color"]);
|
|
28
|
-
return ((0, jsx_runtime_1.jsx)("svg", __assign({ width: "54", height: "32", viewBox: "0 0 54 32" }, rest, { children: (0, jsx_runtime_1.jsx)("path", { fill: color, fillRule: "evenodd", d: "M50.
|
|
28
|
+
return ((0, jsx_runtime_1.jsx)("svg", __assign({ width: "54", height: "32", viewBox: "0 0 54 32" }, rest, { children: (0, jsx_runtime_1.jsx)("path", { fill: color, fillRule: "evenodd", d: "M50.5127,0 C52.4387,0 53.9997,1.561 53.9997,3.487 L53.9997,28.513 C53.9997,30.439 52.4387,32 50.5127,32 L3.4877,32 C1.5607,32 -0.0003,30.439 -0.0003,28.513 L-0.0003,3.487 C-0.0003,1.561 1.5607,0 3.4877,0 L50.5127,0 Z M50.5127,2 L3.4877,2 C2.6667,2 1.9997,2.667 1.9997,3.487 L1.9997,28.513 C1.9997,29.333 2.6667,30 3.4877,30 L50.5127,30 C51.3327,30 51.9997,29.333 51.9997,28.513 L51.9997,3.487 C51.9997,2.667 51.3327,2 50.5127,2 Z M9.5881,22.0634 L10.0651,23.0294 L11.1311,23.1844 L10.3591,23.9364 L10.5411,24.9974 L9.5881,24.4964 L8.6351,24.9974 L8.8171,23.9364 L8.0451,23.1844 L9.1111,23.0294 L9.5881,22.0634 Z M13.1884,22.0634 L13.6654,23.0294 L14.7314,23.1844 L13.9594,23.9364 L14.1414,24.9974 L13.1884,24.4964 L12.2354,24.9974 L12.4174,23.9364 L11.6454,23.1844 L12.7114,23.0294 L13.1884,22.0634 Z M16.7888,22.0634 L17.2658,23.0294 L18.3318,23.1844 L17.5598,23.9364 L17.7418,24.9974 L16.7888,24.4964 L15.8358,24.9974 L16.0178,23.9364 L15.2458,23.1844 L16.3118,23.0294 L16.7888,22.0634 Z M20.3892,22.0634 L20.8662,23.0294 L21.9322,23.1844 L21.1602,23.9364 L21.3422,24.9974 L20.3892,24.4964 L19.4362,24.9974 L19.6182,23.9364 L18.8462,23.1844 L19.9122,23.0294 L20.3892,22.0634 Z M23.9896,22.0634 L24.4666,23.0294 L25.5326,23.1844 L24.7606,23.9364 L24.9426,24.9974 L23.9896,24.4964 L23.0366,24.9974 L23.2186,23.9364 L22.4466,23.1844 L23.5126,23.0294 L23.9896,22.0634 Z M30.0103,22.0634 L30.4873,23.0294 L31.5533,23.1844 L30.7813,23.9364 L30.9633,24.9974 L30.0103,24.4964 L29.0573,24.9974 L29.2393,23.9364 L28.4673,23.1844 L29.5333,23.0294 L30.0103,22.0634 Z M33.6107,22.0634 L34.0877,23.0294 L35.1537,23.1844 L34.3817,23.9364 L34.5637,24.9974 L33.6107,24.4964 L32.6577,24.9974 L32.8397,23.9364 L32.0677,23.1844 L33.1337,23.0294 L33.6107,22.0634 Z M37.2111,22.0634 L37.6881,23.0294 L38.7541,23.1844 L37.9821,23.9364 L38.1641,24.9974 L37.2111,24.4964 L36.2581,24.9974 L36.4401,23.9364 L35.6681,23.1844 L36.7341,23.0294 L37.2111,22.0634 Z M40.8115,22.0634 L41.2885,23.0294 L42.3545,23.1844 L41.5825,23.9364 L41.7645,24.9974 L40.8115,24.4964 L39.8585,24.9974 L40.0405,23.9364 L39.2685,23.1844 L40.3345,23.0294 L40.8115,22.0634 Z M44.4118,22.0634 L44.8888,23.0294 L45.9548,23.1844 L45.1828,23.9364 L45.3648,24.9974 L44.4118,24.4964 L43.4588,24.9974 L43.6408,23.9364 L42.8688,23.1844 L43.9348,23.0294 L44.4118,22.0634 Z M24.7651,18.2554 C25.2071,18.2554 25.5651,18.6134 25.5651,19.0554 L25.5651,19.6914 C25.5651,20.1334 25.2071,20.4914 24.7651,20.4914 L8.8121,20.4914 C8.3711,20.4914 8.0121,20.1334 8.0121,19.6914 L8.0121,19.0554 C8.0121,18.6134 8.3711,18.2554 8.8121,18.2554 L24.7651,18.2554 Z M45.1874,18.2554 C45.6294,18.2554 45.9874,18.6134 45.9874,19.0554 L45.9874,19.6914 C45.9874,20.1334 45.6294,20.4914 45.1874,20.4914 L29.2344,20.4914 C28.7934,20.4914 28.4344,20.1334 28.4344,19.6914 L28.4344,19.0554 C28.4344,18.6134 28.7934,18.2554 29.2344,18.2554 L45.1874,18.2554 Z M24.06,7.0016 C24.937,7.0016 25.648,7.7136 25.648,8.5906 L25.648,15.0846 C25.648,15.9616 24.937,16.6726 24.06,16.6726 L9.518,16.6726 C8.64,16.6726 7.929,15.9616 7.929,15.0846 L7.929,8.5906 C7.929,7.7136 8.64,7.0016 9.518,7.0016 L24.06,7.0016 Z M44.4823,7.0016 C45.3593,7.0016 46.0703,7.7136 46.0703,8.5906 L46.0703,15.0846 C46.0703,15.9616 45.3593,16.6726 44.4823,16.6726 L29.9403,16.6726 C29.0623,16.6726 28.3513,15.9616 28.3513,15.0846 L28.3513,8.5906 C28.3513,7.7136 29.0623,7.0016 29.9403,7.0016 L44.4823,7.0016 Z" }, void 0) }), void 0));
|
|
29
29
|
};
|
|
30
30
|
exports.default = SectionReview32;
|
|
@@ -25,6 +25,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
25
25
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
26
26
|
var SectionReview40 = function (_a) {
|
|
27
27
|
var color = _a.color, rest = __rest(_a, ["color"]);
|
|
28
|
-
return ((0, jsx_runtime_1.jsx)("svg", __assign({ width: "68", height: "40", viewBox: "0 0 68 40" }, rest, { children: (0, jsx_runtime_1.jsx)("path", { fill: color, fillRule: "evenodd", d: "M64,
|
|
28
|
+
return ((0, jsx_runtime_1.jsx)("svg", __assign({ width: "68", height: "40", viewBox: "0 0 68 40" }, rest, { children: (0, jsx_runtime_1.jsx)("path", { fill: color, fillRule: "evenodd", d: "M64,0 C66.209,0 68,1.791 68,4 L68,36 C68,38.209 66.209,40 64,40 L4,40 C1.791,40 0,38.209 0,36 L0,4 C0,1.791 1.791,0 4,0 L64,0 Z M64,2 L4,2 C2.897,2 2,2.897 2,4 L2,36 C2,37.103 2.897,38 4,38 L64,38 C65.103,38 66,37.103 66,36 L66,4 C66,2.897 65.103,2 64,2 Z M12.2353,27.5792 L12.8313,28.7862 L14.1633,28.9802 L13.1993,29.9202 L13.4273,31.2472 L12.2353,30.6202 L11.0433,31.2472 L11.2713,29.9202 L10.3073,28.9802 L11.6393,28.7862 L12.2353,27.5792 Z M16.7357,27.5792 L17.3317,28.7862 L18.6637,28.9802 L17.6997,29.9202 L17.9277,31.2472 L16.7357,30.6202 L15.5437,31.2472 L15.7717,29.9202 L14.8077,28.9802 L16.1397,28.7862 L16.7357,27.5792 Z M21.2362,27.5792 L21.8322,28.7862 L23.1642,28.9802 L22.2002,29.9202 L22.4282,31.2472 L21.2362,30.6202 L20.0442,31.2472 L20.2722,29.9202 L19.3082,28.9802 L20.6402,28.7862 L21.2362,27.5792 Z M25.7367,27.5792 L26.3327,28.7862 L27.6647,28.9802 L26.7007,29.9202 L26.9287,31.2472 L25.7367,30.6202 L24.5447,31.2472 L24.7727,29.9202 L23.8087,28.9802 L25.1407,28.7862 L25.7367,27.5792 Z M30.2372,27.5792 L30.8332,28.7862 L32.1652,28.9802 L31.2012,29.9202 L31.4292,31.2472 L30.2372,30.6202 L29.0452,31.2472 L29.2732,29.9202 L28.3092,28.9802 L29.6412,28.7862 L30.2372,27.5792 Z M37.7631,27.5792 L38.3591,28.7862 L39.6911,28.9802 L38.7271,29.9202 L38.9551,31.2472 L37.7631,30.6202 L36.5711,31.2472 L36.7991,29.9202 L35.8351,28.9802 L37.1671,28.7862 L37.7631,27.5792 Z M42.2635,27.5792 L42.8595,28.7862 L44.1915,28.9802 L43.2275,29.9202 L43.4555,31.2472 L42.2635,30.6202 L41.0715,31.2472 L41.2995,29.9202 L40.3355,28.9802 L41.6675,28.7862 L42.2635,27.5792 Z M46.764,27.5792 L47.36,28.7862 L48.692,28.9802 L47.728,29.9202 L47.956,31.2472 L46.764,30.6202 L45.572,31.2472 L45.8,29.9202 L44.836,28.9802 L46.168,28.7862 L46.764,27.5792 Z M51.2645,27.5792 L51.8605,28.7862 L53.1925,28.9802 L52.2285,29.9202 L52.4565,31.2472 L51.2645,30.6202 L50.0725,31.2472 L50.3005,29.9202 L49.3365,28.9802 L50.6685,28.7862 L51.2645,27.5792 Z M55.765,27.5792 L56.361,28.7862 L57.693,28.9802 L56.729,29.9202 L56.957,31.2472 L55.765,30.6202 L54.573,31.2472 L54.801,29.9202 L53.837,28.9802 L55.169,28.7862 L55.765,27.5792 Z M31.2066,22.8193 C31.7586,22.8193 32.2066,23.2663 32.2066,23.8193 L32.2066,24.6143 C32.2066,25.1663 31.7586,25.6143 31.2066,25.6143 L11.2656,25.6143 C10.7136,25.6143 10.2656,25.1663 10.2656,24.6143 L10.2656,23.8193 C10.2656,23.2663 10.7136,22.8193 11.2656,22.8193 L31.2066,22.8193 Z M56.7344,22.8193 C57.2864,22.8193 57.7344,23.2663 57.7344,23.8193 L57.7344,24.6143 C57.7344,25.1663 57.2864,25.6143 56.7344,25.6143 L36.7934,25.6143 C36.2414,25.6143 35.7934,25.1663 35.7934,24.6143 L35.7934,23.8193 C35.7934,23.2663 36.2414,22.8193 36.7934,22.8193 L56.7344,22.8193 Z M30.3252,8.7528 C31.4212,8.7528 32.3102,9.6418 32.3102,10.7378 L32.3102,18.8558 C32.3102,19.9518 31.4212,20.8408 30.3252,20.8408 L12.1472,20.8408 C11.0512,20.8408 10.1622,19.9518 10.1622,18.8558 L10.1622,10.7378 C10.1622,9.6418 11.0512,8.7528 12.1472,8.7528 L30.3252,8.7528 Z M55.853,8.7528 C56.949,8.7528 57.838,9.6418 57.838,10.7378 L57.838,18.8558 C57.838,19.9518 56.949,20.8408 55.853,20.8408 L37.675,20.8408 C36.579,20.8408 35.69,19.9518 35.69,18.8558 L35.69,10.7378 C35.69,9.6418 36.579,8.7528 37.675,8.7528 L55.853,8.7528 Z" }, void 0) }), void 0));
|
|
29
29
|
};
|
|
30
30
|
exports.default = SectionReview40;
|
|
@@ -25,6 +25,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
25
25
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
26
26
|
var SectionSlider32 = function (_a) {
|
|
27
27
|
var color = _a.color, rest = __rest(_a, ["color"]);
|
|
28
|
-
return ((0, jsx_runtime_1.jsx)("svg", __assign({ width: "54", height: "32", viewBox: "0 0 54 32" }, rest, { children: (0, jsx_runtime_1.jsxs)("g", __assign({ fill: "none", fillRule: "evenodd" }, { children: [(0, jsx_runtime_1.jsx)("path", { fill: color, d: "M50.
|
|
28
|
+
return ((0, jsx_runtime_1.jsx)("svg", __assign({ width: "54", height: "32", viewBox: "0 0 54 32" }, rest, { children: (0, jsx_runtime_1.jsxs)("g", __assign({ fill: "none", fillRule: "evenodd" }, { children: [(0, jsx_runtime_1.jsx)("path", { fill: color, d: "M50.5127,0 C52.4387,0 53.9997,1.561 53.9997,3.487 L53.9997,28.513 C53.9997,30.439 52.4387,32 50.5127,32 L3.4867,32 C1.5607,32 -0.0003,30.439 -0.0003,28.513 L-0.0003,3.487 C-0.0003,1.561 1.5607,0 3.4867,0 Z M50.5127,2 L3.4867,2 C2.6667,2 1.9997,2.667 1.9997,3.487 L1.9997,28.513 C1.9997,29.333 2.6667,30 3.4867,30 L50.5127,30 C51.3327,30 51.9997,29.333 51.9997,28.513 L51.9997,3.487 C51.9997,2.667 51.3327,2 50.5127,2 Z M42.2804,7.1643 C43.1644,7.1643 43.8804,7.8813 43.8804,8.7643 L43.8804,23.2353 C43.8804,24.1193 43.1644,24.8353 42.2804,24.8353 L11.7194,24.8353 C10.8354,24.8353 10.1194,24.1193 10.1194,23.2353 L10.1194,8.7643 C10.1194,7.8813 10.8354,7.1643 11.7194,7.1643 L42.2804,7.1643 Z" }, void 0), (0, jsx_runtime_1.jsx)("path", { stroke: color, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", d: "M7.0798,14.0441 L5.2958,15.9771 L7.1228,17.9561 M46.92,14.0441 L48.704,15.9771 L46.877,17.9561" }, void 0)] }), void 0) }), void 0));
|
|
29
29
|
};
|
|
30
30
|
exports.default = SectionSlider32;
|
|
@@ -25,6 +25,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
25
25
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
26
26
|
var SectionSlider40 = function (_a) {
|
|
27
27
|
var color = _a.color, rest = __rest(_a, ["color"]);
|
|
28
|
-
return ((0, jsx_runtime_1.jsx)("svg", __assign({ width: "68", height: "40", viewBox: "0 0 68 40" }, rest, { children: (0, jsx_runtime_1.jsxs)("g", __assign({ fill: "none", fillRule: "evenodd" }, { children: [(0, jsx_runtime_1.jsx)("path", { fill: color, d: "M64,0 C66.209,0 68,1.791 68,4 L68,36 C68,38.209 66.209,40 64,40 L4,40 C1.791,40 0,38.209 0,36 L0,4 C0,1.791 1.791,0 4,0 Z M64,
|
|
28
|
+
return ((0, jsx_runtime_1.jsx)("svg", __assign({ width: "68", height: "40", viewBox: "0 0 68 40" }, rest, { children: (0, jsx_runtime_1.jsxs)("g", __assign({ fill: "none", fillRule: "evenodd" }, { children: [(0, jsx_runtime_1.jsx)("path", { fill: color, d: "M64,0 C66.209,0 68,1.791 68,4 L68,36 C68,38.209 66.209,40 64,40 L4,40 C1.791,40 0,38.209 0,36 L0,4 C0,1.791 1.791,0 4,0 Z M64,2 L4,2 C2.897,2 2,2.897 2,4 L2,36 C2,37.103 2.897,38 4,38 L64,38 C65.103,38 66,37.103 66,36 L66,4 C66,2.897 65.103,2 64,2 Z M53.1007,8.956 C54.2057,8.956 55.1007,9.851 55.1007,10.956 L55.1007,29.044 C55.1007,30.149 54.2057,31.044 53.1007,31.044 L14.8997,31.044 C13.7947,31.044 12.8997,30.149 12.8997,29.044 L12.8997,10.956 C12.8997,9.851 13.7947,8.956 14.8997,8.956 L53.1007,8.956 Z" }, void 0), (0, jsx_runtime_1.jsx)("path", { stroke: color, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", d: "M9.1001,17.555 L6.8701,19.971 L9.1541,22.445 M58.9002,17.555 L61.1302,19.971 L58.8462,22.445" }, void 0)] }), void 0) }), void 0));
|
|
29
29
|
};
|
|
30
30
|
exports.default = SectionSlider40;
|
|
@@ -25,6 +25,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
25
25
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
26
26
|
var SectionTab32 = function (_a) {
|
|
27
27
|
var color = _a.color, rest = __rest(_a, ["color"]);
|
|
28
|
-
return ((0, jsx_runtime_1.jsx)("svg", __assign({ width: "54", height: "32", viewBox: "0 0 54 32" }, rest, { children: (0, jsx_runtime_1.jsx)("path", { fill: color, fillRule: "evenodd", d: "M50.
|
|
28
|
+
return ((0, jsx_runtime_1.jsx)("svg", __assign({ width: "54", height: "32", viewBox: "0 0 54 32" }, rest, { children: (0, jsx_runtime_1.jsx)("path", { fill: color, fillRule: "evenodd", d: "M50.513,0 C52.439,0 54,1.561 54,3.487 L54,28.513 C54,30.439 52.439,32 50.513,32 L3.487,32 C1.561,32 2.84217094e-14,30.439 2.84217094e-14,28.513 L2.84217094e-14,3.487 C2.84217094e-14,1.561 1.561,0 3.487,0 Z M50.513,2 L3.487,2 C2.667,2 2,2.667 2,3.487 L2,28.513 C2,29.333 2.667,30 3.487,30 L50.513,30 C51.333,30 52,29.333 52,28.513 L52,3.487 C52,2.667 51.333,2 50.513,2 Z M17.2132,6.2176 C17.9642,6.2176 18.5732,6.8266 18.5732,7.5776 L18.5732,12.8596 L44.4972,12.8596 C45.3742,12.8596 46.0852,13.5706 46.0852,14.4476 L46.0852,24.1946 C46.0852,25.0716 45.3742,25.7826 44.4972,25.7826 L9.4982,25.7826 C8.6212,25.7826 7.9102,25.0716 7.9102,24.1946 L7.9102,7.5776 C7.9102,6.8266 8.5192,6.2176 9.2702,6.2176 Z M30.9712,6.218 C31.7222,6.218 32.3312,6.826 32.3312,7.578 L32.3312,9.461 C32.3312,10.212 31.7222,10.821 30.9712,10.821 L23.0282,10.821 C22.2772,10.821 21.6682,10.212 21.6682,9.461 L21.6682,7.578 C21.6682,6.826 22.2772,6.218 23.0282,6.218 L30.9712,6.218 Z M44.7298,6.218 C45.4808,6.218 46.0898,6.826 46.0898,7.578 L46.0898,9.461 C46.0898,10.212 45.4808,10.821 44.7298,10.821 L36.7868,10.821 C36.0358,10.821 35.4268,10.212 35.4268,9.461 L35.4268,7.578 C35.4268,6.826 36.0358,6.218 36.7868,6.218 L44.7298,6.218 Z" }, void 0) }), void 0));
|
|
29
29
|
};
|
|
30
30
|
exports.default = SectionTab32;
|
|
@@ -25,6 +25,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
25
25
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
26
26
|
var SectionTab40 = function (_a) {
|
|
27
27
|
var color = _a.color, rest = __rest(_a, ["color"]);
|
|
28
|
-
return ((0, jsx_runtime_1.jsx)("svg", __assign({ width: "68", height: "40", viewBox: "0 0 68 40" }, rest, { children: (0, jsx_runtime_1.jsx)("path", { fill: color, fillRule: "evenodd", d: "M64,0 C66.209,0 68,1.791 68,4 L68,36 C68,38.209 66.209,40 64,40 L4,40 C1.791,40 0,38.209 0,36 L0,4 C0,1.791 1.791,0 4,0 Z M64,
|
|
28
|
+
return ((0, jsx_runtime_1.jsx)("svg", __assign({ width: "68", height: "40", viewBox: "0 0 68 40" }, rest, { children: (0, jsx_runtime_1.jsx)("path", { fill: color, fillRule: "evenodd", d: "M64,0 C66.209,0 68,1.791 68,4 L68,36 C68,38.209 66.209,40 64,40 L4,40 C1.791,40 0,38.209 0,36 L0,4 C0,1.791 1.791,0 4,0 Z M64,2 L4,2 C2.897,2 2,2.897 2,4 L2,36 C2,37.103 2.897,38 4,38 L64,38 C65.103,38 66,37.103 66,36 L66,4 C66,2.897 65.103,2 64,2 Z M21.7665,7.7724 C22.7045,7.7724 23.4655,8.5334 23.4655,9.4714 L23.4655,16.0744 L55.8715,16.0744 C56.9675,16.0744 57.8565,16.9634 57.8565,18.0594 L57.8565,30.2424 C57.8565,31.3394 56.9675,32.2284 55.8715,32.2284 L12.1225,32.2284 C11.0265,32.2284 10.1375,31.3394 10.1375,30.2424 L10.1375,9.4714 C10.1375,8.5334 10.8985,7.7724 11.8375,7.7724 Z M38.9641,7.7721 C39.9031,7.7721 40.6641,8.5331 40.6641,9.4721 L40.6641,11.8261 C40.6641,12.7651 39.9031,13.5261 38.9641,13.5261 L29.0361,13.5261 C28.0971,13.5261 27.3361,12.7651 27.3361,11.8261 L27.3361,9.4721 C27.3361,8.5331 28.0971,7.7721 29.0361,7.7721 L38.9641,7.7721 Z M56.1623,7.7721 C57.1013,7.7721 57.8623,8.5331 57.8623,9.4721 L57.8623,11.8261 C57.8623,12.7651 57.1013,13.5261 56.1623,13.5261 L46.2343,13.5261 C45.2953,13.5261 44.5343,12.7651 44.5343,11.8261 L44.5343,9.4721 C44.5343,8.5331 45.2953,7.7721 46.2343,7.7721 L56.1623,7.7721 Z" }, void 0) }), void 0));
|
|
29
29
|
};
|
|
30
30
|
exports.default = SectionTab40;
|
|
@@ -279,7 +279,7 @@
|
|
|
279
279
|
"sys_storyboard_card_base_red01": "red30",
|
|
280
280
|
"sys_storyboard_card_base_green01": "green50",
|
|
281
281
|
"sys_brand_secondary_variant": "darkgreen700",
|
|
282
|
-
"sys_button_tooltip_base": "white/
|
|
282
|
+
"sys_button_tooltip_base": "white/opacity95",
|
|
283
283
|
"sys_text_button_tooltip": "grey900",
|
|
284
284
|
"sys_membership_button_base": "white/opacity20",
|
|
285
285
|
"sys_membership_item_membership_base": "darkgrey50",
|
|
@@ -60,7 +60,14 @@ function Slider(_a, ref) {
|
|
|
60
60
|
};
|
|
61
61
|
var getThumbPositionOnTrack = function (percent, value, width) {
|
|
62
62
|
var thumbOffset = getThumbOffset(percent, width);
|
|
63
|
-
|
|
63
|
+
var calcValue = ((Number(value) - min) / (max - min)) * 100;
|
|
64
|
+
if (!calcValue || calcValue < 0) {
|
|
65
|
+
return "calc(0% + 10px)";
|
|
66
|
+
}
|
|
67
|
+
if (calcValue > 100) {
|
|
68
|
+
return "calc(100% - 10px)";
|
|
69
|
+
}
|
|
70
|
+
return "calc(" + calcValue + "% + " + thumbOffset + "px)";
|
|
64
71
|
};
|
|
65
72
|
var updateFillTrackAndThumb = function (trackElement, thumbElement, thumbPosition) {
|
|
66
73
|
trackElement.style.backgroundSize = thumbPosition + " 100%";
|
|
@@ -60,7 +60,14 @@ function Slider(_a, ref) {
|
|
|
60
60
|
};
|
|
61
61
|
var getThumbPositionOnTrack = function (percent, value, width) {
|
|
62
62
|
var thumbOffset = getThumbOffset(percent, width);
|
|
63
|
-
|
|
63
|
+
var calcValue = ((Number(value) - min) / (max - min)) * 100;
|
|
64
|
+
if (!calcValue || calcValue < 0) {
|
|
65
|
+
return "calc(0% + 10px)";
|
|
66
|
+
}
|
|
67
|
+
if (calcValue > 100) {
|
|
68
|
+
return "calc(100% - 10px)";
|
|
69
|
+
}
|
|
70
|
+
return "calc(" + calcValue + "% + " + thumbOffset + "px)";
|
|
64
71
|
};
|
|
65
72
|
var updateFillTrackAndThumb = function (trackElement, thumbElement, thumbPosition) {
|
|
66
73
|
trackElement.style.backgroundSize = thumbPosition + " 100%";
|
|
@@ -35,6 +35,7 @@ function DynamicLayout(_a) {
|
|
|
35
35
|
isPreview: isPreview,
|
|
36
36
|
navigationHandler: navigationHandler,
|
|
37
37
|
sectionActionHandler: sectionActionHandler,
|
|
38
|
+
editingSectionId: editingSectionId,
|
|
38
39
|
programmedSectionComponents: programmedSectionComponents
|
|
39
40
|
} }, { children: [mode === 'EDIT' && onClickEditSection && ((0, jsx_runtime_1.jsx)(EditModeSectionMatcher_1.EditModeSectionMatcher, { editingSectionId: editingSectionId, scrollDownTargetSectionId: scrollDownTargetSectionId, filteredSortedSection: filteredSortedSection, onClickEditSection: onClickEditSection }, void 0)), mode !== 'EDIT' &&
|
|
40
41
|
(iframeSection ? ((0, jsx_runtime_1.jsx)(SectionMatcher_1.SectionMatcher, __assign({}, iframeSection), iframeSection.id)) : (filteredSortedSection.map(function (section) { return (0, jsx_runtime_1.jsx)(SectionMatcher_1.SectionMatcher, __assign({}, section), section.id); })))] }), void 0));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare type ImagePropTypes = {
|
|
3
|
+
imageSrc: string;
|
|
4
|
+
viewType?: 'fit' | 'fill';
|
|
5
|
+
imagePosition?: 'left-top' | 'left-center' | 'left-bottom' | 'center-top' | 'center-center' | 'center-bottom' | 'right-top' | 'right-center' | 'right-bottom';
|
|
6
|
+
};
|
|
7
|
+
declare const Image: import("react").ForwardRefExoticComponent<ImagePropTypes & import("react").RefAttributes<HTMLImageElement>>;
|
|
8
|
+
export default Image;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
6
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
+
};
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
11
|
+
var react_1 = require("react");
|
|
12
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
13
|
+
var Image = (0, react_1.forwardRef)(function (_a, ref) {
|
|
14
|
+
var imageSrc = _a.imageSrc, _b = _a.viewType, viewType = _b === void 0 ? 'fit' : _b, _c = _a.imagePosition, imagePosition = _c === void 0 ? 'center-center' : _c;
|
|
15
|
+
return (0, jsx_runtime_1.jsx)(S_Image, { ref: ref, src: imageSrc, viewType: viewType, imagePosition: imagePosition }, void 0);
|
|
16
|
+
});
|
|
17
|
+
var S_Image = styled_components_1.default.img(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: ", ";\n object-fit: ", ";\n object-fit: ", ";\n width: ", ";\n"], ["\n height: ", ";\n object-fit: ", ";\n object-fit: ", ";\n width: ", ";\n"])), function (_a) {
|
|
18
|
+
var viewType = _a.viewType;
|
|
19
|
+
return (viewType === 'fit' ? 'auto' : '100%');
|
|
20
|
+
}, function (_a) {
|
|
21
|
+
var viewType = _a.viewType;
|
|
22
|
+
switch (viewType) {
|
|
23
|
+
case 'fit':
|
|
24
|
+
return 'contain';
|
|
25
|
+
case 'fill':
|
|
26
|
+
return 'cover';
|
|
27
|
+
default:
|
|
28
|
+
return 'contain';
|
|
29
|
+
}
|
|
30
|
+
}, function (_a) {
|
|
31
|
+
var viewType = _a.viewType;
|
|
32
|
+
switch (viewType) {
|
|
33
|
+
case 'fit':
|
|
34
|
+
return 'contain';
|
|
35
|
+
case 'fill':
|
|
36
|
+
return 'cover';
|
|
37
|
+
default:
|
|
38
|
+
return 'contain';
|
|
39
|
+
}
|
|
40
|
+
}, function (_a) {
|
|
41
|
+
var viewType = _a.viewType;
|
|
42
|
+
return (viewType === 'fit' ? 'auto' : '100%');
|
|
43
|
+
});
|
|
44
|
+
exports.default = Image;
|
|
45
|
+
Image.displayName = 'Image';
|
|
46
|
+
var templateObject_1;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Image = void 0;
|
|
7
|
+
var Image_1 = __importDefault(require("./Image"));
|
|
8
|
+
exports.Image = Image_1.default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
6
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
+
};
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
11
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
+
function RichText(_a) {
|
|
13
|
+
var text = _a.text;
|
|
14
|
+
return (0, jsx_runtime_1.jsx)(S_RichText, { dangerouslySetInnerHTML: { __html: text } }, void 0);
|
|
15
|
+
}
|
|
16
|
+
var S_RichText = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n line-height: 1.5;\n text-align: left;\n white-space: pre-wrap;\n width: 100%;\n word-break: break-word;\n\n a {\n color: ", ";\n }\n\n img {\n width: 100%;\n }\n\n figure {\n margin: 0;\n max-width: 100%;\n\n img {\n width: 100%;\n }\n }\n\n blockquote {\n border-left: 4px solid ", ";\n margin: 4px;\n padding: 4px;\n\n p {\n font-style: oblique;\n margin: 0;\n }\n }\n\n iframe {\n border: none;\n }\n"], ["\n line-height: 1.5;\n text-align: left;\n white-space: pre-wrap;\n width: 100%;\n word-break: break-word;\n\n a {\n color: ", ";\n }\n\n img {\n width: 100%;\n }\n\n figure {\n margin: 0;\n max-width: 100%;\n\n img {\n width: 100%;\n }\n }\n\n blockquote {\n border-left: 4px solid ", ";\n margin: 4px;\n padding: 4px;\n\n p {\n font-style: oblique;\n margin: 0;\n }\n }\n\n iframe {\n border: none;\n }\n"])), function (_a) {
|
|
17
|
+
var theme = _a.theme;
|
|
18
|
+
return theme.ui_papp_post_notice_link;
|
|
19
|
+
}, function (_a) {
|
|
20
|
+
var theme = _a.theme;
|
|
21
|
+
return theme.ui_98;
|
|
22
|
+
});
|
|
23
|
+
exports.default = RichText;
|
|
24
|
+
var templateObject_1;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.RichText = void 0;
|
|
7
|
+
var RichText_1 = __importDefault(require("./RichText"));
|
|
8
|
+
exports.RichText = RichText_1.default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare type TextPropTypes = {
|
|
3
|
+
text: string;
|
|
4
|
+
fontFamilyName?: 'Pretendard' | 'sans-serif' | 'serif';
|
|
5
|
+
fontWeight?: number;
|
|
6
|
+
fontSize?: number;
|
|
7
|
+
lineHeight?: number;
|
|
8
|
+
letterSpacing?: number;
|
|
9
|
+
textColor?: string;
|
|
10
|
+
textAlign?: 'left' | 'center' | 'right';
|
|
11
|
+
};
|
|
12
|
+
declare const Text: import("react").ForwardRefExoticComponent<TextPropTypes & import("react").RefAttributes<HTMLParagraphElement>>;
|
|
13
|
+
export default Text;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
6
|
+
var __assign = (this && this.__assign) || function () {
|
|
7
|
+
__assign = Object.assign || function(t) {
|
|
8
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
9
|
+
s = arguments[i];
|
|
10
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
11
|
+
t[p] = s[p];
|
|
12
|
+
}
|
|
13
|
+
return t;
|
|
14
|
+
};
|
|
15
|
+
return __assign.apply(this, arguments);
|
|
16
|
+
};
|
|
17
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
18
|
+
var t = {};
|
|
19
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
20
|
+
t[p] = s[p];
|
|
21
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
22
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
23
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
24
|
+
t[p[i]] = s[p[i]];
|
|
25
|
+
}
|
|
26
|
+
return t;
|
|
27
|
+
};
|
|
28
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
29
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
30
|
+
};
|
|
31
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
33
|
+
var react_1 = require("react");
|
|
34
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
35
|
+
var Text = (0, react_1.forwardRef)(function (_a, ref) {
|
|
36
|
+
var text = _a.text, _b = _a.letterSpacing, letterSpacing = _b === void 0 ? 0 : _b, _c = _a.lineHeight, lineHeight = _c === void 0 ? 1.3 : _c, _d = _a.textAlign, textAlign = _d === void 0 ? 'left' : _d, args = __rest(_a, ["text", "letterSpacing", "lineHeight", "textAlign"]);
|
|
37
|
+
return ((0, jsx_runtime_1.jsx)(S_Text, __assign({ ref: ref, letterSpacing: letterSpacing, lineHeight: lineHeight, textAlign: textAlign }, args, { children: text }), void 0));
|
|
38
|
+
});
|
|
39
|
+
var S_Text = styled_components_1.default.p(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: auto;\n letter-spacing: ", "em;\n line-height: ", ";\n margin: 0;\n text-align: ", ";\n width: auto;\n\n ", ";\n ", ";\n ", ";\n ", ";\n"], ["\n height: auto;\n letter-spacing: ", "em;\n line-height: ", ";\n margin: 0;\n text-align: ", ";\n width: auto;\n\n ", ";\n ", ";\n ", ";\n ", ";\n"])), function (_a) {
|
|
40
|
+
var letterSpacing = _a.letterSpacing;
|
|
41
|
+
return letterSpacing;
|
|
42
|
+
}, function (_a) {
|
|
43
|
+
var lineHeight = _a.lineHeight;
|
|
44
|
+
return lineHeight;
|
|
45
|
+
}, function (_a) {
|
|
46
|
+
var textAlign = _a.textAlign;
|
|
47
|
+
return textAlign;
|
|
48
|
+
}, function (_a) {
|
|
49
|
+
var fontFamilyName = _a.fontFamilyName;
|
|
50
|
+
return fontFamilyName && "font-family: " + fontFamilyName;
|
|
51
|
+
}, function (_a) {
|
|
52
|
+
var fontWeight = _a.fontWeight;
|
|
53
|
+
return fontWeight && "font-weight: " + fontWeight;
|
|
54
|
+
}, function (_a) {
|
|
55
|
+
var fontSize = _a.fontSize;
|
|
56
|
+
return fontSize && "font-size: " + fontSize + "px";
|
|
57
|
+
}, function (_a) {
|
|
58
|
+
var textColor = _a.textColor;
|
|
59
|
+
return textColor && "color: " + textColor;
|
|
60
|
+
});
|
|
61
|
+
exports.default = Text;
|
|
62
|
+
Text.displayName = 'Text';
|
|
63
|
+
var templateObject_1;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Text = void 0;
|
|
7
|
+
var Text_1 = __importDefault(require("./Text"));
|
|
8
|
+
exports.Text = Text_1.default;
|
package/dist/src/sub/DynamicLayout/components/ComponentBlocks/TwitterTimeline/TwitterTimeline.d.ts
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const customChrome: {
|
|
3
|
+
readonly noheader: "noheader";
|
|
4
|
+
readonly nofooter: "nofooter";
|
|
5
|
+
readonly noborders: "noborders";
|
|
6
|
+
readonly noscrollbar: "noscrollbar";
|
|
7
|
+
readonly transparent: "transparent";
|
|
8
|
+
};
|
|
9
|
+
export declare type TwitterTimelinePropTypes = {
|
|
10
|
+
/**
|
|
11
|
+
* 임베드할 트위터 유저의 id 값 입니다.
|
|
12
|
+
*/
|
|
13
|
+
userId: string;
|
|
14
|
+
/**
|
|
15
|
+
* 임베드시 보여줄 트윗의 개수입니다. 최소 1에서 20까지 설정할 수 있습니다.
|
|
16
|
+
*/
|
|
17
|
+
tweetLimit?: number;
|
|
18
|
+
/**
|
|
19
|
+
* 다른 트윗 또는 계정에 대한 답글 트윗 표시 여부를 결정합니다.
|
|
20
|
+
*/
|
|
21
|
+
showReplies?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* 임베드할 트위터 타임라인의 컬러 theme 입니다.
|
|
24
|
+
*/
|
|
25
|
+
theme?: 'dark' | 'light';
|
|
26
|
+
/**
|
|
27
|
+
* 렌더링된 위젯에 지정된 아리아 예의 동작을 적용합니다. 새 트윗이 타임라인 상단에 추가되어 화면 리더에 영향을 줄 수 있습니다.
|
|
28
|
+
*
|
|
29
|
+
* @types polite: 변경 사항이 있지만 사용자의 작업을 방해하지 않는다는 의미입니다. 즉, 변경 사항이 있을 때 스크린 리더는 사용자 작업을 중단하지 않고 알립니다.
|
|
30
|
+
*
|
|
31
|
+
* @types assertive: 변경 사항이 즉시 사용자에게 알려져야 함을 의미합니다. 이 속성 값은 사용자 작업을 방해할 수 있으므로 신중하게 사용해야 합니다.
|
|
32
|
+
*
|
|
33
|
+
* @types rude: 변경 사항이 사용자의 작업을 방해하거나 중단할 수 있음을 나타냅니다. 이 값은 더욱 강력한 우선순위를 가지며, 사용자의 작업을 더 강제로 중단시킬 수 있습니다.
|
|
34
|
+
*/
|
|
35
|
+
ariaPolite?: 'polite' | 'assertive' | 'rude';
|
|
36
|
+
/**
|
|
37
|
+
* 타임라인과 사이트의 임베드된 페이지를 맞춤 추천 및 맞춤 광고 등의 목적으로 사용할지 여부를 결정합니다.
|
|
38
|
+
*/
|
|
39
|
+
dnt?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* 임베드할 트위터 타임라인 위젯의 디자인 요소 표시를 결정합니다.
|
|
42
|
+
*
|
|
43
|
+
* @types noheader: 위젯의 헤더를 숨깁니다.
|
|
44
|
+
*
|
|
45
|
+
* @types nofooter: 위젯의 푸터를 숨깁니다.
|
|
46
|
+
*
|
|
47
|
+
* @types noborders: 위젯 영역을 둘러싼 테두리와 트윗을 구분하는 테두리를 포함하여 위젯 내의 모든 테두리를 제거합니다.
|
|
48
|
+
*
|
|
49
|
+
* @types noscrollbar: 기본 타임라인 스크롤바(표시된 경우)를 자르고 숨깁니다. 표준 사용자 인터페이스 구성 요소를 숨기면 웹사이트의 접근성에 영향을 줄 수 있다는 점을 고려하세요.
|
|
50
|
+
*
|
|
51
|
+
* @types transparent: 위젯의 배경색을 제거합니다.
|
|
52
|
+
*/
|
|
53
|
+
customChrome?: (keyof typeof customChrome)[];
|
|
54
|
+
/**
|
|
55
|
+
* 트위터 스크립트가 로드 되기 전 혹은 로드 실패시 보여지는 컴포넌트입니다.
|
|
56
|
+
* a 태그 내부에 들어가기 때문에 로딩과는 다른 용도로 사용됩니다.
|
|
57
|
+
*/
|
|
58
|
+
fallback?: React.ReactNode | JSX.Element;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* 트위터의 Profile Timeline 임베드 컴포넌트입니다.
|
|
62
|
+
*
|
|
63
|
+
* Profile Timeline 가이드: https://developer.twitter.com/en/docs/twitter-for-websites/timelines/guides/profile-timeline
|
|
64
|
+
*
|
|
65
|
+
* Parameter Reference: https://developer.twitter.com/en/docs/twitter-for-websites/timelines/guides/parameter-reference
|
|
66
|
+
*
|
|
67
|
+
* 트위터 표시 요구 약관: https://developer.twitter.com/en/developer-terms/display-requirements
|
|
68
|
+
*/
|
|
69
|
+
declare const TwitterTimeline: import("react").ForwardRefExoticComponent<TwitterTimelinePropTypes & import("react").RefAttributes<HTMLDivElement>>;
|
|
70
|
+
export default TwitterTimeline;
|
package/dist/src/sub/DynamicLayout/components/ComponentBlocks/TwitterTimeline/TwitterTimeline.js
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
15
|
+
var react_1 = require("react");
|
|
16
|
+
var customChrome = {
|
|
17
|
+
noheader: 'noheader',
|
|
18
|
+
nofooter: 'nofooter',
|
|
19
|
+
noborders: 'noborders',
|
|
20
|
+
noscrollbar: 'noscrollbar',
|
|
21
|
+
transparent: 'transparent'
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* 트위터의 Profile Timeline 임베드 컴포넌트입니다.
|
|
25
|
+
*
|
|
26
|
+
* Profile Timeline 가이드: https://developer.twitter.com/en/docs/twitter-for-websites/timelines/guides/profile-timeline
|
|
27
|
+
*
|
|
28
|
+
* Parameter Reference: https://developer.twitter.com/en/docs/twitter-for-websites/timelines/guides/parameter-reference
|
|
29
|
+
*
|
|
30
|
+
* 트위터 표시 요구 약관: https://developer.twitter.com/en/developer-terms/display-requirements
|
|
31
|
+
*/
|
|
32
|
+
var TwitterTimeline = (0, react_1.forwardRef)(function (_a, ref) {
|
|
33
|
+
var userId = _a.userId, _b = _a.tweetLimit, tweetLimit = _b === void 0 ? 5 : _b, _c = _a.showReplies, showReplies = _c === void 0 ? false : _c, _d = _a.theme, theme = _d === void 0 ? 'light' : _d, _e = _a.ariaPolite, ariaPolite = _e === void 0 ? 'polite' : _e, _f = _a.dnt, dnt = _f === void 0 ? true : _f, _g = _a.customChrome, customChrome = _g === void 0 ? [] : _g, fallback = _a.fallback;
|
|
34
|
+
var TWITTER_EMBED_TIMELINE_SCRIPT_ID = 'twitter-timeline';
|
|
35
|
+
var TWITTER_EMBED_TIMELINE_SCRIPT_SRC = 'https://platform.twitter.com/widgets.js';
|
|
36
|
+
function scriptLoader(scriptId, scriptUrl) {
|
|
37
|
+
var script = document.createElement('script');
|
|
38
|
+
script.async = true;
|
|
39
|
+
script.id = scriptId;
|
|
40
|
+
script.src = scriptUrl;
|
|
41
|
+
script.type = 'text/javascript';
|
|
42
|
+
script.onerror = function () {
|
|
43
|
+
// eslint-disable-next-line no-console
|
|
44
|
+
console.log('onerror >>>', userId);
|
|
45
|
+
};
|
|
46
|
+
document.head.appendChild(script);
|
|
47
|
+
}
|
|
48
|
+
scriptLoader(TWITTER_EMBED_TIMELINE_SCRIPT_ID, TWITTER_EMBED_TIMELINE_SCRIPT_SRC);
|
|
49
|
+
return ((0, jsx_runtime_1.jsx)("section", __assign({ className: "twitter-embed-container", ref: ref }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ className: "twitter-embed" }, { children: (0, jsx_runtime_1.jsx)("a", __assign({ target: "_blank", className: "twitter-timeline", "data-tweet-limit": tweetLimit, "data-show-replies": showReplies, "data-aria-polite": ariaPolite, "data-dnt": dnt, "data-theme": theme, "data-chrome": customChrome.join(' '), href: "https://twitter.com/" + userId, rel: "noreferrer" }, { children: fallback }), void 0) }), void 0) }), void 0));
|
|
50
|
+
});
|
|
51
|
+
exports.default = TwitterTimeline;
|
|
52
|
+
TwitterTimeline.displayName = 'TwitterTimeline';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { TwitterTimelinePropTypes } from './TwitterTimeline';
|
|
3
|
+
export declare type TwitterTimelineWrapperPropTypes = TwitterTimelinePropTypes & {
|
|
4
|
+
/**
|
|
5
|
+
* 임베드할 트위터 타임라인 위젯의 너비를 결정합니다. 최소 너비 180픽셀, 최대 너비 520픽셀로 상위 요소의 너비에 맞게 자동으로 조정됩니다.
|
|
6
|
+
*/
|
|
7
|
+
width?: number;
|
|
8
|
+
/**
|
|
9
|
+
* 임베드할 트위터 타임라인 위젯의 높이를 결정합니다.
|
|
10
|
+
*/
|
|
11
|
+
height?: number;
|
|
12
|
+
};
|
|
13
|
+
declare function TwitterTimelineRerender(args: TwitterTimelineWrapperPropTypes): JSX.Element;
|
|
14
|
+
export default TwitterTimelineRerender;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
6
|
+
var __assign = (this && this.__assign) || function () {
|
|
7
|
+
__assign = Object.assign || function(t) {
|
|
8
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
9
|
+
s = arguments[i];
|
|
10
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
11
|
+
t[p] = s[p];
|
|
12
|
+
}
|
|
13
|
+
return t;
|
|
14
|
+
};
|
|
15
|
+
return __assign.apply(this, arguments);
|
|
16
|
+
};
|
|
17
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
18
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
19
|
+
};
|
|
20
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
22
|
+
var react_1 = require("react");
|
|
23
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
24
|
+
var TwitterTimeline_1 = __importDefault(require("./TwitterTimeline"));
|
|
25
|
+
function TwitterTimelineRerender(args) {
|
|
26
|
+
var userId = args.userId, tweetLimit = args.tweetLimit, showReplies = args.showReplies, theme = args.theme, ariaPolite = args.ariaPolite, dnt = args.dnt, customChrome = args.customChrome, fallback = args.fallback, width = args.width, height = args.height;
|
|
27
|
+
var forceRenderKey = (0, react_1.useMemo)(function () {
|
|
28
|
+
return String(userId + tweetLimit + showReplies + theme + ariaPolite + dnt + customChrome + fallback);
|
|
29
|
+
}, [userId, tweetLimit, showReplies, theme, ariaPolite, dnt, customChrome, fallback]);
|
|
30
|
+
var widthInRange = width && width > 180 && width < 520 ? width : undefined;
|
|
31
|
+
return ((0, jsx_runtime_1.jsx)(S_TwitterTimelineWrapper, __assign({ className: "twitter-timeline-wrapper", "$width": widthInRange, "$height": height }, { children: (0, jsx_runtime_1.jsx)(TwitterTimeline_1.default, __assign({}, args), forceRenderKey) }), void 0));
|
|
32
|
+
}
|
|
33
|
+
var S_TwitterTimelineWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n box-sizing: content-box;\n height: ", ";\n max-width: 520px;\n min-width: 180px;\n overflow: auto;\n width: ", ";\n"], ["\n box-sizing: content-box;\n height: ", ";\n max-width: 520px;\n min-width: 180px;\n overflow: auto;\n width: ", ";\n"])), function (_a) {
|
|
34
|
+
var $height = _a.$height;
|
|
35
|
+
return ($height ? $height + "px" : '100%');
|
|
36
|
+
}, function (_a) {
|
|
37
|
+
var $width = _a.$width;
|
|
38
|
+
return ($width ? $width + "px" : '100%');
|
|
39
|
+
});
|
|
40
|
+
exports.default = TwitterTimelineRerender;
|
|
41
|
+
var templateObject_1;
|