pds-dev-kit-web-test 2.5.314 → 2.5.316
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/hooks/useAbsolutePositioner.js +2 -2
- package/dist/src/common/hooks/useTooltip.d.ts +2 -2
- package/dist/src/common/hooks/useTooltip.js +3 -3
- package/dist/src/common/utils/SystemUIPositionGenerator/clickTypeSystemUICssGenerator.d.ts +1 -1
- package/dist/src/common/utils/SystemUIPositionGenerator/hoverTypeSystemUICssGenerator.d.ts +1 -1
- package/dist/src/common/utils/SystemUIPositionGenerator/hoverTypeSystemUICssGenerator.js +1 -1
- package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.js +2 -2
- package/dist/src/desktop/components/AdminList/BulkActionBar.d.ts +1 -1
- package/dist/src/desktop/components/AdminListHeader/HeaderBar.d.ts +1 -1
- package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.d.ts +1 -1
- package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.js +4 -4
- package/dist/src/desktop/components/BasicListItem/Contents.d.ts +1 -1
- package/dist/src/desktop/components/BasicListItem/Contents.js +1 -1
- package/dist/src/desktop/components/BasicListItem/LeftBox/Badge.js +1 -1
- package/dist/src/desktop/components/BasicListItem/LeftBox/Checkbox.js +1 -1
- package/dist/src/desktop/components/BasicListItem/LeftBox/Icon.js +1 -1
- package/dist/src/desktop/components/BasicListItem/LeftBox/Image.js +1 -1
- package/dist/src/desktop/components/BasicListItem/LeftBox/Radio.js +1 -1
- package/dist/src/desktop/components/BasicListItem/RightBox/Description.d.ts +1 -1
- package/dist/src/desktop/components/BasicListItem/RightBox/Description.js +1 -1
- package/dist/src/desktop/components/BasicListItem/RightBox/Switch.js +1 -1
- package/dist/src/desktop/components/ContextMenuItem/ContextMenuItem.d.ts +1 -1
- package/dist/src/desktop/components/ContextMenuItem/ContextMenuItem.js +1 -1
- package/dist/src/desktop/components/DesktopTabBar/DesktopTabBar.js +2 -2
- package/dist/src/desktop/components/Dropdown/Dropdown.d.ts +1 -1
- package/dist/src/desktop/components/Dropdown/Dropdown.js +1 -1
- package/dist/src/desktop/components/IconButton/IconButton.d.ts +1 -1
- package/dist/src/desktop/components/IconButton/IconButton.js +2 -2
- package/dist/src/desktop/components/SegmentedButtonGroup/SegmentedButtonGroup.d.ts +1 -1
- package/dist/src/desktop/components/SegmentedButtonGroup/SegmentedButtonGroup.js +3 -3
- package/dist/src/desktop/components/Select/Select.js +1 -1
- package/dist/src/desktop/components/Slider/Slider.d.ts +1 -1
- package/dist/src/desktop/components/Slider/Slider.js +1 -1
- package/dist/src/desktop/components/TextField/TextField.js +1 -1
- package/dist/src/desktop/components/TextLabel/TextLabel.d.ts +1 -1
- package/dist/src/desktop/components/TextLabel/TextLabel.js +2 -2
- package/dist/src/desktop/components/UploadIconButton/UploadIconButton.d.ts +1 -1
- package/dist/src/desktop/components/UploadIconButton/UploadIconButton.js +2 -2
- package/dist/src/hybrid/components/Switch/Switch.d.ts +1 -1
- package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.js +2 -2
- package/dist/src/mobile/components/BasicButtonGroup/BasicButtonGroup.d.ts +1 -1
- package/dist/src/mobile/components/BasicButtonGroup/BasicButtonGroup.js +1 -1
- package/dist/src/mobile/components/BasicListItem/Contents.d.ts +1 -1
- package/dist/src/mobile/components/BasicListItem/Contents.js +1 -1
- package/dist/src/mobile/components/BasicListItem/LeftBox/Badge.js +1 -1
- package/dist/src/mobile/components/BasicListItem/LeftBox/Checkbox.js +1 -1
- package/dist/src/mobile/components/BasicListItem/LeftBox/Icon.js +1 -1
- package/dist/src/mobile/components/BasicListItem/LeftBox/Image.js +1 -1
- package/dist/src/mobile/components/BasicListItem/LeftBox/Radio.js +1 -1
- package/dist/src/mobile/components/BasicListItem/RightBox/Description.d.ts +1 -1
- package/dist/src/mobile/components/BasicListItem/RightBox/Description.js +1 -1
- package/dist/src/mobile/components/BasicListItem/RightBox/Switch.js +1 -1
- package/dist/src/mobile/components/ContextMenuItem/ContextMenuItem.d.ts +1 -1
- package/dist/src/mobile/components/ContextMenuItem/ContextMenuItem.js +1 -1
- package/dist/src/mobile/components/Dropdown/Dropdown.d.ts +1 -1
- package/dist/src/mobile/components/Dropdown/Dropdown.js +1 -1
- package/dist/src/mobile/components/MobileHeaderBar/utils.d.ts +1 -1
- package/dist/src/mobile/components/SegmentedButtonGroup/SegmentedButtonGroup.d.ts +1 -1
- package/dist/src/mobile/components/SegmentedButtonGroup/SegmentedButtonGroup.js +1 -1
- package/dist/src/mobile/components/Select/Select.js +1 -1
- package/dist/src/mobile/components/Slider/Slider.d.ts +1 -1
- package/dist/src/mobile/components/Slider/Slider.js +1 -1
- package/dist/src/mobile/components/TextField/TextField.js +1 -1
- package/dist/src/sub/AdminList/AdminList/AdminList.d.ts +1 -1
- package/dist/src/sub/AdminList/AdminList/AdminList.js +2 -2
- package/dist/src/sub/AdminList/AdminList/HeaderRow.d.ts +1 -1
- package/dist/src/sub/AdminList/AdminList/HeaderRow.js +2 -2
- package/dist/src/sub/AdminList/AdminListHeader/AdminListHeader.d.ts +1 -1
- package/dist/src/sub/AdminList/AdminListHeader/AdminListHeader.js +2 -2
- package/dist/src/sub/AdminList/AdminListHeader/HeaderBar.d.ts +1 -1
- package/dist/src/sub/AdminList/AdminListHeader/HeaderBar.js +2 -2
- package/dist/src/sub/AdminList/AdminListItem/AdminListItem.d.ts +1 -1
- package/dist/src/sub/AdminList/AdminListItem/AdminListItem.js +3 -3
- package/dist/src/sub/AdminList/BulkActionBar/BulkActionBar.d.ts +1 -1
- package/dist/src/sub/AdminList/BulkActionBar/BulkActionBar.js +2 -2
- package/dist/src/sub/AdminList/ToolBar/ChipList.d.ts +1 -1
- package/dist/src/sub/AdminList/ToolBar/ChipList.js +1 -1
- package/dist/src/sub/AdminList/ToolBar/SearchField.js +4 -4
- package/dist/src/sub/AdminList/ToolBar/ToolBar.d.ts +1 -1
- package/dist/src/sub/AdminList/ToolBar/ToolBar.js +3 -3
- package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.js +2 -2
- package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/EditModeSectionMatcher.js +1 -1
- package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackground.js +2 -2
- package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.js +1 -1
- package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.js +1 -1
- package/dist/src/sub/DynamicLayout/components/SectionMatcher/SectionMatcher.js +1 -1
- package/dist/src/sub/DynamicLayout/mock_composition.d.ts +3 -0
- package/dist/src/sub/DynamicLayout/mock_composition.js +729 -0
- package/dist/src/sub/DynamicLayout/mock_contentsCarousel.d.ts +2 -0
- package/dist/src/sub/DynamicLayout/mock_contentsCarousel.js +326 -0
- package/dist/src/sub/DynamicLayout/mock_slideBanner.d.ts +2 -0
- package/dist/src/sub/DynamicLayout/mock_slideBanner.js +318 -0
- package/dist/src/sub/DynamicLayout/mocks.d.ts +5 -211
- package/dist/src/sub/DynamicLayout/mocks.js +38 -14
- package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +6 -5
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +7 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +7 -27
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.d.ts +3 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +144 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.d.ts +17 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.js +39 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigation.d.ts +31 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigation.js +167 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.d.ts +26 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.js +184 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.d.ts +19 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.js +72 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.d.ts +50 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.js +919 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.js +8 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.d.ts +90 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.js +2 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Divider/Divider.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/Embed.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/IframeDenied.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/types.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/types.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/RichText.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/RichText.js +5 -5
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/types.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.d.ts +8 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +143 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.d.ts +15 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.js +39 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigation.d.ts +31 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigation.js +167 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.d.ts +26 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.js +184 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.d.ts +19 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.js +72 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/index.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/index.js +8 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.d.ts +48 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.js +855 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.d.ts +80 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.js +2 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Twitter/Twitter.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Twitter/types.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/Youtube.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/Youtube.js +4 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/parseYoutubeContentProp.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/types.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_CB_BoxWithShadow.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_CB_BoxWithShadow.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/hooks/useCLINK.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +27 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGoogleFonts/useGoogleFonts.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/colorUtil.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/colorUtil.js +11 -13
- package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +15 -6
- package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +1 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseJsonProperties.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropShadow.js +15 -38
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +33 -1
- package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/desktop/D_TemplateA.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/mobile/M_TemplateA.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/MembershipSection.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/MembershipSection.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/TemplateA.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/D_TemplateA.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/EmptyMembershipSheet.js +4 -4
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipBenefitInfo.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipBenefitInfo.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipPlanSheet.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipPlanSheet.js +5 -5
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipSheet.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipSheet.js +4 -4
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/NarrowMembershipListView.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/NarrowMembershipListView.js +3 -3
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/SectionContents.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/UnavailableMembershipPlanSheet.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/UnavailableMembershipPlanSheet.js +4 -4
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/WideMembershipListView.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/WideMembershipListView.js +3 -3
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/M_TemplateA.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/EmptyMembershipSheet.js +4 -4
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipBenefitInfo.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipBenefitInfo.js +3 -3
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipContents.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipSectionSheet.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipSectionSheet.js +5 -5
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/SectionContents.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/TemplateB.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/D_TemplateB.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/EmptyMembershipSheet.js +4 -4
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipBenefitInfo.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipBenefitInfo.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipCard.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipCard.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipPlanSheet.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipPlanSheet.js +5 -5
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipSheet.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipSheet.js +6 -6
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/SectionContents.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/UnavailableMembershipPlanSheet.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/UnavailableMembershipPlanSheet.js +4 -4
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/M_TemplateB.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/EmptyMembershipSheet.js +4 -4
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipBenefitInfo.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipBenefitInfo.js +3 -3
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipContents.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipSectionSheet.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipSectionSheet.js +5 -5
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/SectionContents.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/MembershipSection.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/MembershipSection.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/TemplateA.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/desktop/D_TemplateA.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/desktop/components/SectionContents.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/mobile/M_TemplateA.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/mobile/components/SectionContents.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/TemplateB.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/desktop/D_TemplateB.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/desktop/components/SectionContents.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/mobile/M_TemplateB.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/mobile/components/SectionContents.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/desktop/MembershipSectionItem.d.ts +3 -3
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/desktop/MembershipSectionItem.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/mobile/MembershipSectionItem.d.ts +3 -3
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/mobile/MembershipSectionItem.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/constants.d.ts +1 -1
- package/dist/src/sub/SandollFontKit/types.d.ts +1 -1
- package/package.json +2 -2
- package/release-note.md +2 -2
@@ -0,0 +1,80 @@
|
|
1
|
+
import type { NUMBER_INTEGER } from '@sub/DynamicLayout/sections/CustomSection/util/types';
|
2
|
+
export type SlideBannerPropsKeys = keyof CB_STYLE_PROP_SLIDE_BANNER_SPECS;
|
3
|
+
export type CB_STYLE_PROP_SLIDE_BANNER_SPEC_STYLE_TYPE = 'OPTION_1' | 'OPTION_2';
|
4
|
+
export type CB_STYLE_PROP_SLIDE_BANNER_SPEC_INFINITESCROLL_TYPE = 'NONE' | 'USE';
|
5
|
+
export type CB_STYLE_PROP_SLIDE_BANNER_SPEC_PAGINATIONSTYLE_TYPE = 'NONE' | 'OPTION_2' | 'OPTION_3' | 'OPTION_4' | 'OPTION_5' | 'OPTION_6' | 'OPTION_7' | 'OPTION_8' | 'OPTION_9' | 'OPTION_10' | 'OPTION_11' | 'OPTION_12' | 'OPTION_13' | 'OPTION_14' | 'OPTION_15' | 'OPTION_16' | 'OPTION_17';
|
6
|
+
export type CB_STYLE_PROP_SLIDE_BANNER_SPEC_PAGINATIONLOCATION_TYPE = 'OPTION_1' | 'OPTION_2' | 'OPTION_3' | 'OPTION_4' | 'OPTION_5' | 'OPTION_6' | 'OPTION_7' | 'OPTION_8' | 'OPTION_9' | 'OPTION_10' | 'OPTION_11' | 'OPTION_12' | 'OPTION_13' | 'OPTION_14' | 'OPTION_15' | 'OPTION_16' | 'OPTION_17' | 'OPTION_18' | 'OPTION_19' | 'OPTION_20';
|
7
|
+
export type CB_STYLE_PROP_SLIDE_BANNER_SPEC_PAGINATIONSIZE_TYPE = 'SMALL' | 'MEDIUM' | 'LARGE';
|
8
|
+
export type CB_STYLE_PROP_SLIDE_BANNER_SPEC_PREVBTNSTYLE_TYPE = 'NONE' | 'OPTION_2' | 'OPTION_3' | 'OPTION_4' | 'OPTION_5' | 'OPTION_6' | 'OPTION_7' | 'OPTION_8' | 'OPTION_9' | 'OPTION_10' | 'OPTION_11' | 'OPTION_12' | 'OPTION_13' | 'OPTION_14' | 'OPTION_15' | 'OPTION_16' | 'OPTION_17' | 'OPTION_18' | 'OPTION_19' | 'OPTION_20';
|
9
|
+
export type CB_STYLE_PROP_SLIDE_BANNER_SPEC_PREVBTNLOCATION_TYPE = 'OPTION_1' | 'OPTION_2' | 'OPTION_3' | 'OPTION_4' | 'OPTION_5' | 'OPTION_6' | 'OPTION_7' | 'OPTION_8' | 'OPTION_9' | 'OPTION_10' | 'OPTION_11' | 'OPTION_12' | 'OPTION_13' | 'OPTION_14' | 'OPTION_15' | 'OPTION_16' | 'OPTION_17' | 'OPTION_18' | 'OPTION_19' | 'OPTION_20';
|
10
|
+
export type CB_STYLE_PROP_SLIDE_BANNER_SPEC_PREVBTNSIZE_TYPE = 'SMALL' | 'MEDIUM' | 'LARGE';
|
11
|
+
export type CB_STYLE_PROP_SLIDE_BANNER_SPEC_NEXTBTNSTYLE_TYPE = 'NONE' | 'OPTION_2' | 'OPTION_3' | 'OPTION_4' | 'NONE' | 'OPTION_2' | 'OPTION_3' | 'OPTION_4' | 'OPTION_5' | 'OPTION_6' | 'OPTION_7' | 'OPTION_8' | 'OPTION_9' | 'OPTION_10' | 'OPTION_11' | 'OPTION_12' | 'OPTION_13' | 'OPTION_14' | 'OPTION_15' | 'OPTION_16' | 'OPTION_17' | 'OPTION_18' | 'OPTION_19' | 'OPTION_20';
|
12
|
+
export type CB_STYLE_PROP_SLIDE_BANNER_SPEC__NEXTBTNLOCATION_TYPE = 'OPTION_1' | 'OPTION_2' | 'OPTION_3' | 'OPTION_4' | 'OPTION_5' | 'OPTION_6' | 'OPTION_7' | 'OPTION_8' | 'OPTION_9' | 'OPTION_10' | 'OPTION_11' | 'OPTION_12' | 'OPTION_13' | 'OPTION_14' | 'OPTION_15' | 'OPTION_16' | 'OPTION_17' | 'OPTION_18' | 'OPTION_19' | 'OPTION_20';
|
13
|
+
export type CB_STYLE_PROP_SLIDE_BANNER_SPEC_NEXTBTNSIZE_TYPE = 'SMALL' | 'MEDIUM' | 'LARGE';
|
14
|
+
export type CB_STYLE_PROP_SLIDE_BANNER_SPEC_PROGRESSBAR_TYPE = 'NONE' | 'OPTION_2' | 'OPTION_3' | 'OPTION_4' | 'OPTION_5' | 'OPTION_6' | 'OPTION_7' | 'OPTION_8';
|
15
|
+
export type CB_STYLE_PROP_SLIDE_BANNER_SPEC_PROGRESSBARSIZE_TYPE = 'SMALL' | 'MEDIUM' | 'LARGE';
|
16
|
+
export type CB_STYLE_PROP_SLIDE_BANNER_SPEC_AUTOPLAYUSE_TYPE = 'NONE' | 'USE';
|
17
|
+
export type CB_STYLE_PROP_SLIDE_BANNER_SPECS_BASE = {
|
18
|
+
CB_STYLE_PROP_SLIDE_BANNER_SPEC_STYLE: CB_STYLE_PROP_SLIDE_BANNER_SPEC_STYLE_TYPE;
|
19
|
+
CB_STYLE_PROP_SLIDE_BANNER_SPEC_PAGINATIONSTYLE: CB_STYLE_PROP_SLIDE_BANNER_SPEC_PAGINATIONSTYLE_TYPE;
|
20
|
+
CB_STYLE_PROP_SLIDE_BANNER_SPEC_PAGINATIONLOCATION: CB_STYLE_PROP_SLIDE_BANNER_SPEC_PAGINATIONLOCATION_TYPE;
|
21
|
+
CB_STYLE_PROP_SLIDE_BANNER_SPEC_PAGINATIONSIZE: CB_STYLE_PROP_SLIDE_BANNER_SPEC_PAGINATIONSIZE_TYPE;
|
22
|
+
CB_STYLE_PROP_SLIDE_BANNER_SPEC_PREVBTNSTYLE: CB_STYLE_PROP_SLIDE_BANNER_SPEC_PREVBTNSTYLE_TYPE;
|
23
|
+
CB_STYLE_PROP_SLIDE_BANNER_SPEC_PREVBTNLOCATION: CB_STYLE_PROP_SLIDE_BANNER_SPEC_PREVBTNLOCATION_TYPE;
|
24
|
+
CB_STYLE_PROP_SLIDE_BANNER_SPEC_PREVBTNSIZE: CB_STYLE_PROP_SLIDE_BANNER_SPEC_PREVBTNSIZE_TYPE;
|
25
|
+
CB_STYLE_PROP_SLIDE_BANNER_SPEC_NEXTBTNSTYLE: CB_STYLE_PROP_SLIDE_BANNER_SPEC_NEXTBTNSTYLE_TYPE;
|
26
|
+
CB_STYLE_PROP_SLIDE_BANNER_SPEC_NEXTBTNLOCATION: CB_STYLE_PROP_SLIDE_BANNER_SPEC__NEXTBTNLOCATION_TYPE;
|
27
|
+
CB_STYLE_PROP_SLIDE_BANNER_SPEC_NEXTBTNSIZE: CB_STYLE_PROP_SLIDE_BANNER_SPEC_NEXTBTNSIZE_TYPE;
|
28
|
+
CB_STYLE_PROP_SLIDE_BANNER_SPEC_PROGRESSBAR: CB_STYLE_PROP_SLIDE_BANNER_SPEC_PROGRESSBAR_TYPE;
|
29
|
+
CB_STYLE_PROP_SLIDE_BANNER_SPEC_PROGRESSBARSIZE: CB_STYLE_PROP_SLIDE_BANNER_SPEC_PROGRESSBARSIZE_TYPE;
|
30
|
+
CB_STYLE_PROP_SLIDE_BANNER_SPEC_AUTOPLAYUSE: CB_STYLE_PROP_SLIDE_BANNER_SPEC_AUTOPLAYUSE_TYPE;
|
31
|
+
CB_STYLE_PROP_SLIDE_BANNER_SPEC_AUTOPLAYTIME: NUMBER_INTEGER;
|
32
|
+
CB_STYLE_PROP_SLIDE_BANNER_SPEC_INFINITESCROLL: CB_STYLE_PROP_SLIDE_BANNER_SPEC_INFINITESCROLL_TYPE;
|
33
|
+
};
|
34
|
+
export type CB_STYLE_PROP_SLIDE_BANNER_SPECS = CB_STYLE_PROP_SLIDE_BANNER_SPECS_BASE & {
|
35
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_STYLE:HOVER': CB_STYLE_PROP_SLIDE_BANNER_SPEC_STYLE_TYPE;
|
36
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_STYLE:MOBILE': CB_STYLE_PROP_SLIDE_BANNER_SPEC_STYLE_TYPE;
|
37
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_STYLE:MOBILE:HOVER': CB_STYLE_PROP_SLIDE_BANNER_SPEC_STYLE_TYPE;
|
38
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_PAGINATIONSTYLE:HOVER': CB_STYLE_PROP_SLIDE_BANNER_SPEC_PAGINATIONSTYLE_TYPE;
|
39
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_PAGINATIONSTYLE:MOBILE': CB_STYLE_PROP_SLIDE_BANNER_SPEC_PAGINATIONSTYLE_TYPE;
|
40
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_PAGINATIONSTYLE:MOBILE:HOVER': CB_STYLE_PROP_SLIDE_BANNER_SPEC_PAGINATIONSTYLE_TYPE;
|
41
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_PAGINATIONLOCATION:HOVER': CB_STYLE_PROP_SLIDE_BANNER_SPEC_PAGINATIONLOCATION_TYPE;
|
42
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_PAGINATIONLOCATION:MOBILE': CB_STYLE_PROP_SLIDE_BANNER_SPEC_PAGINATIONLOCATION_TYPE;
|
43
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_PAGINATIONLOCATION:MOBILE:HOVER': CB_STYLE_PROP_SLIDE_BANNER_SPEC_PAGINATIONLOCATION_TYPE;
|
44
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_PAGINATIONSIZE:HOVER': CB_STYLE_PROP_SLIDE_BANNER_SPEC_PAGINATIONSIZE_TYPE;
|
45
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_PAGINATIONSIZE:MOBILE': CB_STYLE_PROP_SLIDE_BANNER_SPEC_PAGINATIONSIZE_TYPE;
|
46
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_PAGINATIONSIZE:MOBILE:HOVER': CB_STYLE_PROP_SLIDE_BANNER_SPEC_PAGINATIONSIZE_TYPE;
|
47
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_PREVBTNSTYLE:HOVER': CB_STYLE_PROP_SLIDE_BANNER_SPEC_PREVBTNSTYLE_TYPE;
|
48
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_PREVBTNSTYLE:MOBILE': CB_STYLE_PROP_SLIDE_BANNER_SPEC_PREVBTNSTYLE_TYPE;
|
49
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_PREVBTNSTYLE:MOBILE:HOVER': CB_STYLE_PROP_SLIDE_BANNER_SPEC_PREVBTNSTYLE_TYPE;
|
50
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_PREVBTNLOCATION:HOVER': CB_STYLE_PROP_SLIDE_BANNER_SPEC_PREVBTNLOCATION_TYPE;
|
51
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_PREVBTNLOCATION:MOBILE': CB_STYLE_PROP_SLIDE_BANNER_SPEC_PREVBTNLOCATION_TYPE;
|
52
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_PREVBTNLOCATION:MOBILE:HOVER': CB_STYLE_PROP_SLIDE_BANNER_SPEC_PREVBTNLOCATION_TYPE;
|
53
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_PREVBTNSIZE:HOVER': CB_STYLE_PROP_SLIDE_BANNER_SPEC_PREVBTNSIZE_TYPE;
|
54
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_PREVBTNSIZE:MOBILE': CB_STYLE_PROP_SLIDE_BANNER_SPEC_PREVBTNSIZE_TYPE;
|
55
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_PREVBTNSIZE:MOBILE:HOVER': CB_STYLE_PROP_SLIDE_BANNER_SPEC_PREVBTNSIZE_TYPE;
|
56
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_NEXTBTNSTYLE:HOVER': CB_STYLE_PROP_SLIDE_BANNER_SPEC_NEXTBTNSTYLE_TYPE;
|
57
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_NEXTBTNSTYLE:MOBILE': CB_STYLE_PROP_SLIDE_BANNER_SPEC_NEXTBTNSTYLE_TYPE;
|
58
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_NEXTBTNSTYLE:MOBILE:HOVER': CB_STYLE_PROP_SLIDE_BANNER_SPEC_NEXTBTNSTYLE_TYPE;
|
59
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_NEXTBTNLOCATION:HOVER': CB_STYLE_PROP_SLIDE_BANNER_SPEC__NEXTBTNLOCATION_TYPE;
|
60
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_NEXTBTNLOCATION:MOBILE': CB_STYLE_PROP_SLIDE_BANNER_SPEC__NEXTBTNLOCATION_TYPE;
|
61
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_NEXTBTNLOCATION:MOBILE:HOVER': CB_STYLE_PROP_SLIDE_BANNER_SPEC__NEXTBTNLOCATION_TYPE;
|
62
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_NEXTBTNSIZE:HOVER': CB_STYLE_PROP_SLIDE_BANNER_SPEC_NEXTBTNSIZE_TYPE;
|
63
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_NEXTBTNSIZE:MOBILE': CB_STYLE_PROP_SLIDE_BANNER_SPEC_NEXTBTNSIZE_TYPE;
|
64
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_NEXTBTNSIZE:MOBILE:HOVER': CB_STYLE_PROP_SLIDE_BANNER_SPEC_NEXTBTNSIZE_TYPE;
|
65
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_PROGRESSBAR:HOVER': CB_STYLE_PROP_SLIDE_BANNER_SPEC_PROGRESSBAR_TYPE;
|
66
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_PROGRESSBAR:MOBILE': CB_STYLE_PROP_SLIDE_BANNER_SPEC_PROGRESSBAR_TYPE;
|
67
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_PROGRESSBAR:MOBILE:HOVER': CB_STYLE_PROP_SLIDE_BANNER_SPEC_PROGRESSBAR_TYPE;
|
68
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_PROGRESSBARSIZE:HOVER': CB_STYLE_PROP_SLIDE_BANNER_SPEC_PROGRESSBARSIZE_TYPE;
|
69
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_PROGRESSBARSIZE:MOBILE': CB_STYLE_PROP_SLIDE_BANNER_SPEC_PROGRESSBARSIZE_TYPE;
|
70
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_PROGRESSBARSIZE:MOBILE:HOVER': CB_STYLE_PROP_SLIDE_BANNER_SPEC_PROGRESSBARSIZE_TYPE;
|
71
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_AUTOPLAYUSE:HOVER': CB_STYLE_PROP_SLIDE_BANNER_SPEC_AUTOPLAYUSE_TYPE;
|
72
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_AUTOPLAYUSE:MOBILE': CB_STYLE_PROP_SLIDE_BANNER_SPEC_AUTOPLAYUSE_TYPE;
|
73
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_AUTOPLAYUSE:MOBILE:HOVER': CB_STYLE_PROP_SLIDE_BANNER_SPEC_AUTOPLAYUSE_TYPE;
|
74
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_AUTOPLAYTIME:HOVER': NUMBER_INTEGER;
|
75
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_AUTOPLAYTIME:MOBILE': NUMBER_INTEGER;
|
76
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_AUTOPLAYTIME:MOBILE:HOVER': NUMBER_INTEGER;
|
77
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_INFINITESCROLL:HOVER': CB_STYLE_PROP_SLIDE_BANNER_SPEC_INFINITESCROLL_TYPE;
|
78
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_INFINITESCROLL:MOBILE': CB_STYLE_PROP_SLIDE_BANNER_SPEC_INFINITESCROLL_TYPE;
|
79
|
+
'CB_STYLE_PROP_SLIDE_BANNER_SPEC_INFINITESCROLL:MOBILE:HOVER': CB_STYLE_PROP_SLIDE_BANNER_SPEC_INFINITESCROLL_TYPE;
|
80
|
+
};
|
@@ -17,7 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
18
18
|
/* eslint-disable react/destructuring-assignment */
|
19
19
|
var react_1 = require("react");
|
20
|
-
var DynamicLayout_1 = require("
|
20
|
+
var DynamicLayout_1 = require("@sub/DynamicLayout");
|
21
21
|
var hooks_1 = require("../../../../hooks");
|
22
22
|
var getGoogleFonts_1 = require("../../../../hooks/useGoogleFonts/getGoogleFonts");
|
23
23
|
var useGoogleFonts_1 = __importDefault(require("../../../../hooks/useGoogleFonts/useGoogleFonts"));
|
@@ -13,8 +13,8 @@ var __assign = (this && this.__assign) || function () {
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
14
14
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
15
15
|
var react_1 = require("react");
|
16
|
-
var DynamicLayout_1 = require("
|
17
|
-
var ComponentBlocks_1 = require("
|
16
|
+
var DynamicLayout_1 = require("@sub/DynamicLayout");
|
17
|
+
var ComponentBlocks_1 = require("@sub/DynamicLayout/components/ComponentBlocks");
|
18
18
|
var hooks_1 = require("../../../../hooks");
|
19
19
|
var util_1 = require("../../../../util");
|
20
20
|
var S_CB_AnimationObserverBox_1 = require("../components/S_CB_AnimationObserverBox");
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { DefaultBrightTheme } from '
|
1
|
+
import type { DefaultBrightTheme } from '@sub/DynamicLayout/sections/CustomSection/util/types';
|
2
2
|
export type TwitterPropsKeys = keyof CB_TWITTER_STYLE_PROPS;
|
3
3
|
export type CB_TWITTER_STYLE_PROPS = {
|
4
4
|
CB_STYLE_PROP_TWITTER_SPEC_THEME: DefaultBrightTheme;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import type { CB_YOUTUBE_PROPERTIES_TYPE, IndexForIntersection } from '
|
2
|
+
import type { CB_YOUTUBE_PROPERTIES_TYPE, IndexForIntersection } from '@sub/DynamicLayout/sections/CustomSection/util/types';
|
3
3
|
type Props = CB_YOUTUBE_PROPERTIES_TYPE & IndexForIntersection;
|
4
4
|
export type YOUTUBE_AUTOPLAY_TRIGGER_POINT = 'ALWAYS' | 'VIEWPORT-FREEZE' | 'VIEWPORT';
|
5
5
|
declare function Youtube(props: Props): JSX.Element;
|
@@ -20,10 +20,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
20
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
21
21
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
22
22
|
var react_1 = require("react");
|
23
|
-
var DynamicLayout_1 = require("
|
24
|
-
var hooks_1 = require("
|
25
|
-
var colorUtil_1 = require("
|
26
|
-
var util_1 = require("
|
23
|
+
var DynamicLayout_1 = require("@sub/DynamicLayout");
|
24
|
+
var hooks_1 = require("@sub/DynamicLayout/sections/CustomSection/hooks");
|
25
|
+
var colorUtil_1 = require("@sub/DynamicLayout/sections/CustomSection/newUtils/colorUtil");
|
26
|
+
var util_1 = require("@sub/DynamicLayout/sections/CustomSection/util");
|
27
27
|
var styled_components_1 = __importDefault(require("styled-components"));
|
28
28
|
var S_CB_AnimationObserverBox_1 = require("../components/S_CB_AnimationObserverBox");
|
29
29
|
var S_CB_BoxWithShadow_1 = require("../components/S_CB_BoxWithShadow");
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import type { CB_CONTENT_PROP_YOUTUBE_TYPE } from './types';
|
2
2
|
import type { YOUTUBE_AUTOPLAY_TRIGGER_POINT } from './Youtube';
|
3
|
-
import type { Device } from '
|
3
|
+
import type { Device } from '@sub/DynamicLayout/sections/CustomSection/util/types';
|
4
4
|
declare function parseYoutubeContentProp(props: CB_CONTENT_PROP_YOUTUBE_TYPE, device: Device, autoplayTriggerPoint: YOUTUBE_AUTOPLAY_TRIGGER_POINT): {
|
5
5
|
id: string;
|
6
6
|
youtubeSrc: string;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { ENUM_STRING, NUMBER_INTEGER } from '
|
1
|
+
import type { ENUM_STRING, NUMBER_INTEGER } from '@sub/DynamicLayout/sections/CustomSection/util/types';
|
2
2
|
export type CB_CONTENT_PROP_YOUTUBE_TYPE = {
|
3
3
|
CB_CONTENT_PROP_YOUTUBE_SPEC_SRC: string;
|
4
4
|
CB_CONTENT_PROP_YOUTUBE_SPEC_STARTTIME: number;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { StylesProps } from '../types';
|
2
|
-
import type { Device, NUMBER_INTEGER } from '
|
2
|
+
import type { Device, NUMBER_INTEGER } from '@sub/DynamicLayout/sections/CustomSection/util/types';
|
3
3
|
export declare const S_CB_BoxWithShadow: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, StylesProps & {
|
4
4
|
cbStylePropsShadowSpecs: {
|
5
5
|
CB_STYLE_PROP_SHADOW_SPEC_OPACITY: NUMBER_INTEGER;
|
@@ -42,7 +42,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
42
42
|
};
|
43
43
|
Object.defineProperty(exports, "__esModule", { value: true });
|
44
44
|
exports.S_CB_BoxWithShadow = void 0;
|
45
|
-
var isNullOrUndefined_1 = __importDefault(require("
|
45
|
+
var isNullOrUndefined_1 = __importDefault(require("@sub/DynamicLayout/sections/CustomSection/util/isNullOrUndefined"));
|
46
46
|
var styled_components_1 = __importStar(require("styled-components"));
|
47
47
|
exports.S_CB_BoxWithShadow = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n /*\n Introduced in IE 10.\n See http://ie.microsoft.com/testdrive/HTML5/msUserSelect/\n */\n\n height: 100%;\n width: 100%;\n\n ", ";\n\n &:before {\n border-bottom-left-radius: ", "px;\n border-bottom-right-radius: ", "px;\n border-top-left-radius: ", "px;\n border-top-right-radius: ", "px;\n box-shadow: ", ";\n content: '';\n height: 100%;\n left: 0;\n opacity: ", ";\n pointer-events: none;\n position: absolute;\n top: 0;\n width: 100%;\n }\n\n &:hover,\n &.hovered {\n ", ";\n\n &:before {\n border-bottom-left-radius: ", "px;\n border-bottom-right-radius: ", "px;\n border-top-left-radius: ", "px;\n border-top-right-radius: ", "px;\n box-shadow: ", ";\n content: '';\n height: 100%;\n left: 0;\n opacity: ", ";\n pointer-events: none;\n position: absolute;\n top: 0;\n width: 100%;\n }\n }\n"], ["\n /*\n Introduced in IE 10.\n See http://ie.microsoft.com/testdrive/HTML5/msUserSelect/\n */\n\n height: 100%;\n width: 100%;\n\n ", ";\n\n &:before {\n border-bottom-left-radius: ", "px;\n border-bottom-right-radius: ", "px;\n border-top-left-radius: ", "px;\n border-top-right-radius: ", "px;\n box-shadow: ", ";\n content: '';\n height: 100%;\n left: 0;\n opacity: ", ";\n pointer-events: none;\n position: absolute;\n top: 0;\n width: 100%;\n }\n\n &:hover,\n &.hovered {\n ", ";\n\n &:before {\n border-bottom-left-radius: ", "px;\n border-bottom-right-radius: ", "px;\n border-top-left-radius: ", "px;\n border-top-right-radius: ", "px;\n box-shadow: ", ";\n content: '';\n height: 100%;\n left: 0;\n opacity: ", ";\n pointer-events: none;\n position: absolute;\n top: 0;\n width: 100%;\n }\n }\n"])), function (_a) {
|
48
48
|
var normalStyle = _a.normalStyle;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
var react_1 = require("react");
|
4
|
-
var dynamicLayoutContext_1 = require("
|
4
|
+
var dynamicLayoutContext_1 = require("@sub/DynamicLayout/dynamicLayoutContext");
|
5
5
|
// NOTE: link기능은 탄력적일 필요가 없음.
|
6
6
|
function useCLINK(props) {
|
7
7
|
var src = props.src, openNewTab = props.openNewTab, type = props.type, internalSrc = props.internalSrc;
|
@@ -23,6 +23,33 @@ export type CB_CONTENT_PROP_TWITTER = {
|
|
23
23
|
export type CB_CONTENT_PROP_CODEBLOCK = {
|
24
24
|
CB_CONTENT_PROP_CODEBLOCK_SPEC_CODE: STRING_PLAIN;
|
25
25
|
};
|
26
|
+
export type CB_CONTENT_PROP_CONTENTSCAROUSEL = {
|
27
|
+
CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_VALUE_TYPE: 'A' | 'B';
|
28
|
+
CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_CONNECT_DATA: STRING_PLAIN;
|
29
|
+
CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_DATASORTING: STRING_PLAIN;
|
30
|
+
CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_OFFSET: ENUM_STRING | null | undefined;
|
31
|
+
CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_MENUALITEM: MockComposition[];
|
32
|
+
CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_ITEMCOUNTS: NUMBER_INTEGER;
|
33
|
+
CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_DISPLAYCOUNTS: NUMBER_INTEGER;
|
34
|
+
};
|
35
|
+
export type CB_CONTENT_PROP_SLIDE_BANNER = {
|
36
|
+
CB_CONTENT_PROP_SLIDE_BANNER_SPEC_VALUE_TYPE: 'A' | 'B';
|
37
|
+
CB_CONTENT_PROP_SLIDE_BANNER_SPEC_CONNECT_DATA: STRING_PLAIN;
|
38
|
+
CB_CONTENT_PROP_SLIDE_BANNER_SPEC_DATASORTING: STRING_PLAIN;
|
39
|
+
CB_CONTENT_PROP_SLIDE_BANNER_SPEC_OFFSET: ENUM_STRING | null | undefined;
|
40
|
+
CB_CONTENT_PROP_SLIDE_BANNER_SPEC_MENUALITEM: MockComposition[];
|
41
|
+
CB_CONTENT_PROP_SLIDE_BANNER_SPEC_ITEMCOUNTS: NUMBER_INTEGER;
|
42
|
+
CB_CONTENT_PROP_SLIDE_BANNER_SPEC_DISPLAYCOUNTS: NUMBER_INTEGER;
|
43
|
+
};
|
44
|
+
export type MockComposition = {
|
45
|
+
title: string;
|
46
|
+
width: number;
|
47
|
+
minWidth: number;
|
48
|
+
maxWidth: number;
|
49
|
+
height: number;
|
50
|
+
minHeight: number;
|
51
|
+
maxHeight: number;
|
52
|
+
};
|
26
53
|
export type CBTextPropsKeys = keyof CB_STYLE_PROP_TEXT_SPECS;
|
27
54
|
export type CB_STYLE_PROP_TEXT_SPECS_BASE = {
|
28
55
|
CB_STYLE_PROP_TEXT_SPEC_TYPEFACE: ENUM_STRING;
|
package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGoogleFonts/useGoogleFonts.js
CHANGED
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
var react_1 = require("react");
|
7
|
-
var callGoogleFontCSSAndApply_1 = __importDefault(require("
|
7
|
+
var callGoogleFontCSSAndApply_1 = __importDefault(require("@sub/GoogleFontkit/utils/callGoogleFontCSSAndApply"));
|
8
8
|
function useGoogleFonts(_a) {
|
9
9
|
var fonts = _a.fonts;
|
10
10
|
(0, react_1.useEffect)(function () {
|
@@ -26,6 +26,6 @@ export declare function parseStyleColorToCSSProp<T>({ availableSpecCodes, props,
|
|
26
26
|
style: CSSProperties;
|
27
27
|
hoverStyle: CSSProperties;
|
28
28
|
};
|
29
|
-
export declare function getBtnColorStyles(value: ValueSetType, cbName: CBName
|
30
|
-
export declare function getLinearGradientStyles(value: ValueSetType, cbName: CBName
|
29
|
+
export declare function getBtnColorStyles(value: ValueSetType, cbName: CBName): CSSProperties;
|
30
|
+
export declare function getLinearGradientStyles(value: ValueSetType, cbName: CBName): CSSProperties;
|
31
31
|
export {};
|
@@ -33,11 +33,11 @@ function parseStyleColorToCSSProp(_a) {
|
|
33
33
|
hover: {}
|
34
34
|
});
|
35
35
|
var style = getBtnColorStyles(valueSet.normal, propKey);
|
36
|
-
var hoverStyle = getBtnColorStyles(valueSet.hover, propKey
|
36
|
+
var hoverStyle = getBtnColorStyles(valueSet.hover, propKey);
|
37
37
|
return { style: style, hoverStyle: hoverStyle };
|
38
38
|
}
|
39
39
|
exports.parseStyleColorToCSSProp = parseStyleColorToCSSProp;
|
40
|
-
function getBtnColorStyles(value, cbName
|
40
|
+
function getBtnColorStyles(value, cbName) {
|
41
41
|
if (value["CB_STYLE_PROP_".concat(cbName, "_SPEC_TYPE")] === 'NONE') {
|
42
42
|
return { background: 'none' };
|
43
43
|
}
|
@@ -47,23 +47,21 @@ function getBtnColorStyles(value, cbName, normalValue) {
|
|
47
47
|
};
|
48
48
|
return style;
|
49
49
|
}
|
50
|
-
return getLinearGradientStyles(value, cbName
|
50
|
+
return getLinearGradientStyles(value, cbName);
|
51
51
|
}
|
52
52
|
exports.getBtnColorStyles = getBtnColorStyles;
|
53
|
-
function getLinearGradientStyles(value, cbName
|
54
|
-
var
|
55
|
-
var
|
56
|
-
var
|
57
|
-
var
|
58
|
-
var
|
59
|
-
|
60
|
-
var gradientType = (_f = value["CB_STYLE_PROP_".concat(cbName, "_SPEC_GRADIENT")]) !== null && _f !== void 0 ? _f : normalValue === null || normalValue === void 0 ? void 0 : normalValue["CB_STYLE_PROP_".concat(cbName, "_SPEC_GRADIENT")];
|
61
|
-
if (gradientType === 'LINEAR') {
|
53
|
+
function getLinearGradientStyles(value, cbName) {
|
54
|
+
var angle = value["CB_STYLE_PROP_".concat(cbName, "_SPEC_ANGLE")];
|
55
|
+
var startColor = value["CB_STYLE_PROP_".concat(cbName, "_SPEC_STARTCOLOR")];
|
56
|
+
var startLoc = value["CB_STYLE_PROP_".concat(cbName, "_SPEC_STARTLOC")];
|
57
|
+
var endColor = value["CB_STYLE_PROP_".concat(cbName, "_SPEC_ENDCOLOR")];
|
58
|
+
var endLoc = value["CB_STYLE_PROP_".concat(cbName, "_SPEC_ENDLOC")];
|
59
|
+
if (value["CB_STYLE_PROP_".concat(cbName, "_SPEC_GRADIENT")] === 'LINEAR') {
|
62
60
|
var gradient = "".concat(angle, "deg, ").concat(startColor, " ").concat(startLoc, "%, ").concat(endColor, " ").concat(endLoc, "%");
|
63
61
|
var style = { background: "linear-gradient(".concat(gradient, ")") };
|
64
62
|
return style;
|
65
63
|
}
|
66
|
-
if (
|
64
|
+
if (value["CB_STYLE_PROP_".concat(cbName, "_SPEC_GRADIENT")] === 'RADIAL') {
|
67
65
|
var gradient = "".concat(startColor, " ").concat(startLoc, "%, ").concat(endColor, " ").concat(endLoc, "%");
|
68
66
|
var style = { background: "radial-gradient(".concat(gradient, ")") };
|
69
67
|
return style;
|
@@ -1,10 +1,11 @@
|
|
1
|
-
import type { CB_BTN_PROPERTIES_TYPE, CB_DIVIDER_PROPERTIES_TYPE, CB_EMBED_PROPERTIES_TYPE, CB_IMG_PROPERTIES_TYPE, CB_RICHTEXT_PROPERTIES_TYPE, CB_TEXT_PROPERTIES_TYPE, CB_TWITTER_PROPERTIES_TYPE, CB_YOUTUBE_PROPERTIES_TYPE } from './util/types';
|
2
|
-
import type { IComposition } from '
|
1
|
+
import type { CB_BTN_PROPERTIES_TYPE, CB_DIVIDER_PROPERTIES_TYPE, CB_EMBED_PROPERTIES_TYPE, CB_IMG_PROPERTIES_TYPE, CB_RICHTEXT_PROPERTIES_TYPE, CB_TEXT_PROPERTIES_TYPE, CB_TWITTER_PROPERTIES_TYPE, CB_YOUTUBE_PROPERTIES_TYPE, CB_CONTENTS_CAROUSEL_PROPERTIES_TYPE, CB_SLIDE_BANNER_PROPERTIES_TYPE } from './util/types';
|
2
|
+
import type { IComposition } from '@sub/DynamicLayout/types';
|
3
3
|
export type CB_TYPES = 'GENERAL';
|
4
|
-
export type ComponentBlock = CB_TEXT_TYPE | CB_BTN_TYPE | CB_RICHTEXT | CB_DIVIDER | CB_IMG | CB_YOUTUBE | CB_TWITTER | CB_IFRAME | CB_GROUP | CB_CONTENTS_CAROUSEL;
|
4
|
+
export type ComponentBlock = CB_TEXT_TYPE | CB_BTN_TYPE | CB_RICHTEXT | CB_DIVIDER | CB_IMG | CB_YOUTUBE | CB_TWITTER | CB_IFRAME | CB_GROUP | CB_CONTENTS_CAROUSEL | CB_SLIDE_BANNER;
|
5
5
|
type GeneralCustomSectionType = {
|
6
6
|
id: number;
|
7
7
|
type: 'GENERAL';
|
8
|
+
blockId?: string;
|
8
9
|
availablePlugins: Array<string>;
|
9
10
|
queryableTapSrc: string;
|
10
11
|
queryableDefinitionPreset: string;
|
@@ -18,7 +19,7 @@ export type GroupCustomSectionType = {
|
|
18
19
|
queryableDefinitionPreset: string;
|
19
20
|
dynamicLayoutSectionId: number;
|
20
21
|
};
|
21
|
-
export type AllCBProperties = CB_TEXT_PROPERTIES_TYPE | CB_BTN_PROPERTIES_TYPE | CB_RICHTEXT_PROPERTIES_TYPE | CB_RICHTEXT_PROPERTIES_TYPE | CB_DIVIDER_PROPERTIES_TYPE | CB_YOUTUBE_PROPERTIES_TYPE | CB_IMG_PROPERTIES_TYPE | CB_TWITTER_PROPERTIES_TYPE | CB_EMBED_PROPERTIES_TYPE;
|
22
|
+
export type AllCBProperties = CB_TEXT_PROPERTIES_TYPE | CB_BTN_PROPERTIES_TYPE | CB_RICHTEXT_PROPERTIES_TYPE | CB_RICHTEXT_PROPERTIES_TYPE | CB_DIVIDER_PROPERTIES_TYPE | CB_YOUTUBE_PROPERTIES_TYPE | CB_IMG_PROPERTIES_TYPE | CB_TWITTER_PROPERTIES_TYPE | CB_EMBED_PROPERTIES_TYPE | CB_CONTENTS_CAROUSEL_PROPERTIES_TYPE | CB_SLIDE_BANNER_PROPERTIES_TYPE;
|
22
23
|
export type CB_TEXT_TYPE = GeneralCustomSectionType & {
|
23
24
|
componentBlockCode: CB_ALL_CODES.CB_TEXT;
|
24
25
|
jsonProperties: {
|
@@ -76,7 +77,14 @@ export type CB_GROUP = GeneralCustomSectionType & {
|
|
76
77
|
export type CB_CONTENTS_CAROUSEL = GeneralCustomSectionType & {
|
77
78
|
componentBlockCode: CB_ALL_CODES.CB_CONTENTS_CAROUSEL;
|
78
79
|
jsonProperties: {
|
79
|
-
data:
|
80
|
+
data: CB_CONTENTS_CAROUSEL_PROPERTIES_TYPE;
|
81
|
+
};
|
82
|
+
compositions: Array<IComposition>;
|
83
|
+
};
|
84
|
+
export type CB_SLIDE_BANNER = GeneralCustomSectionType & {
|
85
|
+
componentBlockCode: CB_ALL_CODES.CB_SLIDE_BANNER;
|
86
|
+
jsonProperties: {
|
87
|
+
data: CB_SLIDE_BANNER_PROPERTIES_TYPE;
|
80
88
|
};
|
81
89
|
compositions: Array<IComposition>;
|
82
90
|
};
|
@@ -90,6 +98,7 @@ export declare enum CB_ALL_CODES {
|
|
90
98
|
CB_TWITTER = "CB_TWITTER",
|
91
99
|
CB_EMBED = "CB_EMBED",
|
92
100
|
CB_GROUP = "CB_GROUP",
|
93
|
-
CB_CONTENTS_CAROUSEL = "CB_CONTENTS_CAROUSEL"
|
101
|
+
CB_CONTENTS_CAROUSEL = "CB_CONTENTS_CAROUSEL",
|
102
|
+
CB_SLIDE_BANNER = "CB_SLIDE_BANNER"
|
94
103
|
}
|
95
104
|
export {};
|
@@ -13,4 +13,5 @@ var CB_ALL_CODES;
|
|
13
13
|
CB_ALL_CODES["CB_EMBED"] = "CB_EMBED";
|
14
14
|
CB_ALL_CODES["CB_GROUP"] = "CB_GROUP";
|
15
15
|
CB_ALL_CODES["CB_CONTENTS_CAROUSEL"] = "CB_CONTENTS_CAROUSEL";
|
16
|
+
CB_ALL_CODES["CB_SLIDE_BANNER"] = "CB_SLIDE_BANNER";
|
16
17
|
})(CB_ALL_CODES = exports.CB_ALL_CODES || (exports.CB_ALL_CODES = {}));
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import type { Device, JsonPropertiesParserResult } from './types';
|
2
|
-
import type { ISectionJsonProperties } from '
|
2
|
+
import type { ISectionJsonProperties } from '@sub/DynamicLayout/types';
|
3
3
|
export default function parseJsonProperties(properties: ISectionJsonProperties['data'] | undefined, device: Device): JsonPropertiesParserResult;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { CB_LAYOUT_PROP_KEYS } from './layoutPropParsers/types';
|
2
2
|
import { CB_STYLE_PROP_KEYS } from './stylePropParsers/types';
|
3
|
-
import type { Device, ParserResult, CB_TEXT_PROPERTIES_TYPE, CB_BTN_PROPERTIES_TYPE, CB_IMG_PROPERTIES_TYPE, CB_TWITTER_PROPERTIES_TYPE, CB_DIVIDER_PROPERTIES_TYPE, CB_YOUTUBE_PROPERTIES_TYPE, CB_RICHTEXT_PROPERTIES_TYPE, CB_EMBED_PROPERTIES_TYPE } from './types';
|
3
|
+
import type { Device, ParserResult, CB_TEXT_PROPERTIES_TYPE, CB_BTN_PROPERTIES_TYPE, CB_IMG_PROPERTIES_TYPE, CB_TWITTER_PROPERTIES_TYPE, CB_DIVIDER_PROPERTIES_TYPE, CB_YOUTUBE_PROPERTIES_TYPE, CB_RICHTEXT_PROPERTIES_TYPE, CB_EMBED_PROPERTIES_TYPE, CB_CONTENTS_CAROUSEL_PROPERTIES_TYPE, CB_SLIDE_BANNER_PROPERTIES_TYPE } from './types';
|
4
4
|
export type specTypes = CB_LAYOUT_PROP_KEYS | CB_STYLE_PROP_KEYS;
|
5
|
-
export default function parseProperties(properties: CB_TEXT_PROPERTIES_TYPE | CB_BTN_PROPERTIES_TYPE | CB_IMG_PROPERTIES_TYPE | CB_TWITTER_PROPERTIES_TYPE | CB_DIVIDER_PROPERTIES_TYPE | CB_YOUTUBE_PROPERTIES_TYPE | CB_RICHTEXT_PROPERTIES_TYPE | CB_EMBED_PROPERTIES_TYPE, device: Device): ParserResult;
|
5
|
+
export default function parseProperties(properties: CB_TEXT_PROPERTIES_TYPE | CB_BTN_PROPERTIES_TYPE | CB_IMG_PROPERTIES_TYPE | CB_TWITTER_PROPERTIES_TYPE | CB_DIVIDER_PROPERTIES_TYPE | CB_YOUTUBE_PROPERTIES_TYPE | CB_RICHTEXT_PROPERTIES_TYPE | CB_EMBED_PROPERTIES_TYPE | CB_CONTENTS_CAROUSEL_PROPERTIES_TYPE | CB_SLIDE_BANNER_PROPERTIES_TYPE, device: Device): ParserResult;
|
@@ -38,44 +38,21 @@ function parseStylePropShadow(namedProps, device) {
|
|
38
38
|
normal: {},
|
39
39
|
hover: {}
|
40
40
|
});
|
41
|
-
return valueGenerator({ normalValueSet: valueSet.normal, hoverValueSet: valueSet.hover });
|
42
|
-
}
|
43
|
-
exports.default = parseStylePropShadow;
|
44
|
-
function valueGenerator(_a) {
|
45
|
-
var hoverValueSet = _a.hoverValueSet, normalValueSet = _a.normalValueSet;
|
46
|
-
var normalShadow = function () {
|
47
|
-
switch (normalValueSet.CB_STYLE_PROP_SHADOW_SPEC_TYPE) {
|
48
|
-
case 'INSET':
|
49
|
-
return "inset ".concat(normalValueSet.CB_STYLE_PROP_SHADOW_SPEC_X, "px ").concat(normalValueSet.CB_STYLE_PROP_SHADOW_SPEC_Y, "px ").concat(normalValueSet.CB_STYLE_PROP_SHADOW_SPEC_BLUR, "px ").concat(normalValueSet.CB_STYLE_PROP_SHADOW_SPEC_SPREAD, "px ").concat(normalValueSet.CB_STYLE_PROP_SHADOW_SPEC_COLOR);
|
50
|
-
case 'OUTSET':
|
51
|
-
return "".concat(normalValueSet.CB_STYLE_PROP_SHADOW_SPEC_X, "px ").concat(normalValueSet.CB_STYLE_PROP_SHADOW_SPEC_Y, "px ").concat(normalValueSet.CB_STYLE_PROP_SHADOW_SPEC_BLUR, "px ").concat(normalValueSet.CB_STYLE_PROP_SHADOW_SPEC_SPREAD, "px ").concat(normalValueSet.CB_STYLE_PROP_SHADOW_SPEC_COLOR);
|
52
|
-
case 'NONE':
|
53
|
-
return 'none';
|
54
|
-
default:
|
55
|
-
return '';
|
56
|
-
}
|
57
|
-
};
|
58
|
-
var hoverShadow = function () {
|
59
|
-
var _a, _b, _c, _d, _e, _f;
|
60
|
-
var type = (_a = hoverValueSet.CB_STYLE_PROP_SHADOW_SPEC_TYPE) !== null && _a !== void 0 ? _a : normalValueSet.CB_STYLE_PROP_SHADOW_SPEC_TYPE;
|
61
|
-
var color = (_b = hoverValueSet.CB_STYLE_PROP_SHADOW_SPEC_COLOR) !== null && _b !== void 0 ? _b : normalValueSet.CB_STYLE_PROP_SHADOW_SPEC_COLOR;
|
62
|
-
var x = (_c = hoverValueSet.CB_STYLE_PROP_SHADOW_SPEC_X) !== null && _c !== void 0 ? _c : normalValueSet.CB_STYLE_PROP_SHADOW_SPEC_X;
|
63
|
-
var y = (_d = hoverValueSet.CB_STYLE_PROP_SHADOW_SPEC_Y) !== null && _d !== void 0 ? _d : normalValueSet.CB_STYLE_PROP_SHADOW_SPEC_Y;
|
64
|
-
var blur = (_e = hoverValueSet.CB_STYLE_PROP_SHADOW_SPEC_BLUR) !== null && _e !== void 0 ? _e : normalValueSet.CB_STYLE_PROP_SHADOW_SPEC_BLUR;
|
65
|
-
var spread = (_f = hoverValueSet.CB_STYLE_PROP_SHADOW_SPEC_SPREAD) !== null && _f !== void 0 ? _f : normalValueSet.CB_STYLE_PROP_SHADOW_SPEC_SPREAD;
|
66
|
-
switch (type) {
|
67
|
-
case 'INSET':
|
68
|
-
return "inset ".concat(x, "px ").concat(y, "px ").concat(blur, "px ").concat(spread, "px ").concat(color);
|
69
|
-
case 'OUTSET':
|
70
|
-
return "".concat(x, "px ").concat(y, "px ").concat(blur, "px ").concat(spread, "px ").concat(color);
|
71
|
-
case 'NONE':
|
72
|
-
return 'none';
|
73
|
-
default:
|
74
|
-
return '';
|
75
|
-
}
|
76
|
-
};
|
77
41
|
return {
|
78
|
-
style: { boxShadow:
|
79
|
-
hoverStyle: { boxShadow:
|
42
|
+
style: { boxShadow: valueGenerator(valueSet.normal) },
|
43
|
+
hoverStyle: { boxShadow: valueGenerator(valueSet.hover) }
|
80
44
|
};
|
81
45
|
}
|
46
|
+
exports.default = parseStylePropShadow;
|
47
|
+
function valueGenerator(valueSet) {
|
48
|
+
switch (valueSet.CB_STYLE_PROP_SHADOW_SPEC_TYPE) {
|
49
|
+
case 'INSET':
|
50
|
+
return "inset ".concat(valueSet.CB_STYLE_PROP_SHADOW_SPEC_X, "px ").concat(valueSet.CB_STYLE_PROP_SHADOW_SPEC_Y, "px ").concat(valueSet.CB_STYLE_PROP_SHADOW_SPEC_BLUR, "px ").concat(valueSet.CB_STYLE_PROP_SHADOW_SPEC_SPREAD, "px ").concat(valueSet.CB_STYLE_PROP_SHADOW_SPEC_COLOR);
|
51
|
+
case 'OUTSET':
|
52
|
+
return "".concat(valueSet.CB_STYLE_PROP_SHADOW_SPEC_X, "px ").concat(valueSet.CB_STYLE_PROP_SHADOW_SPEC_Y, "px ").concat(valueSet.CB_STYLE_PROP_SHADOW_SPEC_BLUR, "px ").concat(valueSet.CB_STYLE_PROP_SHADOW_SPEC_SPREAD, "px ").concat(valueSet.CB_STYLE_PROP_SHADOW_SPEC_COLOR);
|
53
|
+
case 'NONE':
|
54
|
+
return 'none';
|
55
|
+
default:
|
56
|
+
return '';
|
57
|
+
}
|
58
|
+
}
|
@@ -1,17 +1,21 @@
|
|
1
|
+
import type { CB_STYLE_PROP_CONTENTSCAROUSEL_SPECS } from '../components/ComponentBlock/componentBlocks/ContentsCarousel/types';
|
2
|
+
import type { CB_STYLE_PROP_SLIDE_BANNER_SPECS } from '../components/ComponentBlock/componentBlocks/SlideBanner/types';
|
1
3
|
import type { CB_TWITTER_STYLE_PROPS } from '../components/ComponentBlock/componentBlocks/Twitter/types';
|
2
|
-
import type { CB_CONTENT_PROP_CLINK, CB_CONTENT_PROP_CODEBLOCK, CB_CONTENT_PROP_IMAGE, CB_CONTENT_PROP_TEXT, CB_CONTENT_PROP_TWITTER, CB_STYLE_PROP_COLOR_SPECS, CB_STYLE_PROP_TEXT_SPECS } from '../components/ComponentBlock/componentBlocks/types';
|
4
|
+
import type { CB_CONTENT_PROP_CONTENTSCAROUSEL, CB_CONTENT_PROP_SLIDE_BANNER, CB_CONTENT_PROP_CLINK, CB_CONTENT_PROP_CODEBLOCK, CB_CONTENT_PROP_IMAGE, CB_CONTENT_PROP_TEXT, CB_CONTENT_PROP_TWITTER, CB_STYLE_PROP_COLOR_SPECS, CB_STYLE_PROP_TEXT_SPECS } from '../components/ComponentBlock/componentBlocks/types';
|
3
5
|
import type { CB_CONTENT_PROP_YOUTUBE_TYPE, CB_STYLE_PROP_BGCOLOR_SPECS } from '../components/ComponentBlock/componentBlocks/Youtube/types';
|
4
6
|
import type { CB_CONTENT_PROP_VISIBILITY_SPECS } from './contentPropParsers/parseContentVisibility';
|
5
7
|
import type { CB_EFFECT_PROP_ENTANIM_SPECS } from './effectPropParsers/parseEffectPropEntAnim';
|
6
8
|
import type { CB_LAYOUT_PROP_ARRANGE_SPECS } from './layoutPropParsers/parseLayoutPropArrange';
|
7
9
|
import type { CB_LAYOUT_PROP_PADDING_SPECS } from './layoutPropParsers/parseLayoutPropPadding';
|
8
10
|
import type { NamedLayoutPropType } from './layoutPropParsers/types';
|
11
|
+
import type { CB_STYLE_PROP_BGOVERLAY_SPECS } from './stylePropParsers/parseStylePropBgOverlay';
|
9
12
|
import type { CB_STYLE_PROP_BORDER_SPECS } from './stylePropParsers/parseStylePropBorder';
|
10
13
|
import type { CB_STYLE_PROP_DIVIDER_SPECS } from './stylePropParsers/parseStylePropDivider';
|
11
14
|
import type { CB_STYLE_PROP_IMAGE_SPECS } from './stylePropParsers/parseStylePropImage';
|
12
15
|
import type { CB_STYLE_PROP_TEXT_OPACITY_SPECS } from './stylePropParsers/parseStylePropOpacity';
|
13
16
|
import type { CB_STYLE_PROP_SHADOW_SPECS } from './stylePropParsers/parseStylePropShadow';
|
14
17
|
import type { NamedStylePropType } from './stylePropParsers/types';
|
18
|
+
import type { CB_STYLE_PROP_BGMEDIA_SPECS } from '@sub/DynamicLayout/types';
|
15
19
|
import type { CSSProperties } from 'react';
|
16
20
|
export type STRING_PLAIN = string;
|
17
21
|
export type ENUM_STRING = string;
|
@@ -122,6 +126,34 @@ export type CB_YOUTUBE_PROPERTIES_TYPE = CB_GENERAL_PROPERTIES_TYPE & {
|
|
122
126
|
CB_LAYOUT_PROP_PADDING: CB_LAYOUT_PROP_PADDING_SPECS;
|
123
127
|
CB_EFFECT_PROP_ENTANIM: CB_EFFECT_PROP_ENTANIM_SPECS;
|
124
128
|
};
|
129
|
+
export type CB_CONTENTS_CAROUSEL_PROPERTIES_TYPE = CB_GENERAL_PROPERTIES_TYPE & {
|
130
|
+
CB_CONTENT_PROP_CONTENTSCAROUSEL: CB_CONTENT_PROP_CONTENTSCAROUSEL;
|
131
|
+
CB_STYLE_PROP_CONTENTSCAROUSEL: CB_STYLE_PROP_CONTENTSCAROUSEL_SPECS;
|
132
|
+
CB_STYLE_PROP_BORDER: CB_STYLE_PROP_BORDER_SPECS;
|
133
|
+
CB_STYLE_PROP_SHADOW: CB_STYLE_PROP_SHADOW_SPECS;
|
134
|
+
CB_STYLE_PROP_OPACITY: CB_STYLE_PROP_TEXT_OPACITY_SPECS;
|
135
|
+
CB_STYLE_PROP_BGCOLOR: CB_STYLE_PROP_BGCOLOR_SPECS;
|
136
|
+
CB_STYLE_PROP_BGOVERLAY: CB_STYLE_PROP_BGOVERLAY_SPECS;
|
137
|
+
CB_STYLE_PROP_BGMEDIA: CB_STYLE_PROP_BGMEDIA_SPECS;
|
138
|
+
CB_LAYOUT_PROP_PADDING: CB_LAYOUT_PROP_PADDING_SPECS;
|
139
|
+
CB_LAYOUT_PROP_ARRANGE: CB_LAYOUT_PROP_ARRANGE_SPECS;
|
140
|
+
CB_CONTENT_PROP_VISIBILITY: CB_CONTENT_PROP_VISIBILITY_SPECS;
|
141
|
+
CB_EFFECT_PROP_ENTANIM: CB_EFFECT_PROP_ENTANIM_SPECS;
|
142
|
+
};
|
143
|
+
export type CB_SLIDE_BANNER_PROPERTIES_TYPE = CB_GENERAL_PROPERTIES_TYPE & {
|
144
|
+
CB_CONTENT_PROP_SLIDE_BANNER: CB_CONTENT_PROP_SLIDE_BANNER;
|
145
|
+
CB_STYLE_PROP_SLIDE_BANNER: CB_STYLE_PROP_SLIDE_BANNER_SPECS;
|
146
|
+
CB_STYLE_PROP_BORDER: CB_STYLE_PROP_BORDER_SPECS;
|
147
|
+
CB_STYLE_PROP_SHADOW: CB_STYLE_PROP_SHADOW_SPECS;
|
148
|
+
CB_STYLE_PROP_OPACITY: CB_STYLE_PROP_TEXT_OPACITY_SPECS;
|
149
|
+
CB_STYLE_PROP_BGCOLOR: CB_STYLE_PROP_BGCOLOR_SPECS;
|
150
|
+
CB_STYLE_PROP_BGOVERLAY: CB_STYLE_PROP_BGOVERLAY_SPECS;
|
151
|
+
CB_STYLE_PROP_BGMEDIA: CB_STYLE_PROP_BGMEDIA_SPECS;
|
152
|
+
CB_LAYOUT_PROP_PADDING: CB_LAYOUT_PROP_PADDING_SPECS;
|
153
|
+
CB_LAYOUT_PROP_ARRANGE: CB_LAYOUT_PROP_ARRANGE_SPECS;
|
154
|
+
CB_CONTENT_PROP_VISIBILITY: CB_CONTENT_PROP_VISIBILITY_SPECS;
|
155
|
+
CB_EFFECT_PROP_ENTANIM: CB_EFFECT_PROP_ENTANIM_SPECS;
|
156
|
+
};
|
125
157
|
export type StyleType = {
|
126
158
|
style: CSSProperties;
|
127
159
|
};
|
@@ -44,8 +44,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
44
44
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
45
45
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
46
46
|
var react_1 = __importStar(require("react"));
|
47
|
-
var ErrorBoundary_1 = require("
|
48
|
-
var dynamicLayoutContext_1 = require("
|
47
|
+
var ErrorBoundary_1 = require("@sub/DynamicLayout/components/Section/ErrorBoundary");
|
48
|
+
var dynamicLayoutContext_1 = require("@sub/DynamicLayout/dynamicLayoutContext");
|
49
49
|
var styled_components_1 = __importDefault(require("styled-components"));
|
50
50
|
var components_1 = require("../components");
|
51
51
|
var gleStyles_1 = require("../gleStyles");
|
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
4
4
|
var react_1 = require("react");
|
5
|
-
var DynamicLayout_1 = require("
|
5
|
+
var DynamicLayout_1 = require("@sub/DynamicLayout");
|
6
6
|
var Section_1 = require("../../../../../components/Section");
|
7
7
|
function TemplateA() {
|
8
8
|
var sectionActionHandler = (0, react_1.useContext)(DynamicLayout_1.dynamicLayoutContext).sectionActionHandler;
|
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
4
4
|
var react_1 = require("react");
|
5
|
-
var DynamicLayout_1 = require("
|
5
|
+
var DynamicLayout_1 = require("@sub/DynamicLayout");
|
6
6
|
var Section_1 = require("../../../../../components/Section");
|
7
7
|
function TemplateA() {
|
8
8
|
var sectionActionHandler = (0, react_1.useContext)(DynamicLayout_1.dynamicLayoutContext).sectionActionHandler;
|
package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/MembershipSection.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import type { ISection } from '
|
2
|
+
import type { ISection } from '@sub/DynamicLayout/types';
|
3
3
|
declare function EditTypeMembershipSection({ ...props }: ISection): JSX.Element;
|
4
4
|
export default EditTypeMembershipSection;
|
@@ -31,7 +31,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
31
31
|
Object.defineProperty(exports, "__esModule", { value: true });
|
32
32
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
33
33
|
var react_1 = require("react");
|
34
|
-
var components_1 = require("
|
34
|
+
var components_1 = require("@sub/DynamicLayout/components");
|
35
35
|
var styled_components_1 = __importDefault(require("styled-components"));
|
36
36
|
var templates_1 = require("./templates");
|
37
37
|
function EditTypeMembershipSection(_a) {
|
@@ -2,8 +2,8 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
4
4
|
var react_1 = require("react");
|
5
|
-
var Section_1 = require("
|
6
|
-
var dynamicLayoutContext_1 = require("
|
5
|
+
var Section_1 = require("@sub/DynamicLayout/components/Section");
|
6
|
+
var dynamicLayoutContext_1 = require("@sub/DynamicLayout/dynamicLayoutContext");
|
7
7
|
var desktop_1 = require("./desktop");
|
8
8
|
var mobile_1 = require("./mobile");
|
9
9
|
function TemplateA(_a) {
|
@@ -14,10 +14,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
14
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
15
15
|
var react_1 = require("react");
|
16
16
|
var react_i18next_1 = require("react-i18next");
|
17
|
-
var panels_1 = require("
|
18
|
-
var Section_1 = require("
|
19
|
-
var components_1 = require("
|
20
|
-
var constants_1 = require("
|
17
|
+
var panels_1 = require("@desktop/panels");
|
18
|
+
var Section_1 = require("@sub/DynamicLayout/components/Section");
|
19
|
+
var components_1 = require("@sub/DynamicLayout/sections/MembershipSection/components");
|
20
|
+
var constants_1 = require("@sub/DynamicLayout/sections/MembershipSection/constants");
|
21
21
|
function EmptyMembershipSheet() {
|
22
22
|
var t = (0, react_i18next_1.useTranslation)('translation').t;
|
23
23
|
var section = (0, react_1.useContext)(Section_1.sectionContext);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import type { IMembershipBenefitInfo } from '
|
2
|
+
import type { IMembershipBenefitInfo } from '@sub/DynamicLayout/types';
|
3
3
|
type Props = {
|
4
4
|
membershipBenefitInfo: IMembershipBenefitInfo;
|
5
5
|
itemToneTextLabelColor: string;
|