pds-dev-kit-web-test 2.5.418 → 2.5.419

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.
Files changed (41) hide show
  1. package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.d.ts +3 -1
  2. package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.js +5 -3
  3. package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.d.ts +2 -1
  4. package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.js +9 -2
  5. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.js +24 -0
  6. package/dist/src/sub/DynamicLayout/mock_contentsList.js +9 -1
  7. package/dist/src/sub/DynamicLayout/mock_slideBanner.d.ts +32 -0
  8. package/dist/src/sub/DynamicLayout/mock_slideBanner.js +35 -3
  9. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +14 -2
  10. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigation.d.ts +5 -1
  11. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigation.js +2 -2
  12. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.d.ts +3 -1
  13. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.js +12 -20
  14. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.d.ts +3 -1
  15. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.js +10 -10
  16. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.d.ts +24 -8
  17. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.js +98 -32
  18. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.d.ts +2 -2
  19. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.js +78 -0
  20. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.d.ts +30 -0
  21. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.js +1 -1
  22. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.d.ts +3 -1
  23. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.js +16 -16
  24. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.d.ts +15 -13
  25. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.js +34 -27
  26. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.d.ts +1 -1
  27. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.js +26 -0
  28. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.d.ts +10 -0
  29. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +19 -3
  30. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigation.d.ts +5 -1
  31. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigation.js +2 -2
  32. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.d.ts +3 -1
  33. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.js +12 -20
  34. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.d.ts +3 -1
  35. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.js +10 -10
  36. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.d.ts +24 -8
  37. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.js +98 -32
  38. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.d.ts +3 -3
  39. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.js +104 -0
  40. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.d.ts +40 -0
  41. package/package.json +1 -1
@@ -22,75 +22,141 @@ exports.ProgressDesign8 = exports.ProgressDesign7 = exports.ProgressDesign6 = ex
22
22
  var jsx_runtime_1 = require("react/jsx-runtime");
23
23
  var styled_components_1 = __importDefault(require("styled-components"));
24
24
  var ProgressDesign1 = function (_a) {
25
- var progress = _a.progress, leftTimeSec = _a.leftTimeSec;
26
- return ((0, jsx_runtime_1.jsxs)(S_ProgressDesign1, { children: [(0, jsx_runtime_1.jsxs)("svg", __assign({ viewBox: "0 0 48 48", style: {
25
+ var progress = _a.progress, leftTimeSec = _a.leftTimeSec, progressColor = _a.progressColor, bufferColor = _a.bufferColor;
26
+ return ((0, jsx_runtime_1.jsxs)(S_ProgressDesign1, __assign({ barColor: progressColor, bgColor: bufferColor }, { children: [(0, jsx_runtime_1.jsxs)("svg", __assign({ viewBox: "0 0 48 48", style: {
27
27
  '--progress': 1 - progress,
28
28
  transition: 'all 0.03s ease-out'
29
- } }, { children: [(0, jsx_runtime_1.jsx)("circle", { cx: "24", cy: "24", r: "20", className: "bg-circle" }), (0, jsx_runtime_1.jsx)("circle", { cx: "24", cy: "24", r: "20", className: "progress-circle" })] })), (0, jsx_runtime_1.jsx)("span", { children: Math.ceil(leftTimeSec) })] }));
29
+ } }, { children: [(0, jsx_runtime_1.jsx)("circle", { cx: "24", cy: "24", r: "20", className: "bg-circle" }), (0, jsx_runtime_1.jsx)("circle", { cx: "24", cy: "24", r: "20", className: "progress-circle" })] })), (0, jsx_runtime_1.jsx)("span", { children: Math.ceil(leftTimeSec) })] })));
30
30
  };
31
31
  exports.ProgressDesign1 = ProgressDesign1;
32
32
  var ProgressDesign2 = function (_a) {
33
- var progress = _a.progress, leftTimeSec = _a.leftTimeSec;
34
- return ((0, jsx_runtime_1.jsxs)(S_ProgressDesign2, { children: [(0, jsx_runtime_1.jsxs)("svg", __assign({ viewBox: "0 0 48 48", style: {
33
+ var progress = _a.progress, leftTimeSec = _a.leftTimeSec, progressColor = _a.progressColor, bufferColor = _a.bufferColor;
34
+ return ((0, jsx_runtime_1.jsxs)(S_ProgressDesign2, __assign({ barColor: progressColor, bgColor: bufferColor }, { children: [(0, jsx_runtime_1.jsxs)("svg", __assign({ viewBox: "0 0 48 48", style: {
35
35
  '--progress': 1 - progress,
36
36
  transition: 'all 0.03s linear'
37
- } }, { children: [(0, jsx_runtime_1.jsx)("circle", { cx: "24", cy: "24", r: "20", className: "bg-circle" }), (0, jsx_runtime_1.jsx)("circle", { cx: "24", cy: "24", r: "20", className: "progress-circle" })] })), (0, jsx_runtime_1.jsx)("span", { children: Math.ceil(leftTimeSec) })] }));
37
+ } }, { children: [(0, jsx_runtime_1.jsx)("circle", { cx: "24", cy: "24", r: "20", className: "bg-circle" }), (0, jsx_runtime_1.jsx)("circle", { cx: "24", cy: "24", r: "20", className: "progress-circle" })] })), (0, jsx_runtime_1.jsx)("span", { children: Math.ceil(leftTimeSec) })] })));
38
38
  };
39
39
  exports.ProgressDesign2 = ProgressDesign2;
40
40
  var ProgressDesign3 = function (_a) {
41
- var progress = _a.progress;
42
- return ((0, jsx_runtime_1.jsx)(S_ProgressDesign3, { children: (0, jsx_runtime_1.jsxs)("svg", __assign({ viewBox: "0 0 48 48", style: {
41
+ var progress = _a.progress, progressColor = _a.progressColor, bufferColor = _a.bufferColor;
42
+ return ((0, jsx_runtime_1.jsx)(S_ProgressDesign3, __assign({ barColor: progressColor, bgColor: bufferColor }, { children: (0, jsx_runtime_1.jsxs)("svg", __assign({ viewBox: "0 0 48 48", style: {
43
43
  '--progress': 1 - progress,
44
44
  transition: 'all 0.03s ease-out'
45
- } }, { children: [(0, jsx_runtime_1.jsx)("circle", { cx: "24", cy: "24", r: "20", className: "bg-circle" }), (0, jsx_runtime_1.jsx)("circle", { cx: "24", cy: "24", r: "20", className: "progress-circle" })] })) }));
45
+ } }, { children: [(0, jsx_runtime_1.jsx)("circle", { cx: "24", cy: "24", r: "20", className: "bg-circle" }), (0, jsx_runtime_1.jsx)("circle", { cx: "24", cy: "24", r: "20", className: "progress-circle" })] })) })));
46
46
  };
47
47
  exports.ProgressDesign3 = ProgressDesign3;
48
48
  var ProgressDesign4 = function (_a) {
49
- var progress = _a.progress;
50
- return ((0, jsx_runtime_1.jsx)(S_ProgressDesign4, { children: (0, jsx_runtime_1.jsxs)("svg", __assign({ viewBox: "0 0 48 48", style: {
49
+ var progress = _a.progress, progressColor = _a.progressColor, bufferColor = _a.bufferColor;
50
+ return ((0, jsx_runtime_1.jsx)(S_ProgressDesign4, __assign({ barColor: progressColor, bgColor: bufferColor }, { children: (0, jsx_runtime_1.jsxs)("svg", __assign({ viewBox: "0 0 48 48", style: {
51
51
  '--progress': 1 - progress,
52
52
  transition: 'all 0.03s linear'
53
- } }, { children: [(0, jsx_runtime_1.jsx)("circle", { cx: "24", cy: "24", r: "20", className: "bg-circle" }), (0, jsx_runtime_1.jsx)("circle", { cx: "24", cy: "24", r: "20", className: "progress-circle" })] })) }));
53
+ } }, { children: [(0, jsx_runtime_1.jsx)("circle", { cx: "24", cy: "24", r: "20", className: "bg-circle" }), (0, jsx_runtime_1.jsx)("circle", { cx: "24", cy: "24", r: "20", className: "progress-circle" })] })) })));
54
54
  };
55
55
  exports.ProgressDesign4 = ProgressDesign4;
