pds-dev-kit-web-test 0.1.9 → 0.1.10
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/README.md +12 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +6 -4
- package/dist/src/common/assets/icons/line/SectionIframe32.d.ts +4 -0
- package/dist/src/common/assets/icons/line/SectionIframe32.js +30 -0
- package/dist/src/common/assets/icons/line/SectionIframe40.d.ts +4 -0
- package/dist/src/common/assets/icons/line/SectionIframe40.js +30 -0
- package/dist/src/common/assets/icons/line/SectionMembership32.d.ts +4 -0
- package/dist/src/common/assets/icons/line/SectionMembership32.js +30 -0
- package/dist/src/common/assets/icons/line/SectionMembership40.d.ts +4 -0
- package/dist/src/common/assets/icons/line/SectionMembership40.js +30 -0
- package/dist/src/common/assets/icons/line/index.d.ts +4 -0
- package/dist/src/common/assets/icons/line/index.js +8 -0
- package/dist/src/common/components/CircularProgress/CircularProgress.d.ts +2 -2
- package/dist/src/common/components/ThreeBarProgress/ThreeBarProgress.d.ts +2 -2
- package/dist/src/common/index.d.ts +3 -2
- package/dist/src/common/index.js +4 -1
- package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +296 -0
- package/dist/src/common/styles/colorSet/PaletteColor_light.json +296 -0
- package/dist/src/common/styles/colorSet/SemanticColor.json +106 -0
- package/dist/src/common/styles/colorSet/UIColor.json +763 -0
- package/dist/src/common/styles/colorSet/index.d.ts +1464 -0
- package/dist/src/common/styles/colorSet/index.js +17 -0
- package/dist/src/common/styles/colorSet/ui-type.d.ts +763 -0
- package/dist/src/common/styles/colorSet/ui-type.js +2 -0
- package/dist/src/common/styles/index.d.ts +1 -0
- package/dist/src/common/styles/index.js +3 -1
- package/dist/src/common/styles/theme.js +3 -3
- package/dist/src/common/styles/ui-colors.d.ts +10 -0
- package/dist/src/common/styles/ui-colors.js +48 -0
- package/dist/src/common/types/index.d.ts +1 -0
- package/dist/src/common/types/index.js +1 -0
- package/dist/src/common/types/uiColors.d.ts +2 -0
- package/dist/src/common/types/uiColors.js +2 -0
- package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.d.ts +2 -3
- package/dist/src/desktop/components/AdminList/AdminList.js +14 -6
- package/dist/src/desktop/components/BasicListItem/BasicListItem.d.ts +1 -0
- package/dist/src/desktop/components/BasicListItem/BasicListItem.js +10 -99
- package/dist/src/desktop/components/BasicListItem/Contents.d.ts +16 -0
- package/dist/src/desktop/components/BasicListItem/Contents.js +31 -0
- package/dist/src/desktop/components/BasicListItem/LeftBox/Badge.d.ts +7 -0
- package/dist/src/desktop/components/BasicListItem/LeftBox/Badge.js +27 -0
- package/dist/src/desktop/components/BasicListItem/LeftBox/Checkbox.d.ts +6 -0
- package/dist/src/desktop/components/BasicListItem/LeftBox/Checkbox.js +19 -0
- package/dist/src/desktop/components/BasicListItem/LeftBox/Icon.d.ts +8 -0
- package/dist/src/desktop/components/BasicListItem/LeftBox/Icon.js +19 -0
- package/dist/src/desktop/components/BasicListItem/LeftBox/Image.d.ts +8 -0
- package/dist/src/desktop/components/BasicListItem/LeftBox/Image.js +9 -0
- package/dist/src/desktop/components/BasicListItem/LeftBox/LeftBox.d.ts +17 -0
- package/dist/src/desktop/components/BasicListItem/LeftBox/LeftBox.js +42 -0
- package/dist/src/desktop/components/BasicListItem/LeftBox/Radio.d.ts +9 -0
- package/dist/src/desktop/components/BasicListItem/LeftBox/Radio.js +13 -0
- package/dist/src/desktop/components/BasicListItem/LeftBox/index.d.ts +2 -0
- package/dist/src/desktop/components/BasicListItem/LeftBox/index.js +8 -0
- package/dist/src/desktop/components/BasicListItem/RightBox/Description.d.ts +8 -0
- package/dist/src/desktop/components/BasicListItem/RightBox/Description.js +10 -0
- package/dist/src/desktop/components/BasicListItem/RightBox/IconButton.d.ts +9 -0
- package/dist/src/desktop/components/BasicListItem/RightBox/IconButton.js +19 -0
- package/dist/src/desktop/components/BasicListItem/RightBox/MainButton.d.ts +9 -0
- package/dist/src/desktop/components/BasicListItem/RightBox/MainButton.js +10 -0
- package/dist/src/desktop/components/BasicListItem/RightBox/RightBox.d.ts +15 -0
- package/dist/src/desktop/components/BasicListItem/RightBox/RightBox.js +40 -0
- package/dist/src/desktop/components/BasicListItem/RightBox/Switch.d.ts +10 -0
- package/dist/src/desktop/components/BasicListItem/RightBox/Switch.js +19 -0
- package/dist/src/desktop/components/BasicListItem/RightBox/index.d.ts +2 -0
- package/dist/src/desktop/components/BasicListItem/RightBox/index.js +8 -0
- package/dist/src/desktop/components/Chip/Chip.d.ts +3 -4
- package/dist/src/desktop/components/Dropdown/Dropdown.d.ts +2 -3
- package/dist/src/desktop/components/IconButton/IconButton.d.ts +4 -5
- package/dist/src/desktop/components/LottieReactionButton/LottieReactionButton.d.ts +2 -3
- package/dist/src/desktop/components/LottieReactionButton/LottieReactionButton.js +1 -1
- package/dist/src/desktop/components/Radio/Radio.js +2 -2
- package/dist/src/desktop/components/TextLabel/TextLabel.d.ts +4 -5
- package/dist/src/desktop/components/UploadIconButton/UploadIconButton.d.ts +4 -5
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/ContentsContainer.d.ts +3 -3
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFA.d.ts +2 -2
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFB.d.ts +2 -2
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFC.d.ts +2 -2
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFD.d.ts +2 -2
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFE.d.ts +2 -2
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFF.d.ts +2 -2
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFG.d.ts +3 -3
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFH.d.ts +2 -2
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFI.d.ts +3 -3
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFJ.d.ts +2 -2
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFK.d.ts +3 -3
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFL.d.ts +3 -3
- package/dist/src/desktop/layout/LayoutWF/ContainersBox/ContainersBox.d.ts +3 -3
- package/dist/src/desktop/layout/LayoutWH/Containers/ContentsContainer/ContentsContainer.d.ts +3 -3
- package/dist/src/desktop/layout/LayoutWH/Containers/ContentsContainer/variation/WHA.d.ts +2 -2
- package/dist/src/desktop/layout/LayoutWH/Containers/ContentsContainer/variation/WHB.d.ts +3 -3
- package/dist/src/desktop/layout/LayoutWH/Containers/ContentsContainer/variation/WHC.d.ts +2 -2
- package/dist/src/desktop/layout/LayoutWH/Containers/ContentsContainer/variation/WHD.d.ts +3 -3
- package/dist/src/desktop/layout/LayoutWH/Containers/ContentsContainer/variation/WHE.d.ts +2 -2
- package/dist/src/desktop/layout/LayoutWH/ContainersBox/ContainersBox.d.ts +3 -3
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/ContentsContainer.d.ts +3 -3
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSA.d.ts +2 -2
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSB.d.ts +2 -2
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSC.d.ts +2 -2
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSD.d.ts +2 -2
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSE.d.ts +2 -2
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSF.d.ts +3 -3
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSG.d.ts +3 -3
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSH.d.ts +3 -3
- package/dist/src/desktop/layout/LayoutWS/ContainersBox/ContainersBox.d.ts +3 -3
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/ContentsContainer.d.ts +4 -4
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/ContentsContainer.js +2 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTA.d.ts +2 -2
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTB.d.ts +2 -2
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTC.d.ts +2 -2
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTD.d.ts +3 -3
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTE.d.ts +2 -2
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTF.d.ts +3 -3
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTG.d.ts +2 -2
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTH.d.ts +2 -2
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTI.d.ts +2 -2
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTJ.d.ts +3 -3
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTK.d.ts +2 -2
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTL.d.ts +2 -2
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTM.d.ts +2 -2
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTN.d.ts +2 -2
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTO.d.ts +2 -2
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTP.d.ts +2 -2
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTQ.d.ts +3 -3
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTS.d.ts +2 -2
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTT.d.ts +2 -2
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTU.d.ts +3 -3
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTV.d.ts +15 -0
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTV.js +81 -0
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/index.d.ts +1 -0
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/index.js +3 -1
- package/dist/src/desktop/layout/LayoutWT/ContainersBox/ContainersBox.d.ts +4 -4
- package/dist/src/desktop/layout/LayoutWT/ContainersBox/ContainersBox.js +8 -4
- package/dist/src/desktop/panels/AnnotationSheet/AnnotationSheet.d.ts +5 -5
- package/dist/src/desktop/panels/ContentSheet/ContentSheet.d.ts +5 -5
- package/dist/src/desktop/panels/SectionSheet/SectionSheet.d.ts +5 -5
- package/dist/src/hybrid/components/Icon/Icon.d.ts +2 -3
- package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.d.ts +2 -3
- package/dist/src/mobile/components/BasicListItem/BasicListItem.d.ts +1 -0
- package/dist/src/mobile/components/BasicListItem/BasicListItem.js +10 -99
- package/dist/src/mobile/components/BasicListItem/Contents.d.ts +16 -0
- package/dist/src/mobile/components/BasicListItem/Contents.js +31 -0
- package/dist/src/mobile/components/BasicListItem/LeftBox/Badge.d.ts +7 -0
- package/dist/src/mobile/components/BasicListItem/LeftBox/Badge.js +27 -0
- package/dist/src/mobile/components/BasicListItem/LeftBox/Checkbox.d.ts +6 -0
- package/dist/src/mobile/components/BasicListItem/LeftBox/Checkbox.js +19 -0
- package/dist/src/mobile/components/BasicListItem/LeftBox/Icon.d.ts +8 -0
- package/dist/src/mobile/components/BasicListItem/LeftBox/Icon.js +19 -0
- package/dist/src/mobile/components/BasicListItem/LeftBox/Image.d.ts +8 -0
- package/dist/src/mobile/components/BasicListItem/LeftBox/Image.js +9 -0
- package/dist/src/mobile/components/BasicListItem/LeftBox/LeftBox.d.ts +17 -0
- package/dist/src/mobile/components/BasicListItem/LeftBox/LeftBox.js +42 -0
- package/dist/src/mobile/components/BasicListItem/LeftBox/Radio.d.ts +9 -0
- package/dist/src/mobile/components/BasicListItem/LeftBox/Radio.js +13 -0
- package/dist/src/mobile/components/BasicListItem/LeftBox/index.d.ts +2 -0
- package/dist/src/mobile/components/BasicListItem/LeftBox/index.js +8 -0
- package/dist/src/mobile/components/BasicListItem/RightBox/Description.d.ts +8 -0
- package/dist/src/mobile/components/BasicListItem/RightBox/Description.js +10 -0
- package/dist/src/mobile/components/BasicListItem/RightBox/IconButton.d.ts +9 -0
- package/dist/src/mobile/components/BasicListItem/RightBox/IconButton.js +19 -0
- package/dist/src/mobile/components/BasicListItem/RightBox/MainButton.d.ts +9 -0
- package/dist/src/mobile/components/BasicListItem/RightBox/MainButton.js +10 -0
- package/dist/src/mobile/components/BasicListItem/RightBox/RightBox.d.ts +15 -0
- package/dist/src/mobile/components/BasicListItem/RightBox/RightBox.js +40 -0
- package/dist/src/mobile/components/BasicListItem/RightBox/Switch.d.ts +10 -0
- package/dist/src/mobile/components/BasicListItem/RightBox/Switch.js +19 -0
- package/dist/src/mobile/components/BasicListItem/RightBox/index.d.ts +2 -0
- package/dist/src/mobile/components/BasicListItem/RightBox/index.js +8 -0
- package/dist/src/mobile/components/Chip/Chip.d.ts +3 -4
- package/dist/src/mobile/components/Dropdown/Dropdown.d.ts +2 -3
- package/dist/src/mobile/components/IconButton/IconButton.d.ts +4 -5
- package/dist/src/mobile/components/LottieReactionButton/LottieReactionButton.d.ts +2 -3
- package/dist/src/mobile/components/LottieReactionButton/LottieReactionButton.js +1 -1
- package/dist/src/mobile/components/MobileHeaderBar/MobileHeaderBar.d.ts +3 -4
- package/dist/src/mobile/components/TextLabel/TextLabel.d.ts +3 -4
- package/dist/src/mobile/components/UploadIconButton/UploadIconButton.d.ts +4 -5
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/ContentsContainer.d.ts +3 -3
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFA.d.ts +2 -2
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFA.js +2 -2
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFB.d.ts +3 -3
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFB.js +4 -4
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFC.d.ts +2 -2
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFC.js +2 -2
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFD.d.ts +2 -2
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFD.js +2 -2
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFE.d.ts +3 -3
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFE.js +4 -4
- package/dist/src/mobile/layout/LayoutMF/ContainersBox/ContainersBox.d.ts +3 -3
- package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/ContentsContainer.d.ts +2 -2
- package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMA.d.ts +2 -2
- package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMA.js +2 -2
- package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMB.d.ts +2 -2
- package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMB.js +2 -2
- package/dist/src/mobile/layout/LayoutMM/ContainersBox/ContainersBox.d.ts +2 -2
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/ContentsContainer.d.ts +3 -3
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPA.d.ts +2 -2
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPA.js +2 -2
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPB.d.ts +2 -2
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPB.js +2 -2
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPC.d.ts +3 -3
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPC.js +4 -4
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPD.d.ts +2 -2
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPD.js +2 -2
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPE.d.ts +2 -2
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPE.js +2 -2
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPF.d.ts +3 -3
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPF.js +4 -4
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/ContentsContainer.d.ts +3 -3
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSA.d.ts +2 -2
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSA.js +2 -2
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSB.d.ts +2 -2
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSB.js +2 -2
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSC.d.ts +3 -3
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSC.js +4 -4
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSD.d.ts +2 -2
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSD.js +2 -2
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSE.d.ts +2 -2
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSE.js +2 -2
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSF.d.ts +3 -3
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSF.js +4 -4
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSG.d.ts +2 -2
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSG.js +2 -2
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSH.d.ts +2 -2
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSH.js +2 -2
- package/dist/src/mobile/layout/LayoutMS/ContainersBox/ContainersBox.d.ts +3 -3
- package/dist/src/mobile/panels/AnnotationSheet/AnnotationSheet.d.ts +5 -5
- package/dist/src/mobile/panels/ContentSheet/ContentSheet.d.ts +5 -5
- package/dist/src/mobile/panels/SectionSheet/SectionSheet.d.ts +5 -5
- package/dist/src/sub/AdminList/AdminList/AdminList.d.ts +14 -14
- package/dist/src/sub/AdminList/AdminList/AdminList.js +16 -8
- package/dist/src/sub/AdminList/AdminList/HeaderRow.d.ts +10 -10
- package/dist/src/sub/AdminList/AdminList/HeaderRow.js +2 -2
- package/dist/src/sub/AdminList/AdminListHeader/AdminListHeader.d.ts +3 -4
- package/dist/src/sub/AdminList/AdminListHeader/AdminListHeader.js +2 -2
- package/dist/src/sub/AdminList/AdminListHeader/HeaderBar.d.ts +2 -3
- package/dist/src/sub/AdminList/AdminListHeader/HeaderBar.js +2 -2
- package/dist/src/sub/AdminList/AdminListItem/AdminListItem.d.ts +4 -5
- package/dist/src/sub/AdminList/AdminListItem/AdminListItem.js +6 -6
- package/dist/src/sub/AdminList/BulkActionBar/BulkActionBar.d.ts +7 -8
- 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/DynamicLayout.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/DynamicLayout.js +4 -3
- package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/EditModeSectionMatcher.js +2 -1
- package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/SectionBox.d.ts +2 -1
- package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/SectionBox.js +6 -3
- package/dist/src/sub/DynamicLayout/components/Section/Section.js +5 -2
- package/dist/src/sub/DynamicLayout/components/SectionMatcher/SectionMatcher.js +2 -0
- package/dist/src/sub/DynamicLayout/components/desktop/Item/Item.js +1 -1
- package/dist/src/sub/DynamicLayout/components/mobile/Item/Item.js +1 -1
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/components/CircularProgress/CircularProgress.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/index.d.ts +5 -4
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/index.js +4 -1
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_Dark.json +231 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_light.json +231 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/SemanticColor.json +80 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/UIColor.json +650 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/index.d.ts +1195 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/index.js +17 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/ui-type.d.ts +650 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/ui-type.js +2 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/index.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/index.js +3 -1
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/theme.js +3 -3
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/ui-colors.d.ts +10 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/ui-colors.js +48 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/types/index.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/types/index.js +1 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/types/uiColors.d.ts +2 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/types/uiColors.js +2 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.d.ts +4 -5
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/TextLabel/TextLabel.d.ts +3 -4
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.d.ts +2 -3
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/mobile/IconButton/IconButton.d.ts +4 -5
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/mobile/TextLabel/TextLabel.d.ts +3 -4
- package/dist/src/sub/DynamicLayout/mock_samplePage.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/mock_samplePage.js +84 -8
- package/dist/src/sub/DynamicLayout/sectionActionTypes.d.ts +19 -0
- package/dist/src/sub/DynamicLayout/sectionActionTypes.js +2 -0
- package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/FullscreenIframeSection.d.ts +4 -0
- package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/FullscreenIframeSection.js +51 -0
- package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/index.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/index.js +8 -0
- package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/TemplateA.d.ts +3 -0
- package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/TemplateA.js +15 -0
- package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/desktop/D_TemplateA.d.ts +3 -0
- package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/desktop/D_TemplateA.js +20 -0
- package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/desktop/index.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/desktop/index.js +8 -0
- package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/index.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/index.js +8 -0
- package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/mobile/M_TemplateA.d.ts +3 -0
- package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/mobile/M_TemplateA.js +20 -0
- package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/mobile/index.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/mobile/index.js +8 -0
- package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/index.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/index.js +5 -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 +7 -4
- package/package.json +5 -3
- package/release-note.md +6 -5
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { PDSTextType } from '
|
|
3
|
-
import type { TFunctionResult } from 'i18next';
|
|
2
|
+
import type { PDSTextType } from '../../../common/types';
|
|
4
3
|
declare type ColumnWidthType = 'small' | 'medium' | 'large' | 'xlarge';
|
|
5
4
|
declare type ColumnTextType = 'normal' | 'active' | 'active2' | 'inactive' | 'report' | 'report2';
|
|
6
5
|
export declare type AdminListItemProps = {
|
|
@@ -38,9 +37,9 @@ export declare type AdminListItemProps = {
|
|
|
38
37
|
column10TextWidth?: ColumnWidthType;
|
|
39
38
|
column10TextStyleTheme?: ColumnTextType;
|
|
40
39
|
quickActionBtnMode?: 'none' | 'btn_amount1' | 'btn_amount2' | 'btn_amount3';
|
|
41
|
-
quickActionBtn1Text?:
|
|
42
|
-
quickActionBtn2Text?:
|
|
43
|
-
quickActionBtn3Text?:
|
|
40
|
+
quickActionBtn1Text?: PDSTextType;
|
|
41
|
+
quickActionBtn2Text?: PDSTextType;
|
|
42
|
+
quickActionBtn3Text?: PDSTextType;
|
|
44
43
|
quickActionBtnType?: 'hover' | 'fix';
|
|
45
44
|
quickActionBtn1State?: 'normal' | 'disabled';
|
|
46
45
|
quickActionBtn2State?: 'normal' | 'disabled';
|
|
@@ -37,9 +37,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
38
38
|
var react_1 = require("react");
|
|
39
39
|
var react_hook_form_1 = require("react-hook-form");
|
|
40
|
-
var transitionStyle_1 = require("
|
|
41
|
-
var components_1 = require("
|
|
42
|
-
var components_2 = require("
|
|
40
|
+
var transitionStyle_1 = require("../../../common/styles/movement/transitionStyle");
|
|
41
|
+
var components_1 = require("../../../desktop/components");
|
|
42
|
+
var components_2 = require("../../../hybrid/components");
|
|
43
43
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
44
44
|
var AdminListItem = (0, react_1.forwardRef)(function (_a, ref) {
|
|
45
45
|
var _b = _a.rowSize, rowSize = _b === void 0 ? 'medium' : _b, _c = _a.selectionMode, selectionMode = _c === void 0 ? 'multi' : _c, _d = _a.column2Type, column2Type = _d === void 0 ? 'image_text' : _d, imageSrc = _a.imageSrc, _e = _a.imageShapeType, imageShapeType = _e === void 0 ? 'rectangle' : _e, _f = _a.imageScaleType, imageScaleType = _f === void 0 ? 'cover' : _f, _g = _a.imageRadius, imageRadius = _g === void 0 ? 8 : _g, _h = _a.imageRatio, imageRatio = _h === void 0 ? '16_9' : _h, column2Text = _a.column2Text, column3Text = _a.column3Text, _j = _a.column3TextWidth, column3TextWidth = _j === void 0 ? 'small' : _j, _k = _a.column3TextStyleTheme, column3TextStyleTheme = _k === void 0 ? 'normal' : _k, column4Text = _a.column4Text, _l = _a.column4TextWidth, column4TextWidth = _l === void 0 ? 'small' : _l, _m = _a.column4TextStyleTheme, column4TextStyleTheme = _m === void 0 ? 'normal' : _m, column5Text = _a.column5Text, _o = _a.column5TextWidth, column5TextWidth = _o === void 0 ? 'small' : _o, _p = _a.column5TextStyleTheme, column5TextStyleTheme = _p === void 0 ? 'normal' : _p, column6Text = _a.column6Text, _q = _a.column6TextWidth, column6TextWidth = _q === void 0 ? 'small' : _q, _r = _a.column6TextStyleTheme, column6TextStyleTheme = _r === void 0 ? 'normal' : _r, column7Text = _a.column7Text, _s = _a.column7TextWidth, column7TextWidth = _s === void 0 ? 'small' : _s, _t = _a.column7TextStyleTheme, column7TextStyleTheme = _t === void 0 ? 'normal' : _t, column8Text = _a.column8Text, _u = _a.column8TextWidth, column8TextWidth = _u === void 0 ? 'small' : _u, _v = _a.column8TextStyleTheme, column8TextStyleTheme = _v === void 0 ? 'normal' : _v, column9Text = _a.column9Text, _w = _a.column9TextWidth, column9TextWidth = _w === void 0 ? 'small' : _w, _x = _a.column9TextStyleTheme, column9TextStyleTheme = _x === void 0 ? 'normal' : _x, column10Text = _a.column10Text, _y = _a.column10TextWidth, column10TextWidth = _y === void 0 ? 'small' : _y, _z = _a.column10TextStyleTheme, column10TextStyleTheme = _z === void 0 ? 'normal' : _z, _0 = _a.quickActionBtnMode, quickActionBtnMode = _0 === void 0 ? 'btn_amount2' : _0, quickActionBtn1Text = _a.quickActionBtn1Text, quickActionBtn2Text = _a.quickActionBtn2Text, quickActionBtn3Text = _a.quickActionBtn3Text, _1 = _a.quickActionBtnType, quickActionBtnType = _1 === void 0 ? 'fix' : _1, _2 = _a.quickActionBtn1State, quickActionBtn1State = _2 === void 0 ? 'normal' : _2, _3 = _a.quickActionBtn2State, quickActionBtn2State = _3 === void 0 ? 'normal' : _3, _4 = _a.quickActionBtn3State, quickActionBtn3State = _4 === void 0 ? 'normal' : _4, _5 = _a.selectedState, selectedState = _5 === void 0 ? 'basic' : _5, id = _a.id, _6 = _a.flexibleHideInfoMode, flexibleHideInfoMode = _6 === void 0 ? 'use' : _6, onClickQuickActionBtn1 = _a.onClickQuickActionBtn1, onClickQuickActionBtn2 = _a.onClickQuickActionBtn2, onClickQuickActionBtn3 = _a.onClickQuickActionBtn3, onClickItem = _a.onClickItem;
|
|
@@ -152,7 +152,7 @@ var AdminListItem = (0, react_1.forwardRef)(function (_a, ref) {
|
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
|
-
return ((0, jsx_runtime_1.jsxs)(S_AdminListItem, __assign({ "x-pds-name": "AdminListItem", "x-pds-element-type": "component", "x-pds-device-type": "desktop", ref: ref, rowSize: rowSize, onClick: handleClick, isSelected: isSelected, quickActionBtnType: quickActionBtnType, flexibleHideInfoMode: flexibleHideInfoMode }, { children: [(0, jsx_runtime_1.jsx)(S_SelectionColumn, __assign({ rowSize: rowSize }, { children: selectionMode === 'multi' && ((0, jsx_runtime_1.jsx)(S_Selection, { children: (0, jsx_runtime_1.jsx)(components_1.Checkbox, { name: id.toString(), state: selectedState === 'maintain' ? 'disabled' : 'normal' }, void 0) }, void 0)) }), void 0), (0, jsx_runtime_1.jsxs)(S_ImageColumn, __assign({ rowSize: rowSize }, { children: [column2Type === 'image_text' && (rowSize === 'high' || rowSize === 'medium') && ((0, jsx_runtime_1.jsx)(S_ImageWrapper, __assign({ rowSize: rowSize }, { children: (0, jsx_runtime_1.jsx)(components_2.ImageView, { src: imageSrc, shapeType: imageShapeType, width: imageWidth, ratio: imageRatio, scaleType: imageScaleType, radius: imageShapeType === 'round' ? imageRadius : undefined, backgroundFillMode: "use" }, void 0) }), void 0)), (rowSize === 'low' || rowSize === 'medium') && ((0, jsx_runtime_1.jsx)(S_RowTextWrapper, { children: (0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: column2Text, styleTheme: "body2Bold", colorTheme: "sysTextPrimary", ellipsisMode: "use", lineLimit: 2 }, void 0) }, void 0)), rowSize === 'high' && ((0, jsx_runtime_1.jsx)(S_HighTextWrapper, __assign({ ref: contentRef, hasScroll: hasScroll }, { children: (0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: column2Text, styleTheme: "body2Bold", colorTheme: "sysTextPrimary" }, void 0) }), void 0))] }), void 0), column3Text && ((0, jsx_runtime_1.jsx)(S_Column, __assign({ columnSize: column3TextWidth, className: "hidableColumn" }, { children: (0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: column3Text, styleTheme: column3TextStyleTheme === 'normal' ? 'body2Regular' : 'body2Bold', colorTheme: getColumnColorTheme(column3TextStyleTheme)
|
|
155
|
+
return ((0, jsx_runtime_1.jsxs)(S_AdminListItem, __assign({ "x-pds-name": "AdminListItem", "x-pds-element-type": "component", "x-pds-device-type": "desktop", ref: ref, rowSize: rowSize, onClick: handleClick, isSelected: isSelected, quickActionBtnType: quickActionBtnType, flexibleHideInfoMode: flexibleHideInfoMode }, { children: [(0, jsx_runtime_1.jsx)(S_SelectionColumn, __assign({ rowSize: rowSize }, { children: selectionMode === 'multi' && ((0, jsx_runtime_1.jsx)(S_Selection, { children: (0, jsx_runtime_1.jsx)(components_1.Checkbox, { name: id.toString(), state: selectedState === 'maintain' ? 'disabled' : 'normal' }, void 0) }, void 0)) }), void 0), (0, jsx_runtime_1.jsxs)(S_ImageColumn, __assign({ rowSize: rowSize }, { children: [column2Type === 'image_text' && (rowSize === 'high' || rowSize === 'medium') && ((0, jsx_runtime_1.jsx)(S_ImageWrapper, __assign({ rowSize: rowSize }, { children: (0, jsx_runtime_1.jsx)(components_2.ImageView, { src: imageSrc, shapeType: imageShapeType, width: imageWidth, ratio: imageRatio, scaleType: imageScaleType, radius: imageShapeType === 'round' ? imageRadius : undefined, backgroundFillMode: "use" }, void 0) }), void 0)), (rowSize === 'low' || rowSize === 'medium') && ((0, jsx_runtime_1.jsx)(S_RowTextWrapper, { children: (0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: column2Text, styleTheme: "body2Bold", colorTheme: "sysTextPrimary", ellipsisMode: "use", lineLimit: 2 }, void 0) }, void 0)), rowSize === 'high' && ((0, jsx_runtime_1.jsx)(S_HighTextWrapper, __assign({ ref: contentRef, hasScroll: hasScroll }, { children: (0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: column2Text, styleTheme: "body2Bold", colorTheme: "sysTextPrimary" }, void 0) }), void 0))] }), void 0), column3Text && ((0, jsx_runtime_1.jsx)(S_Column, __assign({ columnSize: column3TextWidth, className: "hidableColumn" }, { children: (0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: column3Text, styleTheme: column3TextStyleTheme === 'normal' ? 'body2Regular' : 'body2Bold', colorTheme: getColumnColorTheme(column3TextStyleTheme) }, void 0) }), void 0)), column4Text && ((0, jsx_runtime_1.jsx)(S_Column, __assign({ columnSize: column4TextWidth, className: "hidableColumn" }, { children: (0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: column4Text, styleTheme: column4TextStyleTheme === 'normal' ? 'body2Regular' : 'body2Bold', colorTheme: getColumnColorTheme(column4TextStyleTheme) }, void 0) }), void 0)), column5Text && ((0, jsx_runtime_1.jsx)(S_Column, __assign({ columnSize: column5TextWidth, className: "hidableColumn" }, { children: (0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: column5Text, styleTheme: column5TextStyleTheme === 'normal' ? 'body2Regular' : 'body2Bold', colorTheme: getColumnColorTheme(column5TextStyleTheme) }, void 0) }), void 0)), column6Text && ((0, jsx_runtime_1.jsx)(S_Column, __assign({ columnSize: column6TextWidth, className: "hidableColumn" }, { children: (0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: column6Text, styleTheme: column6TextStyleTheme === 'normal' ? 'body2Regular' : 'body2Bold', colorTheme: getColumnColorTheme(column6TextStyleTheme) }, void 0) }), void 0)), column7Text && ((0, jsx_runtime_1.jsx)(S_Column, __assign({ columnSize: column7TextWidth, className: "hidableColumn" }, { children: (0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: column7Text, styleTheme: column7TextStyleTheme === 'normal' ? 'body2Regular' : 'body2Bold', colorTheme: getColumnColorTheme(column7TextStyleTheme) }, void 0) }), void 0)), column8Text && ((0, jsx_runtime_1.jsx)(S_Column, __assign({ columnSize: column8TextWidth, className: "hidableColumn" }, { children: (0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: column8Text, styleTheme: column8TextStyleTheme === 'normal' ? 'body2Regular' : 'body2Bold', colorTheme: getColumnColorTheme(column8TextStyleTheme) }, void 0) }), void 0)), column9Text && ((0, jsx_runtime_1.jsx)(S_Column, __assign({ columnSize: column9TextWidth, className: "hidableColumn" }, { children: (0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: column9Text, styleTheme: column9TextStyleTheme === 'normal' ? 'body2Regular' : 'body2Bold', colorTheme: getColumnColorTheme(column9TextStyleTheme) }, void 0) }), void 0)), column10Text && ((0, jsx_runtime_1.jsx)(S_Column, __assign({ columnSize: column10TextWidth, className: "hidableColumn" }, { children: (0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: column10Text, styleTheme: column10TextStyleTheme === 'normal' ? 'body2Regular' : 'body2Bold', colorTheme: getColumnColorTheme(column10TextStyleTheme) }, void 0) }), void 0)), quickActionBtnMode !== 'none' && ((0, jsx_runtime_1.jsx)(S_QuickActionButtonBox, __assign({ quickActionBtnType: quickActionBtnType }, { children: quickActionButtons() }), void 0)), quickActionBtnType === 'hover' && (0, jsx_runtime_1.jsx)(components_2.Spacing, { size: "spacing_f", spacingType: "width" }, void 0)] }), void 0));
|
|
156
156
|
});
|
|
157
157
|
var highRow = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 200px;\n max-height: 200px;\n"], ["\n height: 200px;\n max-height: 200px;\n"])));
|
|
158
158
|
var mediumRow = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n height: 100px;\n max-height: 100px;\n"], ["\n height: 100px;\n max-height: 100px;\n"])));
|
|
@@ -160,7 +160,7 @@ var lowRow = (0, styled_components_1.css)(templateObject_3 || (templateObject_3
|
|
|
160
160
|
var smallColumnWidth = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n width: 56px;\n"], ["\n width: 56px;\n"])));
|
|
161
161
|
var mediumColumnWidth = (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n width: 80px;\n"], ["\n width: 80px;\n"])));
|
|
162
162
|
var largeColumnWidth = (0, styled_components_1.css)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n width: 144px;\n"], ["\n width: 144px;\n"])));
|
|
163
|
-
var xlargeColumnWidth = (0, styled_components_1.css)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n width:
|
|
163
|
+
var xlargeColumnWidth = (0, styled_components_1.css)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n width: 240px;\n"], ["\n width: 240px;\n"])));
|
|
164
164
|
var fixedColumn = (0, styled_components_1.css)(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n"], ["\n align-items: center;\n display: flex;\n"])));
|
|
165
165
|
var hoverColumn = (0, styled_components_1.css)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n height: 100%;\n"], ["\n height: 100%;\n"])));
|
|
166
166
|
var hoverQuickActionBtnBox = (0, styled_components_1.css)(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n align-items: center;\n background-color: ", ";\n display: none;\n height: 100%;\n position: absolute;\n right: 0;\n"], ["\n align-items: center;\n background-color: ", ";\n display: none;\n height: 100%;\n position: absolute;\n right: 0;\n"])), function (_a) {
|
|
@@ -248,7 +248,7 @@ var S_SelectionColumn = styled_components_1.default.div(templateObject_24 || (te
|
|
|
248
248
|
var hoverAdminListItem = (0, styled_components_1.css)(templateObject_25 || (templateObject_25 = __makeTemplateObject(["\n align-items: center;\n position: relative;\n"], ["\n align-items: center;\n position: relative;\n"])));
|
|
249
249
|
var fixedAdminListItem = (0, styled_components_1.css)(templateObject_26 || (templateObject_26 = __makeTemplateObject(["\n justify-content: space-between;\n"], ["\n justify-content: space-between;\n"])));
|
|
250
250
|
var flexibleHideColumnStyle = (0, styled_components_1.css)(templateObject_27 || (templateObject_27 = __makeTemplateObject(["\n @media only screen and (max-width: 1400px) {\n .hidableColumn {\n display: none;\n }\n }\n"], ["\n @media only screen and (max-width: 1400px) {\n .hidableColumn {\n display: none;\n }\n }\n"])));
|
|
251
|
-
var S_AdminListItem = styled_components_1.default.div(templateObject_28 || (templateObject_28 = __makeTemplateObject(["\n background-color: ", ";\n display: flex;\n padding-left: ", ";\n\n ", "\n\n ", ";\n ", "\n\n :hover {\n background-color: ", ";\n\n ", " {\n display: ", ";\n visibility: visible;\n }\n }\n\n &:last-child {\n margin-bottom: 88px;\n }\n\n ", "\n"], ["\n background-color: ", ";\n display: flex;\n padding-left: ", ";\n\n ", "\n\n ", ";\n ", "\n\n :hover {\n background-color: ", ";\n\n ", " {\n display: ", ";\n visibility: visible;\n }\n }\n\n &:last-child {\n margin-bottom: 88px;\n }\n\n ", "\n"])), function (_a) {
|
|
251
|
+
var S_AdminListItem = styled_components_1.default.div(templateObject_28 || (templateObject_28 = __makeTemplateObject(["\n align-items: center;\n background-color: ", ";\n display: flex;\n padding-left: ", ";\n\n ", "\n\n ", ";\n ", "\n\n :hover {\n background-color: ", ";\n\n ", " {\n display: ", ";\n visibility: visible;\n }\n }\n\n &:last-child {\n margin-bottom: 88px;\n }\n\n ", "\n"], ["\n align-items: center;\n background-color: ", ";\n display: flex;\n padding-left: ", ";\n\n ", "\n\n ", ";\n ", "\n\n :hover {\n background-color: ", ";\n\n ", " {\n display: ", ";\n visibility: visible;\n }\n }\n\n &:last-child {\n margin-bottom: 88px;\n }\n\n ", "\n"])), function (_a) {
|
|
252
252
|
var theme = _a.theme, isSelected = _a.isSelected;
|
|
253
253
|
return isSelected ? theme.ui_cpnt_datatable_base_selected : theme.ui_cpnt_datatable_base_default;
|
|
254
254
|
}, function (_a) {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { PDSValueOption } from '
|
|
3
|
-
import type { TFunctionResult } from 'i18next';
|
|
2
|
+
import type { PDSTextType, PDSValueOption } from '../../../common/types';
|
|
4
3
|
declare type Props = {
|
|
5
4
|
itemCount?: number;
|
|
6
5
|
dropdownMode?: 'none' | 'dropdown_amount1' | 'dropdown_amount2' | 'dropdown_amount3';
|
|
@@ -10,16 +9,16 @@ declare type Props = {
|
|
|
10
9
|
dropdown1DefaultText?: PDSValueOption;
|
|
11
10
|
dropdown2DefaultText?: PDSValueOption;
|
|
12
11
|
dropdown3DefaultText?: PDSValueOption;
|
|
13
|
-
dropdown1HintText?:
|
|
14
|
-
dropdown2HintText?:
|
|
15
|
-
dropdown3HintText?:
|
|
12
|
+
dropdown1HintText?: PDSTextType;
|
|
13
|
+
dropdown2HintText?: PDSTextType;
|
|
14
|
+
dropdown3HintText?: PDSTextType;
|
|
16
15
|
dropdown1ValueArray?: PDSValueOption[];
|
|
17
16
|
dropdown2ValueArray?: PDSValueOption[];
|
|
18
17
|
dropdown3ValueArray?: PDSValueOption[];
|
|
19
18
|
tBtnMode?: 'none' | 'tbtn_amount1' | 'tbtn_amount2' | 'tbtn_amount3';
|
|
20
|
-
tBtn1Text?:
|
|
21
|
-
tBtn2Text?:
|
|
22
|
-
tBtn3Text?:
|
|
19
|
+
tBtn1Text?: PDSTextType;
|
|
20
|
+
tBtn2Text?: PDSTextType;
|
|
21
|
+
tBtn3Text?: PDSTextType;
|
|
23
22
|
onChangeDropdown1?: (value: PDSValueOption) => void;
|
|
24
23
|
onChangeDropdown2?: (value: PDSValueOption) => void;
|
|
25
24
|
onChangeDropdown3?: (value: PDSValueOption) => void;
|
|
@@ -9,8 +9,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
11
11
|
var react_i18next_1 = require("react-i18next");
|
|
12
|
-
var components_1 = require("
|
|
13
|
-
var components_2 = require("
|
|
12
|
+
var components_1 = require("../../../desktop/components");
|
|
13
|
+
var components_2 = require("../../../hybrid/components");
|
|
14
14
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
15
15
|
function BulkActionBar(_a) {
|
|
16
16
|
var itemCount = _a.itemCount, _b = _a.dropdownMode, dropdownMode = _b === void 0 ? 'dropdown_amount1' : _b, dropdown1Value = _a.dropdown1Value, dropdown2Value = _a.dropdown2Value, dropdown3Value = _a.dropdown3Value, dropdown1DefaultText = _a.dropdown1DefaultText, dropdown2DefaultText = _a.dropdown2DefaultText, dropdown3DefaultText = _a.dropdown3DefaultText, dropdown1HintText = _a.dropdown1HintText, dropdown2HintText = _a.dropdown2HintText, dropdown3HintText = _a.dropdown3HintText, dropdown1ValueArray = _a.dropdown1ValueArray, dropdown2ValueArray = _a.dropdown2ValueArray, dropdown3ValueArray = _a.dropdown3ValueArray, tBtnMode = _a.tBtnMode, tBtn1Text = _a.tBtn1Text, tBtn2Text = _a.tBtn2Text, tBtn3Text = _a.tBtn3Text, onChangeDropdown1 = _a.onChangeDropdown1, onChangeDropdown2 = _a.onChangeDropdown2, onChangeDropdown3 = _a.onChangeDropdown3, onClickTBtn1 = _a.onClickTBtn1, onClickTBtn2 = _a.onClickTBtn2, onClickTBtn3 = _a.onClickTBtn3;
|
|
@@ -8,7 +8,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
8
8
|
};
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
11
|
-
var components_1 = require("
|
|
11
|
+
var components_1 = require("../../../desktop/components");
|
|
12
12
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
13
13
|
function ChipList(_a) {
|
|
14
14
|
var textArray = _a.textArray, value = _a.value, onClickChip = _a.onClickChip;
|
|
@@ -37,10 +37,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
38
38
|
var react_1 = require("react");
|
|
39
39
|
var react_hook_form_1 = require("react-hook-form");
|
|
40
|
-
var styles_1 = require("
|
|
41
|
-
var components_1 = require("
|
|
42
|
-
var components_2 = require("
|
|
43
|
-
var components_3 = require("
|
|
40
|
+
var styles_1 = require("../../../common/styles");
|
|
41
|
+
var components_1 = require("../../../desktop/common/components");
|
|
42
|
+
var components_2 = require("../../../desktop/components");
|
|
43
|
+
var components_3 = require("../../../hybrid/components");
|
|
44
44
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
45
45
|
function SearchField(_a) {
|
|
46
46
|
var name = _a.name, hintText = _a.hintText, defaultText = _a.defaultText, _b = _a.responsiveMode, responsiveMode = _b === void 0 ? 'none' : _b, _c = _a.size, size = _c === void 0 ? 'medium' : _c, customWidth = _a.customWidth, onTarget = _a.onTarget, onClickArrowIBtn = _a.onClickArrowIBtn, onClickSearchIBtn = _a.onClickSearchIBtn;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { FillIconNameKeys, LineIconNameKeys, PDSTextType, PDSValueOption } from '
|
|
2
|
+
import type { FillIconNameKeys, LineIconNameKeys, PDSTextType, PDSValueOption } from '../../../common/types';
|
|
3
3
|
declare type Props = {
|
|
4
4
|
searchFieldHintText?: PDSTextType;
|
|
5
5
|
searchFieldDefaultText?: PDSTextType;
|
|
@@ -21,9 +21,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
21
21
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
22
22
|
var react_1 = require("react");
|
|
23
23
|
var react_hook_form_1 = require("react-hook-form");
|
|
24
|
-
var components_1 = require("
|
|
25
|
-
var components_2 = require("
|
|
26
|
-
var components_3 = require("
|
|
24
|
+
var components_1 = require("../../../common/components");
|
|
25
|
+
var components_2 = require("../../../desktop/components");
|
|
26
|
+
var components_3 = require("../../../hybrid/components");
|
|
27
27
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
28
28
|
var ChipList_1 = __importDefault(require("./ChipList"));
|
|
29
29
|
var SearchField_1 = __importDefault(require("./SearchField"));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { DynamicLayoutProps } from './types';
|
|
3
|
-
declare function DynamicLayout({ device, mode, isPreview, sections, scrollDownTargetSectionId, editingSectionId, navigationHandler, onClickEditSection }: DynamicLayoutProps): JSX.Element;
|
|
3
|
+
declare function DynamicLayout({ device, mode, isPreview, sections, scrollDownTargetSectionId, editingSectionId, navigationHandler, sectionActionHandler, onClickEditSection }: DynamicLayoutProps): JSX.Element;
|
|
4
4
|
export default DynamicLayout;
|
|
@@ -25,10 +25,11 @@ var EditModeSectionMatcher_1 = require("./components/EditModeSectionMatcher");
|
|
|
25
25
|
var SectionMatcher_1 = require("./components/SectionMatcher");
|
|
26
26
|
var dynamicLayoutContext_1 = require("./dynamicLayoutContext");
|
|
27
27
|
function DynamicLayout(_a) {
|
|
28
|
-
var device = _a.device, _b = _a.mode, mode = _b === void 0 ? 'NORMAL' : _b, isPreview = _a.isPreview, sections = _a.sections, scrollDownTargetSectionId = _a.scrollDownTargetSectionId, editingSectionId = _a.editingSectionId, navigationHandler = _a.navigationHandler, onClickEditSection = _a.onClickEditSection;
|
|
28
|
+
var device = _a.device, _b = _a.mode, mode = _b === void 0 ? 'NORMAL' : _b, isPreview = _a.isPreview, sections = _a.sections, scrollDownTargetSectionId = _a.scrollDownTargetSectionId, editingSectionId = _a.editingSectionId, navigationHandler = _a.navigationHandler, sectionActionHandler = _a.sectionActionHandler, onClickEditSection = _a.onClickEditSection;
|
|
29
29
|
var filteredSortedSection = __spreadArray([], sections, true).filter(function (section) { return section.display; })
|
|
30
30
|
.sort(function (a, b) { return a.order - b.order; });
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
var iframeSection = filteredSortedSection.find(function (section) { return section.manifest.schema === 'EXP_IFRAME' && section.display; });
|
|
32
|
+
return ((0, jsx_runtime_1.jsxs)(dynamicLayoutContext_1.dynamicLayoutContext.Provider, __assign({ value: { device: device, mode: mode, isPreview: isPreview, navigationHandler: navigationHandler, sectionActionHandler: sectionActionHandler } }, { children: [mode === 'EDIT' && onClickEditSection && ((0, jsx_runtime_1.jsx)(EditModeSectionMatcher_1.EditModeSectionMatcher, { editingSectionId: editingSectionId, scrollDownTargetSectionId: scrollDownTargetSectionId, filteredSortedSection: filteredSortedSection, onClickEditSection: onClickEditSection }, void 0)), mode !== 'EDIT' &&
|
|
33
|
+
(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));
|
|
33
34
|
}
|
|
34
35
|
exports.default = DynamicLayout;
|
package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/EditModeSectionMatcher.js
CHANGED
|
@@ -19,6 +19,7 @@ var SectionMatcher_1 = require("../SectionMatcher");
|
|
|
19
19
|
var SectionBox_1 = __importDefault(require("./SectionBox"));
|
|
20
20
|
function EditModeSectionMatcher(_a) {
|
|
21
21
|
var filteredSortedSection = _a.filteredSortedSection, scrollDownTargetSectionId = _a.scrollDownTargetSectionId, editingSectionId = _a.editingSectionId, onClickEditSection = _a.onClickEditSection;
|
|
22
|
-
|
|
22
|
+
var iframeSection = filteredSortedSection.find(function (section) { return section.manifest.schema === 'EXP_IFRAME' && section.display; });
|
|
23
|
+
return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: iframeSection ? ((0, jsx_runtime_1.jsx)(SectionBox_1.default, __assign({ isIframeSection: true, isEditing: editingSectionId === iframeSection.id, scrollIntoThisSection: iframeSection.id === scrollDownTargetSectionId, onClick: function () { return onClickEditSection(iframeSection); } }, { children: (0, jsx_runtime_1.jsx)(SectionMatcher_1.SectionMatcher, __assign({}, iframeSection), iframeSection.id) }), iframeSection.id)) : (filteredSortedSection.map(function (section) { return ((0, jsx_runtime_1.jsx)(SectionBox_1.default, __assign({ isEditing: editingSectionId === section.id, scrollIntoThisSection: section.id === scrollDownTargetSectionId, onClick: function () { return onClickEditSection(section); } }, { children: (0, jsx_runtime_1.jsx)(SectionMatcher_1.SectionMatcher, __assign({}, section), section.id) }), section.id)); })) }, void 0));
|
|
23
24
|
}
|
|
24
25
|
exports.default = EditModeSectionMatcher;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export default function SectionBox({ scrollIntoThisSection, isEditing, children, onClick }: {
|
|
2
|
+
export default function SectionBox({ scrollIntoThisSection, isIframeSection, isEditing, children, onClick }: {
|
|
3
3
|
scrollIntoThisSection: boolean;
|
|
4
|
+
isIframeSection?: boolean;
|
|
4
5
|
isEditing: boolean;
|
|
5
6
|
children: React.ReactNode;
|
|
6
7
|
onClick: () => void;
|
|
@@ -26,7 +26,7 @@ var desktop_1 = require("../../../../desktop");
|
|
|
26
26
|
var useLazyUnmount_1 = require("../../hooks/useLazyUnmount");
|
|
27
27
|
var OverlayBorders_1 = __importDefault(require("./OverlayBorders"));
|
|
28
28
|
function SectionBox(_a) {
|
|
29
|
-
var scrollIntoThisSection = _a.scrollIntoThisSection, isEditing = _a.isEditing, children = _a.children, onClick = _a.onClick;
|
|
29
|
+
var scrollIntoThisSection = _a.scrollIntoThisSection, isIframeSection = _a.isIframeSection, isEditing = _a.isEditing, children = _a.children, onClick = _a.onClick;
|
|
30
30
|
var t = (0, react_i18next_1.useTranslation)('translation').t;
|
|
31
31
|
var sectionRef = (0, react_1.useRef)(null);
|
|
32
32
|
var _b = (0, react_1.useState)(false), isHover = _b[0], setIsHover = _b[1];
|
|
@@ -72,14 +72,17 @@ function SectionBox(_a) {
|
|
|
72
72
|
setIsHover(false);
|
|
73
73
|
onClickDelayedAsync();
|
|
74
74
|
};
|
|
75
|
-
return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsxs)(S_SectionBox, __assign({ ref: sectionRef, onClick: onClickSectionBox, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeaveAsync, isEditing: isEditing }, { children: [isEditing && !hasNoChild && ((0, jsx_runtime_1.jsxs)(S_Editing, { children: [(0, jsx_runtime_1.jsx)(OverlayBorders_1.default, { zIndex: 1 }, void 0), (0, jsx_runtime_1.jsx)(TopRightAbsoluteBox, { children: (0, jsx_runtime_1.jsx)(desktop_1.D_TextLabel, { text: t('str_4657'), styleTheme: "caption1Bold", colorOverride: "ui_cpnt_textlabel_sys_black", singleLineMode: "use", customFontWeight: "bold", textAlign: "center" }, void 0) }, void 0)] }, void 0)), !isEditing && ((0, jsx_runtime_1.jsx)(DimmedEditOverlay, __assign({ isHover: isHover, fadeOut: fadeOut }, { children: (0, jsx_runtime_1.jsx)(S_EditButton, { children: (0, jsx_runtime_1.jsx)(desktop_1.D_TextLabel, { text: t('str_4653'), colorOverride: "ui_cpnt_textlabel_sys_black", singleLineMode: "use", customFontWeight: "bold", textAlign: "center" }, void 0) }, void 0) }), void 0)), children] }), void 0) }, void 0));
|
|
75
|
+
return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsxs)(S_SectionBox, __assign({ ref: sectionRef, onClick: onClickSectionBox, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeaveAsync, isEditing: isEditing, isIframeSection: isIframeSection }, { children: [isEditing && !hasNoChild && ((0, jsx_runtime_1.jsxs)(S_Editing, { children: [(0, jsx_runtime_1.jsx)(OverlayBorders_1.default, { zIndex: 1 }, void 0), (0, jsx_runtime_1.jsx)(TopRightAbsoluteBox, { children: (0, jsx_runtime_1.jsx)(desktop_1.D_TextLabel, { text: t('str_4657'), styleTheme: "caption1Bold", colorOverride: "ui_cpnt_textlabel_sys_black", singleLineMode: "use", customFontWeight: "bold", textAlign: "center" }, void 0) }, void 0)] }, void 0)), !isEditing && ((0, jsx_runtime_1.jsx)(DimmedEditOverlay, __assign({ isHover: isHover, fadeOut: fadeOut }, { children: (0, jsx_runtime_1.jsx)(S_EditButton, { children: (0, jsx_runtime_1.jsx)(desktop_1.D_TextLabel, { text: t('str_4653'), colorOverride: "ui_cpnt_textlabel_sys_black", singleLineMode: "use", customFontWeight: "bold", textAlign: "center" }, void 0) }, void 0) }), void 0)), children] }), void 0) }, void 0));
|
|
76
76
|
}
|
|
77
77
|
exports.default = SectionBox;
|
|
78
78
|
var TopRightAbsoluteBox = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: ", ";\n padding: 8px 10px;\n position: absolute;\n right: 0;\n top: 0;\n transition: background-color 0.2s ease-out;\n z-index: 4;\n"], ["\n background-color: ", ";\n padding: 8px 10px;\n position: absolute;\n right: 0;\n top: 0;\n transition: background-color 0.2s ease-out;\n z-index: 4;\n"])), function (_a) {
|
|
79
79
|
var theme = _a.theme;
|
|
80
80
|
return theme.ui_editor_preview_editing;
|
|
81
81
|
});
|
|
82
|
-
var S_SectionBox = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n position: relative;\n"], ["\n position: relative;\n"])))
|
|
82
|
+
var S_SectionBox = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n height: ", ";\n position: relative;\n"], ["\n height: ", ";\n position: relative;\n"])), function (_a) {
|
|
83
|
+
var isIframeSection = _a.isIframeSection;
|
|
84
|
+
return (isIframeSection ? '100%' : 'auto');
|
|
85
|
+
});
|
|
83
86
|
var DimmedEditOverlay = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n align-items: center;\n animation: ", ";\n background-color: ", ";\n bottom: 0;\n cursor: pointer;\n display: flex;\n justify-content: center;\n left: 0;\n\n opacity: ", ";\n\n position: absolute;\n right: 0;\n top: 0;\n transition: opacity 0.2s ease-out;\n z-index: 10;\n\n @keyframes fadeOut {\n 0% {\n opacity: 1;\n }\n\n 50% {\n opacity: 0.6;\n }\n\n 100% {\n opacity: 0;\n }\n }\n"], ["\n align-items: center;\n animation: ", ";\n background-color: ", ";\n bottom: 0;\n cursor: pointer;\n display: flex;\n justify-content: center;\n left: 0;\n\n opacity: ", ";\n\n position: absolute;\n right: 0;\n top: 0;\n transition: opacity 0.2s ease-out;\n z-index: 10;\n\n @keyframes fadeOut {\n 0% {\n opacity: 1;\n }\n\n 50% {\n opacity: 0.6;\n }\n\n 100% {\n opacity: 0;\n }\n }\n"])), function (_a) {
|
|
84
87
|
var fadeOut = _a.fadeOut;
|
|
85
88
|
return fadeOut && 'fadeOut 0.2s ease-out';
|
|
@@ -37,9 +37,12 @@ var YouTubeIframe_1 = require("../YouTubeIframe");
|
|
|
37
37
|
var sectionContext_1 = require("./sectionContext");
|
|
38
38
|
function Section(_a) {
|
|
39
39
|
var children = _a.children, props = __rest(_a, ["children"]);
|
|
40
|
-
return ((0, jsx_runtime_1.jsx)(sectionContext_1.sectionContext.Provider, __assign({ value: props }, { children: (0, jsx_runtime_1.jsxs)(S_Section, { children: [(0, jsx_runtime_1.jsx)(Background, {}, void 0), children] }, void 0) }), void 0));
|
|
40
|
+
return ((0, jsx_runtime_1.jsx)(sectionContext_1.sectionContext.Provider, __assign({ value: props }, { children: (0, jsx_runtime_1.jsxs)(S_Section, __assign({ isIframeSection: props.manifest.schema === 'EXP_IFRAME' }, { children: [(0, jsx_runtime_1.jsx)(Background, {}, void 0), children] }), void 0) }), void 0));
|
|
41
41
|
}
|
|
42
|
-
var S_Section = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n box-sizing: border-box;\n position: relative;\n width: 100%;\n z-index: 0;\n"], ["\n box-sizing: border-box;\n position: relative;\n width: 100%;\n z-index: 0;\n"])))
|
|
42
|
+
var S_Section = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n box-sizing: border-box;\n height: ", ";\n position: relative;\n width: 100%;\n z-index: 0;\n"], ["\n box-sizing: border-box;\n height: ", ";\n position: relative;\n width: 100%;\n z-index: 0;\n"])), function (_a) {
|
|
43
|
+
var isIframeSection = _a.isIframeSection;
|
|
44
|
+
return (isIframeSection ? '100%' : 'auto');
|
|
45
|
+
});
|
|
43
46
|
function Background() {
|
|
44
47
|
var context = (0, react_1.useContext)(sectionContext_1.sectionContext);
|
|
45
48
|
var id = context.id;
|
|
@@ -38,6 +38,8 @@ function SectionMatcher(_a) {
|
|
|
38
38
|
return (0, jsx_runtime_1.jsx)(sections_1.FooterSection, __assign({}, props), void 0);
|
|
39
39
|
case 'BASE_INFO_BOX':
|
|
40
40
|
return (0, jsx_runtime_1.jsx)(sections_1.InfoBoxSection, __assign({}, props), void 0);
|
|
41
|
+
case 'EXP_IFRAME':
|
|
42
|
+
return (0, jsx_runtime_1.jsx)(sections_1.FullscreenIframeSection, __assign({}, props), void 0);
|
|
41
43
|
default:
|
|
42
44
|
return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {}, void 0);
|
|
43
45
|
}
|
|
@@ -181,7 +181,7 @@ function HTMLReader(_a) {
|
|
|
181
181
|
}, [data]);
|
|
182
182
|
return ((0, jsx_runtime_1.jsx)(S_Content, { ref: contentRef, styleTheme: styleTheme, colorTheme: colorTheme, color: color, textAlign: textAlign, isPreview: isPreview !== null && isPreview !== void 0 ? isPreview : mode === 'PREVIEW' }, void 0));
|
|
183
183
|
}
|
|
184
|
-
var S_Content = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n color: ", ";\n line-height: 1.5;\n text-align: ", ";\n
|
|
184
|
+
var S_Content = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n color: ", ";\n line-height: 1.5;\n text-align: ", ";\n white-space: pre-wrap;\n width: 100%;\n word-break: break-word;\n\n ", "\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 ", ";\n\n ", ";\n\n ", "\n"], ["\n color: ", ";\n line-height: 1.5;\n text-align: ", ";\n white-space: pre-wrap;\n width: 100%;\n word-break: break-word;\n\n ", "\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 ", ";\n\n ", ";\n\n ", "\n"])), function (_a) {
|
|
185
185
|
var theme = _a.theme;
|
|
186
186
|
return theme.ui_temp_grey_01;
|
|
187
187
|
}, function (_a) {
|
|
@@ -178,7 +178,7 @@ function HTMLReader(_a) {
|
|
|
178
178
|
}, [data]);
|
|
179
179
|
return ((0, jsx_runtime_1.jsx)(S_Content, { ref: contentRef, styleTheme: styleTheme, colorTheme: colorTheme, color: color, textAlign: textAlign, isPreview: isPreview !== null && isPreview !== void 0 ? isPreview : mode === 'PREVIEW' }, void 0));
|
|
180
180
|
}
|
|
181
|
-
var S_Content = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n color: ", ";\n line-height: 1.5;\n text-align: ", ";\n
|
|
181
|
+
var S_Content = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n color: ", ";\n line-height: 1.5;\n text-align: ", ";\n white-space: pre-wrap;\n width: 100%;\n word-break: break-word;\n\n ", "\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 ", ";\n\n ", ";\n\n ", "\n"], ["\n color: ", ";\n line-height: 1.5;\n text-align: ", ";\n white-space: pre-wrap;\n width: 100%;\n word-break: break-word;\n\n ", "\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 ", ";\n\n ", ";\n\n ", "\n"])), function (_a) {
|
|
182
182
|
var theme = _a.theme;
|
|
183
183
|
return theme.ui_temp_grey_01;
|
|
184
184
|
}, function (_a) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type {
|
|
2
|
+
import type { UiColors } from '../../types';
|
|
3
3
|
export declare type CircularProgressProps = {
|
|
4
|
-
colorKey?:
|
|
4
|
+
colorKey?: UiColors;
|
|
5
5
|
size?: 'large' | 'medium' | 'small' | 'xsmall';
|
|
6
6
|
};
|
|
7
7
|
declare function CircularProgress({ colorKey, size }: CircularProgressProps): JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { IFormValues, FillIconNameKeys, LineIconNameKeys, PDSIconType, PdsDevKitTheme, DesktopFontSize, FontWeight, PDSTextType, PDSValueOption, ForwardedRefType } from './types';
|
|
3
|
-
export {
|
|
1
|
+
import type { UITheme } from './styles/colorSet/ui-type';
|
|
2
|
+
import type { IFormValues, FillIconNameKeys, LineIconNameKeys, PDSIconType, PdsDevKitTheme, DesktopFontSize, FontWeight, PDSTextType, PDSValueOption, UiColors, ForwardedRefType } from './types';
|
|
3
|
+
export { UITheme, IFormValues, FillIconNameKeys, LineIconNameKeys, PDSIconType, PdsDevKitTheme, DesktopFontSize, FontWeight, PDSTextType, PDSValueOption, UiColors, ForwardedRefType };
|
|
4
4
|
import { fontWeight, desktopFontSize, desktopLineHeight, desktopEditorFontSize, desktopEditorLineHeight, mobileFontSize, mobileLineHeight, mobileEditorFontSize, mobileEditorLineHeight, boxShadow, spacing } from './styles/theme';
|
|
5
|
-
|
|
5
|
+
import { uiColors, customTheme } from './styles/ui-colors';
|
|
6
|
+
export { fontWeight, desktopFontSize, desktopLineHeight, desktopEditorFontSize, desktopEditorLineHeight, mobileFontSize, mobileLineHeight, mobileEditorFontSize, mobileEditorLineHeight, boxShadow, spacing, uiColors, customTheme };
|
|
6
7
|
import { theme } from './styles';
|
|
7
8
|
export { theme };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable import/order */
|
|
3
3
|
/* eslint-disable import/first */
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.theme = exports.spacing = exports.boxShadow = exports.mobileEditorLineHeight = exports.mobileEditorFontSize = exports.mobileLineHeight = exports.mobileFontSize = exports.desktopEditorLineHeight = exports.desktopEditorFontSize = exports.desktopLineHeight = exports.desktopFontSize = exports.fontWeight = void 0;
|
|
5
|
+
exports.theme = exports.customTheme = exports.uiColors = exports.spacing = exports.boxShadow = exports.mobileEditorLineHeight = exports.mobileEditorFontSize = exports.mobileLineHeight = exports.mobileFontSize = exports.desktopEditorLineHeight = exports.desktopEditorFontSize = exports.desktopLineHeight = exports.desktopFontSize = exports.fontWeight = void 0;
|
|
6
6
|
// theme
|
|
7
7
|
var theme_1 = require("./styles/theme");
|
|
8
8
|
Object.defineProperty(exports, "fontWeight", { enumerable: true, get: function () { return theme_1.fontWeight; } });
|
|
@@ -16,6 +16,9 @@ Object.defineProperty(exports, "mobileEditorFontSize", { enumerable: true, get:
|
|
|
16
16
|
Object.defineProperty(exports, "mobileEditorLineHeight", { enumerable: true, get: function () { return theme_1.mobileEditorLineHeight; } });
|
|
17
17
|
Object.defineProperty(exports, "boxShadow", { enumerable: true, get: function () { return theme_1.boxShadow; } });
|
|
18
18
|
Object.defineProperty(exports, "spacing", { enumerable: true, get: function () { return theme_1.spacing; } });
|
|
19
|
+
var ui_colors_1 = require("./styles/ui-colors");
|
|
20
|
+
Object.defineProperty(exports, "uiColors", { enumerable: true, get: function () { return ui_colors_1.uiColors; } });
|
|
21
|
+
Object.defineProperty(exports, "customTheme", { enumerable: true, get: function () { return ui_colors_1.customTheme; } });
|
|
19
22
|
// all theme
|
|
20
23
|
var styles_1 = require("./styles");
|
|
21
24
|
Object.defineProperty(exports, "theme", { enumerable: true, get: function () { return styles_1.theme; } });
|