pds-dev-kit-web-test 2.7.227 → 2.7.228
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.
|
@@ -82,16 +82,18 @@ function Design7(_a) {
|
|
|
82
82
|
var total = _a.total, current = _a.current, pages = _a.pages, primaryColor = _a.primaryColor, secondaryColor = _a.secondaryColor, size = _a.size, onPageChange = _a.onPageChange, onNext = _a.onNext, onPrevious = _a.onPrevious;
|
|
83
83
|
var _b = LIST_PAGINATION_SIZES.DESIGN7[size], BUTTON_SIZE = _b.BUTTON_SIZE, SELECTED_TEXT_STYLE_THEME = _b.SELECTED_TEXT_STYLE_THEME, UNSELECTED_TEXT_STYLE_THEME = _b.UNSELECTED_TEXT_STYLE_THEME, ICON_SIZE = _b.ICON_SIZE;
|
|
84
84
|
return ((0, jsx_runtime_1.jsxs)(FlexBox, __assign({ style: { color: secondaryColor || 'inherit' } }, { children: [(0, jsx_runtime_1.jsx)(S_Pointer, __assign({ onClick: onPrevious, disabled: current === 1 }, { children: (0, jsx_runtime_1.jsx)(components_1.D_IconButton, { iconName: "ic_arrow_left", iconSize: ICON_SIZE, baseSize: BUTTON_SIZE, iconColorKey: "ui_cpnt_icon_sys_dark", overrideIconColorHex: primaryColor, baseColorKey: "ui_cpnt_button_fill_base_transparent" }) })), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: {
|
|
85
|
-
marginLeft: '8px'
|
|
86
|
-
|
|
85
|
+
marginLeft: '8px',
|
|
86
|
+
color: primaryColor
|
|
87
|
+
}, styleTheme: SELECTED_TEXT_STYLE_THEME }, { children: current })), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { marginLeft: '4px', opacity: 0.6, color: primaryColor }, styleTheme: UNSELECTED_TEXT_STYLE_THEME }, { children: "/" })), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { marginRight: '8px', opacity: 0.6, color: primaryColor }, styleTheme: UNSELECTED_TEXT_STYLE_THEME }, { children: total })), (0, jsx_runtime_1.jsx)(S_Pointer, __assign({ onClick: onNext, disabled: current === total }, { children: (0, jsx_runtime_1.jsx)(components_1.D_IconButton, { iconName: "ic_arrow_right", iconSize: ICON_SIZE, baseSize: BUTTON_SIZE, iconColorKey: "ui_cpnt_icon_sys_dark", overrideIconColorHex: primaryColor, baseColorKey: "ui_cpnt_button_fill_base_transparent" }) }))] })));
|
|
87
88
|
}
|
|
88
89
|
exports.Design7 = Design7;
|
|
89
90
|
function Design8(_a) {
|
|
90
91
|
var total = _a.total, current = _a.current, pages = _a.pages, primaryColor = _a.primaryColor, secondaryColor = _a.secondaryColor, size = _a.size, onPageChange = _a.onPageChange, onNext = _a.onNext, onPrevious = _a.onPrevious;
|
|
91
92
|
var _b = LIST_PAGINATION_SIZES.DESIGN8[size], BUTTON_SIZE = _b.BUTTON_SIZE, SELECTED_TEXT_STYLE_THEME = _b.SELECTED_TEXT_STYLE_THEME, UNSELECTED_TEXT_STYLE_THEME = _b.UNSELECTED_TEXT_STYLE_THEME, ICON_SIZE = _b.ICON_SIZE;
|
|
92
93
|
return ((0, jsx_runtime_1.jsxs)(FlexBox, __assign({ style: { color: secondaryColor || 'inherit' } }, { children: [(0, jsx_runtime_1.jsx)(S_Pointer, __assign({ onClick: onPrevious, disabled: current === 1 }, { children: (0, jsx_runtime_1.jsx)(components_1.D_IconButton, { iconName: "ic_arrow_left", iconSize: ICON_SIZE, baseSize: BUTTON_SIZE, iconColorKey: "ui_cpnt_icon_sys_dark", overrideIconColorHex: primaryColor, baseColorKey: "ui_cpnt_button_fill_base_transparent" }) })), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: {
|
|
93
|
-
marginLeft: '8px'
|
|
94
|
-
|
|
94
|
+
marginLeft: '8px',
|
|
95
|
+
color: primaryColor
|
|
96
|
+
}, styleTheme: SELECTED_TEXT_STYLE_THEME }, { children: current })), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { marginRight: '8px', marginLeft: '8px', opacity: 0.6, color: primaryColor }, styleTheme: UNSELECTED_TEXT_STYLE_THEME }, { children: "|" })), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { marginRight: '8px', opacity: 0.6, color: primaryColor }, styleTheme: UNSELECTED_TEXT_STYLE_THEME }, { children: total })), (0, jsx_runtime_1.jsx)(S_Pointer, __assign({ onClick: onNext, disabled: current === total }, { children: (0, jsx_runtime_1.jsx)(components_1.D_IconButton, { iconName: "ic_arrow_right", iconSize: ICON_SIZE, baseSize: BUTTON_SIZE, iconColorKey: "ui_cpnt_icon_sys_dark", overrideIconColorHex: primaryColor, baseColorKey: "ui_cpnt_button_fill_base_transparent" }) }))] })));
|
|
95
97
|
}
|
|
96
98
|
exports.Design8 = Design8;
|
|
97
99
|
// NOTE: 이 밑은 NOT IN USE
|