pds-dev-kit-web-test 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +16 -0
- package/dist/src/GlobalStyle.js +4 -1
- package/dist/src/common/assets/icons/fill/ArrowDown.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/ArrowDown.js +34 -0
- package/dist/src/common/assets/icons/fill/ArrowUp.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/ArrowUp.js +34 -0
- package/dist/src/common/assets/icons/fill/ToggleDown.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/ToggleDown.js +36 -0
- package/dist/src/common/assets/icons/fill/ToggleUp.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/ToggleUp.js +36 -0
- package/dist/src/common/assets/icons/fill/index.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/index.js +8 -0
- package/dist/src/common/assets/icons/line/Confetti.d.ts +4 -0
- package/dist/src/common/assets/icons/line/Confetti.js +36 -0
- package/dist/src/common/assets/icons/line/CsBold.d.ts +4 -0
- package/dist/src/common/assets/icons/line/CsBold.js +34 -0
- package/dist/src/common/assets/icons/line/CsFace.d.ts +4 -0
- package/dist/src/common/assets/icons/line/CsFace.js +34 -0
- package/dist/src/common/assets/icons/line/DeviceApp.d.ts +4 -0
- package/dist/src/common/assets/icons/line/DeviceApp.js +36 -0
- package/dist/src/common/assets/icons/line/DeviceDesktop.d.ts +4 -0
- package/dist/src/common/assets/icons/line/DeviceDesktop.js +36 -0
- package/dist/src/common/assets/icons/line/DeviceMobile.d.ts +4 -0
- package/dist/src/common/assets/icons/line/DeviceMobile.js +34 -0
- package/dist/src/common/assets/icons/line/EditorLeftSide.d.ts +4 -0
- package/dist/src/common/assets/icons/line/EditorLeftSide.js +34 -0
- package/dist/src/common/assets/icons/line/EditorRightSide.d.ts +4 -0
- package/dist/src/common/assets/icons/line/EditorRightSide.js +34 -0
- package/dist/src/common/assets/icons/line/Mail.d.ts +4 -0
- package/dist/src/common/assets/icons/line/Mail.js +36 -0
- package/dist/src/common/assets/icons/line/News.d.ts +4 -0
- package/dist/src/common/assets/icons/line/News.js +36 -0
- package/dist/src/common/assets/icons/line/Rocket.d.ts +4 -0
- package/dist/src/common/assets/icons/line/Rocket.js +36 -0
- package/dist/src/common/assets/icons/line/VideoGuide.d.ts +4 -0
- package/dist/src/common/assets/icons/line/VideoGuide.js +36 -0
- package/dist/src/common/assets/icons/line/index.d.ts +12 -0
- package/dist/src/common/assets/icons/line/index.js +24 -0
- package/dist/src/common/services/i18n/resources/en.json +4852 -1257
- package/dist/src/common/services/i18n/resources/es.json +6105 -2510
- package/dist/src/common/services/i18n/resources/index.d.ts +28084 -16
- package/dist/src/common/services/i18n/resources/index.js +5 -1
- package/dist/src/common/services/i18n/resources/jp.json +6114 -2519
- package/dist/src/common/services/i18n/resources/ko.json +3816 -221
- package/dist/src/common/services/i18n/resources/zh-tw.json +6844 -0
- package/dist/src/common/services/i18n/resources/zh-zh.json +6844 -0
- package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +22 -8
- package/dist/src/common/styles/colorSet/PaletteColor_light.json +22 -8
- package/dist/src/common/styles/colorSet/SemanticColor.json +11 -5
- package/dist/src/common/styles/colorSet/UIColor.json +47 -7
- package/dist/src/common/styles/colorSet/index.d.ts +339 -265
- package/dist/src/common/styles/colorSet/index.js +3 -3
- package/dist/src/common/styles/colorSet/ui-type.d.ts +44 -4
- package/dist/src/common/styles/index.d.ts +4 -0
- package/dist/src/common/styles/movement/animationStyle.d.ts +4 -0
- package/dist/src/common/styles/movement/animationStyle.js +8 -4
- package/dist/src/common/styles/movement/keyframes.d.ts +3 -1
- package/dist/src/common/styles/movement/keyframes.js +11 -9
- package/dist/src/common/styles/movement/transitionStyle.d.ts +1 -1
- package/dist/src/common/styles/movement/transitionStyle.js +2 -2
- package/dist/src/common/styles/scroll/scrollbarStyle.d.ts +2 -0
- package/dist/src/common/styles/scroll/scrollbarStyle.js +14 -0
- package/dist/src/common/styles/theme.d.ts +4 -0
- package/dist/src/common/styles/theme.js +17 -13
- package/dist/src/common/types/styled-components.d.ts +9 -5
- package/dist/src/desktop/components/AdminList/AdminList.d.ts +2 -1
- package/dist/src/desktop/components/AdminList/AdminList.js +4 -4
- package/dist/src/desktop/components/AdminList/HeaderRow.d.ts +2 -1
- package/dist/src/desktop/components/AdminList/HeaderRow.js +21 -17
- package/dist/src/desktop/components/AdminListItem/AdminListItem.d.ts +1 -0
- package/dist/src/desktop/components/AdminListItem/AdminListItem.js +19 -15
- package/dist/src/desktop/components/BasicFormGroup/BasicFormGroup.d.ts +1 -1
- package/dist/src/desktop/components/BasicFormGroup/BasicFormGroup.js +1 -1
- package/dist/src/desktop/components/BodyTextGroup/BodyTextGroup.d.ts +2 -1
- package/dist/src/desktop/components/BodyTextGroup/BodyTextGroup.js +3 -3
- package/dist/src/desktop/components/ChatBubbleListItem/ChatBubble.d.ts +1 -1
- package/dist/src/desktop/components/ChatBubbleListItem/ChatBubble.js +5 -4
- package/dist/src/desktop/components/ChatBubbleListItem/ChatBubbleListItem.d.ts +4 -3
- package/dist/src/desktop/components/ChatBubbleListItem/ChatBubbleListItem.js +88 -57
- package/dist/src/desktop/components/DesktopAlertDialog/DesktopAlertDialog.js +3 -3
- package/dist/src/desktop/components/Dropdown/Dropdown.js +31 -11
- package/dist/src/desktop/components/EditApplyTextField/EditApplyTextField.js +7 -7
- package/dist/src/desktop/components/LottieReactionButton/LottieReactionButton.js +2 -2
- package/dist/src/desktop/components/MainButton/MainButton.d.ts +1 -1
- package/dist/src/desktop/components/MainButton/MainButton.js +120 -33
- package/dist/src/desktop/components/ReactionButton/ReactionButton.js +4 -1
- package/dist/src/desktop/components/Select/Select.js +26 -10
- package/dist/src/desktop/components/TextField/TextField.js +34 -14
- package/dist/src/desktop/components/TextLabel/TextLabel.d.ts +7 -5
- package/dist/src/desktop/components/TextLabel/TextLabel.js +61 -42
- package/dist/src/desktop/components/UploadMainButton/UploadMainButton.d.ts +1 -1
- package/dist/src/desktop/components/UploadMainButton/UploadMainButton.js +131 -34
- package/dist/src/desktop/components/UploadMainButton/types.d.ts +0 -10
- package/dist/src/desktop/components/UploadMainButton/types.js +1 -11
- package/dist/src/desktop/components/UserDesktopSideTab/UserDesktopSideTab.js +1 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/ContentsContainer.d.ts +5 -3
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/ContentsContainer.js +29 -24
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFA.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFA.js +22 -10
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFB.d.ts +3 -2
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFB.js +34 -17
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFC.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFC.js +31 -8
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFD.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFD.js +31 -8
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFE.d.ts +4 -3
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFE.js +55 -34
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFF.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFF.js +31 -8
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFG.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFG.js +41 -14
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFH.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFH.js +31 -8
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFI.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFI.js +41 -14
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFJ.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFJ.js +31 -8
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFK.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFK.js +41 -14
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFL.d.ts +15 -0
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFL.js +75 -0
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/index.d.ts +1 -0
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/index.js +3 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/PageMenuContainer/PageMenuContainer.d.ts +1 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/PageMenuContainer/PageMenuContainer.js +2 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/PageMenuContainer/variation/PageMenu.js +5 -2
- package/dist/src/desktop/layout/LayoutWF/Containers/PageMenuContainer/variation/WizardPageMenu.d.ts +2 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/PageMenuContainer/variation/WizardPageMenu.js +14 -5
- package/dist/src/desktop/layout/LayoutWF/Containers/StepContainer/StepContainer.d.ts +1 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/StepContainer/StepContainer.js +3 -2
- package/dist/src/desktop/layout/LayoutWF/Containers/StepContainer/variation/Step.d.ts +2 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/StepContainer/variation/Step.js +14 -5
- package/dist/src/desktop/layout/LayoutWF/Containers/index.d.ts +1 -0
- package/dist/src/desktop/layout/LayoutWF/Containers/index.js +3 -1
- package/dist/src/desktop/layout/LayoutWF/ContainersBox/ContainersBox.d.ts +5 -2
- package/dist/src/desktop/layout/LayoutWF/ContainersBox/ContainersBox.js +55 -27
- package/dist/src/desktop/layout/LayoutWF/LayoutWF.js +1 -1
- package/dist/src/desktop/layout/LayoutWH/Containers/ContentsContainer/ContentsContainer.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWH/Containers/ContentsContainer/ContentsContainer.js +17 -17
- package/dist/src/desktop/layout/LayoutWH/Containers/ContentsContainer/variation/WHA.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWH/Containers/ContentsContainer/variation/WHA.js +31 -8
- package/dist/src/desktop/layout/LayoutWH/Containers/ContentsContainer/variation/WHB.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWH/Containers/ContentsContainer/variation/WHB.js +41 -14
- package/dist/src/desktop/layout/LayoutWH/Containers/ContentsContainer/variation/WHC.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWH/Containers/ContentsContainer/variation/WHC.js +31 -8
- package/dist/src/desktop/layout/LayoutWH/Containers/ContentsContainer/variation/WHD.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWH/Containers/ContentsContainer/variation/WHD.js +41 -14
- package/dist/src/desktop/layout/LayoutWH/Containers/ContentsContainer/variation/WHE.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWH/Containers/ContentsContainer/variation/WHE.js +31 -8
- package/dist/src/desktop/layout/LayoutWH/ContainersBox/ContainersBox.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWH/ContainersBox/ContainersBox.js +2 -2
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/ContentsContainer.d.ts +5 -2
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/ContentsContainer.js +20 -19
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSA.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSA.js +32 -8
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSB.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSB.js +38 -8
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSC.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSC.js +31 -8
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSD.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSD.js +32 -8
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSE.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSE.js +33 -9
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSF.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSF.js +42 -14
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSG.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSG.js +42 -14
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSH.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSH.js +41 -14
- package/dist/src/desktop/layout/LayoutWS/ContainersBox/ContainersBox.d.ts +5 -2
- package/dist/src/desktop/layout/LayoutWS/ContainersBox/ContainersBox.js +2 -2
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/ContentsContainer.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/ContentsContainer.js +45 -45
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTA.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTA.js +31 -8
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTB.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTB.js +31 -8
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTC.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTC.js +31 -8
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTD.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTD.js +41 -14
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTE.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTE.js +31 -8
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTF.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTF.js +41 -14
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTG.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTG.js +31 -8
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTH.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTH.js +31 -8
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTI.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTI.js +31 -8
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTJ.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTJ.js +41 -14
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTK.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTK.js +17 -13
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTL.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTL.js +31 -8
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTM.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTM.js +31 -8
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTN.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTN.js +31 -8
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTO.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTO.js +31 -8
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTP.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTP.js +31 -8
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTQ.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTQ.js +41 -14
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTS.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTS.js +15 -11
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTT.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTT.js +15 -11
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTU.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTU.js +22 -17
- package/dist/src/desktop/layout/LayoutWT/ContainersBox/ContainersBox.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWT/ContainersBox/ContainersBox.js +2 -2
- package/dist/src/desktop/panels/DesktopBasicModal/DesktopBasicModal.d.ts +3 -2
- package/dist/src/desktop/panels/DesktopBasicModal/DesktopBasicModal.js +30 -17
- package/dist/src/desktop/panels/DesktopHeadlessModal/DesktopHeadlessModal.js +9 -12
- package/dist/src/hybrid/components/Icon/Icon.d.ts +1 -1
- package/dist/src/mobile/components/BasicFormGroup/BasicFormGroup.d.ts +1 -1
- package/dist/src/mobile/components/BasicFormGroup/BasicFormGroup.js +1 -1
- package/dist/src/mobile/components/BodyTextGroup/BodyTextGroup.d.ts +2 -1
- package/dist/src/mobile/components/BodyTextGroup/BodyTextGroup.js +3 -3
- package/dist/src/mobile/components/ChatBubbleListItem/ChatBubble.d.ts +1 -1
- package/dist/src/mobile/components/ChatBubbleListItem/ChatBubble.js +5 -4
- package/dist/src/mobile/components/ChatBubbleListItem/ChatBubbleListItem.d.ts +4 -3
- package/dist/src/mobile/components/ChatBubbleListItem/ChatBubbleListItem.js +88 -57
- package/dist/src/mobile/components/Dropdown/Dropdown.js +18 -8
- package/dist/src/mobile/components/LottieReactionButton/LottieReactionButton.js +1 -1
- package/dist/src/mobile/components/MainButton/MainButton.d.ts +1 -1
- package/dist/src/mobile/components/MainButton/MainButton.js +114 -30
- package/dist/src/mobile/components/MobileAlertDialog/MobileAlertDialog.js +3 -3
- package/dist/src/mobile/components/Select/Select.js +15 -7
- package/dist/src/mobile/components/TextField/TextField.js +19 -9
- package/dist/src/mobile/components/TextLabel/TextLabel.d.ts +7 -5
- package/dist/src/mobile/components/TextLabel/TextLabel.js +57 -38
- package/dist/src/mobile/components/UploadMainButton/UploadMainButton.d.ts +1 -1
- package/dist/src/mobile/components/UploadMainButton/UploadMainButton.js +126 -32
- package/dist/src/mobile/components/UploadMainButton/types.d.ts +0 -10
- package/dist/src/mobile/components/UploadMainButton/types.js +1 -11
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/ContentsContainer.d.ts +4 -1
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/ContentsContainer.js +8 -8
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFA.d.ts +3 -1
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFA.js +31 -8
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFB.d.ts +4 -1
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFB.js +41 -14
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFC.d.ts +3 -1
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFC.js +31 -8
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFD.d.ts +3 -1
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFD.js +31 -8
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFE.d.ts +4 -1
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFE.js +41 -14
- package/dist/src/mobile/layout/LayoutMF/ContainersBox/ContainersBox.d.ts +4 -1
- package/dist/src/mobile/layout/LayoutMF/ContainersBox/ContainersBox.js +2 -2
- package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/ContentsContainer.d.ts +3 -1
- package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/ContentsContainer.js +3 -3
- package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMA.d.ts +3 -1
- package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMA.js +31 -8
- package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMB.d.ts +3 -1
- package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMB.js +31 -8
- package/dist/src/mobile/layout/LayoutMM/ContainersBox/ContainersBox.d.ts +3 -1
- package/dist/src/mobile/layout/LayoutMM/ContainersBox/ContainersBox.js +2 -2
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/ContentsContainer.d.ts +4 -1
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/ContentsContainer.js +9 -9
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPA.d.ts +3 -1
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPA.js +31 -8
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPB.d.ts +3 -1
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPB.js +31 -8
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPC.d.ts +4 -1
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPC.js +41 -14
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPD.d.ts +3 -1
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPD.js +31 -8
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPE.d.ts +3 -1
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPE.js +31 -8
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPF.d.ts +4 -1
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPF.js +41 -14
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/ContentsContainer.d.ts +4 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/ContentsContainer.js +12 -12
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSA.d.ts +3 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSA.js +31 -8
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSB.d.ts +3 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSB.js +31 -8
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSC.d.ts +4 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSC.js +41 -14
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSD.d.ts +3 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSD.js +31 -8
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSE.d.ts +3 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSE.js +31 -8
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSF.d.ts +4 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSF.js +41 -14
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSG.d.ts +3 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSG.js +31 -8
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSH.d.ts +3 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSH.js +31 -8
- package/dist/src/mobile/layout/LayoutMS/ContainersBox/ContainersBox.d.ts +4 -1
- package/dist/src/mobile/layout/LayoutMS/ContainersBox/ContainersBox.js +2 -2
- package/dist/src/mobile/panels/MobileBasicModal/MobileBasicModal.js +2 -2
- package/dist/src/sub/DynamicLayout/DynamicLayout.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/DynamicLayout.js +6 -94
- package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/EditModeSectionMatcher.d.ts +8 -0
- package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/EditModeSectionMatcher.js +25 -0
- package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/OverlayBorders.d.ts +6 -0
- package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/OverlayBorders.js +49 -0
- package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/SectionBox.d.ts +7 -0
- package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/SectionBox.js +129 -0
- package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/index.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/index.js +8 -0
- package/dist/src/sub/DynamicLayout/components/SectionMatcher/SectionMatcher.d.ts +3 -0
- package/dist/src/sub/DynamicLayout/components/SectionMatcher/SectionMatcher.js +48 -0
- package/dist/src/sub/DynamicLayout/components/SectionMatcher/index.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/components/SectionMatcher/index.js +8 -0
- package/dist/src/sub/DynamicLayout/hooks/index.d.ts +2 -0
- package/dist/src/sub/DynamicLayout/hooks/index.js +5 -1
- package/dist/src/sub/DynamicLayout/hooks/useLazyUnmount/index.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/hooks/useLazyUnmount/index.js +8 -0
- package/dist/src/sub/DynamicLayout/hooks/useLazyUnmount/useLazyUnmount.d.ts +5 -0
- package/dist/src/sub/DynamicLayout/hooks/useLazyUnmount/useLazyUnmount.js +61 -0
- package/dist/src/sub/DynamicLayout/hooks/useUnmountStyle/index.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/hooks/useUnmountStyle/index.js +8 -0
- package/dist/src/sub/DynamicLayout/hooks/useUnmountStyle/useUmountStyle.d.ts +10 -0
- package/dist/src/sub/DynamicLayout/hooks/useUnmountStyle/useUmountStyle.js +65 -0
- package/dist/src/sub/DynamicLayout/types.d.ts +2 -1
- package/dist/storybook-static/{0.ade47ed3.iframe.bundle.d.ts → 0.69b174ef.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{0.ade47ed3.iframe.bundle.js → 0.69b174ef.iframe.bundle.js} +8 -8
- package/dist/storybook-static/{4.93bcde3d.iframe.bundle.d.ts → 4.32dc09b1.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{4.93bcde3d.iframe.bundle.js → 4.32dc09b1.iframe.bundle.js} +71 -71
- package/dist/storybook-static/{5.ea6583af.iframe.bundle.d.ts → 5.c1637fa3.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{5.ea6583af.iframe.bundle.js → 5.c1637fa3.iframe.bundle.js} +13 -13
- package/dist/storybook-static/{6.e40cb5e6.iframe.bundle.d.ts → 6.9d79e5b5.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{6.e40cb5e6.iframe.bundle.js → 6.9d79e5b5.iframe.bundle.js} +6 -6
- package/dist/storybook-static/{7.a63b16b9.iframe.bundle.d.ts → 7.b309bb58.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{7.a63b16b9.iframe.bundle.js → 7.b309bb58.iframe.bundle.js} +3 -3
- package/dist/storybook-static/{main.997ab4f6.iframe.bundle.d.ts → main.9a5b3a3c.iframe.bundle.d.ts} +1113 -1220
- package/dist/storybook-static/main.9a5b3a3c.iframe.bundle.js +17145 -0
- package/dist/storybook-static/{runtime~main.a437dbd3.iframe.bundle.d.ts → runtime~main.b6fc2c86.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{runtime~main.a437dbd3.iframe.bundle.js → runtime~main.b6fc2c86.iframe.bundle.js} +1 -1
- package/dist/storybook-static/{vendors~main.7bb94765.iframe.bundle.d.ts → vendors~main.0fbc3a5b.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{vendors~main.7bb94765.iframe.bundle.js → vendors~main.0fbc3a5b.iframe.bundle.js} +828 -828
- package/package.json +1 -1
- package/release-note.md +4 -3
- package/dist/src/common/hooks/useAnimation.d.ts +0 -2
- package/dist/src/common/hooks/useAnimation.js +0 -19
- package/dist/storybook-static/main.997ab4f6.iframe.bundle.js +0 -16278
|
@@ -27,12 +27,12 @@ var react_1 = __importStar(require("react"));
|
|
|
27
27
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
28
28
|
var hybrid_1 = require("../../../hybrid");
|
|
29
29
|
function TextLabel(_a) {
|
|
30
|
-
var text = _a.text, tooltipText = _a.tooltipText, _b = _a.tooltipPosition, tooltipPosition = _b === void 0 ? 'right_bottom' : _b, _c = _a.textAlign, textAlign = _c === void 0 ? 'left' : _c, _d = _a.styleTheme, styleTheme = _d === void 0 ? 'body2Bold' : _d, colorOverride = _a.colorOverride, _e = _a.colorTheme, colorTheme = _e === void 0 ? 'sysTextPrimary' : _e, _f = _a.singleLineMode, singleLineMode = _f === void 0 ? 'none' : _f, _g = _a.ellipsisMode, ellipsisMode = _g === void 0 ? 'none' : _g, lineLimit = _a.lineLimit, _h = _a.userSelectMode, userSelectMode = _h === void 0 ? 'none' : _h, customFontSize = _a.customFontSize, customFontWeight = _a.customFontWeight, _j = _a.textDecorationType, textDecorationType = _j === void 0 ? 'none' : _j, _k = _a.requirementMode, requirementMode = _k === void 0 ? 'none' : _k, _l = _a.bulletPointMode, bulletPointMode = _l === void 0 ? 'none' : _l, _m = _a.wordBreak, wordBreak = _m === void 0 ? 'keep_all' : _m;
|
|
30
|
+
var text = _a.text, tooltipText = _a.tooltipText, _b = _a.tooltipPosition, tooltipPosition = _b === void 0 ? 'right_bottom' : _b, _c = _a.textAlign, textAlign = _c === void 0 ? 'left' : _c, _d = _a.styleTheme, styleTheme = _d === void 0 ? 'body2Bold' : _d, colorOverride = _a.colorOverride, _e = _a.colorTheme, colorTheme = _e === void 0 ? 'sysTextPrimary' : _e, _f = _a.singleLineMode, singleLineMode = _f === void 0 ? 'none' : _f, _g = _a.ellipsisMode, ellipsisMode = _g === void 0 ? 'none' : _g, lineLimit = _a.lineLimit, _h = _a.userSelectMode, userSelectMode = _h === void 0 ? 'none' : _h, customFontSize = _a.customFontSize, customFontWeight = _a.customFontWeight, _j = _a.textDecorationType, textDecorationType = _j === void 0 ? 'none' : _j, _k = _a.requirementMode, requirementMode = _k === void 0 ? 'none' : _k, _l = _a.bulletPointMode, bulletPointMode = _l === void 0 ? 'none' : _l, _m = _a.wordBreak, wordBreak = _m === void 0 ? 'keep_all' : _m, letterSpacing = _a.letterSpacing;
|
|
31
31
|
var _o = (0, react_1.useState)(false), isTooltipOpen = _o[0], setIsTooltipOpen = _o[1];
|
|
32
32
|
var handleTooltipToggle = function (value) {
|
|
33
33
|
setIsTooltipOpen(value);
|
|
34
34
|
};
|
|
35
|
-
return (react_1.default.createElement(S_TextLabel, { "x-pds-name": "TextLabel", "x-pds-element-type": "component", "x-pds-device-type": "desktop", textAlign: textAlign, styleTheme: styleTheme, colorOverride: colorOverride, colorTheme: colorTheme, singleLineMode: singleLineMode, ellipsisMode: ellipsisMode, lineLimit: lineLimit, userSelectMode: userSelectMode, customFontSize: customFontSize, customFontWeight: customFontWeight, textDecorationType: textDecorationType, bulletPointMode: bulletPointMode, wordBreak: wordBreak },
|
|
35
|
+
return (react_1.default.createElement(S_TextLabel, { "x-pds-name": "TextLabel", "x-pds-element-type": "component", "x-pds-device-type": "desktop", textAlign: textAlign, styleTheme: styleTheme, colorOverride: colorOverride, colorTheme: colorTheme, singleLineMode: singleLineMode, ellipsisMode: ellipsisMode, lineLimit: lineLimit, userSelectMode: userSelectMode, customFontSize: customFontSize, customFontWeight: customFontWeight, textDecorationType: textDecorationType, bulletPointMode: bulletPointMode, wordBreak: wordBreak, "$letterSpacing": letterSpacing },
|
|
36
36
|
text,
|
|
37
37
|
requirementMode === 'use' && (react_1.default.createElement(S_AfterTextBox, { styleTheme: styleTheme },
|
|
38
38
|
react_1.default.createElement(S_IconWrapper, null,
|
|
@@ -62,7 +62,17 @@ var headingBold = (0, styled_components_1.css)(templateObject_2 || (templateObje
|
|
|
62
62
|
var theme = _a.theme;
|
|
63
63
|
return theme.fontWeight.bold;
|
|
64
64
|
});
|
|
65
|
-
var
|
|
65
|
+
var wizardPageTitleBold = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
66
|
+
var theme = _a.theme;
|
|
67
|
+
return theme.desktopFontSize.wizardPageTitle;
|
|
68
|
+
}, function (_a) {
|
|
69
|
+
var theme = _a.theme;
|
|
70
|
+
return theme.desktopLineHeight.wizardPageTitle;
|
|
71
|
+
}, function (_a) {
|
|
72
|
+
var theme = _a.theme;
|
|
73
|
+
return theme.fontWeight.bold;
|
|
74
|
+
});
|
|
75
|
+
var leadParaBold = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
66
76
|
var theme = _a.theme;
|
|
67
77
|
return theme.desktopFontSize.leadParagraph;
|
|
68
78
|
}, function (_a) {
|
|
@@ -72,7 +82,7 @@ var leadParaBold = (0, styled_components_1.css)(templateObject_3 || (templateObj
|
|
|
72
82
|
var theme = _a.theme;
|
|
73
83
|
return theme.fontWeight.bold;
|
|
74
84
|
});
|
|
75
|
-
var leadParaRegular = (0, styled_components_1.css)(
|
|
85
|
+
var leadParaRegular = (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
76
86
|
var theme = _a.theme;
|
|
77
87
|
return theme.desktopFontSize.leadParagraph;
|
|
78
88
|
}, function (_a) {
|
|
@@ -82,7 +92,7 @@ var leadParaRegular = (0, styled_components_1.css)(templateObject_4 || (template
|
|
|
82
92
|
var theme = _a.theme;
|
|
83
93
|
return theme.fontWeight.normal;
|
|
84
94
|
});
|
|
85
|
-
var subTitleBold = (0, styled_components_1.css)(
|
|
95
|
+
var subTitleBold = (0, styled_components_1.css)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
86
96
|
var theme = _a.theme;
|
|
87
97
|
return theme.desktopFontSize.subtitle;
|
|
88
98
|
}, function (_a) {
|
|
@@ -92,7 +102,7 @@ var subTitleBold = (0, styled_components_1.css)(templateObject_5 || (templateObj
|
|
|
92
102
|
var theme = _a.theme;
|
|
93
103
|
return theme.fontWeight.bold;
|
|
94
104
|
});
|
|
95
|
-
var subTitleRegular = (0, styled_components_1.css)(
|
|
105
|
+
var subTitleRegular = (0, styled_components_1.css)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
96
106
|
var theme = _a.theme;
|
|
97
107
|
return theme.desktopFontSize.subtitle;
|
|
98
108
|
}, function (_a) {
|
|
@@ -102,7 +112,7 @@ var subTitleRegular = (0, styled_components_1.css)(templateObject_6 || (template
|
|
|
102
112
|
var theme = _a.theme;
|
|
103
113
|
return theme.fontWeight.normal;
|
|
104
114
|
});
|
|
105
|
-
var body1Bold = (0, styled_components_1.css)(
|
|
115
|
+
var body1Bold = (0, styled_components_1.css)(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
106
116
|
var theme = _a.theme;
|
|
107
117
|
return theme.desktopFontSize.body1;
|
|
108
118
|
}, function (_a) {
|
|
@@ -112,7 +122,7 @@ var body1Bold = (0, styled_components_1.css)(templateObject_7 || (templateObject
|
|
|
112
122
|
var theme = _a.theme;
|
|
113
123
|
return theme.fontWeight.bold;
|
|
114
124
|
});
|
|
115
|
-
var body1Regular = (0, styled_components_1.css)(
|
|
125
|
+
var body1Regular = (0, styled_components_1.css)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
116
126
|
var theme = _a.theme;
|
|
117
127
|
return theme.desktopFontSize.body1;
|
|
118
128
|
}, function (_a) {
|
|
@@ -122,7 +132,7 @@ var body1Regular = (0, styled_components_1.css)(templateObject_8 || (templateObj
|
|
|
122
132
|
var theme = _a.theme;
|
|
123
133
|
return theme.fontWeight.normal;
|
|
124
134
|
});
|
|
125
|
-
var body2Bold = (0, styled_components_1.css)(
|
|
135
|
+
var body2Bold = (0, styled_components_1.css)(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
126
136
|
var theme = _a.theme;
|
|
127
137
|
return theme.desktopFontSize.body2;
|
|
128
138
|
}, function (_a) {
|
|
@@ -132,7 +142,7 @@ var body2Bold = (0, styled_components_1.css)(templateObject_9 || (templateObject
|
|
|
132
142
|
var theme = _a.theme;
|
|
133
143
|
return theme.fontWeight.bold;
|
|
134
144
|
});
|
|
135
|
-
var body2Regular = (0, styled_components_1.css)(
|
|
145
|
+
var body2Regular = (0, styled_components_1.css)(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
136
146
|
var theme = _a.theme;
|
|
137
147
|
return theme.desktopFontSize.body2;
|
|
138
148
|
}, function (_a) {
|
|
@@ -142,7 +152,7 @@ var body2Regular = (0, styled_components_1.css)(templateObject_10 || (templateOb
|
|
|
142
152
|
var theme = _a.theme;
|
|
143
153
|
return theme.fontWeight.normal;
|
|
144
154
|
});
|
|
145
|
-
var caption1Bold = (0, styled_components_1.css)(
|
|
155
|
+
var caption1Bold = (0, styled_components_1.css)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
146
156
|
var theme = _a.theme;
|
|
147
157
|
return theme.desktopFontSize.caption1;
|
|
148
158
|
}, function (_a) {
|
|
@@ -152,7 +162,7 @@ var caption1Bold = (0, styled_components_1.css)(templateObject_11 || (templateOb
|
|
|
152
162
|
var theme = _a.theme;
|
|
153
163
|
return theme.fontWeight.bold;
|
|
154
164
|
});
|
|
155
|
-
var caption1Regular = (0, styled_components_1.css)(
|
|
165
|
+
var caption1Regular = (0, styled_components_1.css)(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
156
166
|
var theme = _a.theme;
|
|
157
167
|
return theme.desktopFontSize.caption1;
|
|
158
168
|
}, function (_a) {
|
|
@@ -162,7 +172,7 @@ var caption1Regular = (0, styled_components_1.css)(templateObject_12 || (templat
|
|
|
162
172
|
var theme = _a.theme;
|
|
163
173
|
return theme.fontWeight.normal;
|
|
164
174
|
});
|
|
165
|
-
var caption2Bold = (0, styled_components_1.css)(
|
|
175
|
+
var caption2Bold = (0, styled_components_1.css)(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
166
176
|
var theme = _a.theme;
|
|
167
177
|
return theme.desktopFontSize.caption2;
|
|
168
178
|
}, function (_a) {
|
|
@@ -172,7 +182,7 @@ var caption2Bold = (0, styled_components_1.css)(templateObject_13 || (templateOb
|
|
|
172
182
|
var theme = _a.theme;
|
|
173
183
|
return theme.fontWeight.bold;
|
|
174
184
|
});
|
|
175
|
-
var caption2Regular = (0, styled_components_1.css)(
|
|
185
|
+
var caption2Regular = (0, styled_components_1.css)(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
176
186
|
var theme = _a.theme;
|
|
177
187
|
return theme.desktopFontSize.caption2;
|
|
178
188
|
}, function (_a) {
|
|
@@ -182,7 +192,7 @@ var caption2Regular = (0, styled_components_1.css)(templateObject_14 || (templat
|
|
|
182
192
|
var theme = _a.theme;
|
|
183
193
|
return theme.fontWeight.normal;
|
|
184
194
|
});
|
|
185
|
-
var form1Regular = (0, styled_components_1.css)(
|
|
195
|
+
var form1Regular = (0, styled_components_1.css)(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
186
196
|
var theme = _a.theme;
|
|
187
197
|
return theme.desktopFontSize.form1;
|
|
188
198
|
}, function (_a) {
|
|
@@ -192,7 +202,7 @@ var form1Regular = (0, styled_components_1.css)(templateObject_15 || (templateOb
|
|
|
192
202
|
var theme = _a.theme;
|
|
193
203
|
return theme.fontWeight.normal;
|
|
194
204
|
});
|
|
195
|
-
var form2Regular = (0, styled_components_1.css)(
|
|
205
|
+
var form2Regular = (0, styled_components_1.css)(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
196
206
|
var theme = _a.theme;
|
|
197
207
|
return theme.desktopFontSize.form2;
|
|
198
208
|
}, function (_a) {
|
|
@@ -202,7 +212,7 @@ var form2Regular = (0, styled_components_1.css)(templateObject_16 || (templateOb
|
|
|
202
212
|
var theme = _a.theme;
|
|
203
213
|
return theme.fontWeight.normal;
|
|
204
214
|
});
|
|
205
|
-
var blog1Regular = (0, styled_components_1.css)(
|
|
215
|
+
var blog1Regular = (0, styled_components_1.css)(templateObject_18 || (templateObject_18 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
206
216
|
var theme = _a.theme;
|
|
207
217
|
return theme.desktopFontSize.blog1;
|
|
208
218
|
}, function (_a) {
|
|
@@ -212,72 +222,76 @@ var blog1Regular = (0, styled_components_1.css)(templateObject_17 || (templateOb
|
|
|
212
222
|
var theme = _a.theme;
|
|
213
223
|
return theme.fontWeight.normal;
|
|
214
224
|
});
|
|
215
|
-
var sysTextPrimary = (0, styled_components_1.css)(
|
|
225
|
+
var sysTextPrimary = (0, styled_components_1.css)(templateObject_19 || (templateObject_19 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
216
226
|
var theme = _a.theme;
|
|
217
227
|
return theme.ui_cpnt_textlabel_sys_primary;
|
|
218
228
|
});
|
|
219
|
-
var sysTextSecondary = (0, styled_components_1.css)(
|
|
229
|
+
var sysTextSecondary = (0, styled_components_1.css)(templateObject_20 || (templateObject_20 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
220
230
|
var theme = _a.theme;
|
|
221
231
|
return theme.ui_cpnt_textlabel_sys_secondary;
|
|
222
232
|
});
|
|
223
|
-
var sysTextTertiary = (0, styled_components_1.css)(
|
|
233
|
+
var sysTextTertiary = (0, styled_components_1.css)(templateObject_21 || (templateObject_21 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
224
234
|
var theme = _a.theme;
|
|
225
235
|
return theme.ui_cpnt_textlabel_sys_tertiary;
|
|
226
236
|
});
|
|
227
|
-
var sysTextWhite = (0, styled_components_1.css)(
|
|
237
|
+
var sysTextWhite = (0, styled_components_1.css)(templateObject_22 || (templateObject_22 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
228
238
|
var theme = _a.theme;
|
|
229
239
|
return theme.ui_cpnt_textlabel_sys_white;
|
|
230
240
|
});
|
|
231
|
-
var
|
|
241
|
+
var sysTextBlack = (0, styled_components_1.css)(templateObject_23 || (templateObject_23 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
242
|
+
var theme = _a.theme;
|
|
243
|
+
return theme.ui_cpnt_textlabel_sys_black;
|
|
244
|
+
});
|
|
245
|
+
var sysTextError = (0, styled_components_1.css)(templateObject_24 || (templateObject_24 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
232
246
|
var theme = _a.theme;
|
|
233
247
|
return theme.ui_cpnt_textlabel_sys_error;
|
|
234
248
|
});
|
|
235
|
-
var sysTextWarning = (0, styled_components_1.css)(
|
|
249
|
+
var sysTextWarning = (0, styled_components_1.css)(templateObject_25 || (templateObject_25 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
236
250
|
var theme = _a.theme;
|
|
237
251
|
return theme.ui_cpnt_textlabel_sys_warning;
|
|
238
252
|
});
|
|
239
|
-
var sysTextBrandPrimary = (0, styled_components_1.css)(
|
|
253
|
+
var sysTextBrandPrimary = (0, styled_components_1.css)(templateObject_26 || (templateObject_26 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
240
254
|
var theme = _a.theme;
|
|
241
255
|
return theme.ui_cpnt_textlabel_sys_brandprimary;
|
|
242
256
|
});
|
|
243
|
-
var sysTextBrandSeconVariant = (0, styled_components_1.css)(
|
|
257
|
+
var sysTextBrandSeconVariant = (0, styled_components_1.css)(templateObject_27 || (templateObject_27 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
244
258
|
var theme = _a.theme;
|
|
245
259
|
return theme.ui_cpnt_textlabel_sys_brandseconvariant;
|
|
246
260
|
});
|
|
247
|
-
var usrTextBrandPrimary = (0, styled_components_1.css)(
|
|
261
|
+
var usrTextBrandPrimary = (0, styled_components_1.css)(templateObject_28 || (templateObject_28 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
248
262
|
var theme = _a.theme;
|
|
249
263
|
return theme.ui_cpnt_textlabel_usr_brandprimary;
|
|
250
264
|
});
|
|
251
|
-
var usrTextBrandSeconVariant = (0, styled_components_1.css)(
|
|
265
|
+
var usrTextBrandSeconVariant = (0, styled_components_1.css)(templateObject_29 || (templateObject_29 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
252
266
|
var theme = _a.theme;
|
|
253
267
|
return theme.ui_cpnt_textlabel_usr_brandseconvariant;
|
|
254
268
|
});
|
|
255
|
-
var usrTextBrandOnPrimary = (0, styled_components_1.css)(
|
|
269
|
+
var usrTextBrandOnPrimary = (0, styled_components_1.css)(templateObject_30 || (templateObject_30 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
256
270
|
var theme = _a.theme;
|
|
257
271
|
return theme.ui_cpnt_textlabel_usr_brandonprimary;
|
|
258
272
|
});
|
|
259
|
-
var customFontStyle = (0, styled_components_1.css)(
|
|
273
|
+
var customFontStyle = (0, styled_components_1.css)(templateObject_31 || (templateObject_31 = __makeTemplateObject(["\n font-size: ", ";\n line-height: 1.5;\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: 1.5;\n font-weight: ", ";\n"])), function (_a) {
|
|
260
274
|
var customFontSize = _a.customFontSize;
|
|
261
275
|
return customFontSize;
|
|
262
276
|
}, function (_a) {
|
|
263
277
|
var theme = _a.theme, customFontWeight = _a.customFontWeight;
|
|
264
278
|
return customFontWeight === 'bold' ? theme.fontWeight.bold : theme.fontWeight.normal;
|
|
265
279
|
});
|
|
266
|
-
var colorOverrideStyle = (0, styled_components_1.css)(
|
|
280
|
+
var colorOverrideStyle = (0, styled_components_1.css)(templateObject_32 || (templateObject_32 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
267
281
|
var colorOverride = _a.colorOverride, theme = _a.theme;
|
|
268
282
|
return colorOverride && theme[colorOverride];
|
|
269
283
|
});
|
|
270
|
-
var ellipsisStyle = (0, styled_components_1.css)(
|
|
284
|
+
var ellipsisStyle = (0, styled_components_1.css)(templateObject_33 || (templateObject_33 = __makeTemplateObject(["\n -webkit-box-orient: vertical;\n display: -webkit-box;\n -webkit-line-clamp: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n"], ["\n -webkit-box-orient: vertical;\n display: -webkit-box;\n -webkit-line-clamp: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n"])), function (_a) {
|
|
271
285
|
var lineLimit = _a.lineLimit;
|
|
272
286
|
return lineLimit;
|
|
273
287
|
});
|
|
274
|
-
var userSelectModeStyle = (0, styled_components_1.css)(
|
|
275
|
-
var bulletPointModeStyle = (0, styled_components_1.css)(
|
|
276
|
-
var tooltipLeftTop = (0, styled_components_1.css)(
|
|
277
|
-
var tooltipLeftBottom = (0, styled_components_1.css)(
|
|
278
|
-
var tooltipRightTop = (0, styled_components_1.css)(
|
|
279
|
-
var tooltipRightBottom = (0, styled_components_1.css)(
|
|
280
|
-
var S_TextLabel = styled_components_1.default.div(
|
|
288
|
+
var userSelectModeStyle = (0, styled_components_1.css)(templateObject_34 || (templateObject_34 = __makeTemplateObject(["\n -ms-user-select: none;\n -moz-user-select: -moz-none;\n -khtml-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n"], ["\n -ms-user-select: none;\n -moz-user-select: -moz-none;\n -khtml-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n"])));
|
|
289
|
+
var bulletPointModeStyle = (0, styled_components_1.css)(templateObject_35 || (templateObject_35 = __makeTemplateObject(["\n padding-left: 16px;\n ::before {\n content: '\u2022';\n position: absolute;\n left: 0;\n width: 16px;\n }\n"], ["\n padding-left: 16px;\n ::before {\n content: '\u2022';\n position: absolute;\n left: 0;\n width: 16px;\n }\n"])));
|
|
290
|
+
var tooltipLeftTop = (0, styled_components_1.css)(templateObject_36 || (templateObject_36 = __makeTemplateObject(["\n right: 0;\n bottom: 20px;\n"], ["\n right: 0;\n bottom: 20px;\n"])));
|
|
291
|
+
var tooltipLeftBottom = (0, styled_components_1.css)(templateObject_37 || (templateObject_37 = __makeTemplateObject(["\n right: 0;\n top: 20px;\n"], ["\n right: 0;\n top: 20px;\n"])));
|
|
292
|
+
var tooltipRightTop = (0, styled_components_1.css)(templateObject_38 || (templateObject_38 = __makeTemplateObject(["\n left: 0;\n bottom: 20px;\n"], ["\n left: 0;\n bottom: 20px;\n"])));
|
|
293
|
+
var tooltipRightBottom = (0, styled_components_1.css)(templateObject_39 || (templateObject_39 = __makeTemplateObject(["\n left: 0;\n top: 20px;\n"], ["\n left: 0;\n top: 20px;\n"])));
|
|
294
|
+
var S_TextLabel = styled_components_1.default.div(templateObject_40 || (templateObject_40 = __makeTemplateObject(["\n box-sizing: border-box;\n text-align: ", ";\n white-space: pre-wrap;\n word-break: ", ";\n overflow-wrap: break-word;\n\n ", ";\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n"], ["\n box-sizing: border-box;\n text-align: ", ";\n white-space: pre-wrap;\n word-break: ", ";\n overflow-wrap: break-word;\n\n ", ";\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n"])), function (_a) {
|
|
281
295
|
var textAlign = _a.textAlign;
|
|
282
296
|
return textAlign;
|
|
283
297
|
}, function (_a) {
|
|
@@ -289,11 +303,15 @@ var S_TextLabel = styled_components_1.default.div(templateObject_38 || (template
|
|
|
289
303
|
keep_all: 'keep-all',
|
|
290
304
|
break_word: 'break-word'
|
|
291
305
|
}[wordBreak];
|
|
306
|
+
}, function (_a) {
|
|
307
|
+
var $letterSpacing = _a.$letterSpacing;
|
|
308
|
+
return "letter-spacing: " + $letterSpacing;
|
|
292
309
|
}, function (_a) {
|
|
293
310
|
var styleTheme = _a.styleTheme;
|
|
294
311
|
return styleTheme &&
|
|
295
312
|
{
|
|
296
313
|
displayBold: displayBold,
|
|
314
|
+
wizardPageTitleBold: wizardPageTitleBold,
|
|
297
315
|
headingBold: headingBold,
|
|
298
316
|
leadParaBold: leadParaBold,
|
|
299
317
|
leadParaRegular: leadParaRegular,
|
|
@@ -319,6 +337,7 @@ var S_TextLabel = styled_components_1.default.div(templateObject_38 || (template
|
|
|
319
337
|
sysTextSecondary: sysTextSecondary,
|
|
320
338
|
sysTextTertiary: sysTextTertiary,
|
|
321
339
|
sysTextWhite: sysTextWhite,
|
|
340
|
+
sysTextBlack: sysTextBlack,
|
|
322
341
|
sysTextError: sysTextError,
|
|
323
342
|
sysTextWarning: sysTextWarning,
|
|
324
343
|
sysTextBrandPrimary: sysTextBrandPrimary,
|
|
@@ -355,7 +374,7 @@ var S_TextLabel = styled_components_1.default.div(templateObject_38 || (template
|
|
|
355
374
|
var bulletPointMode = _a.bulletPointMode;
|
|
356
375
|
return bulletPointMode === 'use' && bulletPointModeStyle;
|
|
357
376
|
});
|
|
358
|
-
var S_AfterTextBox = styled_components_1.default.div(
|
|
377
|
+
var S_AfterTextBox = styled_components_1.default.div(templateObject_41 || (templateObject_41 = __makeTemplateObject(["\n display: inline-block;\n margin-left: ", ";\n position: relative;\n\n ", ";\n"], ["\n display: inline-block;\n margin-left: ", ";\n position: relative;\n\n ", ";\n"])), function (_a) {
|
|
359
378
|
var theme = _a.theme;
|
|
360
379
|
return theme.spacing.spacingA;
|
|
361
380
|
}, function (_a) {
|
|
@@ -371,8 +390,8 @@ var S_AfterTextBox = styled_components_1.default.div(templateObject_39 || (templ
|
|
|
371
390
|
return 'vertical-align: middle';
|
|
372
391
|
}
|
|
373
392
|
});
|
|
374
|
-
var S_IconWrapper = styled_components_1.default.div(
|
|
375
|
-
var S_TooltipWrapper = styled_components_1.default.div(
|
|
393
|
+
var S_IconWrapper = styled_components_1.default.div(templateObject_42 || (templateObject_42 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n height: 100%;\n justify-content: center;\n width: 16px;\n height: 16px;\n"], ["\n align-items: center;\n display: flex;\n height: 100%;\n justify-content: center;\n width: 16px;\n height: 16px;\n"])));
|
|
394
|
+
var S_TooltipWrapper = styled_components_1.default.div(templateObject_43 || (templateObject_43 = __makeTemplateObject(["\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: 8px;\n box-shadow: ", ";\n box-sizing: border-box;\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n max-width: 320px;\n overflow-wrap: break-word;\n padding: ", ";\n position: absolute;\n text-align: left;\n white-space: pre-wrap;\n width: max-content;\n word-break: keep-all;\n\n ", ";\n\n ", ";\n"], ["\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: 8px;\n box-shadow: ", ";\n box-sizing: border-box;\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n max-width: 320px;\n overflow-wrap: break-word;\n padding: ", ";\n position: absolute;\n text-align: left;\n white-space: pre-wrap;\n width: max-content;\n word-break: keep-all;\n\n ", ";\n\n ", ";\n"])), function (_a) {
|
|
376
395
|
var theme = _a.theme;
|
|
377
396
|
return theme.ui_cpnt_contextmenu_base;
|
|
378
397
|
}, function (_a) {
|
|
@@ -410,4 +429,4 @@ var S_TooltipWrapper = styled_components_1.default.div(templateObject_41 || (tem
|
|
|
410
429
|
}[tooltipPosition];
|
|
411
430
|
});
|
|
412
431
|
exports.default = TextLabel;
|
|
413
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25, templateObject_26, templateObject_27, templateObject_28, templateObject_29, templateObject_30, templateObject_31, templateObject_32, templateObject_33, templateObject_34, templateObject_35, templateObject_36, templateObject_37, templateObject_38, templateObject_39, templateObject_40, templateObject_41;
|
|
432
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25, templateObject_26, templateObject_27, templateObject_28, templateObject_29, templateObject_30, templateObject_31, templateObject_32, templateObject_33, templateObject_34, templateObject_35, templateObject_36, templateObject_37, templateObject_38, templateObject_39, templateObject_40, templateObject_41, templateObject_42, templateObject_43;
|
|
@@ -11,7 +11,7 @@ declare type UploadMainButtonProps = {
|
|
|
11
11
|
iconMode?: 'none' | 'left' | 'right';
|
|
12
12
|
iconFillType?: 'fill' | 'line';
|
|
13
13
|
iconName?: FillIconNameKeys | LineIconNameKeys;
|
|
14
|
-
colorTheme?: 'none' | 'line1' | 'line2' | 'line3';
|
|
14
|
+
colorTheme?: 'none' | 'line1' | 'line2' | 'line3' | 'primary1' | 'secondary1';
|
|
15
15
|
state?: 'normal' | 'disabled';
|
|
16
16
|
accept?: string;
|
|
17
17
|
multipleMode?: 'none' | 'use';
|
|
@@ -42,9 +42,23 @@ function UploadMainButton(_a) {
|
|
|
42
42
|
}
|
|
43
43
|
e.target.value = '';
|
|
44
44
|
};
|
|
45
|
+
var isLineColorTheme = colorTheme.includes('line');
|
|
46
|
+
var isPrimaryColorTheme = colorTheme.includes('primary');
|
|
47
|
+
var isSecondaryColorTheme = colorTheme.includes('secondary');
|
|
48
|
+
var lineColorThemeTextColor = function () {
|
|
49
|
+
if (colorTheme === 'line1') {
|
|
50
|
+
return 'ui_cpnt_button_text_error';
|
|
51
|
+
}
|
|
52
|
+
if (colorTheme === 'line2') {
|
|
53
|
+
return 'ui_cpnt_button_text_primary';
|
|
54
|
+
}
|
|
55
|
+
if (colorTheme === 'line3') {
|
|
56
|
+
return 'ui_cpnt_button_text_darktheme_enabled';
|
|
57
|
+
}
|
|
58
|
+
};
|
|
45
59
|
var submittingProgressColor = function () {
|
|
46
|
-
if (fillType === 'line' &&
|
|
47
|
-
return
|
|
60
|
+
if (fillType === 'line' && isLineColorTheme && state !== 'disabled') {
|
|
61
|
+
return lineColorThemeTextColor();
|
|
48
62
|
}
|
|
49
63
|
if (fillType === 'fill') {
|
|
50
64
|
return 'ui_cpnt_textlabel_usr_brandonprimary';
|
|
@@ -53,53 +67,98 @@ function UploadMainButton(_a) {
|
|
|
53
67
|
return 'ui_cpnt_textlabel_sys_primary';
|
|
54
68
|
}
|
|
55
69
|
if (styleTheme === 'primary') {
|
|
70
|
+
if (colorTheme === 'primary1') {
|
|
71
|
+
return 'ui_cpnt_textlabel_usr_brandprimary';
|
|
72
|
+
}
|
|
56
73
|
return 'ui_cpnt_textlabel_usr_brandonprimary';
|
|
57
74
|
}
|
|
58
75
|
if (styleTheme === 'secondary') {
|
|
76
|
+
if (colorTheme === 'secondary1') {
|
|
77
|
+
return 'ui_cpnt_textlabel_sys_white';
|
|
78
|
+
}
|
|
59
79
|
return 'ui_cpnt_textlabel_usr_brandprimary';
|
|
60
80
|
}
|
|
61
81
|
return 'ui_cpnt_textlabel_usr_brandonprimary';
|
|
62
82
|
};
|
|
63
|
-
var
|
|
83
|
+
var textColor = function () {
|
|
84
|
+
if (fillType === 'fill') {
|
|
85
|
+
return 'usrTextBrandOnPrimary';
|
|
86
|
+
}
|
|
87
|
+
if (fillType === 'line') {
|
|
88
|
+
return 'sysTextPrimary';
|
|
89
|
+
}
|
|
90
|
+
if (styleTheme === 'primary') {
|
|
91
|
+
if (colorTheme === 'primary1') {
|
|
92
|
+
return 'usrTextBrandPrimary';
|
|
93
|
+
}
|
|
94
|
+
return 'usrTextBrandOnPrimary';
|
|
95
|
+
}
|
|
96
|
+
if (styleTheme === 'secondary') {
|
|
97
|
+
if (colorTheme === 'secondary1') {
|
|
98
|
+
return 'sysTextWhite';
|
|
99
|
+
}
|
|
100
|
+
return 'usrTextBrandPrimary';
|
|
101
|
+
}
|
|
102
|
+
return 'usrTextBrandOnPrimary';
|
|
103
|
+
};
|
|
104
|
+
var textColorOverride = function () {
|
|
64
105
|
if (colorTheme === 'line3' && state === 'disabled') {
|
|
65
106
|
return 'ui_cpnt_button_text_darktheme_disabled';
|
|
66
107
|
}
|
|
67
|
-
if (fillType === 'line' &&
|
|
68
|
-
return
|
|
108
|
+
if (fillType === 'line' && isLineColorTheme && state !== 'disabled') {
|
|
109
|
+
return lineColorThemeTextColor();
|
|
110
|
+
}
|
|
111
|
+
if (styleTheme === 'secondary' && colorTheme === 'secondary1' && state === 'disabled') {
|
|
112
|
+
return 'ui_cpnt_button_text_secondary_variation_disabled';
|
|
69
113
|
}
|
|
70
114
|
return undefined;
|
|
71
115
|
};
|
|
116
|
+
var lineColorThemeIconColor = function () {
|
|
117
|
+
if (colorTheme === 'line1') {
|
|
118
|
+
return 'ui_cpnt_button_icon_error';
|
|
119
|
+
}
|
|
120
|
+
if (colorTheme === 'line2') {
|
|
121
|
+
return 'ui_cpnt_button_icon_primary';
|
|
122
|
+
}
|
|
123
|
+
if (colorTheme === 'line3') {
|
|
124
|
+
return 'ui_cpnt_button_icon_darktheme_enabled';
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
var primaryColorThemeIconColor = function () {
|
|
128
|
+
if (colorTheme === 'primary1') {
|
|
129
|
+
return 'ui_cpnt_button_icon_primary';
|
|
130
|
+
}
|
|
131
|
+
};
|
|
132
|
+
var secondaryColorThemeIconColor = function () {
|
|
133
|
+
if (colorTheme === 'secondary1') {
|
|
134
|
+
return 'ui_cpnt_button_icon_on_primary';
|
|
135
|
+
}
|
|
136
|
+
};
|
|
72
137
|
var iconColor = function () {
|
|
73
138
|
if (state === 'disabled') {
|
|
74
139
|
if (colorTheme === 'line3') {
|
|
75
140
|
return 'ui_cpnt_button_icon_darktheme_disabled';
|
|
76
141
|
}
|
|
142
|
+
if (styleTheme === 'secondary' && colorTheme === 'secondary1') {
|
|
143
|
+
return 'ui_cpnt_button_icon_secondary_variation_disabled';
|
|
144
|
+
}
|
|
77
145
|
return 'ui_cpnt_button_icon_disabled';
|
|
78
146
|
}
|
|
79
|
-
if (fillType === 'line' &&
|
|
80
|
-
return
|
|
147
|
+
if (fillType === 'line' && isLineColorTheme) {
|
|
148
|
+
return lineColorThemeIconColor();
|
|
81
149
|
}
|
|
82
150
|
if (fillType) {
|
|
83
151
|
return types_1.iconFillTypeColors[fillType];
|
|
84
152
|
}
|
|
85
|
-
if (styleTheme) {
|
|
86
|
-
return
|
|
87
|
-
}
|
|
88
|
-
};
|
|
89
|
-
var textColor = function () {
|
|
90
|
-
if (fillType === 'fill') {
|
|
91
|
-
return 'usrTextBrandOnPrimary';
|
|
92
|
-
}
|
|
93
|
-
if (fillType === 'line') {
|
|
94
|
-
return 'sysTextPrimary';
|
|
153
|
+
if (styleTheme === 'primary' && isPrimaryColorTheme) {
|
|
154
|
+
return primaryColorThemeIconColor();
|
|
95
155
|
}
|
|
96
|
-
if (styleTheme === '
|
|
97
|
-
return
|
|
156
|
+
if (styleTheme === 'secondary' && isSecondaryColorTheme) {
|
|
157
|
+
return secondaryColorThemeIconColor();
|
|
98
158
|
}
|
|
99
|
-
if (styleTheme
|
|
100
|
-
return
|
|
159
|
+
if (styleTheme) {
|
|
160
|
+
return types_1.iconStyleThemeColors[styleTheme];
|
|
101
161
|
}
|
|
102
|
-
return 'usrTextBrandOnPrimary';
|
|
103
162
|
};
|
|
104
163
|
var UploadMainButtonVariation = function () {
|
|
105
164
|
if (isLoading) {
|
|
@@ -116,7 +175,7 @@ function UploadMainButton(_a) {
|
|
|
116
175
|
size !== 'xsmall' && iconMode === 'left' && (react_1.default.createElement(react_1.default.Fragment, null,
|
|
117
176
|
react_1.default.createElement(hybrid_1.Icon, { iconName: iconName, size: size === 'large' || size === 'rlarge' ? 20 : 16, colorKey: iconColor(), fillType: iconFillType }),
|
|
118
177
|
react_1.default.createElement(hybrid_1.Spacing, { size: size === 'large' || size === 'rlarge' ? 'spacing_b' : 'spacing_a', spacingType: "width" }))),
|
|
119
|
-
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: types_1.textStyles[size], singleLineMode: "use", colorTheme: state === 'disabled' ? 'sysTextTertiary' : textColor(), colorOverride:
|
|
178
|
+
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: types_1.textStyles[size], singleLineMode: "use", colorTheme: state === 'disabled' ? 'sysTextTertiary' : textColor(), colorOverride: textColorOverride(), ellipsisMode: "use", lineLimit: 1, wordBreak: "break_all" }),
|
|
120
179
|
size !== 'xsmall' && iconMode === 'right' && (react_1.default.createElement(react_1.default.Fragment, null,
|
|
121
180
|
react_1.default.createElement(hybrid_1.Spacing, { size: size === 'large' || size === 'rlarge' ? 'spacing_b' : 'spacing_a', spacingType: "width" }),
|
|
122
181
|
react_1.default.createElement(hybrid_1.Icon, { iconName: iconName, size: size === 'large' || size === 'rlarge' ? 20 : 16, colorKey: iconColor(), fillType: iconFillType })))));
|
|
@@ -207,7 +266,7 @@ var lineDisabled = (0, styled_components_1.css)(templateObject_11 || (templateOb
|
|
|
207
266
|
? theme.ui_cpnt_button_line_border_darktheme_disabled
|
|
208
267
|
: theme.ui_cpnt_button_line_border_disabled;
|
|
209
268
|
});
|
|
210
|
-
var line = (0, styled_components_1.css)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n background-color: ", ";\n\n &:hover:not([disabled]) {\n background-color: ", ";\n }\n\n &:active:not([disabled]) {\n background-color: ", ";\n }\n\n &::before {\n content: '';\n display: none;\n }\n ", "\n\n ", ";\n ", "\n"], ["\n background-color: ", ";\n\n &:hover:not([disabled]) {\n background-color: ", ";\n }\n\n &:active:not([disabled]) {\n background-color: ", ";\n }\n\n &::before {\n content: '';\n display: none;\n }\n ", "\n\n ", ";\n ", "\n"])), function (_a) {
|
|
269
|
+
var line = (0, styled_components_1.css)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n background-color: ", ";\n\n &:hover:not([disabled]) {\n background-color: ", ";\n }\n\n &:active:not([disabled]) {\n background-color: ", ";\n }\n\n &::before {\n content: '';\n display: none;\n }\n ", "\n\n ", ";\n\n ", "\n"], ["\n background-color: ", ";\n\n &:hover:not([disabled]) {\n background-color: ", ";\n }\n\n &:active:not([disabled]) {\n background-color: ", ";\n }\n\n &::before {\n content: '';\n display: none;\n }\n ", "\n\n ", ";\n\n ", "\n"])), function (_a) {
|
|
211
270
|
var theme = _a.theme;
|
|
212
271
|
return theme.ui_cpnt_button_line_base_default;
|
|
213
272
|
}, function (_a) {
|
|
@@ -218,7 +277,18 @@ var line = (0, styled_components_1.css)(templateObject_12 || (templateObject_12
|
|
|
218
277
|
return !isSubmitting && theme.ui_cpnt_button_line_base_pressed;
|
|
219
278
|
}, transitionStyle_1.ButtonTransition, function (_a) {
|
|
220
279
|
var colorTheme = _a.colorTheme;
|
|
221
|
-
|
|
280
|
+
if (colorTheme === 'none') {
|
|
281
|
+
return none;
|
|
282
|
+
}
|
|
283
|
+
if (colorTheme === 'line1') {
|
|
284
|
+
return line1;
|
|
285
|
+
}
|
|
286
|
+
if (colorTheme === 'line2') {
|
|
287
|
+
return line2;
|
|
288
|
+
}
|
|
289
|
+
if (colorTheme === 'line3') {
|
|
290
|
+
return line3;
|
|
291
|
+
}
|
|
222
292
|
}, function (_a) {
|
|
223
293
|
var disabled = _a.disabled;
|
|
224
294
|
return disabled && lineDisabled;
|
|
@@ -227,7 +297,11 @@ var primaryDisabled = (0, styled_components_1.css)(templateObject_13 || (templat
|
|
|
227
297
|
var theme = _a.theme;
|
|
228
298
|
return theme.ui_cpnt_button_fill_base_disabled;
|
|
229
299
|
});
|
|
230
|
-
var
|
|
300
|
+
var primary1 = (0, styled_components_1.css)(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n background-color: ", ";\n"], ["\n background-color: ", ";\n"])), function (_a) {
|
|
301
|
+
var theme = _a.theme;
|
|
302
|
+
return theme.ui_cpnt_button_primary_variation_base_enabled;
|
|
303
|
+
});
|
|
304
|
+
var primary = (0, styled_components_1.css)(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n background-color: ", ";\n border: none;\n position: relative;\n\n &::before {\n content: '';\n border-radius: inherit;\n position: absolute;\n background-color: transparent;\n height: 100%;\n width: 100%;\n padding: 0;\n ", "\n }\n\n &:hover:not([disabled])::before {\n background-color: ", ";\n }\n\n &:active:not([disabled])::before {\n background-color: ", ";\n }\n\n ", "\n ", "\n"], ["\n background-color: ", ";\n border: none;\n position: relative;\n\n &::before {\n content: '';\n border-radius: inherit;\n position: absolute;\n background-color: transparent;\n height: 100%;\n width: 100%;\n padding: 0;\n ", "\n }\n\n &:hover:not([disabled])::before {\n background-color: ", ";\n }\n\n &:active:not([disabled])::before {\n background-color: ", ";\n }\n\n ", "\n ", "\n"])), function (_a) {
|
|
231
305
|
var theme = _a.theme;
|
|
232
306
|
return theme.ui_cpnt_button_fill_base_primary;
|
|
233
307
|
}, transitionStyle_1.ButtonTransition, function (_a) {
|
|
@@ -236,28 +310,51 @@ var primary = (0, styled_components_1.css)(templateObject_14 || (templateObject_
|
|
|
236
310
|
}, function (_a) {
|
|
237
311
|
var theme = _a.theme, isSubmitting = _a.isSubmitting;
|
|
238
312
|
return !isSubmitting && theme.ui_cpnt_button_fill_on_base_pressed;
|
|
313
|
+
}, function (_a) {
|
|
314
|
+
var colorTheme = _a.colorTheme;
|
|
315
|
+
return colorTheme === 'primary1' && primary1;
|
|
239
316
|
}, function (_a) {
|
|
240
317
|
var disabled = _a.disabled;
|
|
241
318
|
return disabled && primaryDisabled;
|
|
242
319
|
});
|
|
243
|
-
var
|
|
320
|
+
var secondary1Disabled = (0, styled_components_1.css)(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n background-color: ", ";\n"], ["\n background-color: ", ";\n"])), function (_a) {
|
|
321
|
+
var theme = _a.theme;
|
|
322
|
+
return theme.ui_cpnt_button_secondary_variation_base_default;
|
|
323
|
+
});
|
|
324
|
+
var secondaryDisabled = (0, styled_components_1.css)(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n background-color: ", ";\n\n ", "\n"], ["\n background-color: ", ";\n\n ", "\n"])), function (_a) {
|
|
244
325
|
var theme = _a.theme;
|
|
245
326
|
return theme.ui_cpnt_button_line_base_hover;
|
|
327
|
+
}, function (_a) {
|
|
328
|
+
var colorTheme = _a.colorTheme;
|
|
329
|
+
return colorTheme === 'secondary1' && secondary1Disabled;
|
|
246
330
|
});
|
|
247
|
-
var
|
|
331
|
+
var secondary1 = (0, styled_components_1.css)(templateObject_18 || (templateObject_18 = __makeTemplateObject(["\n background-color: ", ";\n\n &:hover:not([disabled]) {\n background-color: ", ";\n }\n\n &:active:not([disabled]) {\n background-color: ", ";\n }\n\n &::before {\n content: '';\n display: none;\n }\n\n ", "\n"], ["\n background-color: ", ";\n\n &:hover:not([disabled]) {\n background-color: ", ";\n }\n\n &:active:not([disabled]) {\n background-color: ", ";\n }\n\n &::before {\n content: '';\n display: none;\n }\n\n ", "\n"])), function (_a) {
|
|
332
|
+
var theme = _a.theme;
|
|
333
|
+
return theme.ui_cpnt_button_secondary_variation_base_default;
|
|
334
|
+
}, function (_a) {
|
|
335
|
+
var theme = _a.theme;
|
|
336
|
+
return theme.ui_cpnt_button_secondary_variation_base_hover;
|
|
337
|
+
}, function (_a) {
|
|
338
|
+
var theme = _a.theme;
|
|
339
|
+
return theme.ui_cpnt_button_secondary_variation_base_pressed;
|
|
340
|
+
}, transitionStyle_1.ButtonTransition);
|
|
341
|
+
var secondary = (0, styled_components_1.css)(templateObject_19 || (templateObject_19 = __makeTemplateObject(["\n background-color: ", ";\n border: none;\n position: relative;\n\n &::before {\n content: '';\n border-radius: inherit;\n position: absolute;\n background-color: transparent;\n height: 100%;\n width: 100%;\n padding: 0;\n ", "\n }\n\n &:hover:not([disabled])::before {\n background-color: ", ";\n }\n\n &:active:not([disabled])::before {\n background-color: ", ";\n }\n\n ", "\n ", "\n"], ["\n background-color: ", ";\n border: none;\n position: relative;\n\n &::before {\n content: '';\n border-radius: inherit;\n position: absolute;\n background-color: transparent;\n height: 100%;\n width: 100%;\n padding: 0;\n ", "\n }\n\n &:hover:not([disabled])::before {\n background-color: ", ";\n }\n\n &:active:not([disabled])::before {\n background-color: ", ";\n }\n\n ", "\n ", "\n"])), function (_a) {
|
|
248
342
|
var theme = _a.theme;
|
|
249
343
|
return theme.ui_cpnt_button_line_base_hover;
|
|
250
344
|
}, transitionStyle_1.ButtonTransition, function (_a) {
|
|
251
345
|
var theme = _a.theme, isSubmitting = _a.isSubmitting;
|
|
252
|
-
return !isSubmitting && theme.
|
|
346
|
+
return !isSubmitting && theme.ui_cpnt_button_secondary_on_base_hover;
|
|
253
347
|
}, function (_a) {
|
|
254
348
|
var theme = _a.theme, isSubmitting = _a.isSubmitting;
|
|
255
|
-
return !isSubmitting && theme.
|
|
349
|
+
return !isSubmitting && theme.ui_cpnt_button_secondary_on_base_pressed;
|
|
350
|
+
}, function (_a) {
|
|
351
|
+
var colorTheme = _a.colorTheme;
|
|
352
|
+
return colorTheme === 'secondary1' && secondary1;
|
|
256
353
|
}, function (_a) {
|
|
257
354
|
var disabled = _a.disabled;
|
|
258
355
|
return disabled && secondaryDisabled;
|
|
259
356
|
});
|
|
260
|
-
var S_UploadMainButton = styled_components_1.default.label(
|
|
357
|
+
var S_UploadMainButton = styled_components_1.default.label(templateObject_20 || (templateObject_20 = __makeTemplateObject(["\n align-items: center;\n background-color: transparent;\n border: 1px solid transparent;\n box-sizing: border-box;\n cursor: ", ";\n display: inline-flex;\n justify-content: center;\n\n & > div {\n font-weight: ", ";\n }\n\n ", "\n ", "\n ", "\n ", ";\n"], ["\n align-items: center;\n background-color: transparent;\n border: 1px solid transparent;\n box-sizing: border-box;\n cursor: ", ";\n display: inline-flex;\n justify-content: center;\n\n & > div {\n font-weight: ", ";\n }\n\n ", "\n ", "\n ", "\n ", ";\n"])), function (_a) {
|
|
261
358
|
var disabled = _a.disabled;
|
|
262
359
|
return (disabled ? 'default' : 'pointer');
|
|
263
360
|
}, function (_a) {
|
|
@@ -280,7 +377,7 @@ var S_UploadMainButton = styled_components_1.default.label(templateObject_17 ||
|
|
|
280
377
|
var responsiveMode = _a.responsiveMode;
|
|
281
378
|
return responsiveMode === 'use' && 'width: 100%';
|
|
282
379
|
});
|
|
283
|
-
var S_LoadingUploadMainButton = (0, styled_components_1.default)(S_UploadMainButton)(
|
|
284
|
-
var S_SubmittingUploadMainButton = (0, styled_components_1.default)(S_UploadMainButton)(
|
|
380
|
+
var S_LoadingUploadMainButton = (0, styled_components_1.default)(S_UploadMainButton)(templateObject_21 || (templateObject_21 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), styles_1.skeletonLoadingStyle);
|
|
381
|
+
var S_SubmittingUploadMainButton = (0, styled_components_1.default)(S_UploadMainButton)(templateObject_22 || (templateObject_22 = __makeTemplateObject(["\n cursor: default;\n"], ["\n cursor: default;\n"])));
|
|
285
382
|
exports.default = UploadMainButton;
|
|
286
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19;
|
|
383
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22;
|