56
56
  var ProgressDesign5 = function (_a) {
57
- var progress = _a.progress;
58
- return ((0, jsx_runtime_1.jsx)(S_ProgressDesign5, { children: (0, jsx_runtime_1.jsx)("div", __assign({ className: "progress-bar-container" }, { children: (0, jsx_runtime_1.jsx)("div", { className: "progress-bar-fill", style: {
57
+ var progress = _a.progress, progressColor = _a.progressColor, bufferColor = _a.bufferColor;
58
+ return ((0, jsx_runtime_1.jsx)(S_ProgressDesign5, __assign({ barColor: progressColor, bgColor: bufferColor }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ className: "progress-bar-container" }, { children: (0, jsx_runtime_1.jsx)("div", { className: "progress-bar-fill", style: {
59
59
  '--progress': 1 - progress,
60
60
  transition: 'all 0.03s ease-out'
61
- } }) })) }));
61
+ } }) })) })));
62
62
  };
63
63
  exports.ProgressDesign5 = ProgressDesign5;
64
64
  var ProgressDesign6 = function (_a) {
65
- var progress = _a.progress;
66
- return ((0, jsx_runtime_1.jsx)(S_ProgressDesign6, { children: (0, jsx_runtime_1.jsx)("div", __assign({ className: "progress-bar-container" }, { children: (0, jsx_runtime_1.jsx)("div", { className: "progress-bar-fill", style: {
65
+ var progress = _a.progress, progressColor = _a.progressColor, bufferColor = _a.bufferColor;
66
+ return ((0, jsx_runtime_1.jsx)(S_ProgressDesign6, __assign({ barColor: progressColor, bgColor: bufferColor }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ className: "progress-bar-container" }, { children: (0, jsx_runtime_1.jsx)("div", { className: "progress-bar-fill", style: {
67
67
  '--progress': 1 - progress,
68
68
  transition: 'all 0.03s ease-out'
69
- } }) })) }));
69
+ } }) })) })));
70
70
  };
71
71
  exports.ProgressDesign6 = ProgressDesign6;
72
72
  var ProgressDesign7 = function (_a) {
73
- var progress = _a.progress;
74
- return ((0, jsx_runtime_1.jsx)(S_ProgressDesign7, { children: (0, jsx_runtime_1.jsx)("div", __assign({ className: "progress-bar-container" }, { children: (0, jsx_runtime_1.jsx)("div", { className: "progress-bar-fill", style: {
73
+ var progress = _a.progress, progressColor = _a.progressColor, bufferColor = _a.bufferColor;
74
+ return ((0, jsx_runtime_1.jsx)(S_ProgressDesign7, __assign({ barColor: progressColor, bgColor: bufferColor }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ className: "progress-bar-container" }, { children: (0, jsx_runtime_1.jsx)("div", { className: "progress-bar-fill", style: {
75
75
  '--progress': 1 - progress,
76
76
  transition: 'all 0.03s ease-out'
77
- } }) })) }));
77
+ } }) })) })));
78
78
  };
79
79
  exports.ProgressDesign7 = ProgressDesign7;
80
80
  var ProgressDesign8 = function (_a) {
81
- var progress = _a.progress;
82
- return ((0, jsx_runtime_1.jsx)(S_ProgressDesign8, { children: (0, jsx_runtime_1.jsx)("div", __assign({ className: "progress-bar-container" }, { children: (0, jsx_runtime_1.jsx)("div", { className: "progress-bar-fill", style: {
81
+ var progress = _a.progress, progressColor = _a.progressColor, bufferColor = _a.bufferColor;
82
+ return ((0, jsx_runtime_1.jsx)(S_ProgressDesign8, __assign({ barColor: progressColor, bgColor: bufferColor }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ className: "progress-bar-container" }, { children: (0, jsx_runtime_1.jsx)("div", { className: "progress-bar-fill", style: {
83
83
  '--progress': 1 - progress,
84
84
  transition: 'all 0.03s ease-out'
85
- } }) })) }));
85
+ } }) })) })));
86
86
  };
87
87
  exports.ProgressDesign8 = ProgressDesign8;
