pds-dev-kit-web-test 2.5.490 → 2.5.494
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +4 -4
- package/dist/index.js +3 -7
- package/dist/src/common/hooks/useTooltip.js +1 -1
- package/dist/src/common/styles/colorSet/index.d.ts +2 -2
- package/dist/src/common/styles/colorSet/index.js +2 -2
- package/dist/src/common/utils/SystemUIPositionGenerator/hoverTypeSystemUICssGenerator.js +1 -1
- package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.d.ts +1 -2
- package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.js +16 -20
- package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.js +1 -1
- package/dist/src/desktop/components/ChatBubbleListItem/ChatBubbleListItem.d.ts +3 -2
- package/dist/src/desktop/components/ChatBubbleListItem/ChatBubbleListItem.js +8 -3
- package/dist/src/desktop/components/ChatList/Body.d.ts +1 -1
- package/dist/src/desktop/components/index.d.ts +1 -3
- package/dist/src/desktop/components/index.js +1 -6
- package/dist/src/desktop/index.d.ts +1 -1
- package/dist/src/desktop/index.js +2 -4
- package/dist/src/desktop/panels/DesktopHeadlessModal/DesktopHeadlessModal.d.ts +2 -17
- package/dist/src/desktop/panels/DesktopHeadlessModal/DesktopHeadlessModal.js +6 -37
- package/dist/src/hybrid/components/Divider/Divider.d.ts +1 -3
- package/dist/src/hybrid/components/Divider/Divider.js +7 -9
- package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.d.ts +1 -2
- package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.js +16 -20
- package/dist/src/mobile/components/ChatBubbleListItem/ChatBubbleListItem.d.ts +3 -2
- package/dist/src/mobile/components/ChatBubbleListItem/ChatBubbleListItem.js +8 -3
- package/dist/src/mobile/components/ChatList/Body.d.ts +1 -1
- package/dist/src/mobile/components/index.d.ts +1 -3
- package/dist/src/mobile/components/index.js +1 -5
- package/dist/src/mobile/index.d.ts +1 -1
- package/dist/src/mobile/index.js +2 -4
- package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.d.ts +22 -0
- package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.js +1133 -0
- package/dist/src/sub/DynamicLayout/CompositionRenderer/ComponentBlockMatcher.js +4 -1
- package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.d.ts +5 -3
- package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.js +53 -53
- package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionBackground.d.ts +11 -0
- package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionBackground.js +45 -0
- package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.d.ts +10 -0
- package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.js +79 -0
- package/dist/src/sub/DynamicLayout/DynamicLayout.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/DynamicLayout.js +4 -2
- package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.js +24 -2
- package/dist/src/sub/DynamicLayout/components/Section/sectionContext.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.js +3 -1
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.d.ts +12 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.js +76 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.d.ts +4 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.js +47 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.d.ts +12 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.js +76 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.d.ts +12 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.js +76 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.d.ts +12 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.js +76 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.d.ts +40 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.js +36 -177
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_Dark.json +152 -4
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_light.json +150 -2
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/SemanticColor.json +45 -1
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/UIColor.json +262 -9
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/index.d.ts +593 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/ui-type.d.ts +253 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.d.ts +3 -1
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.js +5 -3
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.d.ts +2 -1
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.js +9 -2
- package/dist/src/sub/DynamicLayout/compositionActionTypes.d.ts +139 -0
- package/dist/src/sub/DynamicLayout/compositionActionTypes.js +2 -0
- package/dist/src/sub/DynamicLayout/compositionQueryContext.d.ts +8 -0
- package/dist/src/sub/DynamicLayout/compositionQueryContext.js +14 -0
- package/dist/src/sub/DynamicLayout/mock_componentBlocks.d.ts +776 -0
- package/dist/src/sub/DynamicLayout/mock_componentBlocks.js +4236 -0
- package/dist/src/sub/DynamicLayout/mock_composition.d.ts +3 -0
- package/dist/src/sub/DynamicLayout/mock_composition.js +1607 -0
- package/dist/src/sub/DynamicLayout/mock_contentsCarousel.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/mock_contentsCarousel.js +1111 -0
- package/dist/src/sub/DynamicLayout/mock_contentsList.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/mock_contentsList.js +1091 -0
- package/dist/src/sub/DynamicLayout/mock_queryData.d.ts +96 -0
- package/dist/src/sub/DynamicLayout/mock_queryData.js +2639 -0
- package/dist/src/sub/DynamicLayout/mock_slideBanner.d.ts +842 -0
- package/dist/src/sub/DynamicLayout/mock_slideBanner.js +854 -0
- package/dist/src/sub/DynamicLayout/mock_video.d.ts +368 -0
- package/dist/src/sub/DynamicLayout/mock_video.js +371 -0
- package/dist/src/sub/DynamicLayout/mock_video_cb.d.ts +0 -1
- package/dist/src/sub/DynamicLayout/mock_video_cb.js +4 -5
- package/dist/src/sub/DynamicLayout/mocks.d.ts +8 -961
- package/dist/src/sub/DynamicLayout/mocks.js +55 -4239
- package/dist/src/sub/DynamicLayout/sectionActionTypes.d.ts +4 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +7 -7
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +13 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +18 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.d.ts +10 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +134 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.d.ts +12 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.js +61 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationNextBtn.d.ts +15 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationNextBtn.js +69 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationPrevBtn.d.ts +15 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationPrevBtn.js +69 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.d.ts +9 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.js +87 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.d.ts +4 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.js +849 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.d.ts +43 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.js +162 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.d.ts +39 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.js +182 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useFlexGridLayout.d.ts +18 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useFlexGridLayout.js +229 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useSwiper.d.ts +14 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useSwiper.js +46 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.js +8 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.d.ts +139 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.js +2 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.d.ts +14 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.js +206 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.d.ts +17 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.js +39 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.d.ts +10 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.js +85 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.d.ts +25 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.js +183 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.d.ts +29 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.js +128 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/hooks/useFlexGridLayout.d.ts +18 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/hooks/useFlexGridLayout.js +229 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/index.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/index.js +8 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.d.ts +67 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.js +2 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +39 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.d.ts +14 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +151 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.d.ts +12 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.js +39 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationNextBtn.d.ts +15 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationNextBtn.js +69 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationPrevBtn.d.ts +15 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationPrevBtn.js +69 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.d.ts +20 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.js +173 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.d.ts +9 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.js +87 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.d.ts +4 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.js +849 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.d.ts +43 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.js +162 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useFlexGridLayout.d.ts +18 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useFlexGridLayout.js +229 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useSwiper.d.ts +16 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useSwiper.js +63 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/index.d.ts +1 -0
- package/dist/src/{desktop/components/BoxItem → sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner}/index.js +3 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.d.ts +46 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.js +186 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.d.ts +163 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.js +2 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +31 -7
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.js +3 -28
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.d.ts +0 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.js +5 -15
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +45 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/group.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/replaceUndefinedValues.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +27 -10
- package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +3 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/parseEffectPropEntAnim.d.ts +4 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/parseLayoutPropPadding.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.d.ts +14 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.js +26 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseJsonProperties.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.d.ts +7 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.js +10 -5
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +53 -3
- package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.js +1 -0
- package/dist/src/sub/DynamicLayout/types.d.ts +64 -17
- package/package.json +3 -2
- package/release-note.md +2 -2
- package/dist/src/desktop/components/BoxItem/BoxItem.d.ts +0 -66
- package/dist/src/desktop/components/BoxItem/BoxItem.js +0 -107
- package/dist/src/desktop/components/BoxItem/LeftBox/Checkbox.d.ts +0 -7
- package/dist/src/desktop/components/BoxItem/LeftBox/Checkbox.js +0 -9
- package/dist/src/desktop/components/BoxItem/LeftBox/Image.d.ts +0 -11
- package/dist/src/desktop/components/BoxItem/LeftBox/Image.js +0 -9
- package/dist/src/desktop/components/BoxItem/LeftBox/LeftBox.d.ts +0 -11
- package/dist/src/desktop/components/BoxItem/LeftBox/LeftBox.js +0 -36
- package/dist/src/desktop/components/BoxItem/LeftBox/index.d.ts +0 -2
- package/dist/src/desktop/components/BoxItem/LeftBox/index.js +0 -8
- package/dist/src/desktop/components/BoxItem/index.d.ts +0 -1
- package/dist/src/desktop/components/Snackbar/Snackbar.d.ts +0 -16
- package/dist/src/desktop/components/Snackbar/Snackbar.js +0 -209
- package/dist/src/desktop/components/Snackbar/index.d.ts +0 -1
- package/dist/src/desktop/components/Snackbar/index.js +0 -8
- package/dist/src/desktop/components/Snackbar/provider.d.ts +0 -11
- package/dist/src/desktop/components/Snackbar/provider.js +0 -52
- package/dist/src/mobile/components/BoxItem/BoxItem.d.ts +0 -66
- package/dist/src/mobile/components/BoxItem/BoxItem.js +0 -106
- package/dist/src/mobile/components/BoxItem/LeftBox/Checkbox.d.ts +0 -7
- package/dist/src/mobile/components/BoxItem/LeftBox/Checkbox.js +0 -9
- package/dist/src/mobile/components/BoxItem/LeftBox/Image.d.ts +0 -11
- package/dist/src/mobile/components/BoxItem/LeftBox/Image.js +0 -9
- package/dist/src/mobile/components/BoxItem/LeftBox/LeftBox.d.ts +0 -11
- package/dist/src/mobile/components/BoxItem/LeftBox/LeftBox.js +0 -36
- package/dist/src/mobile/components/BoxItem/LeftBox/index.d.ts +0 -2
- package/dist/src/mobile/components/BoxItem/LeftBox/index.js +0 -8
- package/dist/src/mobile/components/BoxItem/index.d.ts +0 -1
- package/dist/src/mobile/components/BoxItem/index.js +0 -8
- package/dist/src/mobile/components/Snackbar/Snackbar.d.ts +0 -16
- package/dist/src/mobile/components/Snackbar/Snackbar.js +0 -209
- package/dist/src/mobile/components/Snackbar/index.d.ts +0 -1
- package/dist/src/mobile/components/Snackbar/index.js +0 -8
- package/dist/src/mobile/components/Snackbar/provider.d.ts +0 -11
- package/dist/src/mobile/components/Snackbar/provider.js +0 -52
- package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.d.ts +0 -6
- package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.js +0 -27
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
-
return cooked;
|
|
5
|
-
};
|
|
6
|
-
var __assign = (this && this.__assign) || function () {
|
|
7
|
-
__assign = Object.assign || function(t) {
|
|
8
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
9
|
-
s = arguments[i];
|
|
10
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
11
|
-
t[p] = s[p];
|
|
12
|
-
}
|
|
13
|
-
return t;
|
|
14
|
-
};
|
|
15
|
-
return __assign.apply(this, arguments);
|
|
16
|
-
};
|
|
17
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
18
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
19
|
-
};
|
|
20
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
22
|
-
var index_1 = require("../../index");
|
|
23
|
-
var panels_1 = require("../../panels");
|
|
24
|
-
var components_1 = require("../../../hybrid/components");
|
|
25
|
-
var styled_components_1 = __importDefault(require("styled-components"));
|
|
26
|
-
var Chip_1 = require("../Chip");
|
|
27
|
-
var LeftBox_1 = require("./LeftBox");
|
|
28
|
-
var paddingSpacing = {
|
|
29
|
-
spacing_a: 'spacingA',
|
|
30
|
-
spacing_b: 'spacingB',
|
|
31
|
-
spacing_c: 'spacingC',
|
|
32
|
-
spacing_d: 'spacingD',
|
|
33
|
-
spacing_e: 'spacingE',
|
|
34
|
-
spacing_f: 'spacingF',
|
|
35
|
-
spacing_g: 'spacingG',
|
|
36
|
-
spacing_h: 'spacingH',
|
|
37
|
-
spacing_i: 'spacingI',
|
|
38
|
-
spacing_j: 'spacingJ',
|
|
39
|
-
spacing_k: 'spacingK',
|
|
40
|
-
spacing_l: 'spacingL',
|
|
41
|
-
spacing_m: 'spacingM',
|
|
42
|
-
spacing_n: 'spacingN'
|
|
43
|
-
};
|
|
44
|
-
function BoxItem(_a) {
|
|
45
|
-
var _b = _a.selectionMode, selectionMode = _b === void 0 ? 'none' : _b, _c = _a.checkboxMode, checkboxMode = _c === void 0 ? 'none' : _c, _d = _a.indicatorMode, indicatorMode = _d === void 0 ? 'none' : _d, _e = _a.state, state = _e === void 0 ? 'normal' : _e, _f = _a.selectState, selectState = _f === void 0 ? 'unselected' : _f, titleText = _a.titleText, titleFontSize = _a.titleFontSize, _g = _a.titleTextLineLimit, titleTextLineLimit = _g === void 0 ? 2 : _g, _h = _a.titleTextColorKey, titleTextColorKey = _h === void 0 ? 'ui_cpnt_textlabel_sys_primary' : _h, _j = _a.titleTextWordBreak, titleTextWordBreak = _j === void 0 ? 'normal' : _j, descText = _a.descText, _k = _a.descTextColorKey, descTextColorKey = _k === void 0 ? 'ui_cpnt_textlabel_sys_secondary' : _k, _l = _a.descTextWordBreak, descTextWordBreak = _l === void 0 ? 'normal' : _l, _m = _a.descLineLimit, descLineLimit = _m === void 0 ? 2 : _m, _o = _a.imageMode, imageMode = _o === void 0 ? 'none' : _o, _p = _a.imageShapeType, imageShapeType = _p === void 0 ? 'round' : _p, imageSrc = _a.imageSrc, imageWidth = _a.imageWidth, _q = _a.imageRatio, imageRatio = _q === void 0 ? '1_1' : _q, _r = _a.imageScaleType, imageScaleType = _r === void 0 ? 'cover' : _r, _s = _a.chipMode, chipMode = _s === void 0 ? 'none' : _s, chipText = _a.chipText, chipOverrideTextColorKey = _a.chipOverrideTextColorKey, chipOverrideBackgroundColorKey = _a.chipOverrideBackgroundColorKey, _t = _a.displayType, displayType = _t === void 0 ? 'none' : _t, iBtn1IconName = _a.iBtn1IconName, _u = _a.iBtn1IconFillType, iBtn1IconFillType = _u === void 0 ? 'line' : _u, iBtn1IconColorKey = _a.iBtn1IconColorKey, iBtn2IconName = _a.iBtn2IconName, _v = _a.iBtn2IconFillType, iBtn2IconFillType = _v === void 0 ? 'line' : _v, iBtn2IconColorKey = _a.iBtn2IconColorKey, iBtn3IconName = _a.iBtn3IconName, _w = _a.iBtn3IconFillType, iBtn3IconFillType = _w === void 0 ? 'line' : _w, iBtn3IconColorKey = _a.iBtn3IconColorKey, _x = _a.paddingTop, paddingTop = _x === void 0 ? 'spacing_d' : _x, _y = _a.paddingRight, paddingRight = _y === void 0 ? 'spacing_d' : _y, _z = _a.paddingBottom, paddingBottom = _z === void 0 ? 'spacing_d' : _z, _0 = _a.paddingLeft, paddingLeft = _0 === void 0 ? 'spacing_d' : _0, id = _a.id, onClick = _a.onClick, onClickIBtn1 = _a.onClickIBtn1, onClickIBtn2 = _a.onClickIBtn2, onClickIBtn3 = _a.onClickIBtn3;
|
|
46
|
-
var handleClick = function () {
|
|
47
|
-
if (state === 'disabled') {
|
|
48
|
-
return;
|
|
49
|
-
}
|
|
50
|
-
if (onClick) {
|
|
51
|
-
onClick(id);
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
var handleIBtn1Click = function (e) {
|
|
55
|
-
e.stopPropagation();
|
|
56
|
-
if (state === 'disabled') {
|
|
57
|
-
return;
|
|
58
|
-
}
|
|
59
|
-
if (onClickIBtn1) {
|
|
60
|
-
onClickIBtn1(id);
|
|
61
|
-
}
|
|
62
|
-
};
|
|
63
|
-
var handleIBtn2Click = function (e) {
|
|
64
|
-
e.stopPropagation();
|
|
65
|
-
if (state === 'disabled') {
|
|
66
|
-
return;
|
|
67
|
-
}
|
|
68
|
-
if (onClickIBtn2) {
|
|
69
|
-
onClickIBtn2(id);
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
var handleIBtn3Click = function (e) {
|
|
73
|
-
e.stopPropagation();
|
|
74
|
-
if (state === 'disabled') {
|
|
75
|
-
return;
|
|
76
|
-
}
|
|
77
|
-
if (onClickIBtn3) {
|
|
78
|
-
onClickIBtn3(id);
|
|
79
|
-
}
|
|
80
|
-
};
|
|
81
|
-
return ((0, jsx_runtime_1.jsx)(S_BoxItem, __assign({ "x-pds-name": "BoxItem", "x-pds-element-type": "component", "x-pds-device-type": "desktop", onClick: handleClick }, { children: (0, jsx_runtime_1.jsxs)(panels_1.ContentSheet, __assign({ shapeType: "round", radius: 16, width: "100%", height: "responsive", paddingTop: paddingTop, paddingRight: paddingRight, paddingBottom: paddingBottom, paddingLeft: paddingLeft, borderMode: "use", borderColorTheme: state === 'disabled' ? undefined : selectState === 'selected' ? 'blue' : undefined, overrideBorderColorKey: state === 'disabled'
|
|
82
|
-
? 'ui_cpnt_sheet_base'
|
|
83
|
-
: selectState === 'selected'
|
|
84
|
-
? undefined
|
|
85
|
-
: 'ui_cpnt_sheet_base', borderWidth: selectionMode === 'use' ? 2 : undefined, overrideCSS: {
|
|
86
|
-
display: 'flex',
|
|
87
|
-
flexDirection: 'row',
|
|
88
|
-
alignItems: 'center',
|
|
89
|
-
justifyContent: 'space-between',
|
|
90
|
-
maxWidth: '100%',
|
|
91
|
-
cursor: state === 'disabled' ? 'default' : selectionMode === 'use' ? 'pointer' : 'default'
|
|
92
|
-
} }, { children: [(0, jsx_runtime_1.jsxs)(LeftBox_1.LeftBox, __assign({ hasRightBox: displayType !== 'none' || chipMode === 'use' }, { children: [checkboxMode !== 'none' && ((0, jsx_runtime_1.jsx)(LeftBox_1.LeftBox.Checkbox, { selected: selectState === 'selected', isIndeterminate: checkboxMode === 'indeterminate' })), imageMode === 'use' && ((0, jsx_runtime_1.jsx)(LeftBox_1.LeftBox.Image, { shape: imageShapeType, src: imageSrc, width: imageWidth, ratio: imageRatio, scaleType: imageScaleType })), (0, jsx_runtime_1.jsxs)(S_TextGroup, { children: [titleText && ((0, jsx_runtime_1.jsx)(index_1.D_TextLabel, { text: titleText, colorOverride: state === 'disabled' ? 'ui_cpnt_textlabel_sys_secondary' : titleTextColorKey, styleTheme: titleFontSize, lineLimit: titleTextLineLimit, ellipsisMode: "use", wordBreak: titleTextWordBreak })), descText && ((0, jsx_runtime_1.jsx)(index_1.D_TextLabel, { text: descText, colorOverride: state === 'disabled' ? 'ui_cpnt_textlabel_sys_secondary' : descTextColorKey, lineLimit: descLineLimit, ellipsisMode: "use", styleTheme: "caption1Regular", wordBreak: descTextWordBreak }))] })] })), (0, jsx_runtime_1.jsxs)(S_RightBox, __assign({ hasRightBox: displayType !== 'none' || chipMode === 'use' }, { children: [chipMode === 'use' && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(Chip_1.Chip, { text: chipText, overrideBackgroundColorKey: chipOverrideBackgroundColorKey, displayType: "information", overrideTextColorKey: chipOverrideTextColorKey }), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_b" })] })), (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [displayType === 'ibtn_amount1' && ((0, jsx_runtime_1.jsx)(index_1.D_IconButton, { iconName: iBtn1IconName || 'ic_arrow_right', baseSize: "medium", fillType: "fill", iconFillType: iBtn1IconFillType, iconColorKey: iBtn1IconColorKey, onClick: handleIBtn1Click, iconSize: 20, state: state, baseColorKey: "ui_cpnt_button_fill_base_transparent", borderColorKey: "ui_cpnt_button_fill_base_transparent", shapeType: "rectangle" })), displayType === 'ibtn_amount2' && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(index_1.D_IconButton, { iconName: iBtn1IconName || 'ic_arrow_right', fillType: "fill", iconFillType: iBtn1IconFillType, iconColorKey: iBtn1IconColorKey, onClick: handleIBtn1Click, state: state, iconSize: 20, baseColorKey: "ui_cpnt_button_fill_base_transparent", borderColorKey: "ui_cpnt_button_fill_base_transparent", baseSize: "medium", shapeType: "rectangle" }), (0, jsx_runtime_1.jsx)(index_1.D_IconButton, { iconName: iBtn2IconName || 'ic_arrow_right', fillType: "fill", iconFillType: iBtn2IconFillType, iconColorKey: iBtn2IconColorKey, state: state, onClick: handleIBtn2Click, iconSize: 20, baseColorKey: "ui_cpnt_button_fill_base_transparent", borderColorKey: "ui_cpnt_button_fill_base_transparent", baseSize: "medium", shapeType: "rectangle" })] })), displayType === 'ibtn_amount3' && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(index_1.D_IconButton, { iconName: iBtn1IconName || 'ic_arrow_right', fillType: "fill", iconFillType: iBtn1IconFillType, iconColorKey: iBtn1IconColorKey, state: state, onClick: handleIBtn1Click, iconSize: 20, baseColorKey: "ui_cpnt_button_fill_base_transparent", borderColorKey: "ui_cpnt_button_fill_base_transparent", baseSize: "medium", shapeType: "rectangle" }), (0, jsx_runtime_1.jsx)(index_1.D_IconButton, { iconName: iBtn2IconName || 'ic_arrow_right', fillType: "fill", iconFillType: iBtn2IconFillType, iconColorKey: iBtn2IconColorKey, state: state, onClick: handleIBtn2Click, iconSize: 20, baseColorKey: "ui_cpnt_button_fill_base_transparent", borderColorKey: "ui_cpnt_button_fill_base_transparent", baseSize: "medium", shapeType: "rectangle" }), (0, jsx_runtime_1.jsx)(index_1.D_IconButton, { iconName: iBtn3IconName || 'ic_arrow_right', fillType: "fill", iconFillType: iBtn3IconFillType, iconColorKey: iBtn3IconColorKey, state: state, onClick: handleIBtn3Click, iconSize: 20, baseColorKey: "ui_cpnt_button_fill_base_transparent", borderColorKey: "ui_cpnt_button_fill_base_transparent", baseSize: "medium", shapeType: "rectangle" })] }))] }), indicatorMode === 'use' && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_b" }), (0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: "ic_arrow_right", fillType: "line", size: 20, colorKey: "ui_cpnt_icon_sys_grey_01" })] }))] }))] })) })));
|
|
93
|
-
}
|
|
94
|
-
var S_BoxItem = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n flex-direction: row;\n gap: ", ";\n width: 100%;\n"], ["\n align-items: center;\n display: flex;\n flex-direction: row;\n gap: ", ";\n width: 100%;\n"])), function (_a) {
|
|
95
|
-
var theme = _a.theme;
|
|
96
|
-
return theme.spacing.spacingB;
|
|
97
|
-
});
|
|
98
|
-
var S_TextGroup = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n align-items: flex-start;\n display: flex;\n flex-direction: column;\n gap: ", ";\n"], ["\n align-items: flex-start;\n display: flex;\n flex-direction: column;\n gap: ", ";\n"])), function (_a) {
|
|
99
|
-
var theme = _a.theme;
|
|
100
|
-
return theme.spacing.spacingA;
|
|
101
|
-
});
|
|
102
|
-
var S_RightBox = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n flex: ", ";\n flex-direction: row;\n justify-content: flex-end;\n"], ["\n align-items: center;\n display: flex;\n flex: ", ";\n flex-direction: row;\n justify-content: flex-end;\n"])), function (_a) {
|
|
103
|
-
var hasRightBox = _a.hasRightBox;
|
|
104
|
-
return hasRightBox && 3;
|
|
105
|
-
});
|
|
106
|
-
exports.default = BoxItem;
|
|
107
|
-
var templateObject_1, templateObject_2, templateObject_3;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
|
-
var components_1 = require("../../../../hybrid/components");
|
|
5
|
-
var Checkbox = function (_a) {
|
|
6
|
-
var selected = _a.selected, isIndeterminate = _a.isIndeterminate;
|
|
7
|
-
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [selected ? (isIndeterminate ? ((0, jsx_runtime_1.jsx)(components_1.Icon, { size: 20, iconName: "ic_checkbox_indeterminate", colorKey: "ui_cpnt_selcontrols_icon_primary", fillType: "fill" })) : ((0, jsx_runtime_1.jsx)(components_1.Icon, { size: 20, iconName: "ic_checkbox_on", colorKey: "ui_cpnt_selcontrols_icon_primary", fillType: "fill" }))) : ((0, jsx_runtime_1.jsx)(components_1.Icon, { size: 20, iconName: "ic_checkbox_off", colorKey: "ui_cpnt_selcontrols_icon_default", fillType: "line" })), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_c", spacingType: "width" })] }));
|
|
8
|
-
};
|
|
9
|
-
exports.default = Checkbox;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { BoxItemProps } from '../BoxItem';
|
|
3
|
-
export type ImagePropTypes = {
|
|
4
|
-
src: BoxItemProps['imageSrc'];
|
|
5
|
-
shape: BoxItemProps['imageShapeType'];
|
|
6
|
-
ratio: BoxItemProps['imageRatio'];
|
|
7
|
-
width: BoxItemProps['imageWidth'];
|
|
8
|
-
scaleType: BoxItemProps['imageScaleType'];
|
|
9
|
-
};
|
|
10
|
-
declare const Image: React.FC<ImagePropTypes>;
|
|
11
|
-
export default Image;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
|
-
var components_1 = require("../../../../hybrid/components");
|
|
5
|
-
var Image = function (_a) {
|
|
6
|
-
var src = _a.src, shape = _a.shape, ratio = _a.ratio, width = _a.width, scaleType = _a.scaleType;
|
|
7
|
-
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(components_1.ImageView, { width: width, height: 40, src: src, scaleType: scaleType, shapeType: shape, ratio: ratio }), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_c", spacingType: "width" })] }));
|
|
8
|
-
};
|
|
9
|
-
exports.default = Image;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { CheckboxPropTypes } from './Checkbox';
|
|
3
|
-
import type { ImagePropTypes } from './Image';
|
|
4
|
-
type LeftBoxPropTypes = React.FunctionComponent<{
|
|
5
|
-
hasRightBox: boolean;
|
|
6
|
-
}> & {
|
|
7
|
-
Checkbox: React.FC<CheckboxPropTypes>;
|
|
8
|
-
Image: React.FC<ImagePropTypes>;
|
|
9
|
-
};
|
|
10
|
-
declare const LeftBox: LeftBoxPropTypes;
|
|
11
|
-
export default LeftBox;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
-
return cooked;
|
|
5
|
-
};
|
|
6
|
-
var __assign = (this && this.__assign) || function () {
|
|
7
|
-
__assign = Object.assign || function(t) {
|
|
8
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
9
|
-
s = arguments[i];
|
|
10
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
11
|
-
t[p] = s[p];
|
|
12
|
-
}
|
|
13
|
-
return t;
|
|
14
|
-
};
|
|
15
|
-
return __assign.apply(this, arguments);
|
|
16
|
-
};
|
|
17
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
18
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
19
|
-
};
|
|
20
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
22
|
-
var styled_components_1 = __importDefault(require("styled-components"));
|
|
23
|
-
var Checkbox_1 = __importDefault(require("./Checkbox"));
|
|
24
|
-
var Image_1 = __importDefault(require("./Image"));
|
|
25
|
-
var LeftBox = function (_a) {
|
|
26
|
-
var children = _a.children, hasRightBox = _a.hasRightBox;
|
|
27
|
-
return ((0, jsx_runtime_1.jsx)(S_LeftBox, __assign({ hasRightBox: hasRightBox }, { children: children })));
|
|
28
|
-
};
|
|
29
|
-
var S_LeftBox = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n flex: ", ";\n"], ["\n align-items: center;\n display: flex;\n flex: ", ";\n"])), function (_a) {
|
|
30
|
-
var hasRightBox = _a.hasRightBox;
|
|
31
|
-
return (hasRightBox ? 7 : 'auto');
|
|
32
|
-
});
|
|
33
|
-
LeftBox.Checkbox = Checkbox_1.default;
|
|
34
|
-
LeftBox.Image = Image_1.default;
|
|
35
|
-
exports.default = LeftBox;
|
|
36
|
-
var templateObject_1;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.LeftBox = void 0;
|
|
7
|
-
var LeftBox_1 = __importDefault(require("./LeftBox"));
|
|
8
|
-
exports.LeftBox = LeftBox_1.default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as BoxItem } from './BoxItem';
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export type SnackbarPosition = 'top-left' | 'top-center' | 'top-right' | 'right-top' | 'right-center' | 'right-bottom' | 'bottom-left' | 'bottom-center' | 'bottom-right' | 'left-top' | 'left-center' | 'left-bottom' | 'center';
|
|
3
|
-
export interface BaseSnackbarProps {
|
|
4
|
-
message: string;
|
|
5
|
-
actionBtnName?: string;
|
|
6
|
-
position?: SnackbarPosition;
|
|
7
|
-
hideActionBtn?: boolean;
|
|
8
|
-
onActionBtnClick?: () => void;
|
|
9
|
-
duration?: number;
|
|
10
|
-
anchorRef?: React.RefObject<HTMLElement>;
|
|
11
|
-
}
|
|
12
|
-
export interface SnackbarProps extends BaseSnackbarProps {
|
|
13
|
-
onClose: () => void;
|
|
14
|
-
}
|
|
15
|
-
declare const Snackbar: React.FC<SnackbarProps>;
|
|
16
|
-
export default Snackbar;
|
|
@@ -1,209 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
-
return cooked;
|
|
5
|
-
};
|
|
6
|
-
var __assign = (this && this.__assign) || function () {
|
|
7
|
-
__assign = Object.assign || function(t) {
|
|
8
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
9
|
-
s = arguments[i];
|
|
10
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
11
|
-
t[p] = s[p];
|
|
12
|
-
}
|
|
13
|
-
return t;
|
|
14
|
-
};
|
|
15
|
-
return __assign.apply(this, arguments);
|
|
16
|
-
};
|
|
17
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
18
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
19
|
-
};
|
|
20
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
22
|
-
var react_1 = require("react");
|
|
23
|
-
var react_dom_1 = require("react-dom");
|
|
24
|
-
var panels_1 = require("../../panels");
|
|
25
|
-
var components_1 = require("../../../hybrid/components");
|
|
26
|
-
var styled_components_1 = __importDefault(require("styled-components"));
|
|
27
|
-
var IconButton_1 = require("../IconButton");
|
|
28
|
-
var TextButton_1 = require("../TextButton");
|
|
29
|
-
var TextLabel_1 = require("../TextLabel");
|
|
30
|
-
var Snackbar = function (_a) {
|
|
31
|
-
var message = _a.message, _b = _a.actionBtnName, actionBtnName = _b === void 0 ? '' : _b, _c = _a.position, position = _c === void 0 ? 'bottom-center' : _c, _d = _a.hideActionBtn, hideActionBtn = _d === void 0 ? false : _d, onActionBtnClick = _a.onActionBtnClick, onClose = _a.onClose, _e = _a.duration, duration = _e === void 0 ? 2000 : _e, anchorRef = _a.anchorRef;
|
|
32
|
-
var _f = (0, react_1.useState)(false), isVisible = _f[0], setIsVisible = _f[1];
|
|
33
|
-
var _g = (0, react_1.useState)({}), containerStyle = _g[0], setContainerStyle = _g[1];
|
|
34
|
-
var timerRef = (0, react_1.useRef)();
|
|
35
|
-
/*
|
|
36
|
-
* 마운트 시 애니메이션
|
|
37
|
-
*/
|
|
38
|
-
(0, react_1.useEffect)(function () {
|
|
39
|
-
var showTimer = setTimeout(function () {
|
|
40
|
-
setIsVisible(true);
|
|
41
|
-
}, 10);
|
|
42
|
-
return function () { return clearTimeout(showTimer); };
|
|
43
|
-
}, []);
|
|
44
|
-
/*
|
|
45
|
-
* duration 타이머
|
|
46
|
-
*/
|
|
47
|
-
(0, react_1.useEffect)(function () {
|
|
48
|
-
if (duration > 0) {
|
|
49
|
-
timerRef.current = setTimeout(function () {
|
|
50
|
-
handleClose();
|
|
51
|
-
}, duration);
|
|
52
|
-
}
|
|
53
|
-
return function () {
|
|
54
|
-
if (timerRef.current) {
|
|
55
|
-
clearTimeout(timerRef.current);
|
|
56
|
-
}
|
|
57
|
-
};
|
|
58
|
-
}, [duration]);
|
|
59
|
-
/*
|
|
60
|
-
* 스크롤, 리사이즈시 포지션 업데이트
|
|
61
|
-
*/
|
|
62
|
-
(0, react_1.useEffect)(function () {
|
|
63
|
-
var updatePosition = function () {
|
|
64
|
-
if (anchorRef === null || anchorRef === void 0 ? void 0 : anchorRef.current) {
|
|
65
|
-
var rect = anchorRef.current.getBoundingClientRect();
|
|
66
|
-
var style = getAnchorBasedStyle(position, rect);
|
|
67
|
-
setContainerStyle(style);
|
|
68
|
-
}
|
|
69
|
-
else {
|
|
70
|
-
var style = getViewportBasedStyle(position);
|
|
71
|
-
setContainerStyle(style);
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
|
-
// 초기 렌더링 시 약간의 딜레이를 주어 DOM이 완전히 준비되도록 함
|
|
75
|
-
var initialTimer = setTimeout(updatePosition, 0);
|
|
76
|
-
if (anchorRef === null || anchorRef === void 0 ? void 0 : anchorRef.current) {
|
|
77
|
-
window.addEventListener('resize', updatePosition);
|
|
78
|
-
// ResizeObserver로 anchorRef 요소의 크기 변화 감지
|
|
79
|
-
var resizeObserver_1 = new ResizeObserver(updatePosition);
|
|
80
|
-
resizeObserver_1.observe(anchorRef.current);
|
|
81
|
-
return function () {
|
|
82
|
-
clearTimeout(initialTimer);
|
|
83
|
-
window.removeEventListener('resize', updatePosition);
|
|
84
|
-
resizeObserver_1.disconnect();
|
|
85
|
-
};
|
|
86
|
-
}
|
|
87
|
-
updatePosition();
|
|
88
|
-
return function () {
|
|
89
|
-
clearTimeout(initialTimer);
|
|
90
|
-
};
|
|
91
|
-
}, [position, anchorRef]);
|
|
92
|
-
var handleClose = function () {
|
|
93
|
-
setIsVisible(false);
|
|
94
|
-
setTimeout(function () {
|
|
95
|
-
onClose();
|
|
96
|
-
}, 300);
|
|
97
|
-
};
|
|
98
|
-
var handleActionClick = function () {
|
|
99
|
-
if (onActionBtnClick) {
|
|
100
|
-
onActionBtnClick();
|
|
101
|
-
}
|
|
102
|
-
handleClose();
|
|
103
|
-
};
|
|
104
|
-
var getViewportBasedStyle = function (position) {
|
|
105
|
-
var base = {
|
|
106
|
-
position: 'fixed',
|
|
107
|
-
zIndex: 9999
|
|
108
|
-
};
|
|
109
|
-
var offset = 24;
|
|
110
|
-
switch (position) {
|
|
111
|
-
case 'top-left':
|
|
112
|
-
return __assign(__assign({}, base), { top: offset, left: offset });
|
|
113
|
-
case 'top-center':
|
|
114
|
-
return __assign(__assign({}, base), { top: offset, left: '50%', transform: 'translateX(-50%)' });
|
|
115
|
-
case 'top-right':
|
|
116
|
-
return __assign(__assign({}, base), { top: offset, right: offset });
|
|
117
|
-
case 'right-top':
|
|
118
|
-
return __assign(__assign({}, base), { top: offset, right: offset });
|
|
119
|
-
case 'right-center':
|
|
120
|
-
return __assign(__assign({}, base), { top: '50%', right: offset, transform: 'translateY(-50%)' });
|
|
121
|
-
case 'right-bottom':
|
|
122
|
-
return __assign(__assign({}, base), { bottom: offset, right: offset });
|
|
123
|
-
case 'bottom-right':
|
|
124
|
-
return __assign(__assign({}, base), { bottom: offset, right: offset });
|
|
125
|
-
case 'bottom-center':
|
|
126
|
-
return __assign(__assign({}, base), { bottom: offset, left: '50%', transform: 'translateX(-50%)' });
|
|
127
|
-
case 'bottom-left':
|
|
128
|
-
return __assign(__assign({}, base), { bottom: offset, left: offset });
|
|
129
|
-
case 'left-bottom':
|
|
130
|
-
return __assign(__assign({}, base), { bottom: offset, left: offset });
|
|
131
|
-
case 'left-center':
|
|
132
|
-
return __assign(__assign({}, base), { top: '50%', left: offset, transform: 'translateY(-50%)' });
|
|
133
|
-
case 'left-top':
|
|
134
|
-
return __assign(__assign({}, base), { top: offset, left: offset });
|
|
135
|
-
case 'center':
|
|
136
|
-
return __assign(__assign({}, base), { top: '50%', left: '50%', transform: 'translate(-50%, -50%)' });
|
|
137
|
-
default:
|
|
138
|
-
return __assign(__assign({}, base), { bottom: offset, left: '50%', transform: 'translateX(-50%)' });
|
|
139
|
-
}
|
|
140
|
-
};
|
|
141
|
-
var getAnchorBasedStyle = function (position, rect) {
|
|
142
|
-
var base = {
|
|
143
|
-
position: 'fixed',
|
|
144
|
-
zIndex: 9999
|
|
145
|
-
};
|
|
146
|
-
var offset = 24;
|
|
147
|
-
switch (position) {
|
|
148
|
-
case 'top-left':
|
|
149
|
-
return __assign(__assign({}, base), { bottom: window.innerHeight - rect.top + offset, left: rect.left });
|
|
150
|
-
case 'top-center':
|
|
151
|
-
return __assign(__assign({}, base), { bottom: window.innerHeight - rect.top + offset, left: rect.left + rect.width / 2, transform: 'translateX(-50%)' });
|
|
152
|
-
case 'top-right':
|
|
153
|
-
return __assign(__assign({}, base), { bottom: window.innerHeight - rect.top + offset, right: window.innerWidth - rect.right });
|
|
154
|
-
case 'right-top':
|
|
155
|
-
return __assign(__assign({}, base), { top: rect.top, left: rect.right + offset });
|
|
156
|
-
case 'right-center':
|
|
157
|
-
return __assign(__assign({}, base), { top: rect.top + rect.height / 2, left: rect.right + offset, transform: 'translateY(-50%)' });
|
|
158
|
-
case 'right-bottom':
|
|
159
|
-
return __assign(__assign({}, base), { bottom: window.innerHeight - rect.bottom, left: rect.right + offset });
|
|
160
|
-
case 'bottom-right':
|
|
161
|
-
return __assign(__assign({}, base), { top: rect.bottom + offset, right: window.innerWidth - rect.right });
|
|
162
|
-
case 'bottom-center':
|
|
163
|
-
return __assign(__assign({}, base), { top: rect.bottom + offset, left: rect.left + rect.width / 2, transform: 'translateX(-50%)' });
|
|
164
|
-
case 'bottom-left':
|
|
165
|
-
return __assign(__assign({}, base), { top: rect.bottom + offset, left: rect.left });
|
|
166
|
-
case 'left-bottom':
|
|
167
|
-
return __assign(__assign({}, base), { bottom: window.innerHeight - rect.bottom, right: window.innerWidth - rect.left + offset });
|
|
168
|
-
case 'left-center':
|
|
169
|
-
return __assign(__assign({}, base), { top: rect.top + rect.height / 2, right: window.innerWidth - rect.left + offset, transform: 'translateY(-50%)' });
|
|
170
|
-
case 'left-top':
|
|
171
|
-
return __assign(__assign({}, base), { top: rect.top, right: window.innerWidth - rect.left + offset });
|
|
172
|
-
case 'center':
|
|
173
|
-
return __assign(__assign({}, base), { top: rect.top + rect.height / 2, left: rect.left + rect.width / 2, transform: 'translate(-50%, -50%)' });
|
|
174
|
-
default:
|
|
175
|
-
return __assign(__assign({}, base), { top: rect.bottom + offset, left: rect.left + rect.width / 2, transform: 'translateX(-50%)' });
|
|
176
|
-
}
|
|
177
|
-
};
|
|
178
|
-
var snackbarContent = ((0, jsx_runtime_1.jsx)(S_Container, __assign({ style: containerStyle }, { children: (0, jsx_runtime_1.jsx)(S_SnackbarWrapper, __assign({ position: position, isVisible: isVisible }, { children: (0, jsx_runtime_1.jsxs)(panels_1.SectionSheet, __assign({ shapeType: "round", radius: 8, paddingTop: "none", paddingRight: "none", paddingBottom: "none", paddingLeft: "spacing_d", width: "max-content", height: "auto", overrideBackgroundColorKey: "ui_cpnt_snackbar_base", overrideCSS: {
|
|
179
|
-
display: 'flex',
|
|
180
|
-
alignItems: 'center',
|
|
181
|
-
justifyContent: 'space-between',
|
|
182
|
-
maxWidth: '640px'
|
|
183
|
-
} }, { children: [(0, jsx_runtime_1.jsxs)("div", __assign({ style: { flex: 1 } }, { children: [(0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_c" }), (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: message, styleTheme: "caption1Regular", colorOverride: "ui_cpnt_snackbar_text", wordBreak: "break_all", ellipsisMode: "use", lineLimit: 2 }), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_c" })] })), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_d", spacingType: "width" }), (0, jsx_runtime_1.jsxs)(S_Buttons, { children: [onActionBtnClick && actionBtnName && ((0, jsx_runtime_1.jsx)(TextButton_1.TextButton, { text: actionBtnName, colorTheme: "grey_01", size: "xsmall", onClick: handleActionClick })), !hideActionBtn && ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { iconName: "ic_xmark", iconColorKey: "ui_cpnt_snackbar_text", iconSize: 16, baseSize: "medium", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconFillType: "fill", onClick: handleClose })), hideActionBtn && actionBtnName && (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_b", spacingType: "width" })] })] })) })) })));
|
|
184
|
-
return (0, react_dom_1.createPortal)(snackbarContent, document.body);
|
|
185
|
-
};
|
|
186
|
-
var S_Container = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n pointer-events: none;\n width: max-content;\n & > * {\n pointer-events: auto;\n }\n"], ["\n pointer-events: none;\n width: max-content;\n & > * {\n pointer-events: auto;\n }\n"])));
|
|
187
|
-
var getInitialTransform = function (position) {
|
|
188
|
-
if (position.startsWith('top-'))
|
|
189
|
-
return 'translateY(-10px)';
|
|
190
|
-
if (position.startsWith('bottom-'))
|
|
191
|
-
return 'translateY(10px)';
|
|
192
|
-
if (position.startsWith('left-'))
|
|
193
|
-
return 'translateX(-10px)';
|
|
194
|
-
if (position.startsWith('right-'))
|
|
195
|
-
return 'translateX(10px)';
|
|
196
|
-
if (position === 'center')
|
|
197
|
-
return 'scale(0.95)';
|
|
198
|
-
return 'translateY(0)';
|
|
199
|
-
};
|
|
200
|
-
var S_SnackbarWrapper = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n justify-content: center;\n max-width: 640px;\n opacity: ", ";\n transform: ", ";\n transition: opacity 0.3s ease, transform 0.3s ease;\n width: max-content;\n"], ["\n display: flex;\n justify-content: center;\n max-width: 640px;\n opacity: ", ";\n transform: ", ";\n transition: opacity 0.3s ease, transform 0.3s ease;\n width: max-content;\n"])), function (_a) {
|
|
201
|
-
var isVisible = _a.isVisible;
|
|
202
|
-
return (isVisible ? 1 : 0);
|
|
203
|
-
}, function (_a) {
|
|
204
|
-
var isVisible = _a.isVisible, position = _a.position;
|
|
205
|
-
return isVisible ? 'translate(0, 0) scale(1)' : getInitialTransform(position);
|
|
206
|
-
});
|
|
207
|
-
var S_Buttons = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n"], ["\n align-items: center;\n display: flex;\n"])));
|
|
208
|
-
exports.default = Snackbar;
|
|
209
|
-
var templateObject_1, templateObject_2, templateObject_3;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as Snackbar } from './Snackbar';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Snackbar = void 0;
|
|
7
|
-
var Snackbar_1 = require("./Snackbar");
|
|
8
|
-
Object.defineProperty(exports, "Snackbar", { enumerable: true, get: function () { return __importDefault(Snackbar_1).default; } });
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { BaseSnackbarProps } from './Snackbar';
|
|
3
|
-
interface SnackbarContextType {
|
|
4
|
-
showSnackbar: (props: BaseSnackbarProps) => void;
|
|
5
|
-
hideSnackbar: (id: string) => void;
|
|
6
|
-
}
|
|
7
|
-
export declare const SnackbarProvider: ({ children }: {
|
|
8
|
-
children: ReactNode;
|
|
9
|
-
}) => JSX.Element;
|
|
10
|
-
export declare const useSnackbar: () => SnackbarContextType;
|
|
11
|
-
export {};
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
14
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
15
|
-
if (ar || !(i in from)) {
|
|
16
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
17
|
-
ar[i] = from[i];
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
21
|
-
};
|
|
22
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
23
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.useSnackbar = exports.SnackbarProvider = void 0;
|
|
27
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
-
var react_1 = require("react");
|
|
29
|
-
var Snackbar_1 = __importDefault(require("./Snackbar"));
|
|
30
|
-
var SnackbarContext = (0, react_1.createContext)(null);
|
|
31
|
-
var SnackbarProvider = function (_a) {
|
|
32
|
-
var children = _a.children;
|
|
33
|
-
var _b = (0, react_1.useState)([]), snackbarList = _b[0], setSnackbarList = _b[1];
|
|
34
|
-
var value = (0, react_1.useMemo)(function () { return ({
|
|
35
|
-
showSnackbar: function (props) {
|
|
36
|
-
var id = crypto.randomUUID();
|
|
37
|
-
setSnackbarList(function (prev) { return __spreadArray(__spreadArray([], prev, true), [__assign(__assign({}, props), { id: id })], false); });
|
|
38
|
-
},
|
|
39
|
-
hideSnackbar: function (id) {
|
|
40
|
-
setSnackbarList(function (prev) { return prev.filter(function (snackbar) { return snackbar.id !== id; }); });
|
|
41
|
-
}
|
|
42
|
-
}); }, []);
|
|
43
|
-
return ((0, jsx_runtime_1.jsxs)(SnackbarContext.Provider, __assign({ value: value }, { children: [children, snackbarList.map(function (snackbar) { return ((0, jsx_runtime_1.jsx)(Snackbar_1.default, { message: snackbar.message, actionBtnName: snackbar.actionBtnName, position: snackbar.position, hideActionBtn: snackbar.hideActionBtn, onActionBtnClick: snackbar.onActionBtnClick, duration: snackbar.duration, anchorRef: snackbar.anchorRef, onClose: function () { return value.hideSnackbar(snackbar.id); } }, snackbar.id)); })] })));
|
|
44
|
-
};
|
|
45
|
-
exports.SnackbarProvider = SnackbarProvider;
|
|
46
|
-
var useSnackbar = function () {
|
|
47
|
-
var context = (0, react_1.useContext)(SnackbarContext);
|
|
48
|
-
if (!context)
|
|
49
|
-
throw new Error('useSnackbar must be used within a SnackbarProvider');
|
|
50
|
-
return context;
|
|
51
|
-
};
|
|
52
|
-
exports.useSnackbar = useSnackbar;
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { PDSIconType, PDSTextType, UiColors } from '../../../common/types';
|
|
3
|
-
type PaddingSpacingType = 'none' | keyof typeof paddingSpacing;
|
|
4
|
-
export type BoxItemProps = {
|
|
5
|
-
selectionMode?: 'none' | 'use';
|
|
6
|
-
state?: 'normal' | 'disabled';
|
|
7
|
-
checkboxMode?: 'none' | 'check' | 'indeterminate';
|
|
8
|
-
indicatorMode?: 'none' | 'use';
|
|
9
|
-
selectState?: 'unselected' | 'selected';
|
|
10
|
-
titleText?: PDSTextType;
|
|
11
|
-
titleFontSize?: 'subTitleBold' | 'leadParaBold' | 'body2Bold' | 'headingBold';
|
|
12
|
-
titleTextLineLimit?: number;
|
|
13
|
-
titleTextColorKey?: UiColors;
|
|
14
|
-
titleTextWordBreak?: 'normal' | 'break_all' | 'keep_all' | 'break_word';
|
|
15
|
-
descText?: PDSTextType;
|
|
16
|
-
descTextColorKey?: UiColors;
|
|
17
|
-
descLineLimit?: number;
|
|
18
|
-
descTextWordBreak?: 'normal' | 'break_all' | 'keep_all' | 'break_word';
|
|
19
|
-
imageMode?: 'use' | 'none';
|
|
20
|
-
imageShapeType?: 'round' | 'circular' | 'rectangle';
|
|
21
|
-
imageSrc?: string;
|
|
22
|
-
imageWidth?: number | 'responsive';
|
|
23
|
-
imageRatio?: '16_9' | '4_3' | '1_1';
|
|
24
|
-
imageScaleType?: 'none' | 'cover' | 'contain' | 'fill';
|
|
25
|
-
chipMode?: 'use' | 'none';
|
|
26
|
-
chipText?: PDSTextType;
|
|
27
|
-
chipOverrideTextColorKey?: UiColors;
|
|
28
|
-
chipOverrideBackgroundColorKey?: UiColors;
|
|
29
|
-
displayType?: 'none' | 'ibtn_amount1' | 'ibtn_amount2' | 'ibtn_amount3';
|
|
30
|
-
iBtn1IconName?: PDSIconType;
|
|
31
|
-
iBtn1IconFillType?: 'fill' | 'line';
|
|
32
|
-
iBtn1IconColorKey?: UiColors;
|
|
33
|
-
iBtn2IconName?: PDSIconType;
|
|
34
|
-
iBtn2IconFillType?: 'fill' | 'line';
|
|
35
|
-
iBtn2IconColorKey?: UiColors;
|
|
36
|
-
iBtn3IconName?: PDSIconType;
|
|
37
|
-
iBtn3IconFillType?: 'fill' | 'line';
|
|
38
|
-
iBtn3IconColorKey?: UiColors;
|
|
39
|
-
paddingTop?: PaddingSpacingType;
|
|
40
|
-
paddingRight?: PaddingSpacingType;
|
|
41
|
-
paddingBottom?: PaddingSpacingType;
|
|
42
|
-
paddingLeft?: PaddingSpacingType;
|
|
43
|
-
id: number | string;
|
|
44
|
-
onClick?: (id: number | string) => void;
|
|
45
|
-
onClickIBtn1?: (id: number | string) => void;
|
|
46
|
-
onClickIBtn2?: (id: number | string) => void;
|
|
47
|
-
onClickIBtn3?: (id: number | string) => void;
|
|
48
|
-
};
|
|
49
|
-
declare const paddingSpacing: {
|
|
50
|
-
readonly spacing_a: "spacingA";
|
|
51
|
-
readonly spacing_b: "spacingB";
|
|
52
|
-
readonly spacing_c: "spacingC";
|
|
53
|
-
readonly spacing_d: "spacingD";
|
|
54
|
-
readonly spacing_e: "spacingE";
|
|
55
|
-
readonly spacing_f: "spacingF";
|
|
56
|
-
readonly spacing_g: "spacingG";
|
|
57
|
-
readonly spacing_h: "spacingH";
|
|
58
|
-
readonly spacing_i: "spacingI";
|
|
59
|
-
readonly spacing_j: "spacingJ";
|
|
60
|
-
readonly spacing_k: "spacingK";
|
|
61
|
-
readonly spacing_l: "spacingL";
|
|
62
|
-
readonly spacing_m: "spacingM";
|
|
63
|
-
readonly spacing_n: "spacingN";
|
|
64
|
-
};
|
|
65
|
-
declare function BoxItem({ selectionMode, checkboxMode, indicatorMode, state, selectState, titleText, titleFontSize, titleTextLineLimit, titleTextColorKey, titleTextWordBreak, descText, descTextColorKey, descLineLimit, descTextWordBreak, imageMode, imageShapeType, imageSrc, imageWidth, imageRatio, imageScaleType, chipMode, chipText, chipOverrideTextColorKey, chipOverrideBackgroundColorKey, displayType, iBtn1IconName, iBtn1IconFillType, iBtn1IconColorKey, iBtn2IconName, iBtn2IconFillType, iBtn2IconColorKey, iBtn3IconName, iBtn3IconFillType, iBtn3IconColorKey, paddingTop, paddingRight, paddingBottom, paddingLeft, id, onClick, onClickIBtn1, onClickIBtn2, onClickIBtn3 }: BoxItemProps): JSX.Element;
|
|
66
|
-
export default BoxItem;
|