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.
- 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/mock_contentsCarousel.js +24 -0
- package/dist/src/sub/DynamicLayout/mock_contentsList.js +9 -1
- package/dist/src/sub/DynamicLayout/mock_slideBanner.d.ts +32 -0
- package/dist/src/sub/DynamicLayout/mock_slideBanner.js +35 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +14 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigation.d.ts +5 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigation.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.d.ts +3 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.js +12 -20
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.d.ts +3 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.js +10 -10
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.d.ts +24 -8
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.js +98 -32
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.js +78 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.d.ts +30 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.d.ts +3 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.js +16 -16
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.d.ts +15 -13
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.js +34 -27
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.js +26 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.d.ts +10 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +19 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigation.d.ts +5 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigation.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.d.ts +3 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.js +12 -20
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.d.ts +3 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.js +10 -10
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.d.ts +24 -8
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.js +98 -32
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.d.ts +3 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.js +104 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.d.ts +40 -0
- package/package.json +1 -1
package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.d.ts
CHANGED
|
@@ -5,11 +5,13 @@ export type IconButtonProps = {
|
|
|
5
5
|
shapeType?: 'circular' | 'rectangle';
|
|
6
6
|
baseSize?: 'xxlarge' | 'large' | 'medium' | 'small' | 'xsmall';
|
|
7
7
|
baseColorKey?: UiColors;
|
|
8
|
+
overrideBaseColorHex?: string;
|
|
8
9
|
borderColorKey?: UiColors;
|
|
9
10
|
iconSize?: 12 | 16 | 20 | 24 | 48 | 72;
|
|
10
11
|
iconFillType?: 'fill' | 'line';
|
|
11
12
|
iconName: PDSIconType;
|
|
12
13
|
iconColorKey?: UiColors;
|
|
14
|
+
overrideIconColorHex?: string;
|
|
13
15
|
shadow?: 'hidden' | 'visible';
|
|
14
16
|
colorTheme?: 'none' | 'line1' | 'line2';
|
|
15
17
|
type?: 'submit' | 'reset' | 'button';
|
|
@@ -18,5 +20,5 @@ export type IconButtonProps = {
|
|
|
18
20
|
onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
19
21
|
onMouseDown?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
20
22
|
};
|
|
21
|
-
declare function IconButton({ fillType, shapeType, baseSize, baseColorKey, borderColorKey, iconSize, iconFillType, iconName, iconColorKey, shadow, colorTheme, type, state, tabIndex, onClick, onMouseDown }: IconButtonProps): JSX.Element;
|
|
23
|
+
declare function IconButton({ fillType, shapeType, baseSize, baseColorKey, overrideBaseColorHex, borderColorKey, iconSize, iconFillType, iconName, iconColorKey, overrideIconColorHex, shadow, colorTheme, type, state, tabIndex, onClick, onMouseDown }: IconButtonProps): JSX.Element;
|
|
22
24
|
export default IconButton;
|
|
@@ -42,7 +42,7 @@ var jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
42
42
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
43
43
|
var hybrid_1 = require("../../hybrid");
|
|
44
44
|
function IconButton(_a) {
|
|
45
|
-
var _b = _a.fillType, fillType = _b === void 0 ? 'fill' : _b, _c = _a.shapeType, shapeType = _c === void 0 ? 'rectangle' : _c, _d = _a.baseSize, baseSize = _d === void 0 ? 'small' : _d, baseColorKey = _a.baseColorKey, borderColorKey = _a.borderColorKey, _e = _a.iconSize, iconSize = _e === void 0 ? 24 : _e, _f = _a.iconFillType, iconFillType = _f === void 0 ? 'line' : _f, iconName = _a.iconName, iconColorKey = _a.iconColorKey, _g = _a.shadow, shadow = _g === void 0 ? 'hidden' : _g, _h = _a.colorTheme, colorTheme = _h === void 0 ? 'none' : _h, _j = _a.type, type = _j === void 0 ? 'button' : _j, _k = _a.state, state = _k === void 0 ? 'normal' : _k, tabIndex = _a.tabIndex, onClick = _a.onClick, onMouseDown = _a.onMouseDown;
|
|
45
|
+
var _b = _a.fillType, fillType = _b === void 0 ? 'fill' : _b, _c = _a.shapeType, shapeType = _c === void 0 ? 'rectangle' : _c, _d = _a.baseSize, baseSize = _d === void 0 ? 'small' : _d, baseColorKey = _a.baseColorKey, overrideBaseColorHex = _a.overrideBaseColorHex, borderColorKey = _a.borderColorKey, _e = _a.iconSize, iconSize = _e === void 0 ? 24 : _e, _f = _a.iconFillType, iconFillType = _f === void 0 ? 'line' : _f, iconName = _a.iconName, iconColorKey = _a.iconColorKey, overrideIconColorHex = _a.overrideIconColorHex, _g = _a.shadow, shadow = _g === void 0 ? 'hidden' : _g, _h = _a.colorTheme, colorTheme = _h === void 0 ? 'none' : _h, _j = _a.type, type = _j === void 0 ? 'button' : _j, _k = _a.state, state = _k === void 0 ? 'normal' : _k, tabIndex = _a.tabIndex, onClick = _a.onClick, onMouseDown = _a.onMouseDown;
|
|
46
46
|
var handleClick = function (e) {
|
|
47
47
|
if (onClick) {
|
|
48
48
|
onClick(e);
|
|
@@ -76,7 +76,7 @@ function IconButton(_a) {
|
|
|
76
76
|
}
|
|
77
77
|
return iconStateColorObj[fillType];
|
|
78
78
|
};
|
|
79
|
-
return ((0, jsx_runtime_1.jsx)(S_IconButton, __assign({ "x-pds-name": "IconButton", "x-pds-element-type": "component", "x-pds-device-type": "desktop", fillType: fillType, shapeType: shapeType, baseSize: baseSize, baseColorKey: baseColorKey, borderColorKey: borderColorKey, shadow: shadow, colorTheme: colorTheme, type: type, state: state, disabled: state === 'disabled', tabIndex: tabIndex, onClick: handleClick, onMouseDown: handleMouseDown }, { children: (0, jsx_runtime_1.jsx)(hybrid_1.Icon, { iconName: iconName, size: iconSize, colorKey: IconColorSelect(), fillType: iconFillType }) })));
|
|
79
|
+
return ((0, jsx_runtime_1.jsx)(S_IconButton, __assign({ "x-pds-name": "IconButton", "x-pds-element-type": "component", "x-pds-device-type": "desktop", fillType: fillType, shapeType: shapeType, baseSize: baseSize, baseColorKey: baseColorKey, overrideBaseColorHex: overrideBaseColorHex, borderColorKey: borderColorKey, shadow: shadow, colorTheme: colorTheme, type: type, state: state, disabled: state === 'disabled', tabIndex: tabIndex, onClick: handleClick, onMouseDown: handleMouseDown }, { children: (0, jsx_runtime_1.jsx)(hybrid_1.Icon, { iconName: iconName, size: iconSize, colorKey: IconColorSelect(), overrideColorHex: overrideIconColorHex, fillType: iconFillType }) })));
|
|
80
80
|
}
|
|
81
81
|
var fillDisabled = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: ", ";\n"], ["\n background-color: ", ";\n"])), function (_a) {
|
|
82
82
|
var theme = _a.theme, baseColorKey = _a.baseColorKey;
|
|
@@ -85,7 +85,9 @@ var fillDisabled = (0, styled_components_1.css)(templateObject_1 || (templateObj
|
|
|
85
85
|
: theme.ui_cpnt_button_fill_base_disabled;
|
|
86
86
|
});
|
|
87
87
|
var fill = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background-color: ", ";\n\n &:hover:enabled {\n ", "\n }\n\n &:active:enabled {\n ", "\n }\n\n ", ";\n"], ["\n background-color: ", ";\n\n &:hover:enabled {\n ", "\n }\n\n &:active:enabled {\n ", "\n }\n\n ", ";\n"])), function (_a) {
|
|
88
|
-
var theme = _a.theme, baseColorKey = _a.baseColorKey;
|
|
88
|
+
var theme = _a.theme, overrideBaseColorHex = _a.overrideBaseColorHex, baseColorKey = _a.baseColorKey;
|
|
89
|
+
if (overrideBaseColorHex)
|
|
90
|
+
return overrideBaseColorHex;
|
|
89
91
|
return baseColorKey ? theme[baseColorKey] : theme.ui_cpnt_button_fill_base_primary;
|
|
90
92
|
}, function (_a) {
|
|
91
93
|
var theme = _a.theme, baseColorKey = _a.baseColorKey;
|
|
@@ -4,7 +4,8 @@ export type IconProps = {
|
|
|
4
4
|
iconName?: PDSIconType;
|
|
5
5
|
size?: 12 | 16 | 20 | 24 | 32 | 48 | 56 | 64 | 72;
|
|
6
6
|
colorKey?: UiColors;
|
|
7
|
+
overrideColorHex?: string;
|
|
7
8
|
fillType?: 'line' | 'fill';
|
|
8
9
|
} & Record<string, any>;
|
|
9
|
-
declare const Icon: ({ iconName, size, colorKey, fillType }: IconProps) => JSX.Element;
|
|
10
|
+
declare const Icon: ({ iconName, size, colorKey, overrideColorHex, fillType }: IconProps) => JSX.Element;
|
|
10
11
|
export default Icon;
|
|
@@ -8,12 +8,19 @@ var styled_components_1 = require("styled-components");
|
|
|
8
8
|
var fill_1 = __importDefault(require("../../common/assets/icons/fill"));
|
|
9
9
|
var line_1 = __importDefault(require("../../common/assets/icons/line"));
|
|
10
10
|
var Icon = function (_a) {
|
|
11
|
-
var _b = _a.iconName, iconName = _b === void 0 ? 'ic_unavailable' : _b, _c = _a.size, size = _c === void 0 ? 24 : _c, _d = _a.colorKey, colorKey = _d === void 0 ? 'ui_cpnt_icon_sys_grey_01' : _d, _e = _a.fillType, fillType = _e === void 0 ? 'line' : _e;
|
|
11
|
+
var _b = _a.iconName, iconName = _b === void 0 ? 'ic_unavailable' : _b, _c = _a.size, size = _c === void 0 ? 24 : _c, _d = _a.colorKey, colorKey = _d === void 0 ? 'ui_cpnt_icon_sys_grey_01' : _d, overrideColorHex = _a.overrideColorHex, _e = _a.fillType, fillType = _e === void 0 ? 'line' : _e;
|
|
12
12
|
var theme = (0, styled_components_1.useTheme)();
|
|
13
13
|
var DefaultIcon = line_1.default.ic_unavailable;
|
|
14
14
|
var SelectedIcon = fillType === 'line'
|
|
15
15
|
? line_1.default[iconName] || fill_1.default[iconName]
|
|
16
16
|
: fill_1.default[iconName] || line_1.default[iconName];
|
|
17
|
-
|
|
17
|
+
var hexToRgba = function (hex) {
|
|
18
|
+
var r = parseInt(hex.slice(1, 3), 16);
|
|
19
|
+
var g = parseInt(hex.slice(3, 5), 16);
|
|
20
|
+
var b = parseInt(hex.slice(5, 7), 16);
|
|
21
|
+
var a = parseInt(hex.slice(7, 9), 16) / 255;
|
|
22
|
+
return "rgba(".concat(r, ", ").concat(g, ", ").concat(b, ", ").concat(a, ")");
|
|
23
|
+
};
|
|
24
|
+
return SelectedIcon ? ((0, jsx_runtime_1.jsx)(SelectedIcon, { "x-pds-name": "Icon", "x-pds-element-type": "component", "x-pds-device-type": "hybrid", color: overrideColorHex ? hexToRgba(overrideColorHex) : theme[colorKey], size: size, style: { minWidth: size, minHeight: size } })) : ((0, jsx_runtime_1.jsx)(DefaultIcon, { "x-pds-name": "Icon", "x-pds-element-type": "component", "x-pds-device-type": "hybrid", color: overrideColorHex ? hexToRgba(overrideColorHex) : theme[colorKey], size: size, style: { minWidth: size, minHeight: size } }));
|
|
18
25
|
};
|
|
19
26
|
exports.default = Icon;
|
|
@@ -259,6 +259,14 @@ exports.SAMPLE_CONTENTSCAROUSEL_CB = {
|
|
|
259
259
|
'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNLOCATION:HOVER': null,
|
|
260
260
|
'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNLOCATION:MOBILE': null,
|
|
261
261
|
'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNLOCATION:MOBILE:HOVER': null,
|
|
262
|
+
CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNPRIMARYCOLOR: '#3834FFFF',
|
|
263
|
+
'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNPRIMARYCOLOR:HOVER': null,
|
|
264
|
+
'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNPRIMARYCOLOR:MOBILE': null,
|
|
265
|
+
'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNPRIMARYCOLOR:MOBILE:HOVER': null,
|
|
266
|
+
CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSECONDARYCOLOR: '#5CFF00FF',
|
|
267
|
+
'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSECONDARYCOLOR:HOVER': null,
|
|
268
|
+
'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSECONDARYCOLOR:MOBILE': null,
|
|
269
|
+
'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSECONDARYCOLOR:MOBILE:HOVER': null,
|
|
262
270
|
CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSTYLE: 'DESIGN7',
|
|
263
271
|
'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSTYLE:HOVER': null,
|
|
264
272
|
'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSTYLE:MOBILE': null,
|
|
@@ -271,6 +279,14 @@ exports.SAMPLE_CONTENTSCAROUSEL_CB = {
|
|
|
271
279
|
'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNLOCATION:HOVER': null,
|
|
272
280
|
'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNLOCATION:MOBILE': null,
|
|
273
281
|
'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNLOCATION:MOBILE:HOVER': null,
|
|
282
|
+
CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR: '#FF1FFFFF',
|
|
283
|
+
'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR:HOVER': null,
|
|
284
|
+
'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR:MOBILE': null,
|
|
285
|
+
'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR:MOBILE:HOVER': null,
|
|
286
|
+
CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR: '#5CFF00FF',
|
|
287
|
+
'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR:HOVER': null,
|
|
288
|
+
'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR:MOBILE': null,
|
|
289
|
+
'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR:MOBILE:HOVER': null,
|
|
274
290
|
CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBAR: 'DESIGN8',
|
|
275
291
|
'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBAR:HOVER': null,
|
|
276
292
|
'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBAR:MOBILE:HOVER': null,
|
|
@@ -279,6 +295,14 @@ exports.SAMPLE_CONTENTSCAROUSEL_CB = {
|
|
|
279
295
|
'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSIZE:MOBILE': null,
|
|
280
296
|
'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSIZE:MOBILE:HOVER': null,
|
|
281
297
|
'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSIZE:HOVER': null,
|
|
298
|
+
CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARPRIMARYCOLOR: '#FF6B34FF',
|
|
299
|
+
'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARPRIMARYCOLOR:HOVER': null,
|
|
300
|
+
'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARPRIMARYCOLOR:MOBILE': null,
|
|
301
|
+
'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARPRIMARYCOLOR:MOBILE:HOVER': null,
|
|
302
|
+
CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSECONDARYCOLOR: '#00FFD9FF',
|
|
303
|
+
'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSECONDARYCOLOR:HOVER': null,
|
|
304
|
+
'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSECONDARYCOLOR:MOBILE': null,
|
|
305
|
+
'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSECONDARYCOLOR:MOBILE:HOVER': null,
|
|
282
306
|
CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_ITEMSPACING: 'NARROW',
|
|
283
307
|
'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_ITEMSPACING:HOVER': null,
|
|
284
308
|
'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_ITEMSPACING:MOBILE': null,
|
|
@@ -1028,10 +1028,18 @@ exports.SAMPLE_LIST_CB = {
|
|
|
1028
1028
|
'CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSIZE:HOVER': null,
|
|
1029
1029
|
'CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSIZE:MOBILE': null,
|
|
1030
1030
|
'CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSIZE:MOBILE:HOVER': null,
|
|
1031
|
-
CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSTYLE: '
|
|
1031
|
+
CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSTYLE: 'DESIGN13',
|
|
1032
1032
|
'CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSTYLE:HOVER': null,
|
|
1033
1033
|
'CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSTYLE:MOBILE': null,
|
|
1034
1034
|
'CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSTYLE:MOBILE:HOVER': null,
|
|
1035
|
+
CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONPRIMARYCOLOR: '#3834FFFF',
|
|
1036
|
+
'CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONPRIMARYCOLOR:HOVER': null,
|
|
1037
|
+
'CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONPRIMARYCOLOR:MOBILE': null,
|
|
1038
|
+
'CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONPRIMARYCOLOR:MOBILE:HOVER': null,
|
|
1039
|
+
CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSECONDARYCOLOR: '#5CFF00FF',
|
|
1040
|
+
'CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSECONDARYCOLOR:HOVER': null,
|
|
1041
|
+
'CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSECONDARYCOLOR:MOBILE': null,
|
|
1042
|
+
'CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSECONDARYCOLOR:MOBILE:HOVER': null,
|
|
1035
1043
|
CB_STYLE_PROP_CONTENTSLIST_SPEC_STYLE: 'DESIGN1',
|
|
1036
1044
|
'CB_STYLE_PROP_CONTENTSLIST_SPEC_STYLE:HOVER': null,
|
|
1037
1045
|
'CB_STYLE_PROP_CONTENTSLIST_SPEC_STYLE:MOBILE': null,
|
|
@@ -799,6 +799,38 @@ export declare const SAMPLE_SLIDEBANNER_CB: {
|
|
|
799
799
|
'CB_STYLE_PROP_SLIDEBANNER_SPEC_AUTOPLAYTIME:HOVER': null;
|
|
800
800
|
CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNLOCATION: string;
|
|
801
801
|
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONLOCATION:MOBILE:HOVER': null;
|
|
802
|
+
CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONPRIMARYCOLOR: string;
|
|
803
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONPRIMARYCOLOR:HOVER': null;
|
|
804
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONPRIMARYCOLOR:MOBILE': null;
|
|
805
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONPRIMARYCOLOR:MOBILE:HOVER': null;
|
|
806
|
+
CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSECONDARYCOLOR: string;
|
|
807
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSECONDARYCOLOR:HOVER': null;
|
|
808
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSECONDARYCOLOR:MOBILE': null;
|
|
809
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSECONDARYCOLOR:MOBILE:HOVER': null;
|
|
810
|
+
CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNPRIMARYCOLOR: string;
|
|
811
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNPRIMARYCOLOR:HOVER': null;
|
|
812
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNPRIMARYCOLOR:MOBILE': null;
|
|
813
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNPRIMARYCOLOR:MOBILE:HOVER': null;
|
|
814
|
+
CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSECONDARYCOLOR: string;
|
|
815
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSECONDARYCOLOR:HOVER': null;
|
|
816
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSECONDARYCOLOR:MOBILE': null;
|
|
817
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSECONDARYCOLOR:MOBILE:HOVER': null;
|
|
818
|
+
CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNPRIMARYCOLOR: string;
|
|
819
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNPRIMARYCOLOR:HOVER': null;
|
|
820
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNPRIMARYCOLOR:MOBILE': null;
|
|
821
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNPRIMARYCOLOR:MOBILE:HOVER': null;
|
|
822
|
+
CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSECONDARYCOLOR: string;
|
|
823
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSECONDARYCOLOR:HOVER': null;
|
|
824
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSECONDARYCOLOR:MOBILE': null;
|
|
825
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSECONDARYCOLOR:MOBILE:HOVER': null;
|
|
826
|
+
CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARPRIMARYCOLOR: string;
|
|
827
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARPRIMARYCOLOR:HOVER': null;
|
|
828
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARPRIMARYCOLOR:MOBILE': null;
|
|
829
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARPRIMARYCOLOR:MOBILE:HOVER': null;
|
|
830
|
+
CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSECONDARYCOLOR: string;
|
|
831
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSECONDARYCOLOR:HOVER': null;
|
|
832
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSECONDARYCOLOR:MOBILE': null;
|
|
833
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSECONDARYCOLOR:MOBILE:HOVER': null;
|
|
802
834
|
};
|
|
803
835
|
};
|
|
804
836
|
minVersion: string;
|
|
@@ -781,7 +781,7 @@ exports.SAMPLE_SLIDEBANNER_CB = {
|
|
|
781
781
|
'CB_STYLE_PROP_SLIDEBANNER_SPEC_AUTOPLAYTIME:MOBILE:HOVER': null,
|
|
782
782
|
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBAR:HOVER': null,
|
|
783
783
|
'CB_STYLE_PROP_SLIDEBANNER_SPEC_INFINITESCROLL:HOVER': null,
|
|
784
|
-
CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONLOCATION: '
|
|
784
|
+
CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONLOCATION: 'OUTSET5',
|
|
785
785
|
'CB_STYLE_PROP_SLIDEBANNER_SPEC_AUTOPLAYTIME:MOBILE': null,
|
|
786
786
|
'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSIZE:MOBILE:HOVER': null,
|
|
787
787
|
'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNLOCATION:MOBILE:HOVER': null,
|
|
@@ -804,13 +804,45 @@ exports.SAMPLE_SLIDEBANNER_CB = {
|
|
|
804
804
|
'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSIZE:HOVER': null,
|
|
805
805
|
'CB_STYLE_PROP_SLIDEBANNER_SPEC_INFINITESCROLL:MOBILE': null,
|
|
806
806
|
'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSTYLE:HOVER': null,
|
|
807
|
-
CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSTYLE: '
|
|
807
|
+
CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSTYLE: 'DESIGN16',
|
|
808
808
|
CB_STYLE_PROP_SLIDEBANNER_SPEC_AUTOPLAYUSE: true,
|
|
809
809
|
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSIZE:MOBILE:HOVER': null,
|
|
810
810
|
'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSIZE:MOBILE': null,
|
|
811
811
|
'CB_STYLE_PROP_SLIDEBANNER_SPEC_AUTOPLAYTIME:HOVER': null,
|
|
812
812
|
CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNLOCATION: 'OUTSET1',
|
|
813
|
-
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONLOCATION:MOBILE:HOVER': null
|
|
813
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONLOCATION:MOBILE:HOVER': null,
|
|
814
|
+
CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONPRIMARYCOLOR: '#3834FFFF',
|
|
815
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONPRIMARYCOLOR:HOVER': null,
|
|
816
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONPRIMARYCOLOR:MOBILE': null,
|
|
817
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONPRIMARYCOLOR:MOBILE:HOVER': null,
|
|
818
|
+
CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSECONDARYCOLOR: '#5CFF00FF',
|
|
819
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSECONDARYCOLOR:HOVER': null,
|
|
820
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSECONDARYCOLOR:MOBILE': null,
|
|
821
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSECONDARYCOLOR:MOBILE:HOVER': null,
|
|
822
|
+
CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNPRIMARYCOLOR: '#3834FFFF',
|
|
823
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNPRIMARYCOLOR:HOVER': null,
|
|
824
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNPRIMARYCOLOR:MOBILE': null,
|
|
825
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNPRIMARYCOLOR:MOBILE:HOVER': null,
|
|
826
|
+
CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSECONDARYCOLOR: '#5CFF00FF',
|
|
827
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSECONDARYCOLOR:HOVER': null,
|
|
828
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSECONDARYCOLOR:MOBILE': null,
|
|
829
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSECONDARYCOLOR:MOBILE:HOVER': null,
|
|
830
|
+
CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNPRIMARYCOLOR: '#FF1FFFFF',
|
|
831
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNPRIMARYCOLOR:HOVER': null,
|
|
832
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNPRIMARYCOLOR:MOBILE': null,
|
|
833
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNPRIMARYCOLOR:MOBILE:HOVER': null,
|
|
834
|
+
CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSECONDARYCOLOR: '#5CFF00FF',
|
|
835
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSECONDARYCOLOR:HOVER': null,
|
|
836
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSECONDARYCOLOR:MOBILE': null,
|
|
837
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSECONDARYCOLOR:MOBILE:HOVER': null,
|
|
838
|
+
CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARPRIMARYCOLOR: '#FF6B34FF',
|
|
839
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARPRIMARYCOLOR:HOVER': null,
|
|
840
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARPRIMARYCOLOR:MOBILE': null,
|
|
841
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARPRIMARYCOLOR:MOBILE:HOVER': null,
|
|
842
|
+
CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSECONDARYCOLOR: '#00FFD9FF',
|
|
843
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSECONDARYCOLOR:HOVER': null,
|
|
844
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSECONDARYCOLOR:MOBILE': null,
|
|
845
|
+
'CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSECONDARYCOLOR:MOBILE:HOVER': null
|
|
814
846
|
}
|
|
815
847
|
},
|
|
816
848
|
minVersion: '2023-08-03',
|
|
@@ -224,13 +224,25 @@ function ContentsCarousel(props) {
|
|
|
224
224
|
? customNavigationHoverStyle.prevBtnOffset
|
|
225
225
|
: customNavigationNormalStyle.prevBtnOffset, prevBtnSize: isHovered
|
|
226
226
|
? customNavigationHoverStyle.prevBtnSize
|
|
227
|
-
: customNavigationNormalStyle.prevBtnSize,
|
|
227
|
+
: customNavigationNormalStyle.prevBtnSize, prevBtnPrimaryColor: isHovered
|
|
228
|
+
? customNavigationHoverStyle.prevBtnPrimaryColor
|
|
229
|
+
: customNavigationNormalStyle.prevBtnPrimaryColor, prevBtnSecondaryColor: isHovered
|
|
230
|
+
? customNavigationHoverStyle.prevBtnSecondaryColor
|
|
231
|
+
: customNavigationNormalStyle.prevBtnSecondaryColor, onPrevBtnClick: handlePrevBtnClick, nextBtnDisabled: loop ? false : isEnd, nextBtnType: isHovered
|
|
228
232
|
? customNavigationHoverStyle.nextBtnType
|
|
229
233
|
: customNavigationNormalStyle.nextBtnType, nextBtnOffset: isHovered
|
|
230
234
|
? customNavigationHoverStyle.nextBtnOffset
|
|
231
235
|
: customNavigationNormalStyle.nextBtnOffset, nextBtnSize: isHovered
|
|
232
236
|
? customNavigationHoverStyle.nextBtnSize
|
|
233
|
-
: customNavigationNormalStyle.nextBtnSize,
|
|
237
|
+
: customNavigationNormalStyle.nextBtnSize, nextBtnPrimaryColor: isHovered
|
|
238
|
+
? customNavigationHoverStyle.nextBtnPrimaryColor
|
|
239
|
+
: customNavigationNormalStyle.nextBtnPrimaryColor, nextBtnSecondaryColor: isHovered
|
|
240
|
+
? customNavigationHoverStyle.nextBtnSecondaryColor
|
|
241
|
+
: customNavigationNormalStyle.nextBtnSecondaryColor, onNextBtnClick: handleNextBtnClick }), (0, jsx_runtime_1.jsx)(CustomProgressbar_1.CustomProgressbar, { progressRef: progressRef, leftTimeMsRef: leftTimeMsRef, type: isHovered ? customProgressbarHoverStyle.type : customProgressbarNormalStyle.type, size: isHovered ? customProgressbarHoverStyle.size : customProgressbarNormalStyle.size, primaryColor: isHovered
|
|
242
|
+
? customProgressbarHoverStyle.primaryColor
|
|
243
|
+
: customProgressbarNormalStyle.primaryColor, secondaryColor: isHovered
|
|
244
|
+
? customProgressbarHoverStyle.secondaryColor
|
|
245
|
+
: customProgressbarNormalStyle.secondaryColor })] })) })) })));
|
|
234
246
|
}
|
|
235
247
|
var S_SwiperWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 100%;\n width: 100%;\n ", "\n"], ["\n height: 100%;\n width: 100%;\n ", "\n"])), function (_a) {
|
|
236
248
|
var customStyle = _a.customStyle;
|
|
@@ -14,14 +14,18 @@ export interface CustomNavigationProps {
|
|
|
14
14
|
prevBtnType?: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSTYLE_TYPE;
|
|
15
15
|
prevBtnOffset?: NavigationOffset;
|
|
16
16
|
prevBtnSize?: number;
|
|
17
|
+
prevBtnPrimaryColor?: string;
|
|
18
|
+
prevBtnSecondaryColor?: string;
|
|
17
19
|
nextBtnDisabled?: boolean;
|
|
18
20
|
nextBtnType?: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSTYLE_TYPE;
|
|
19
21
|
nextBtnOffset?: NavigationOffset;
|
|
20
22
|
nextBtnSize?: number;
|
|
23
|
+
nextBtnPrimaryColor?: string;
|
|
24
|
+
nextBtnSecondaryColor?: string;
|
|
21
25
|
onPrevBtnClick?: () => void;
|
|
22
26
|
onNextBtnClick?: () => void;
|
|
23
27
|
}
|
|
24
|
-
export declare const CustomNavigation: ({ prevBtnDisabled, prevBtnType, prevBtnOffset, prevBtnSize, nextBtnDisabled, nextBtnType, nextBtnOffset, nextBtnSize, onPrevBtnClick, onNextBtnClick }: CustomNavigationProps) => JSX.Element;
|
|
28
|
+
export declare const CustomNavigation: ({ prevBtnDisabled, prevBtnType, prevBtnOffset, prevBtnSize, prevBtnPrimaryColor, prevBtnSecondaryColor, nextBtnDisabled, nextBtnType, nextBtnOffset, nextBtnSize, nextBtnPrimaryColor, nextBtnSecondaryColor, onPrevBtnClick, onNextBtnClick }: CustomNavigationProps) => JSX.Element;
|
|
25
29
|
export interface FlexBoxProps {
|
|
26
30
|
direction?: 'row' | 'column';
|
|
27
31
|
justifyContent?: string;
|
|
@@ -44,7 +44,7 @@ var IconButton_1 = require("../../../../../../../../DynamicLayout/components/pds
|
|
|
44
44
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
45
45
|
var navigationConfigs_1 = require("./navigationConfigs");
|
|
46
46
|
var CustomNavigation = function (_a) {
|
|
47
|
-
var _b = _a.prevBtnDisabled, prevBtnDisabled = _b === void 0 ? false : _b, _c = _a.prevBtnType, prevBtnType = _c === void 0 ? 'NONE' : _c, _d = _a.prevBtnOffset, prevBtnOffset = _d === void 0 ? { top: '0' } : _d, _e = _a.prevBtnSize, prevBtnSize = _e === void 0 ? 1 : _e, _f = _a.nextBtnDisabled, nextBtnDisabled = _f === void 0 ? false : _f, _g = _a.nextBtnType, nextBtnType = _g === void 0 ? 'NONE' : _g, _h = _a.nextBtnOffset, nextBtnOffset = _h === void 0 ? { top: '0' } : _h, _j = _a.nextBtnSize, nextBtnSize = _j === void 0 ? 1 : _j, onPrevBtnClick = _a.onPrevBtnClick, onNextBtnClick = _a.onNextBtnClick;
|
|
47
|
+
var _b = _a.prevBtnDisabled, prevBtnDisabled = _b === void 0 ? false : _b, _c = _a.prevBtnType, prevBtnType = _c === void 0 ? 'NONE' : _c, _d = _a.prevBtnOffset, prevBtnOffset = _d === void 0 ? { top: '0' } : _d, _e = _a.prevBtnSize, prevBtnSize = _e === void 0 ? 1 : _e, prevBtnPrimaryColor = _a.prevBtnPrimaryColor, prevBtnSecondaryColor = _a.prevBtnSecondaryColor, _f = _a.nextBtnDisabled, nextBtnDisabled = _f === void 0 ? false : _f, _g = _a.nextBtnType, nextBtnType = _g === void 0 ? 'NONE' : _g, _h = _a.nextBtnOffset, nextBtnOffset = _h === void 0 ? { top: '0' } : _h, _j = _a.nextBtnSize, nextBtnSize = _j === void 0 ? 1 : _j, nextBtnPrimaryColor = _a.nextBtnPrimaryColor, nextBtnSecondaryColor = _a.nextBtnSecondaryColor, onPrevBtnClick = _a.onPrevBtnClick, onNextBtnClick = _a.onNextBtnClick;
|
|
48
48
|
var getIsSameOffset = function (prevBtnOffset, nextBtnOffset) {
|
|
49
49
|
return (prevBtnOffset.top === nextBtnOffset.top &&
|
|
50
50
|
prevBtnOffset.bottom === nextBtnOffset.bottom &&
|
|
@@ -57,7 +57,7 @@ var CustomNavigation = function (_a) {
|
|
|
57
57
|
var isSameOffset = getIsSameOffset(prevBtnOffset, nextBtnOffset);
|
|
58
58
|
var prevButton = prevBtnType === 'NONE' ? undefined : navigationConfigs_1.prevButtonMappedIcons[prevBtnType];
|
|
59
59
|
var nextButton = nextBtnType === 'NONE' ? undefined : navigationConfigs_1.nextButtonMappedIcons[nextBtnType];
|
|
60
|
-
return ((0, jsx_runtime_1.jsxs)(S_Navigation, __assign({ "$offset": isSameOffset ? prevBtnOffset : undefined, "$size": isSameOffset ? prevBtnSize : 1 }, { children: [prevButton && ((0, jsx_runtime_1.jsx)(S_PrevButton, __assign({ className: "".concat(prevBtnDisabled ? 'disabled' : ''), "$offset": isSameOffset ? undefined : prevBtnOffset, "$size": isSameOffset ? undefined : prevBtnSize }, { children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { fillType: "fill", baseSize: "large", shapeType: prevButton.shapeType,
|
|
60
|
+
return ((0, jsx_runtime_1.jsxs)(S_Navigation, __assign({ "$offset": isSameOffset ? prevBtnOffset : undefined, "$size": isSameOffset ? prevBtnSize : 1 }, { children: [prevButton && ((0, jsx_runtime_1.jsx)(S_PrevButton, __assign({ className: "".concat(prevBtnDisabled ? 'disabled' : ''), "$offset": isSameOffset ? undefined : prevBtnOffset, "$size": isSameOffset ? undefined : prevBtnSize }, { children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { fillType: "fill", baseSize: "large", shapeType: prevButton.shapeType, borderColorKey: prevButton.borderColorKey, overrideBaseColorHex: prevBtnPrimaryColor, iconName: prevButton.iconName, iconFillType: "line", iconColorKey: prevButton.iconColorKey || 'ui_cpnt_icon_sys_black', overrideIconColorHex: prevBtnSecondaryColor, shadow: prevButton.shadow, onClick: onPrevBtnClick }) }))), nextButton && ((0, jsx_runtime_1.jsx)(S_NextButton, __assign({ className: "".concat(nextBtnDisabled ? 'disabled' : ''), "$offset": isSameOffset ? undefined : nextBtnOffset, "$size": isSameOffset ? undefined : nextBtnSize }, { children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { fillType: "fill", baseSize: "large", shapeType: nextButton.shapeType, borderColorKey: nextButton.baseColorKey, overrideBaseColorHex: nextBtnPrimaryColor, iconName: nextButton.iconName, iconFillType: "line", iconColorKey: nextButton.iconColorKey || 'ui_cpnt_icon_sys_black', overrideIconColorHex: nextBtnSecondaryColor, shadow: nextButton.shadow, onClick: onNextBtnClick }) })))] })));
|
|
61
61
|
};
|
|
62
62
|
exports.CustomNavigation = CustomNavigation;
|
|
63
63
|
var S_Navigation = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: ", ";\n padding: ", ";\n position: ", ";\n transform: ", ";\n ", ";\n transform-origin: ", ";\n z-index: 3;\n"], ["\n display: ", ";\n padding: ", ";\n position: ", ";\n transform: ", ";\n ", ";\n transform-origin: ", ";\n z-index: 3;\n"])), function (_a) {
|
|
@@ -13,8 +13,10 @@ export interface CustomPaginationProps {
|
|
|
13
13
|
transformOrigin?: string;
|
|
14
14
|
};
|
|
15
15
|
size?: number;
|
|
16
|
+
primaryColor?: string;
|
|
17
|
+
secondaryColor?: string;
|
|
16
18
|
}
|
|
17
|
-
export declare const CustomPagination: ({ current, total, type, offset, size, prevBtnDisabled, nextBtnDisabled, onBulletClick, onPrevBtnClick, onNextBtnClick }: CustomPaginationProps & {
|
|
19
|
+
export declare const CustomPagination: ({ current, total, type, offset, size, primaryColor, secondaryColor, prevBtnDisabled, nextBtnDisabled, onBulletClick, onPrevBtnClick, onNextBtnClick }: CustomPaginationProps & {
|
|
18
20
|
prevBtnDisabled: boolean;
|
|
19
21
|
nextBtnDisabled: boolean;
|
|
20
22
|
onBulletClick: (index: number) => void;
|
|
@@ -43,7 +43,7 @@ var jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
43
43
|
var components_1 = require("../../../../../../../../DynamicLayout/components");
|
|
44
44
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
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, prevBtnDisabled = _a.prevBtnDisabled, nextBtnDisabled = _a.nextBtnDisabled, onBulletClick = _a.onBulletClick, onPrevBtnClick = _a.onPrevBtnClick, onNextBtnClick = _a.onNextBtnClick;
|
|
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, prevBtnDisabled = _a.prevBtnDisabled, nextBtnDisabled = _a.nextBtnDisabled, onBulletClick = _a.onBulletClick, onPrevBtnClick = _a.onPrevBtnClick, onNextBtnClick = _a.onNextBtnClick;
|
|
47
47
|
var bullets = Array.from({ length: total }, function (_, i) { return i; });
|
|
48
48
|
return ((0, jsx_runtime_1.jsx)(S_Pagination, __assign({ className: "custom-pagination_".concat(current), "$offset": offset, "$size": size }, { children: (function () {
|
|
49
49
|
switch (type) {
|
|
@@ -72,15 +72,15 @@ var CustomPagination = function (_a) {
|
|
|
72
72
|
case 'DESIGN11':
|
|
73
73
|
return ((0, jsx_runtime_1.jsx)(FlexBox, __assign({ gap: "8px" }, { children: bullets.map(function (_, index) { return ((0, jsx_runtime_1.jsx)(S_Dot, { color: "DARK", isActive: index + 1 === current, onClick: function () { return onBulletClick(index); } }, index)); }) })));
|
|
74
74
|
case 'DESIGN12':
|
|
75
|
-
return ((0, jsx_runtime_1.jsx)(FlexBox, __assign({ gap: "8px" }, { children: bullets.map(function (_, index) { return ((0, jsx_runtime_1.jsx)(S_Dot, { color:
|
|
75
|
+
return ((0, jsx_runtime_1.jsx)(FlexBox, __assign({ gap: "8px" }, { children: bullets.map(function (_, index) { return ((0, jsx_runtime_1.jsx)(S_Dot, { color: index + 1 === current ? primaryColor : secondaryColor, isActive: index + 1 === current, onClick: function () { return onBulletClick(index); } }, index)); }) })));
|
|
76
76
|
case 'DESIGN13':
|
|
77
|
-
return ((0, jsx_runtime_1.jsx)(FlexBox, __assign({ direction: "column", gap: "12px" }, { children: bullets.map(function (_, index) { return ((0, jsx_runtime_1.jsx)(S_Dot, { color:
|
|
77
|
+
return ((0, jsx_runtime_1.jsx)(FlexBox, __assign({ direction: "column", gap: "12px" }, { children: bullets.map(function (_, index) { return ((0, jsx_runtime_1.jsx)(S_Dot, { color: index + 1 === current ? primaryColor : secondaryColor, isActive: index + 1 === current, onClick: function () { return onBulletClick(index); } }, index)); }) })));
|
|
78
78
|
case 'DESIGN14':
|
|
79
|
-
return ((0, jsx_runtime_1.jsx)(FlexBox, __assign({ direction: "column", gap: "12px" }, { children: bullets.map(function (_, index) { return ((0, jsx_runtime_1.jsx)(S_Dot, { color:
|
|
79
|
+
return ((0, jsx_runtime_1.jsx)(FlexBox, __assign({ direction: "column", gap: "12px" }, { children: bullets.map(function (_, index) { return ((0, jsx_runtime_1.jsx)(S_Dot, { color: index + 1 === current ? primaryColor : secondaryColor, isActive: index + 1 === current, onClick: function () { return onBulletClick(index); } }, index)); }) })));
|
|
80
80
|
case 'DESIGN15':
|
|
81
|
-
return ((0, jsx_runtime_1.jsx)(FlexBox, __assign({ gap: "8px" }, { children: bullets.map(function (_, index) { return ((0, jsx_runtime_1.jsx)(S_Bar, { color:
|
|
81
|
+
return ((0, jsx_runtime_1.jsx)(FlexBox, __assign({ gap: "8px" }, { children: bullets.map(function (_, index) { return ((0, jsx_runtime_1.jsx)(S_Bar, { color: index + 1 === current ? primaryColor : secondaryColor, isActive: index + 1 === current, onClick: function () { return onBulletClick(index); } }, index)); }) })));
|
|
82
82
|
case 'DESIGN16':
|
|
83
|
-
return ((0, jsx_runtime_1.jsx)(FlexBox, __assign({ gap: "8px" }, { children: bullets.map(function (_, index) { return ((0, jsx_runtime_1.jsx)(S_Bar, { color:
|
|
83
|
+
return ((0, jsx_runtime_1.jsx)(FlexBox, __assign({ gap: "8px" }, { children: bullets.map(function (_, index) { return ((0, jsx_runtime_1.jsx)(S_Bar, { color: index + 1 === current ? primaryColor : secondaryColor, isActive: index + 1 === current, onClick: function () { return onBulletClick(index); } }, index)); }) })));
|
|
84
84
|
default:
|
|
85
85
|
return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
|
|
86
86
|
}
|
|
@@ -164,23 +164,15 @@ var S_Divider = styled_components_1.default.div(templateObject_11 || (templateOb
|
|
|
164
164
|
var type = _a.type;
|
|
165
165
|
return (type === 'VERTICAL' ? verticalDivider : horizontalDivider);
|
|
166
166
|
});
|
|
167
|
-
var
|
|
168
|
-
var isActive = _a.isActive;
|
|
169
|
-
return (isActive ? 1 : 0.2);
|
|
170
|
-
});
|
|
171
|
-
var darkBullet = (0, styled_components_1.css)(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n background-color: #000000;\n opacity: ", ";\n"], ["\n background-color: #000000;\n opacity: ", ";\n"])), function (_a) {
|
|
172
|
-
var isActive = _a.isActive;
|
|
173
|
-
return (isActive ? 1 : 0.3);
|
|
174
|
-
});
|
|
175
|
-
var S_Dot = styled_components_1.default.div(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n border-radius: 50%;\n cursor: pointer;\n height: 8px;\n width: 8px;\n ", ";\n"], ["\n border-radius: 50%;\n cursor: pointer;\n height: 8px;\n width: 8px;\n ", ";\n"])), function (_a) {
|
|
167
|
+
var S_Dot = styled_components_1.default.div(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n border-radius: 50%;\n cursor: pointer;\n height: 8px;\n width: 8px;\n ", ";\n"], ["\n border-radius: 50%;\n cursor: pointer;\n height: 8px;\n width: 8px;\n ", ";\n"])), function (_a) {
|
|
176
168
|
var color = _a.color;
|
|
177
|
-
return
|
|
169
|
+
return color;
|
|
178
170
|
});
|
|
179
|
-
var S_Bar = styled_components_1.default.div(
|
|
171
|
+
var S_Bar = styled_components_1.default.div(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n cursor: pointer;\n height: 2px;\n width: 40px;\n ", ";\n"], ["\n cursor: pointer;\n height: 2px;\n width: 40px;\n ", ";\n"])), function (_a) {
|
|
180
172
|
var color = _a.color;
|
|
181
|
-
return
|
|
173
|
+
return color;
|
|
182
174
|
});
|
|
183
|
-
var S_Pointer = styled_components_1.default.div(
|
|
175
|
+
var S_Pointer = styled_components_1.default.div(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n cursor: ", ";\n height: 16px;\n opacity: ", ";\n"], ["\n cursor: ", ";\n height: 16px;\n opacity: ", ";\n"])), function (_a) {
|
|
184
176
|
var disabled = _a.disabled;
|
|
185
177
|
return (disabled ? 'not-allowed' : 'pointer');
|
|
186
178
|
}, function (_a) {
|
|
@@ -188,4 +180,4 @@ var S_Pointer = styled_components_1.default.div(templateObject_16 || (templateOb
|
|
|
188
180
|
return (disabled ? 0.4 : 1);
|
|
189
181
|
});
|
|
190
182
|
exports.default = exports.CustomPagination;
|
|
191
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14
|
|
183
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14;
|
|
@@ -12,10 +12,12 @@ export interface CustomProgressbarProps {
|
|
|
12
12
|
transformOrigin?: string;
|
|
13
13
|
};
|
|
14
14
|
size?: number;
|
|
15
|
+
primaryColor?: string;
|
|
16
|
+
secondaryColor?: string;
|
|
15
17
|
}
|
|
16
18
|
type Props = {
|
|
17
19
|
progressRef: React.RefObject<number>;
|
|
18
20
|
leftTimeMsRef: React.RefObject<number>;
|
|
19
21
|
} & CustomProgressbarProps;
|
|
20
|
-
export declare const CustomProgressbar: ({ progressRef, leftTimeMsRef, type, offset, size }: Props) => JSX.Element;
|
|
22
|
+
export declare const CustomProgressbar: ({ progressRef, leftTimeMsRef, type, offset, size, primaryColor, secondaryColor }: Props) => JSX.Element;
|
|
21
23
|
export default CustomProgressbar;
|
|
@@ -44,7 +44,7 @@ var react_1 = require("react");
|
|
|
44
44
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
45
45
|
var progressConfigs_1 = require("./progressConfigs");
|
|
46
46
|
var CustomProgressbar = function (_a) {
|
|
47
|
-
var progressRef = _a.progressRef, leftTimeMsRef = _a.leftTimeMsRef, _b = _a.type, type = _b === void 0 ? 'NONE' : _b, _c = _a.offset, offset = _c === void 0 ? { top: '0' } : _c, _d = _a.size, size = _d === void 0 ? 1 : _d;
|
|
47
|
+
var progressRef = _a.progressRef, leftTimeMsRef = _a.leftTimeMsRef, _b = _a.type, type = _b === void 0 ? 'NONE' : _b, _c = _a.offset, offset = _c === void 0 ? { top: '0' } : _c, _d = _a.size, size = _d === void 0 ? 1 : _d, primaryColor = _a.primaryColor, secondaryColor = _a.secondaryColor;
|
|
48
48
|
var _e = (0, react_1.useState)(0), leftTimeSec = _e[0], setLeftTimeSec = _e[1];
|
|
49
49
|
var _f = (0, react_1.useState)(0), progress = _f[0], setProgress = _f[1];
|
|
50
50
|
(0, react_1.useEffect)(function () {
|
|
@@ -80,23 +80,23 @@ var CustomProgressbar = function (_a) {
|
|
|
80
80
|
case 'NONE':
|
|
81
81
|
return null;
|
|
82
82
|
case 'DESIGN1':
|
|
83
|
-
return (0, jsx_runtime_1.jsx)(progressConfigs_1.ProgressDesign1, { progress: progress, leftTimeSec: leftTimeSec });
|
|
83
|
+
return ((0, jsx_runtime_1.jsx)(progressConfigs_1.ProgressDesign1, { progress: progress, leftTimeSec: leftTimeSec, progressColor: primaryColor, bufferColor: secondaryColor }));
|
|
84
84
|
case 'DESIGN2':
|
|
85
|
-
return (0, jsx_runtime_1.jsx)(progressConfigs_1.ProgressDesign2, { progress: progress, leftTimeSec: leftTimeSec });
|
|
85
|
+
return ((0, jsx_runtime_1.jsx)(progressConfigs_1.ProgressDesign2, { progress: progress, leftTimeSec: leftTimeSec, progressColor: primaryColor, bufferColor: secondaryColor }));
|
|
86
86
|
case 'DESIGN3':
|
|
87
|
-
return (0, jsx_runtime_1.jsx)(progressConfigs_1.ProgressDesign3, { progress: progress });
|
|
87
|
+
return ((0, jsx_runtime_1.jsx)(progressConfigs_1.ProgressDesign3, { progress: progress, progressColor: primaryColor, bufferColor: secondaryColor }));
|
|
88
88
|
case 'DESIGN4':
|
|
89
|
-
return (0, jsx_runtime_1.jsx)(progressConfigs_1.ProgressDesign4, { progress: progress });
|
|
89
|
+
return ((0, jsx_runtime_1.jsx)(progressConfigs_1.ProgressDesign4, { progress: progress, progressColor: primaryColor, bufferColor: secondaryColor }));
|
|
90
90
|
case 'DESIGN5':
|
|
91
|
-
return (0, jsx_runtime_1.jsx)(progressConfigs_1.ProgressDesign5, { progress: progress });
|
|
91
|
+
return ((0, jsx_runtime_1.jsx)(progressConfigs_1.ProgressDesign5, { progress: progress, progressColor: primaryColor, bufferColor: secondaryColor }));
|
|
92
92
|
case 'DESIGN6':
|
|
93
|
-
return (0, jsx_runtime_1.jsx)(progressConfigs_1.ProgressDesign6, { progress: progress });
|
|
93
|
+
return ((0, jsx_runtime_1.jsx)(progressConfigs_1.ProgressDesign6, { progress: progress, progressColor: primaryColor, bufferColor: secondaryColor }));
|
|
94
94
|
case 'DESIGN7':
|
|
95
|
-
return (0, jsx_runtime_1.jsx)(progressConfigs_1.ProgressDesign7, { progress: progress });
|
|
95
|
+
return ((0, jsx_runtime_1.jsx)(progressConfigs_1.ProgressDesign7, { progress: progress, progressColor: primaryColor, bufferColor: secondaryColor }));
|
|
96
96
|
case 'DESIGN8':
|
|
97
|
-
return (0, jsx_runtime_1.jsx)(progressConfigs_1.ProgressDesign8, { progress: progress });
|
|
97
|
+
return ((0, jsx_runtime_1.jsx)(progressConfigs_1.ProgressDesign8, { progress: progress, progressColor: primaryColor, bufferColor: secondaryColor }));
|
|
98
98
|
default:
|
|
99
|
-
return (0, jsx_runtime_1.jsx)(progressConfigs_1.ProgressDesign1, { progress: progress, leftTimeSec: leftTimeSec });
|
|
99
|
+
return ((0, jsx_runtime_1.jsx)(progressConfigs_1.ProgressDesign1, { progress: progress, leftTimeSec: leftTimeSec, progressColor: primaryColor, bufferColor: secondaryColor }));
|
|
100
100
|
}
|
|
101
101
|
};
|
|
102
102
|
return ((0, jsx_runtime_1.jsx)(S_ProgressWrapper, __assign({ "$offset": offset, "$size": size }, { children: renderProgressByType() })));
|
|
@@ -1,27 +1,43 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const ProgressDesign1: ({ progress, leftTimeSec }: {
|
|
2
|
+
export declare const ProgressDesign1: ({ progress, leftTimeSec, progressColor, bufferColor }: {
|
|
3
3
|
progress: number;
|
|
4
4
|
leftTimeSec: number;
|
|
5
|
+
progressColor?: string | undefined;
|
|
6
|
+
bufferColor?: string | undefined;
|
|
5
7
|
}) => JSX.Element;
|
|
6
|
-
export declare const ProgressDesign2: ({ progress, leftTimeSec }: {
|
|
8
|
+
export declare const ProgressDesign2: ({ progress, leftTimeSec, progressColor, bufferColor }: {
|
|
7
9
|
progress: number;
|
|
8
10
|
leftTimeSec: number;
|
|
11
|
+
progressColor?: string | undefined;
|
|
12
|
+
bufferColor?: string | undefined;
|
|
9
13
|
}) => JSX.Element;
|
|
10
|
-
export declare const ProgressDesign3: ({ progress }: {
|
|
14
|
+
export declare const ProgressDesign3: ({ progress, progressColor, bufferColor }: {
|
|
11
15
|
progress: number;
|
|
16
|
+
progressColor?: string | undefined;
|
|
17
|
+
bufferColor?: string | undefined;
|
|
12
18
|
}) => JSX.Element;
|
|
13
|
-
export declare const ProgressDesign4: ({ progress }: {
|
|
19
|
+
export declare const ProgressDesign4: ({ progress, progressColor, bufferColor }: {
|
|
14
20
|
progress: number;
|
|
21
|
+
progressColor?: string | undefined;
|
|
22
|
+
bufferColor?: string | undefined;
|
|
15
23
|
}) => JSX.Element;
|
|
16
|
-
export declare const ProgressDesign5: ({ progress }: {
|
|
24
|
+
export declare const ProgressDesign5: ({ progress, progressColor, bufferColor }: {
|
|
17
25
|
progress: number;
|
|
26
|
+
progressColor?: string | undefined;
|
|
27
|
+
bufferColor?: string | undefined;
|
|
18
28
|
}) => JSX.Element;
|
|
19
|
-
export declare const ProgressDesign6: ({ progress }: {
|
|
29
|
+
export declare const ProgressDesign6: ({ progress, progressColor, bufferColor }: {
|
|
20
30
|
progress: number;
|
|
31
|
+
progressColor?: string | undefined;
|
|
32
|
+
bufferColor?: string | undefined;
|
|
21
33
|
}) => JSX.Element;
|
|
22
|
-
export declare const ProgressDesign7: ({ progress }: {
|
|
34
|
+
export declare const ProgressDesign7: ({ progress, progressColor, bufferColor }: {
|
|
23
35
|
progress: number;
|
|
36
|
+
progressColor?: string | undefined;
|
|
37
|
+
bufferColor?: string | undefined;
|
|
24
38
|
}) => JSX.Element;
|
|
25
|
-
export declare const ProgressDesign8: ({ progress }: {
|
|
39
|
+
export declare const ProgressDesign8: ({ progress, progressColor, bufferColor }: {
|
|
26
40
|
progress: number;
|
|
41
|
+
progressColor?: string | undefined;
|
|
42
|
+
bufferColor?: string | undefined;
|
|
27
43
|
}) => JSX.Element;
|