88
- var S_ProgressDesign1 = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n color: #ffffff;\n display: flex;\n font-weight: bold;\n height: 48px;\n justify-content: center;\n width: 48px;\n\n svg {\n --progress: 0;\n fill: none;\n height: calc(100% - 10px);\n left: 5px;\n position: absolute;\n stroke: #ffffff;\n stroke-dasharray: 125.6;\n stroke-dashoffset: calc(125.6px * (1 - var(--progress)));\n stroke-width: 4px;\n top: 5px;\n transform: rotate(-90deg);\n width: calc(100% - 10px);\n z-index: 10;\n\n .bg-circle {\n stroke: rgba(255, 255, 255, 0.2);\n stroke-dasharray: none;\n stroke-width: 4px;\n }\n }\n"], ["\n align-items: center;\n color: #ffffff;\n display: flex;\n font-weight: bold;\n height: 48px;\n justify-content: center;\n width: 48px;\n\n svg {\n --progress: 0;\n fill: none;\n height: calc(100% - 10px);\n left: 5px;\n position: absolute;\n stroke: #ffffff;\n stroke-dasharray: 125.6;\n stroke-dashoffset: calc(125.6px * (1 - var(--progress)));\n stroke-width: 4px;\n top: 5px;\n transform: rotate(-90deg);\n width: calc(100% - 10px);\n z-index: 10;\n\n .bg-circle {\n stroke: rgba(255, 255, 255, 0.2);\n stroke-dasharray: none;\n stroke-width: 4px;\n }\n }\n"])));
89
- var S_ProgressDesign2 = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n align-items: center;\n color: #333333;\n display: flex;\n font-weight: bold;\n height: 48px;\n justify-content: center;\n width: 48px;\n\n svg {\n --progress: 0;\n fill: none;\n height: calc(100% - 10px);\n left: 5px;\n position: absolute;\n stroke: #333333;\n stroke-dasharray: 125.6;\n stroke-dashoffset: calc(125.6px * (1 - var(--progress)));\n stroke-width: 4px;\n top: 5px;\n transform: rotate(-90deg);\n width: calc(100% - 10px);\n z-index: 10;\n\n .bg-circle {\n stroke: rgba(0, 0, 0, 0.2);\n stroke-dasharray: none;\n stroke-width: 4px;\n }\n }\n\n span {\n font-size: 11px;\n z-index: 11;\n }\n"], ["\n align-items: center;\n color: #333333;\n display: flex;\n font-weight: bold;\n height: 48px;\n justify-content: center;\n width: 48px;\n\n svg {\n --progress: 0;\n fill: none;\n height: calc(100% - 10px);\n left: 5px;\n position: absolute;\n stroke: #333333;\n stroke-dasharray: 125.6;\n stroke-dashoffset: calc(125.6px * (1 - var(--progress)));\n stroke-width: 4px;\n top: 5px;\n transform: rotate(-90deg);\n width: calc(100% - 10px);\n z-index: 10;\n\n .bg-circle {\n stroke: rgba(0, 0, 0, 0.2);\n stroke-dasharray: none;\n stroke-width: 4px;\n }\n }\n\n span {\n font-size: 11px;\n z-index: 11;\n }\n"])));
90
- var S_ProgressDesign3 = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n align-items: center;\n color: #ffffff;\n display: flex;\n font-weight: bold;\n height: 48px;\n justify-content: center;\n width: 48px;\n\n svg {\n --progress: 0;\n fill: none;\n height: calc(100% - 10px);\n left: 5px;\n position: absolute;\n stroke: #ffffff;\n stroke-dasharray: 125.6;\n stroke-dashoffset: calc(125.6px * (1 - var(--progress)));\n stroke-width: 4px;\n top: 5px;\n transform: rotate(-90deg);\n width: calc(100% - 10px);\n z-index: 10;\n\n .bg-circle {\n stroke: rgba(255, 255, 255, 0.2);\n stroke-dasharray: none;\n stroke-width: 4px;\n }\n }\n"], ["\n align-items: center;\n color: #ffffff;\n display: flex;\n font-weight: bold;\n height: 48px;\n justify-content: center;\n width: 48px;\n\n svg {\n --progress: 0;\n fill: none;\n height: calc(100% - 10px);\n left: 5px;\n position: absolute;\n stroke: #ffffff;\n stroke-dasharray: 125.6;\n stroke-dashoffset: calc(125.6px * (1 - var(--progress)));\n stroke-width: 4px;\n top: 5px;\n transform: rotate(-90deg);\n width: calc(100% - 10px);\n z-index: 10;\n\n .bg-circle {\n stroke: rgba(255, 255, 255, 0.2);\n stroke-dasharray: none;\n stroke-width: 4px;\n }\n }\n"])));
91
- var S_ProgressDesign4 = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n align-items: center;\n color: #333333;\n display: flex;\n font-weight: bold;\n height: 48px;\n justify-content: center;\n width: 48px;\n\n svg {\n --progress: 0;\n fill: none;\n height: calc(100% - 10px);\n left: 5px;\n position: absolute;\n stroke: #333333;\n stroke-dasharray: 125.6;\n stroke-dashoffset: calc(125.6px * (1 - var(--progress)));\n stroke-width: 4px;\n top: 5px;\n transform: rotate(-90deg);\n width: calc(100% - 10px);\n z-index: 10;\n\n .bg-circle {\n stroke: rgba(0, 0, 0, 0.2);\n stroke-dasharray: none;\n stroke-width: 4px;\n }\n }\n\n span {\n font-size: 11px;\n z-index: 11;\n }\n"], ["\n align-items: center;\n color: #333333;\n display: flex;\n font-weight: bold;\n height: 48px;\n justify-content: center;\n width: 48px;\n\n svg {\n --progress: 0;\n fill: none;\n height: calc(100% - 10px);\n left: 5px;\n position: absolute;\n stroke: #333333;\n stroke-dasharray: 125.6;\n stroke-dashoffset: calc(125.6px * (1 - var(--progress)));\n stroke-width: 4px;\n top: 5px;\n transform: rotate(-90deg);\n width: calc(100% - 10px);\n z-index: 10;\n\n .bg-circle {\n stroke: rgba(0, 0, 0, 0.2);\n stroke-dasharray: none;\n stroke-width: 4px;\n }\n }\n\n span {\n font-size: 11px;\n z-index: 11;\n }\n"])));
92
- var S_ProgressDesign5 = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n align-items: center;\n color: #ffffff;\n display: flex;\n flex-direction: column;\n font-weight: bold;\n padding-bottom: 12px;\n padding-right: 12px;\n width: 80px;\n\n .progress-bar-container {\n background-color: rgba(255, 255, 255, 0.2);\n border-radius: 3px;\n height: 6px;\n overflow: hidden;\n position: relative;\n width: 100%;\n }\n\n .progress-bar-fill {\n background-color: #ffffff;\n border-radius: 3px;\n height: 100%;\n transition: width 0.1s ease-out;\n width: calc(var(--progress) * 100%);\n }\n"], ["\n align-items: center;\n color: #ffffff;\n display: flex;\n flex-direction: column;\n font-weight: bold;\n padding-bottom: 12px;\n padding-right: 12px;\n width: 80px;\n\n .progress-bar-container {\n background-color: rgba(255, 255, 255, 0.2);\n border-radius: 3px;\n height: 6px;\n overflow: hidden;\n position: relative;\n width: 100%;\n }\n\n .progress-bar-fill {\n background-color: #ffffff;\n border-radius: 3px;\n height: 100%;\n transition: width 0.1s ease-out;\n width: calc(var(--progress) * 100%);\n }\n"])));
93
- var S_ProgressDesign6 = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n align-items: center;\n color: #333333;\n display: flex;\n flex-direction: column;\n font-weight: bold;\n padding-bottom: 12px;\n padding-right: 12px;\n width: 80px;\n\n .progress-bar-container {\n background-color: rgba(0, 0, 0, 0.2);\n border-radius: 3px;\n height: 6px;\n overflow: hidden;\n position: relative;\n width: 100%;\n }\n\n .progress-bar-fill {\n background-color: #333333;\n border-radius: 3px;\n height: 100%;\n transition: width 0.1s ease-out;\n width: calc(var(--progress) * 100%);\n }\n"], ["\n align-items: center;\n color: #333333;\n display: flex;\n flex-direction: column;\n font-weight: bold;\n padding-bottom: 12px;\n padding-right: 12px;\n width: 80px;\n\n .progress-bar-container {\n background-color: rgba(0, 0, 0, 0.2);\n border-radius: 3px;\n height: 6px;\n overflow: hidden;\n position: relative;\n width: 100%;\n }\n\n .progress-bar-fill {\n background-color: #333333;\n border-radius: 3px;\n height: 100%;\n transition: width 0.1s ease-out;\n width: calc(var(--progress) * 100%);\n }\n"])));
94
- var S_ProgressDesign7 = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n align-items: center;\n color: #ffffff;\n display: flex;\n flex-direction: column;\n font-weight: bold;\n padding-bottom: 12px;\n padding-right: 12px;\n width: 80px;\n\n .progress-bar-container {\n background-color: rgba(255, 255, 255, 0.2);\n height: 6px;\n overflow: hidden;\n position: relative;\n width: 100%;\n }\n\n .progress-bar-fill {\n background-color: #ffffff;\n height: 100%;\n transition: width 0.1s ease-out;\n width: calc(var(--progress) * 100%);\n }\n"], ["\n align-items: center;\n color: #ffffff;\n display: flex;\n flex-direction: column;\n font-weight: bold;\n padding-bottom: 12px;\n padding-right: 12px;\n width: 80px;\n\n .progress-bar-container {\n background-color: rgba(255, 255, 255, 0.2);\n height: 6px;\n overflow: hidden;\n position: relative;\n width: 100%;\n }\n\n .progress-bar-fill {\n background-color: #ffffff;\n height: 100%;\n transition: width 0.1s ease-out;\n width: calc(var(--progress) * 100%);\n }\n"])));
95
- var S_ProgressDesign8 = styled_components_1.default.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n align-items: center;\n color: #333333;\n display: flex;\n flex-direction: column;\n font-weight: bold;\n padding-bottom: 12px;\n padding-right: 12px;\n width: 80px;\n\n .progress-bar-container {\n background-color: rgba(0, 0, 0, 0.2);\n height: 6px;\n overflow: hidden;\n position: relative;\n width: 100%;\n }\n\n .progress-bar-fill {\n background-color: #333333;\n height: 100%;\n transition: width 0.1s ease-out;\n width: calc(var(--progress) * 100%);\n }\n"], ["\n align-items: center;\n color: #333333;\n display: flex;\n flex-direction: column;\n font-weight: bold;\n padding-bottom: 12px;\n padding-right: 12px;\n width: 80px;\n\n .progress-bar-container {\n background-color: rgba(0, 0, 0, 0.2);\n height: 6px;\n overflow: hidden;\n position: relative;\n width: 100%;\n }\n\n .progress-bar-fill {\n background-color: #333333;\n height: 100%;\n transition: width 0.1s ease-out;\n width: calc(var(--progress) * 100%);\n }\n"])));
88
+ var S_ProgressDesign1 = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n color: ", ";\n display: flex;\n font-weight: bold;\n height: 48px;\n justify-content: center;\n width: 48px;\n\n svg {\n --progress: 0;\n fill: none;\n height: calc(100% - 10px);\n left: 5px;\n position: absolute;\n stroke: ", ";\n stroke-dasharray: 125.6;\n stroke-dashoffset: calc(125.6px * (1 - var(--progress)));\n stroke-width: 4px;\n top: 5px;\n transform: rotate(-90deg);\n width: calc(100% - 10px);\n z-index: 10;\n\n .bg-circle {\n stroke: ", ";\n stroke-dasharray: none;\n stroke-width: 4px;\n }\n }\n"], ["\n align-items: center;\n color: ", ";\n display: flex;\n font-weight: bold;\n height: 48px;\n justify-content: center;\n width: 48px;\n\n svg {\n --progress: 0;\n fill: none;\n height: calc(100% - 10px);\n left: 5px;\n position: absolute;\n stroke: ", ";\n stroke-dasharray: 125.6;\n stroke-dashoffset: calc(125.6px * (1 - var(--progress)));\n stroke-width: 4px;\n top: 5px;\n transform: rotate(-90deg);\n width: calc(100% - 10px);\n z-index: 10;\n\n .bg-circle {\n stroke: ", ";\n stroke-dasharray: none;\n stroke-width: 4px;\n }\n }\n"])), function (_a) {
89
+ var barColor = _a.barColor;
90
+ return barColor;
91
+ }, function (_a) {
92
+ var barColor = _a.barColor;
93
+ return barColor;
94
+ }, function (_a) {
95
+ var bgColor = _a.bgColor;
96
+ return bgColor;
97
+ });
98
+ var S_ProgressDesign2 = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n align-items: center;\n color: ", ";\n display: flex;\n font-weight: bold;\n height: 48px;\n justify-content: center;\n width: 48px;\n\n svg {\n --progress: 0;\n fill: none;\n height: calc(100% - 10px);\n left: 5px;\n position: absolute;\n stroke: ", ";\n stroke-dasharray: 125.6;\n stroke-dashoffset: calc(125.6px * (1 - var(--progress)));\n stroke-width: 4px;\n top: 5px;\n transform: rotate(-90deg);\n width: calc(100% - 10px);\n z-index: 10;\n\n .bg-circle {\n stroke: ", ";\n stroke-dasharray: none;\n stroke-width: 4px;\n }\n }\n\n span {\n font-size: 11px;\n z-index: 11;\n }\n"], ["\n align-items: center;\n color: ", ";\n display: flex;\n font-weight: bold;\n height: 48px;\n justify-content: center;\n width: 48px;\n\n svg {\n --progress: 0;\n fill: none;\n height: calc(100% - 10px);\n left: 5px;\n position: absolute;\n stroke: ", ";\n stroke-dasharray: 125.6;\n stroke-dashoffset: calc(125.6px * (1 - var(--progress)));\n stroke-width: 4px;\n top: 5px;\n transform: rotate(-90deg);\n width: calc(100% - 10px);\n z-index: 10;\n\n .bg-circle {\n stroke: ", ";\n stroke-dasharray: none;\n stroke-width: 4px;\n }\n }\n\n span {\n font-size: 11px;\n z-index: 11;\n }\n"])), function (_a) {
99
+ var barColor = _a.barColor;
100
+ return barColor;
101
+ }, function (_a) {
102
+ var barColor = _a.barColor;
103
+ return barColor;
104
+ }, function (_a) {
105
+ var bgColor = _a.bgColor;
106
+ return bgColor;
107
+ });
108
+ var S_ProgressDesign3 = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n align-items: center;\n color: ", ";\n display: flex;\n font-weight: bold;\n height: 48px;\n justify-content: center;\n width: 48px;\n\n svg {\n --progress: 0;\n fill: none;\n height: calc(100% - 10px);\n left: 5px;\n position: absolute;\n stroke: ", ";\n stroke-dasharray: 125.6;\n stroke-dashoffset: calc(125.6px * (1 - var(--progress)));\n stroke-width: 4px;\n top: 5px;\n transform: rotate(-90deg);\n width: calc(100% - 10px);\n z-index: 10;\n\n .bg-circle {\n stroke: ", ";\n stroke-dasharray: none;\n stroke-width: 4px;\n }\n }\n"], ["\n align-items: center;\n color: ", ";\n display: flex;\n font-weight: bold;\n height: 48px;\n justify-content: center;\n width: 48px;\n\n svg {\n --progress: 0;\n fill: none;\n height: calc(100% - 10px);\n left: 5px;\n position: absolute;\n stroke: ", ";\n stroke-dasharray: 125.6;\n stroke-dashoffset: calc(125.6px * (1 - var(--progress)));\n stroke-width: 4px;\n top: 5px;\n transform: rotate(-90deg);\n width: calc(100% - 10px);\n z-index: 10;\n\n .bg-circle {\n stroke: ", ";\n stroke-dasharray: none;\n stroke-width: 4px;\n }\n }\n"])), function (_a) {
109
+ var barColor = _a.barColor;
110
+ return barColor;
111
+ }, function (_a) {
112
+ var barColor = _a.barColor;
113
+ return barColor;
114
+ }, function (_a) {
115
+ var bgColor = _a.bgColor;
116
+ return bgColor;
117
+ });
118
+ var S_ProgressDesign4 = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n align-items: center;\n color: ", ";\n display: flex;\n font-weight: bold;\n height: 48px;\n justify-content: center;\n width: 48px;\n\n svg {\n --progress: 0;\n fill: none;\n height: calc(100% - 10px);\n left: 5px;\n position: absolute;\n stroke: ", ";\n stroke-dasharray: 125.6;\n stroke-dashoffset: calc(125.6px * (1 - var(--progress)));\n stroke-width: 4px;\n top: 5px;\n transform: rotate(-90deg);\n width: calc(100% - 10px);\n z-index: 10;\n\n .bg-circle {\n stroke: ", ";\n stroke-dasharray: none;\n stroke-width: 4px;\n }\n }\n\n span {\n font-size: 11px;\n z-index: 11;\n }\n"], ["\n align-items: center;\n color: ", ";\n display: flex;\n font-weight: bold;\n height: 48px;\n justify-content: center;\n width: 48px;\n\n svg {\n --progress: 0;\n fill: none;\n height: calc(100% - 10px);\n left: 5px;\n position: absolute;\n stroke: ", ";\n stroke-dasharray: 125.6;\n stroke-dashoffset: calc(125.6px * (1 - var(--progress)));\n stroke-width: 4px;\n top: 5px;\n transform: rotate(-90deg);\n width: calc(100% - 10px);\n z-index: 10;\n\n .bg-circle {\n stroke: ", ";\n stroke-dasharray: none;\n stroke-width: 4px;\n }\n }\n\n span {\n font-size: 11px;\n z-index: 11;\n }\n"])), function (_a) {
119
+ var barColor = _a.barColor;
120
+ return barColor;
121
+ }, function (_a) {
122
+ var barColor = _a.barColor;
123
+ return barColor;
124
+ }, function (_a) {
125
+ var bgColor = _a.bgColor;
126
+ return bgColor;
127
+ });
128
+ var S_ProgressDesign5 = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n align-items: center;\n color: ", ";\n display: flex;\n flex-direction: column;\n font-weight: bold;\n padding-bottom: 12px;\n padding-right: 12px;\n width: 80px;\n\n .progress-bar-container {\n background-color: rgba(255, 255, 255, 0.2);\n border-radius: 3px;\n height: 6px;\n overflow: hidden;\n position: relative;\n width: 100%;\n }\n\n .progress-bar-fill {\n background-color: ", ";\n border-radius: 3px;\n height: 100%;\n transition: width 0.1s ease-out;\n width: calc(var(--progress) * 100%);\n }\n"], ["\n align-items: center;\n color: ", ";\n display: flex;\n flex-direction: column;\n font-weight: bold;\n padding-bottom: 12px;\n padding-right: 12px;\n width: 80px;\n\n .progress-bar-container {\n background-color: rgba(255, 255, 255, 0.2);\n border-radius: 3px;\n height: 6px;\n overflow: hidden;\n position: relative;\n width: 100%;\n }\n\n .progress-bar-fill {\n background-color: ", ";\n border-radius: 3px;\n height: 100%;\n transition: width 0.1s ease-out;\n width: calc(var(--progress) * 100%);\n }\n"])), function (_a) {
129
+ var barColor = _a.barColor;
130
+ return barColor;
131
+ }, function (_a) {
132
+ var barColor = _a.barColor;
133
+ return barColor;
134
+ });
135
+ var S_ProgressDesign6 = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n align-items: center;\n color: ", ";\n display: flex;\n flex-direction: column;\n font-weight: bold;\n padding-bottom: 12px;\n padding-right: 12px;\n width: 80px;\n\n .progress-bar-container {\n background-color: rgba(0, 0, 0, 0.2);\n border-radius: 3px;\n height: 6px;\n overflow: hidden;\n position: relative;\n width: 100%;\n }\n\n .progress-bar-fill {\n background-color: ", ";\n border-radius: 3px;\n height: 100%;\n transition: width 0.1s ease-out;\n width: calc(var(--progress) * 100%);\n }\n"], ["\n align-items: center;\n color: ", ";\n display: flex;\n flex-direction: column;\n font-weight: bold;\n padding-bottom: 12px;\n padding-right: 12px;\n width: 80px;\n\n .progress-bar-container {\n background-color: rgba(0, 0, 0, 0.2);\n border-radius: 3px;\n height: 6px;\n overflow: hidden;\n position: relative;\n width: 100%;\n }\n\n .progress-bar-fill {\n background-color: ", ";\n border-radius: 3px;\n height: 100%;\n transition: width 0.1s ease-out;\n width: calc(var(--progress) * 100%);\n }\n"])), function (_a) {
136
+ var bgColor = _a.bgColor;
137
+ return bgColor;
138
+ }, function (_a) {
139
+ var bgColor = _a.bgColor;
140
+ return bgColor;
141
+ });
142
+ var S_ProgressDesign7 = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n align-items: center;\n color: ", ";\n display: flex;\n flex-direction: column;\n font-weight: bold;\n padding-bottom: 12px;\n padding-right: 12px;\n width: 80px;\n\n .progress-bar-container {\n background-color: ", ";\n height: 6px;\n overflow: hidden;\n position: relative;\n width: 100%;\n }\n\n .progress-bar-fill {\n background-color: ", ";\n height: 100%;\n transition: width 0.1s ease-out;\n width: calc(var(--progress) * 100%);\n }\n"], ["\n align-items: center;\n color: ", ";\n display: flex;\n flex-direction: column;\n font-weight: bold;\n padding-bottom: 12px;\n padding-right: 12px;\n width: 80px;\n\n .progress-bar-container {\n background-color: ", ";\n height: 6px;\n overflow: hidden;\n position: relative;\n width: 100%;\n }\n\n .progress-bar-fill {\n background-color: ", ";\n height: 100%;\n transition: width 0.1s ease-out;\n width: calc(var(--progress) * 100%);\n }\n"])), function (_a) {
143
+ var barColor = _a.barColor;
144
+ return barColor;
145
+ }, function (_a) {
146
+ var bgColor = _a.bgColor;
147
+ return bgColor;
148
+ }, function (_a) {
149
+ var barColor = _a.barColor;
150
+ return barColor;
151
+ });
152
+ var S_ProgressDesign8 = styled_components_1.default.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n align-items: center;\n color: ", ";\n display: flex;\n flex-direction: column;\n font-weight: bold;\n padding-bottom: 12px;\n padding-right: 12px;\n width: 80px;\n\n .progress-bar-container {\n background-color: ", ";\n height: 6px;\n overflow: hidden;\n position: relative;\n width: 100%;\n }\n\n .progress-bar-fill {\n background-color: ", ";\n height: 100%;\n transition: width 0.1s ease-out;\n width: calc(var(--progress) * 100%);\n }\n"], ["\n align-items: center;\n color: ", ";\n display: flex;\n flex-direction: column;\n font-weight: bold;\n padding-bottom: 12px;\n padding-right: 12px;\n width: 80px;\n\n .progress-bar-container {\n background-color: ", ";\n height: 6px;\n overflow: hidden;\n position: relative;\n width: 100%;\n }\n\n .progress-bar-fill {\n background-color: ", ";\n height: 100%;\n transition: width 0.1s ease-out;\n width: calc(var(--progress) * 100%);\n }\n"])), function (_a) {
153
+ var barColor = _a.barColor;
154
+ return barColor;
155
+ }, function (_a) {
156
+ var bgColor = _a.bgColor;
157
+ return bgColor;
158
+ }, function (_a) {
159
+ var barColor = _a.barColor;
160
+ return barColor;
161
+ });
96
162
  var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8;
@@ -27,7 +27,7 @@ export declare function parseCarouselStyleToCustomNavigationProp({ props, device
27
27
  normalStyle: CustomNavigationProps;
28
28
  hoverStyle: CustomNavigationProps;
29
29
  };
30
- export declare function getCustomNavigationPropKey(key: ContentsCarouselPropsKeys): "" | "prevBtnType" | "prevBtnOffset" | "prevBtnSize" | "nextBtnType" | "nextBtnOffset" | "nextBtnSize";
30
+ export declare function getCustomNavigationPropKey(key: ContentsCarouselPropsKeys): "" | "prevBtnType" | "prevBtnOffset" | "prevBtnSize" | "prevBtnPrimaryColor" | "prevBtnSecondaryColor" | "nextBtnType" | "nextBtnOffset" | "nextBtnSize" | "nextBtnPrimaryColor" | "nextBtnSecondaryColor";
31
31
  type ParseCarouselStyleToCustomProgressbarProps = {
32
32
  props: CB_STYLE_PROP_CONTENTSCAROUSEL_SPECS;
33
33
  device: Device;
@@ -36,5 +36,5 @@ export declare function parseCarouselStyleToCustomProgressbarProp({ props, devic
36
36
  normalStyle: CustomProgressbarProps;
37
37
  hoverStyle: CustomProgressbarProps;
38
38
  };
39
- export declare function getCustomProgressbarPropKey(key: ContentsCarouselPropsKeys): "" | "size" | "type";
39
+ export declare function getCustomProgressbarPropKey(key: ContentsCarouselPropsKeys): "" | "size" | "type" | "primaryColor" | "secondaryColor";
40
40
  export {};
@@ -198,6 +198,22 @@ function parseCarouselStyleToCustomNavigationProp(_a) {
198
198
  hoverStyle: __assign(__assign({}, acc.hoverStyle), { prevBtnSize: getCustomNavigationSize(hoverValue !== null && hoverValue !== void 0 ? hoverValue : value) })
199
199
  };
200
200
  }
201
+ if (customNavigationPropertyKey === 'prevBtnPrimaryColor') {
202
+ var value = props[keyWithDevice];
203
+ var hoverValue = props[keyWithHover];
204
+ return {
205
+ normalStyle: __assign(__assign({}, acc.normalStyle), { prevBtnPrimaryColor: value }),
206
+ hoverStyle: __assign(__assign({}, acc.hoverStyle), { prevBtnPrimaryColor: hoverValue !== null && hoverValue !== void 0 ? hoverValue : value })
207
+ };
208
+ }
209
+ if (customNavigationPropertyKey === 'prevBtnSecondaryColor') {
210
+ var value = props[keyWithDevice];
211
+ var hoverValue = props[keyWithHover];
212
+ return {
213
+ normalStyle: __assign(__assign({}, acc.normalStyle), { prevBtnSecondaryColor: value }),
214
+ hoverStyle: __assign(__assign({}, acc.hoverStyle), { prevBtnSecondaryColor: hoverValue !== null && hoverValue !== void 0 ? hoverValue : value })
215
+ };
216
+ }
201
217
  if (customNavigationPropertyKey === 'nextBtnType') {
202
218
  var value = props[keyWithDevice];
203
219
  var hoverValue = props[keyWithHover];
@@ -222,6 +238,22 @@ function parseCarouselStyleToCustomNavigationProp(_a) {
222
238
  hoverStyle: __assign(__assign({}, acc.hoverStyle), { nextBtnSize: getCustomNavigationSize(hoverValue !== null && hoverValue !== void 0 ? hoverValue : value) })
223
239
  };
224
240
  }
241
+ if (customNavigationPropertyKey === 'nextBtnPrimaryColor') {
242
+ var value = props[keyWithDevice];
243
+ var hoverValue = props[keyWithHover];
244
+ return {
245
+ normalStyle: __assign(__assign({}, acc.normalStyle), { nextBtnPrimaryColor: value }),
246
+ hoverStyle: __assign(__assign({}, acc.hoverStyle), { nextBtnPrimaryColor: hoverValue !== null && hoverValue !== void 0 ? hoverValue : value })
247
+ };
248
+ }
249
+ if (customNavigationPropertyKey === 'nextBtnSecondaryColor') {
250
+ var value = props[keyWithDevice];
251
+ var hoverValue = props[keyWithHover];
252
+ return {
253
+ normalStyle: __assign(__assign({}, acc.normalStyle), { nextBtnSecondaryColor: value }),
254
+ hoverStyle: __assign(__assign({}, acc.hoverStyle), { nextBtnSecondaryColor: hoverValue !== null && hoverValue !== void 0 ? hoverValue : value })
255
+ };
256
+ }
225
257
  return {
226
258
  normalStyle: __assign({}, acc.normalStyle),
227
259
  hoverStyle: __assign({}, acc.hoverStyle)
@@ -249,6 +281,16 @@ function getCustomNavigationPropKey(key) {
249
281
  case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSIZE:MOBILE":
250
282
  case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSIZE:MOBILE:HOVER":
251
283
  return 'prevBtnSize';
284
+ case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR":
285
+ case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR:HOVER":
286
+ case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR:MOBILE":
287
+ case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR:MOBILE:HOVER":
288
+ return 'prevBtnPrimaryColor';
289
+ case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR":
290
+ case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR:HOVER":
291
+ case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR:MOBILE":
292
+ case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR:MOBILE:HOVER":
293
+ return 'prevBtnSecondaryColor';
252
294
  case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSTYLE":
253
295
  case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSTYLE:HOVER":
254
296
  case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSTYLE:MOBILE":
@@ -264,6 +306,16 @@ function getCustomNavigationPropKey(key) {
264
306
  case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSIZE:MOBILE":
265
307
  case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSIZE:MOBILE:HOVER":
266
308
  return 'nextBtnSize';
309
+ case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNPRIMARYCOLOR":
310
+ case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNPRIMARYCOLOR:HOVER":
311
+ case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNPRIMARYCOLOR:MOBILE":
312
+ case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNPRIMARYCOLOR:MOBILE:HOVER":
313
+ return 'nextBtnPrimaryColor';
314
+ case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSECONDARYCOLOR":
315
+ case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSECONDARYCOLOR:HOVER":
316
+ case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSECONDARYCOLOR:MOBILE":
317
+ case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSECONDARYCOLOR:MOBILE:HOVER":
318
+ return 'nextBtnSecondaryColor';
267
319
  default:
268
320
  return '';
269
321
  }
@@ -466,6 +518,22 @@ function parseCarouselStyleToCustomProgressbarProp(_a) {
466
518
  hoverStyle: __assign(__assign({}, acc.hoverStyle), { size: getCustomProgressbarSize(hoverValue !== null && hoverValue !== void 0 ? hoverValue : value), offset: offset })
467
519
  };
468
520
  }
521
+ if (customProgressbarPropertyKey === 'primaryColor') {
522
+ var value = props[keyWithDevice];
523
+ var hoverValue = props[keyWithHover];
524
+ return {
525
+ normalStyle: __assign(__assign({}, acc.normalStyle), { primaryColor: value }),
526
+ hoverStyle: __assign(__assign({}, acc.hoverStyle), { primaryColor: hoverValue !== null && hoverValue !== void 0 ? hoverValue : value })
527
+ };
528
+ }
529
+ if (customProgressbarPropertyKey === 'secondaryColor') {
530
+ var value = props[keyWithDevice];
531
+ var hoverValue = props[keyWithHover];
532
+ return {
533
+ normalStyle: __assign(__assign({}, acc.normalStyle), { secondaryColor: value }),
534
+ hoverStyle: __assign(__assign({}, acc.hoverStyle), { secondaryColor: hoverValue !== null && hoverValue !== void 0 ? hoverValue : value })
535
+ };
536
+ }
469
537
  return {
470
538
  normalStyle: __assign({}, acc.normalStyle),
471
539
  hoverStyle: __assign({}, acc.hoverStyle)
@@ -488,6 +556,16 @@ function getCustomProgressbarPropKey(key) {
488
556
  case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSIZE:MOBILE":
489
557
  case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSIZE:MOBILE:HOVER":
490
558
  return 'size';
559
+ case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARPRIMARYCOLOR":
560
+ case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARPRIMARYCOLOR:HOVER":
561
+ case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARPRIMARYCOLOR:MOBILE":
562
+ case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARPRIMARYCOLOR:MOBILE:HOVER":
563
+ return 'primaryColor';
564
+ case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSECONDARYCOLOR":
565
+ case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSECONDARYCOLOR:HOVER":
566
+ case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSECONDARYCOLOR:MOBILE":
567
+ case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSECONDARYCOLOR:MOBILE:HOVER":
568
+ return 'secondaryColor';
491
569
  default:
492
570
  return '';
493
571
  }
@@ -7,11 +7,17 @@ export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_INFINITESCROLL_TYPE = boolean;
7
7
  export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSTYLE_TYPE = 'NONE' | 'DESIGN1' | 'DESIGN2' | 'DESIGN3' | 'DESIGN4' | 'DESIGN5' | 'DESIGN6' | 'DESIGN7' | 'DESIGN8' | 'DESIGN9' | 'DESIGN10' | 'DESIGN11' | 'DESIGN12' | 'DESIGN13' | 'DESIGN14' | 'DESIGN15' | 'DESIGN16' | 'DESIGN17' | 'DESIGN18' | 'DESIGN19' | 'DESIGN20' | 'DESIGN21' | 'DESIGN22' | 'DESIGN23' | 'DESIGN24' | 'DESIGN25' | 'DESIGN26' | 'DESIGN27' | 'DESIGN28' | 'DESIGN29' | 'DESIGN30' | 'DESIGN31' | 'DESIGN32' | 'DESIGN33' | 'DESIGN34' | 'DESIGN35' | 'DESIGN36' | 'DESIGN37' | 'DESIGN38' | 'DESIGN39' | 'DESIGN40' | 'DESIGN41' | 'DESIGN42' | 'DESIGN43' | 'DESIGN44' | 'DESIGN45' | 'DESIGN46' | 'DESIGN47' | 'DESIGN48' | 'DESIGN49' | 'DESIGN50' | 'DESIGN51' | 'DESIGN52' | 'DESIGN53' | 'DESIGN54' | 'DESIGN55' | 'DESIGN56' | 'DESIGN57' | 'DESIGN58' | 'DESIGN59' | 'DESIGN60' | 'DESIGN61' | 'DESIGN62' | 'DESIGN63' | 'DESIGN64' | 'DESIGN65' | 'DESIGN66' | 'DESIGN67' | 'DESIGN68' | 'DESIGN69' | 'DESIGN70' | 'DESIGN71' | 'DESIGN72' | 'DESIGN73' | 'DESIGN74' | 'DESIGN75' | 'DESIGN76' | 'DESIGN77' | 'DESIGN78' | 'DESIGN79' | 'DESIGN80' | 'DESIGN81' | 'DESIGN82' | 'DESIGN83' | 'DESIGN84' | 'DESIGN85' | 'DESIGN86' | 'DESIGN87' | 'DESIGN88' | 'DESIGN89' | 'DESIGN90' | 'DESIGN91' | 'DESIGN92' | 'DESIGN93' | 'DESIGN94' | 'DESIGN95' | 'DESIGN96' | 'DESIGN97' | 'DESIGN98' | 'DESIGN99' | 'DESIGN100';
8
8
  export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNLOCATION_TYPE = 'OUTSET1' | 'OUTSET2' | 'OUTSET3' | 'OUTSET4' | 'OUTSET5' | 'OUTSET6' | 'OUTSET7' | 'OUTSET8' | 'OUTSET9' | 'OUTSET10' | 'OUTSET11' | 'OUTSET12' | 'INSET1' | 'INSET2' | 'INSET3' | 'INSET4' | 'INSET5' | 'INSET6' | 'INSET7' | 'INSET8';
9
9
  export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSIZE_TYPE = 'SMALL' | 'MEDIUM' | 'LARGE';
10
+ export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR = string;
11
+ export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR = string;
10
12
  export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSTYLE_TYPE = 'NONE' | 'DESIGN1' | 'DESIGN2' | 'DESIGN3' | 'DESIGN4' | 'DESIGN5' | 'DESIGN6' | 'DESIGN7' | 'DESIGN8' | 'DESIGN9' | 'DESIGN10' | 'DESIGN11' | 'DESIGN12' | 'DESIGN13' | 'DESIGN14' | 'DESIGN15' | 'DESIGN16' | 'DESIGN17' | 'DESIGN18' | 'DESIGN19' | 'DESIGN20' | 'DESIGN21' | 'DESIGN22' | 'DESIGN23' | 'DESIGN24' | 'DESIGN25' | 'DESIGN26' | 'DESIGN27' | 'DESIGN28' | 'DESIGN29' | 'DESIGN30' | 'DESIGN31' | 'DESIGN32' | 'DESIGN33' | 'DESIGN34' | 'DESIGN35' | 'DESIGN36' | 'DESIGN37' | 'DESIGN38' | 'DESIGN39' | 'DESIGN40' | 'DESIGN41' | 'DESIGN42' | 'DESIGN43' | 'DESIGN44' | 'DESIGN45' | 'DESIGN46' | 'DESIGN47' | 'DESIGN48' | 'DESIGN49' | 'DESIGN50' | 'DESIGN51' | 'DESIGN52' | 'DESIGN53' | 'DESIGN54' | 'DESIGN55' | 'DESIGN56' | 'DESIGN57' | 'DESIGN58' | 'DESIGN59' | 'DESIGN60' | 'DESIGN61' | 'DESIGN62' | 'DESIGN63' | 'DESIGN64' | 'DESIGN65' | 'DESIGN66' | 'DESIGN67' | 'DESIGN68' | 'DESIGN69' | 'DESIGN70' | 'DESIGN71' | 'DESIGN72' | 'DESIGN73' | 'DESIGN74' | 'DESIGN75' | 'DESIGN76' | 'DESIGN77' | 'DESIGN78' | 'DESIGN79' | 'DESIGN80' | 'DESIGN81' | 'DESIGN82' | 'DESIGN83' | 'DESIGN84' | 'DESIGN85' | 'DESIGN86' | 'DESIGN87' | 'DESIGN88' | 'DESIGN89' | 'DESIGN90' | 'DESIGN91' | 'DESIGN92' | 'DESIGN93' | 'DESIGN94' | 'DESIGN95' | 'DESIGN96' | 'DESIGN97' | 'DESIGN98' | 'DESIGN99' | 'DESIGN100';
11
13
  export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNLOCATION_TYPE = 'OUTSET1' | 'OUTSET2' | 'OUTSET3' | 'OUTSET4' | 'OUTSET5' | 'OUTSET6' | 'OUTSET7' | 'OUTSET8' | 'OUTSET9' | 'OUTSET10' | 'OUTSET11' | 'OUTSET12' | 'INSET1' | 'INSET2' | 'INSET3' | 'INSET4' | 'INSET5' | 'INSET6' | 'INSET7' | 'INSET8';
12
14
  export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSIZE_TYPE = 'SMALL' | 'MEDIUM' | 'LARGE';
15
+ export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNPRIMARYCOLOR = string;
16
+ export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSECONDARYCOLOR = string;
13
17
  export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBAR_TYPE = 'NONE' | 'DESIGN1' | 'DESIGN2' | 'DESIGN3' | 'DESIGN4' | 'DESIGN5' | 'DESIGN6' | 'DESIGN7' | 'DESIGN8';
14
18
  export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSIZE_TYPE = 'SMALL' | 'MEDIUM' | 'LARGE';
19
+ export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARPRIMARYCOLOR = string;
20
+ export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSECONDARYCOLOR = string;
15
21
  export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_AUTOPLAYUSE_TYPE = boolean;
16
22
  export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPECS_BASE = {
17
23
  CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_STYLE: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_STYLE_TYPE;
@@ -20,11 +26,17 @@ export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPECS_BASE = {
20
26
  CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSTYLE: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSTYLE_TYPE;
21
27
  CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNLOCATION: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNLOCATION_TYPE;
22
28
  CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSIZE: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSIZE_TYPE;
29
+ CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR;
30
+ CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR;
23
31
  CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSTYLE: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSTYLE_TYPE;
24
32
  CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNLOCATION: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNLOCATION_TYPE;
25
33
  CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSIZE: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSIZE_TYPE;
34
+ CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNPRIMARYCOLOR: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR;
35
+ CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSECONDARYCOLOR: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR;
26
36
  CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBAR: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBAR_TYPE;
27
37
  CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSIZE: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSIZE_TYPE;
38
+ CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARPRIMARYCOLOR: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR;
39
+ CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSECONDARYCOLOR: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR;
28
40
  CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_AUTOPLAYUSE: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_AUTOPLAYUSE_TYPE;
29
41
  CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_AUTOPLAYTIME: NUMBER_INTEGER;
30
42
  CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_INFINITESCROLL: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_INFINITESCROLL_TYPE;
@@ -48,6 +60,12 @@ export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPECS = CB_STYLE_PROP_CONTENTSCAROUSE
48
60
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSIZE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSIZE_TYPE;
49
61
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSIZE:MOBILE': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSIZE_TYPE;
50
62
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSIZE:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSIZE_TYPE;
63
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR;
64
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR:MOBILE': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR;
65
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR;
66
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR;
67
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR:MOBILE': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR;
68
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR;
51
69
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSTYLE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSTYLE_TYPE;
52
70
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSTYLE:MOBILE': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSTYLE_TYPE;
53
71
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSTYLE:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSTYLE_TYPE;
@@ -57,12 +75,24 @@ export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPECS = CB_STYLE_PROP_CONTENTSCAROUSE
57
75
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSIZE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSIZE_TYPE;
58
76
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSIZE:MOBILE': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSIZE_TYPE;
59
77
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSIZE:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSIZE_TYPE;
78
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNPRIMARYCOLOR:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNPRIMARYCOLOR;
79
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNPRIMARYCOLOR:MOBILE': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNPRIMARYCOLOR;
80
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNPRIMARYCOLOR:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNPRIMARYCOLOR;
81
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSECONDARYCOLOR:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSECONDARYCOLOR;
82
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSECONDARYCOLOR:MOBILE': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSECONDARYCOLOR;
83
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSECONDARYCOLOR:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSECONDARYCOLOR;
60
84
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBAR:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBAR_TYPE;
61
85
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBAR:MOBILE': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBAR_TYPE;
62
86
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBAR:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBAR_TYPE;
63
87
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSIZE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSIZE_TYPE;
64
88
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSIZE:MOBILE': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSIZE_TYPE;
65
89
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSIZE:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSIZE_TYPE;
90
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARPRIMARYCOLOR:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARPRIMARYCOLOR;
91
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARPRIMARYCOLOR:MOBILE': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARPRIMARYCOLOR;
92
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARPRIMARYCOLOR:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARPRIMARYCOLOR;
93
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSECONDARYCOLOR:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSECONDARYCOLOR;
94
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSECONDARYCOLOR:MOBILE': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSECONDARYCOLOR;
95
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSECONDARYCOLOR:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSECONDARYCOLOR;
66
96
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_AUTOPLAYUSE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_AUTOPLAYUSE_TYPE;
67
97
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_AUTOPLAYUSE:MOBILE': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_AUTOPLAYUSE_TYPE;
68
98
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_AUTOPLAYUSE:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_AUTOPLAYUSE_TYPE;
@@ -94,7 +94,7 @@ function ContentsList(props) {
94
94
  limit: CB_CONTENT_PROP_CONTENTSLIST_SPEC_ITEMCOUNTS,
95
95
  queryData: queryData,
96
96
  compositions: compositions
97
- }).slice(startIndex, endIndex) })), (0, jsx_runtime_1.jsx)(CustomPagination_1.CustomPagination, { type: isHovered ? paginationHoverStyle.type : paginationNormalStyle.type, offset: isHovered ? paginationHoverStyle.offset : paginationNormalStyle.offset, current: currentPage, total: totalPage, size: isHovered ? paginationHoverStyle.size : paginationNormalStyle.size, onPageClick: handlePageClick })] }) })) })));
97
+ }).slice(startIndex, endIndex) })), (0, jsx_runtime_1.jsx)(CustomPagination_1.CustomPagination, { type: isHovered ? paginationHoverStyle.type : paginationNormalStyle.type, offset: isHovered ? paginationHoverStyle.offset : paginationNormalStyle.offset, current: currentPage, total: totalPage, size: isHovered ? paginationHoverStyle.size : paginationNormalStyle.size, primaryColor: isHovered ? paginationHoverStyle.primaryColor : paginationNormalStyle.primaryColor, secondaryColor: isHovered ? paginationHoverStyle.secondaryColor : paginationNormalStyle.secondaryColor, onPageClick: handlePageClick })] }) })) })));
98
98
  }
99
99
  var S_ContentsListWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 100%;\n width: 100%;\n"], ["\n height: 100%;\n width: 100%;\n"])));
100
100
  var S_ContentsListLayout = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: grid;\n height: 100%;\n overflow: hidden;\n width: 100%;\n\n ", ";\n ", ";\n"], ["\n display: grid;\n height: 100%;\n overflow: hidden;\n width: 100%;\n\n ", ";\n ", ";\n"])), function (_a) {
@@ -14,8 +14,10 @@ export interface CustomPaginationProps {
14
14
  transformOrigin?: string;
15
15
  };
16
16
  size?: number;
17
+ primaryColor?: string;
18
+ secondaryColor?: string;
17
19
  }
18
- export declare const CustomPagination: ({ current, total, type, offset, size, onPageClick }: CustomPaginationProps & {
20
+ export declare const CustomPagination: ({ current, total, type, offset, size, primaryColor, secondaryColor, onPageClick }: CustomPaginationProps & {
19
21
  onPageClick: (page: number) => void;
20
22
  }) => JSX.Element;
21
23
  export interface FlexBoxProps {
@@ -43,7 +43,7 @@ var jsx_runtime_1 = require("react/jsx-runtime");
43
43
  var styled_components_1 = __importStar(require("styled-components"));
44
44
  var paginationConfigs_1 = require("./paginationConfigs");
45
45
  var CustomPagination = function (_a) {
46
- var _b = _a.current, current = _b === void 0 ? 1 : _b, _c = _a.total, total = _c === void 0 ? 1 : _c, _d = _a.type, type = _d === void 0 ? 'NONE' : _d, _e = _a.offset, offset = _e === void 0 ? { top: '0' } : _e, _f = _a.size, size = _f === void 0 ? 1 : _f, onPageClick = _a.onPageClick;
46
+ var _b = _a.current, current = _b === void 0 ? 1 : _b, _c = _a.total, total = _c === void 0 ? 1 : _c, _d = _a.type, type = _d === void 0 ? 'NONE' : _d, _e = _a.offset, offset = _e === void 0 ? { top: '0' } : _e, _f = _a.size, size = _f === void 0 ? 1 : _f, primaryColor = _a.primaryColor, secondaryColor = _a.secondaryColor, onPageClick = _a.onPageClick;
47
47
  var getPageGroupStart = function (page) {
48
48
  return Math.floor((page - 1) / 5) * 5 + 1;
49
49
  };
@@ -63,41 +63,41 @@ var CustomPagination = function (_a) {
63
63
  var handlePageClick = function (pageNumber) {
64
64
  onPageClick(pageNumber);
65
65
  };
66
- var renderProgressByType = function () {
66
+ var renderPagination = function () {
67
67
  switch (type) {
68
68
  case 'NONE':
69
69
  return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
70
70
  case 'DESIGN1':
71
- return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design1, { total: total, current: current, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
71
+ return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design1, { total: total, current: current, primaryColor: primaryColor, secondaryColor: secondaryColor, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
72
72
  case 'DESIGN2':
73
- return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design2, { total: total, current: current, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
73
+ return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design2, { total: total, current: current, primaryColor: primaryColor, secondaryColor: secondaryColor, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
74
74
  case 'DESIGN3':
75
- return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design3, { total: total, current: current, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
75
+ return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design3, { total: total, current: current, primaryColor: primaryColor, secondaryColor: secondaryColor, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
76
76
  case 'DESIGN4':
77
- return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design4, { total: total, current: current, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
77
+ return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design4, { total: total, current: current, primaryColor: primaryColor, secondaryColor: secondaryColor, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
78
78
  case 'DESIGN5':
79
- return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design5, { total: total, current: current, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
79
+ return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design5, { total: total, current: current, primaryColor: primaryColor, secondaryColor: secondaryColor, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
80
80
  case 'DESIGN6':
81
- return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design6, { total: total, current: current, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
81
+ return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design6, { total: total, current: current, primaryColor: primaryColor, secondaryColor: secondaryColor, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
82
82
  case 'DESIGN7':
83
- return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design7, { total: total, current: current, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
83
+ return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design7, { total: total, current: current, primaryColor: primaryColor, secondaryColor: secondaryColor, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
84
84
  case 'DESIGN8':
85
- return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design8, { total: total, current: current, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
85
+ return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design8, { total: total, current: current, primaryColor: primaryColor, secondaryColor: secondaryColor, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
86
86
  case 'DESIGN9':
87
- return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design9, { total: total, current: current, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
87
+ return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design9, { total: total, current: current, primaryColor: primaryColor, secondaryColor: secondaryColor, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
88
88
  case 'DESIGN10':
89
- return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design10, { total: total, current: current, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
89
+ return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design10, { total: total, current: current, primaryColor: primaryColor, secondaryColor: secondaryColor, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
90
90
  case 'DESIGN11':
91
- return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design11, { total: total, current: current, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
91
+ return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design11, { total: total, current: current, primaryColor: primaryColor, secondaryColor: secondaryColor, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
92
92
  case 'DESIGN12':
93
- return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design12, { total: total, current: current, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
93
+ return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design12, { total: total, current: current, primaryColor: primaryColor, secondaryColor: secondaryColor, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
94
94
  case 'DESIGN13':
95
- return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design13, { total: total, current: current, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
95
+ return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design13, { total: total, current: current, primaryColor: primaryColor, secondaryColor: secondaryColor, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
96
96
  default:
97
97
  return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
98
98
  }
99
99
  };
100
- return ((0, jsx_runtime_1.jsx)(S_Pagination, __assign({ className: "custom-pagination_".concat(current), "$offset": offset, "$size": size }, { children: renderProgressByType() })));
100
+ return ((0, jsx_runtime_1.jsx)(S_Pagination, __assign({ className: "custom-pagination_".concat(current), "$offset": offset, "$size": size }, { children: renderPagination() })));
101
101
  };
102
102
  exports.CustomPagination = CustomPagination;
103
103
  var S_Pagination = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n padding: 5px;\n position: absolute;\n ", ";\n transform: ", ";\n transform-origin: ", ";\n width: max-content;\n z-index: 2;\n"], ["\n padding: 5px;\n position: absolute;\n ", ";\n transform: ", ";\n transform-origin: ", ";\n width: max-content;\n z-index: 2;\n"])), function (_a) {
@@ -2,22 +2,24 @@
2
2
  type Props = {
3
3
  total: number;
4
4
  current: number;
5
+ primaryColor?: string;
6
+ secondaryColor?: string;
5
7
  onPrevious: () => void;
6
8
  onNext: () => void;
7
9
  pages?: number[];
8
10
  onPageChange?: (page: number) => void;
9
11
  };
10
- export declare function Design1({ total, current, pages, onPageChange, onNext, onPrevious }: Props): JSX.Element;
11
- export declare function Design2({ total, current, pages, onPageChange, onNext, onPrevious }: Props): JSX.Element;
12
- export declare function Design3({ total, current, pages, onPageChange, onNext, onPrevious }: Props): JSX.Element;
13
- export declare function Design4({ total, current, pages, onPageChange, onNext, onPrevious }: Props): JSX.Element;
14
- export declare function Design5({ total, current, pages, onPageChange, onNext, onPrevious }: Props): JSX.Element;
15
- export declare function Design6({ total, current, pages, onPageChange, onNext, onPrevious }: Props): JSX.Element;
16
- export declare function Design7({ total, current, pages, onPageChange, onNext, onPrevious }: Props): JSX.Element;
17
- export declare function Design8({ total, current, pages, onPageChange, onNext, onPrevious }: Props): JSX.Element;
18
- export declare function Design9({ total, current, pages, onPageChange, onNext, onPrevious }: Props): JSX.Element;
19
- export declare function Design10({ total, current, onPageChange, onNext, onPrevious }: Props): JSX.Element;
20
- export declare function Design11({ total, current, onNext, onPrevious }: Props): JSX.Element;
21
- export declare function Design12({ total, current, onNext, onPrevious }: Props): JSX.Element;
22
- export declare function Design13({ total, current, onNext, onPrevious }: Props): JSX.Element;
12
+ export declare function Design1({ total, current, pages, primaryColor, secondaryColor, onPageChange, onNext, onPrevious }: Props): JSX.Element;
13
+ export declare function Design2({ total, current, pages, primaryColor, secondaryColor, onPageChange, onNext, onPrevious }: Props): JSX.Element;
14
+ export declare function Design3({ total, current, pages, primaryColor, secondaryColor, onPageChange, onNext, onPrevious }: Props): JSX.Element;
15
+ export declare function Design4({ total, current, pages, primaryColor, secondaryColor, onPageChange, onNext, onPrevious }: Props): JSX.Element;
16
+ export declare function Design5({ total, current, pages, primaryColor, secondaryColor, onPageChange, onNext, onPrevious }: Props): JSX.Element;
17
+ export declare function Design6({ total, current, pages, primaryColor, secondaryColor, onPageChange, onNext, onPrevious }: Props): JSX.Element;
18
+ export declare function Design7({ total, current, pages, primaryColor, secondaryColor, onPageChange, onNext, onPrevious }: Props): JSX.Element;
19
+ export declare function Design8({ total, current, pages, primaryColor, secondaryColor, onPageChange, onNext, onPrevious }: Props): JSX.Element;
20
+ export declare function Design9({ total, current, pages, primaryColor, secondaryColor, onPageChange, onNext, onPrevious }: Props): JSX.Element;
21
+ export declare function Design10({ total, current, primaryColor, secondaryColor, onPageChange, onNext, onPrevious }: Props): JSX.Element;
22
+ export declare function Design11({ total, current, primaryColor, secondaryColor, onNext, onPrevious }: Props): JSX.Element;
23
+ export declare function Design12({ total, current, primaryColor, secondaryColor, onNext, onPrevious }: Props): JSX.Element;
24
+ export declare function Design13({ total, current, primaryColor, secondaryColor, onNext, onPrevious }: Props): JSX.Element;
23
25
  export {};