pds-dev-kit-web 2.2.289 → 2.2.291
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/common/assets/icons/fill/PostDetail.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/PostDetail.js +30 -0
- package/dist/src/common/assets/icons/fill/Widget.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/Widget.js +30 -0
- package/dist/src/common/assets/icons/fill/index.d.ts +2 -0
- package/dist/src/common/assets/icons/fill/index.js +5 -1
- package/dist/src/common/assets/icons/line/PostDetail.d.ts +4 -0
- package/dist/src/common/assets/icons/line/PostDetail.js +30 -0
- package/dist/src/common/assets/icons/line/Widget.d.ts +4 -0
- package/dist/src/common/assets/icons/line/Widget.js +30 -0
- package/dist/src/common/assets/icons/line/index.d.ts +2 -0
- package/dist/src/common/assets/icons/line/index.js +5 -1
- package/dist/src/desktop/components/BoxItem/BoxItem.d.ts +6 -2
- package/dist/src/desktop/components/BoxItem/BoxItem.js +5 -2
- package/dist/src/mobile/components/BoxItem/BoxItem.d.ts +6 -2
- package/dist/src/mobile/components/BoxItem/BoxItem.js +5 -2
- package/package.json +1 -1
- package/release-note.md +2 -2
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
14
|
+
var t = {};
|
|
15
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16
|
+
t[p] = s[p];
|
|
17
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
20
|
+
t[p[i]] = s[p[i]];
|
|
21
|
+
}
|
|
22
|
+
return t;
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
26
|
+
var PostDetail = function (_a) {
|
|
27
|
+
var color = _a.color, size = _a.size, rest = __rest(_a, ["color", "size"]);
|
|
28
|
+
return ((0, jsx_runtime_1.jsxs)("svg", __assign({ width: size, height: size, viewBox: "0 0 24 24" }, rest, { children: [(0, jsx_runtime_1.jsx)("path", { fill: color, fillRule: "evenodd", d: "M18.111,1 L5.889,1 C3.741,1 2,2.741 2,4.889 L2,18.222 C2,20.37 3.741,22.111 5.889,22.111 L18.111,22.111 C20.259,22.111 22,20.37 22,18.222 L22,4.889 C22,2.741 20.259,1 18.111,1 L18.111,1 Z M18.111,3 C19.153,3 20,3.847 20,4.889 L20,18.222 C20,19.264 19.153,20.111 18.111,20.111 L5.889,20.111 C4.847,20.111 4,19.264 4,18.222 L4,4.889 C4,3.847 4.847,3 5.889,3 L18.111,3 Z" }), (0, jsx_runtime_1.jsx)("path", { stroke: color, strokeLinecap: "round", strokeWidth: "2", d: "M6.5289,6.3123 L11.7809,6.3123 M6.5289,12.9668 L15.9079,12.9668 M6.5289,16.5522 L15.8369,16.5522" })] })));
|
|
29
|
+
};
|
|
30
|
+
exports.default = PostDetail;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
14
|
+
var t = {};
|
|
15
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16
|
+
t[p] = s[p];
|
|
17
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
20
|
+
t[p[i]] = s[p[i]];
|
|
21
|
+
}
|
|
22
|
+
return t;
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
26
|
+
var Widget = function (_a) {
|
|
27
|
+
var color = _a.color, size = _a.size, rest = __rest(_a, ["color", "size"]);
|
|
28
|
+
return ((0, jsx_runtime_1.jsxs)("svg", __assign({ width: size, height: size, viewBox: "0 0 24 24" }, rest, { children: [(0, jsx_runtime_1.jsx)("path", { fill: color, fillRule: "evenodd", d: "M18.111,1 C20.259,1 22,2.741 22,4.889 L22,18.222 C22,20.37 20.259,22.111 18.111,22.111 L5.889,22.111 C3.741,22.111 2,20.37 2,18.222 L2,4.889 C2,2.741 3.741,1 5.889,1 Z M18.111,3 L5.889,3 C4.847,3 4,3.847 4,4.889 L4,18.222 C4,19.264 4.847,20.111 5.889,20.111 L18.111,20.111 C19.153,20.111 20,19.264 20,18.222 L20,4.889 C20,3.847 19.153,3 18.111,3 Z M8.9138,15.052 C9.4068,15.052 9.8068,15.451 9.8068,15.945 L9.8068,17.33 C9.8068,17.823 9.4068,18.223 8.9138,18.223 L7.3018,18.223 C6.8088,18.223 6.4088,17.823 6.4088,17.33 L6.4088,15.945 C6.4088,15.451 6.8088,15.052 7.3018,15.052 L8.9138,15.052 Z M8.9138,9.9703 C9.4068,9.9703 9.8068,10.3693 9.8068,10.8633 L9.8068,12.2483 C9.8068,12.7413 9.4068,13.1413 8.9138,13.1413 L7.3018,13.1413 C6.8088,13.1413 6.4088,12.7413 6.4088,12.2483 L6.4088,10.8633 C6.4088,10.3693 6.8088,9.9703 7.3018,9.9703 L8.9138,9.9703 Z M8.9138,4.8887 C9.4068,4.8887 9.8068,5.2877 9.8068,5.7817 L9.8068,7.1667 C9.8068,7.6597 9.4068,8.0597 8.9138,8.0597 L7.3018,8.0597 C6.8088,8.0597 6.4088,7.6597 6.4088,7.1667 L6.4088,5.7817 C6.4088,5.2877 6.8088,4.8887 7.3018,4.8887 L8.9138,4.8887 Z" }), (0, jsx_runtime_1.jsx)("path", { stroke: color, strokeLinecap: "round", strokeWidth: "2", d: "M12.3874,6.4739 L16.6674,6.4739 M12.3874,11.5556 L16.6674,11.5556 M12.3874,16.6373 L16.6674,16.6373" })] })));
|
|
29
|
+
};
|
|
30
|
+
exports.default = Widget;
|
|
@@ -172,5 +172,7 @@ declare const fillIcons: {
|
|
|
172
172
|
readonly ic_cam_off: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
|
173
173
|
readonly ic_gift: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
|
174
174
|
readonly ic_variable_preview: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
|
175
|
+
readonly ic_post_detail: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
|
176
|
+
readonly ic_widget: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
|
175
177
|
};
|
|
176
178
|
export default fillIcons;
|
|
@@ -110,6 +110,7 @@ var Plan_1 = __importDefault(require("./Plan"));
|
|
|
110
110
|
var Plugin_1 = __importDefault(require("./Plugin"));
|
|
111
111
|
var PlusCircle_1 = __importDefault(require("./PlusCircle"));
|
|
112
112
|
var PlusRound_1 = __importDefault(require("./PlusRound"));
|
|
113
|
+
var PostDetail_1 = __importDefault(require("./PostDetail"));
|
|
113
114
|
var PostFree_1 = __importDefault(require("./PostFree"));
|
|
114
115
|
var PostInquiry_1 = __importDefault(require("./PostInquiry"));
|
|
115
116
|
var PostNotice_1 = __importDefault(require("./PostNotice"));
|
|
@@ -174,6 +175,7 @@ var VideoStop_1 = __importDefault(require("./VideoStop"));
|
|
|
174
175
|
var VideoSubtitle_1 = __importDefault(require("./VideoSubtitle"));
|
|
175
176
|
var VideoType_1 = __importDefault(require("./VideoType"));
|
|
176
177
|
var Vodplus_1 = __importDefault(require("./Vodplus"));
|
|
178
|
+
var Widget_1 = __importDefault(require("./Widget"));
|
|
177
179
|
var Xmark_1 = __importDefault(require("./Xmark"));
|
|
178
180
|
var fillIcons = {
|
|
179
181
|
ic_accordion: Accordion_1.default,
|
|
@@ -347,6 +349,8 @@ var fillIcons = {
|
|
|
347
349
|
ic_cam: Cam_1.default,
|
|
348
350
|
ic_cam_off: CamOff_1.default,
|
|
349
351
|
ic_gift: Gift_1.default,
|
|
350
|
-
ic_variable_preview: VariablePreview_1.default
|
|
352
|
+
ic_variable_preview: VariablePreview_1.default,
|
|
353
|
+
ic_post_detail: PostDetail_1.default,
|
|
354
|
+
ic_widget: Widget_1.default
|
|
351
355
|
};
|
|
352
356
|
exports.default = fillIcons;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
14
|
+
var t = {};
|
|
15
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16
|
+
t[p] = s[p];
|
|
17
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
20
|
+
t[p[i]] = s[p[i]];
|
|
21
|
+
}
|
|
22
|
+
return t;
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
26
|
+
var PostDetail = function (_a) {
|
|
27
|
+
var color = _a.color, size = _a.size, rest = __rest(_a, ["color", "size"]);
|
|
28
|
+
return ((0, jsx_runtime_1.jsxs)("svg", __assign({ width: size, height: size, viewBox: "0 0 24 24" }, rest, { children: [(0, jsx_runtime_1.jsx)("path", { fill: color, fillRule: "evenodd", d: "M18.111,1.5 L5.889,1.5 C3.741,1.5 2,3.241 2,5.389 L2,18.722 C2,20.87 3.741,22.611 5.889,22.611 L18.111,22.611 C20.259,22.611 22,20.87 22,18.722 L22,5.389 C22,3.241 20.259,1.5 18.111,1.5 L18.111,1.5 Z M18.111,3 C19.428,3 20.5,4.072 20.5,5.389 L20.5,18.722 C20.5,20.039 19.428,21.111 18.111,21.111 L5.889,21.111 C4.572,21.111 3.5,20.039 3.5,18.722 L3.5,5.389 C3.5,4.072 4.572,3 5.889,3 L18.111,3 Z" }), (0, jsx_runtime_1.jsx)("path", { stroke: color, strokeLinecap: "round", strokeWidth: "1.5", d: "M6.5289,6.8123 L11.7809,6.8123 M6.5289,13.4668 L15.9079,13.4668 M6.5289,17.0522 L15.8369,17.0522" })] })));
|
|
29
|
+
};
|
|
30
|
+
exports.default = PostDetail;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
14
|
+
var t = {};
|
|
15
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16
|
+
t[p] = s[p];
|
|
17
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
20
|
+
t[p[i]] = s[p[i]];
|
|
21
|
+
}
|
|
22
|
+
return t;
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
26
|
+
var Widget = function (_a) {
|
|
27
|
+
var color = _a.color, size = _a.size, rest = __rest(_a, ["color", "size"]);
|
|
28
|
+
return ((0, jsx_runtime_1.jsxs)("svg", __assign({ width: size, height: size, viewBox: "0 0 24 24" }, rest, { children: [(0, jsx_runtime_1.jsx)("path", { fill: color, fillRule: "evenodd", d: "M18.111,1.5 C20.259,1.5 22,3.241 22,5.389 L22,18.722 C22,20.87 20.259,22.611 18.111,22.611 L5.889,22.611 C3.741,22.611 2,20.87 2,18.722 L2,5.389 C2,3.241 3.741,1.5 5.889,1.5 Z M18.111,3 L5.889,3 C4.572,3 3.5,4.072 3.5,5.389 L3.5,18.722 C3.5,20.039 4.572,21.111 5.889,21.111 L18.111,21.111 C19.428,21.111 20.5,20.039 20.5,18.722 L20.5,5.389 C20.5,4.072 19.428,3 18.111,3 Z M8.9001,15.552 C9.3661,15.552 9.7431,15.929 9.7431,16.395 L9.7431,17.88 C9.7431,18.345 9.3661,18.723 8.9001,18.723 L7.1891,18.723 C6.7231,18.723 6.3451,18.345 6.3451,17.88 L6.3451,16.395 C6.3451,15.929 6.7231,15.552 7.1891,15.552 L8.9001,15.552 Z M8.9001,10.4703 C9.3661,10.4703 9.7431,10.8473 9.7431,11.3133 L9.7431,12.7983 C9.7431,13.2633 9.3661,13.6413 8.9001,13.6413 L7.1891,13.6413 C6.7231,13.6413 6.3451,13.2633 6.3451,12.7983 L6.3451,11.3133 C6.3451,10.8473 6.7231,10.4703 7.1891,10.4703 L8.9001,10.4703 Z M8.9001,5.3887 C9.3661,5.3887 9.7431,5.7657 9.7431,6.2317 L9.7431,7.7167 C9.7431,8.1817 9.3661,8.5597 8.9001,8.5597 L7.1891,8.5597 C6.7231,8.5597 6.3451,8.1817 6.3451,7.7167 L6.3451,6.2317 C6.3451,5.7657 6.7231,5.3887 7.1891,5.3887 L8.9001,5.3887 Z" }), (0, jsx_runtime_1.jsx)("path", { stroke: color, strokeLinecap: "round", strokeWidth: "1.5", d: "M12.1916,6.9739 L16.4716,6.9739 M12.1916,12.0556 L16.4716,12.0556 M12.1916,17.1373 L16.4716,17.1373" })] })));
|
|
29
|
+
};
|
|
30
|
+
exports.default = Widget;
|
|
@@ -333,5 +333,7 @@ declare const lineIcons: {
|
|
|
333
333
|
readonly ic_cam_off: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
|
334
334
|
readonly ic_gift: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
|
335
335
|
readonly ic_variable_preview: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
|
336
|
+
readonly ic_post_detail: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
|
337
|
+
readonly ic_widget: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
|
336
338
|
};
|
|
337
339
|
export default lineIcons;
|
|
@@ -178,6 +178,7 @@ var PostArticle_1 = __importDefault(require("./PostArticle"));
|
|
|
178
178
|
var PostBlog_1 = __importDefault(require("./PostBlog"));
|
|
179
179
|
var PostColumn_1 = __importDefault(require("./PostColumn"));
|
|
180
180
|
var PostCommunityP_1 = __importDefault(require("./PostCommunityP"));
|
|
181
|
+
var PostDetail_1 = __importDefault(require("./PostDetail"));
|
|
181
182
|
var PostFree_1 = __importDefault(require("./PostFree"));
|
|
182
183
|
var PostInquiry_1 = __importDefault(require("./PostInquiry"));
|
|
183
184
|
var PostMagazine_1 = __importDefault(require("./PostMagazine"));
|
|
@@ -335,6 +336,7 @@ var Vods_1 = __importDefault(require("./Vods"));
|
|
|
335
336
|
var VodShorts_1 = __importDefault(require("./VodShorts"));
|
|
336
337
|
var Warning_1 = __importDefault(require("./Warning"));
|
|
337
338
|
var Weblink_1 = __importDefault(require("./Weblink"));
|
|
339
|
+
var Widget_1 = __importDefault(require("./Widget"));
|
|
338
340
|
var Xmark_1 = __importDefault(require("./Xmark"));
|
|
339
341
|
var lineIcons = {
|
|
340
342
|
ic_accordion: Accordion_1.default,
|
|
@@ -669,6 +671,8 @@ var lineIcons = {
|
|
|
669
671
|
ic_cam: Cam_1.default,
|
|
670
672
|
ic_cam_off: CamOff_1.default,
|
|
671
673
|
ic_gift: Gift_1.default,
|
|
672
|
-
ic_variable_preview: VariablePreview_1.default
|
|
674
|
+
ic_variable_preview: VariablePreview_1.default,
|
|
675
|
+
ic_post_detail: PostDetail_1.default,
|
|
676
|
+
ic_widget: Widget_1.default
|
|
673
677
|
};
|
|
674
678
|
exports.default = lineIcons;
|
|
@@ -16,7 +16,7 @@ export type BoxItemProps = {
|
|
|
16
16
|
descText?: PDSTextType;
|
|
17
17
|
descTextColorKey?: UiColors;
|
|
18
18
|
descTextWordBreak?: 'normal' | 'break_all' | 'keep_all' | 'break_word';
|
|
19
|
-
|
|
19
|
+
descTextLineLimit?: number;
|
|
20
20
|
imageMode?: 'use' | 'none';
|
|
21
21
|
imageShapeType?: 'round' | 'circular' | 'rectangle';
|
|
22
22
|
imageSrc?: string;
|
|
@@ -47,6 +47,8 @@ export type BoxItemProps = {
|
|
|
47
47
|
onClickIBtn1?: (id: number | string) => void;
|
|
48
48
|
onClickIBtn2?: (id: number | string) => void;
|
|
49
49
|
onClickIBtn3?: (id: number | string) => void;
|
|
50
|
+
/** @deprecated in 2.4.0 descTextLineLimit prop을 대신 사용하세요. */
|
|
51
|
+
descLineLimit?: number;
|
|
50
52
|
};
|
|
51
53
|
declare const paddingSpacing: {
|
|
52
54
|
readonly spacing_a: "spacingA";
|
|
@@ -64,5 +66,7 @@ declare const paddingSpacing: {
|
|
|
64
66
|
readonly spacing_m: "spacingM";
|
|
65
67
|
readonly spacing_n: "spacingN";
|
|
66
68
|
};
|
|
67
|
-
declare function BoxItem({ selectionMode, checkboxMode, checkboxState, indicatorMode, state, selectState, titleText, titleFontSize, titleTextLineLimit, titleTextColorKey, titleTextWordBreak, descText, descTextColorKey, descTextWordBreak,
|
|
69
|
+
declare function BoxItem({ selectionMode, checkboxMode, checkboxState, indicatorMode, state, selectState, titleText, titleFontSize, titleTextLineLimit, titleTextColorKey, titleTextWordBreak, descText, descTextColorKey, descTextWordBreak,
|
|
70
|
+
/** NOTE: descLineLimit prop 최종 삭제시 descTextLineLimit의 기본값 2로 지정 필요 */
|
|
71
|
+
descTextLineLimit, imageMode, imageShapeType, imageSrc, imageWidth, imageRatio, imageScaleType, chipMode, chipText, chipOverrideTextColorKey, chipOverrideBackgroundColorKey, displayType, iBtn1IconName, iBtn1IconFillType, iBtn1IconColorKey, iBtn2IconName, iBtn2IconFillType, iBtn2IconColorKey, iBtn3IconName, iBtn3IconFillType, iBtn3IconColorKey, overrideBorderColorKey, paddingTop, paddingRight, paddingBottom, paddingLeft, id, onClick, onClickIBtn1, onClickIBtn2, onClickIBtn3, descLineLimit }: BoxItemProps): JSX.Element;
|
|
68
72
|
export default BoxItem;
|
|
@@ -42,7 +42,10 @@ var paddingSpacing = {
|
|
|
42
42
|
spacing_n: 'spacingN'
|
|
43
43
|
};
|
|
44
44
|
function BoxItem(_a) {
|
|
45
|
-
var _b = _a.selectionMode, selectionMode = _b === void 0 ? 'none' : _b, _c = _a.checkboxMode, checkboxMode = _c === void 0 ? 'none' : _c, _d = _a.checkboxState, checkboxState = _d === void 0 ? 'unchecked' : _d, _e = _a.indicatorMode, indicatorMode = _e === void 0 ? 'none' : _e, _f = _a.state, state = _f === void 0 ? 'normal' : _f, _g = _a.selectState, selectState = _g === void 0 ? 'unselected' : _g, titleText = _a.titleText, titleFontSize = _a.titleFontSize, _h = _a.titleTextLineLimit, titleTextLineLimit = _h === void 0 ? 2 : _h, _j = _a.titleTextColorKey, titleTextColorKey = _j === void 0 ? 'ui_cpnt_textlabel_sys_primary' : _j, _k = _a.titleTextWordBreak, titleTextWordBreak = _k === void 0 ? 'normal' : _k, descText = _a.descText, _l = _a.descTextColorKey, descTextColorKey = _l === void 0 ? 'ui_cpnt_textlabel_sys_secondary' : _l, _m = _a.descTextWordBreak, descTextWordBreak = _m === void 0 ? 'normal' : _m,
|
|
45
|
+
var _b = _a.selectionMode, selectionMode = _b === void 0 ? 'none' : _b, _c = _a.checkboxMode, checkboxMode = _c === void 0 ? 'none' : _c, _d = _a.checkboxState, checkboxState = _d === void 0 ? 'unchecked' : _d, _e = _a.indicatorMode, indicatorMode = _e === void 0 ? 'none' : _e, _f = _a.state, state = _f === void 0 ? 'normal' : _f, _g = _a.selectState, selectState = _g === void 0 ? 'unselected' : _g, titleText = _a.titleText, titleFontSize = _a.titleFontSize, _h = _a.titleTextLineLimit, titleTextLineLimit = _h === void 0 ? 2 : _h, _j = _a.titleTextColorKey, titleTextColorKey = _j === void 0 ? 'ui_cpnt_textlabel_sys_primary' : _j, _k = _a.titleTextWordBreak, titleTextWordBreak = _k === void 0 ? 'normal' : _k, descText = _a.descText, _l = _a.descTextColorKey, descTextColorKey = _l === void 0 ? 'ui_cpnt_textlabel_sys_secondary' : _l, _m = _a.descTextWordBreak, descTextWordBreak = _m === void 0 ? 'normal' : _m,
|
|
46
|
+
/** NOTE: descLineLimit prop 최종 삭제시 descTextLineLimit의 기본값 2로 지정 필요 */
|
|
47
|
+
descTextLineLimit = _a.descTextLineLimit, _o = _a.imageMode, imageMode = _o === void 0 ? 'none' : _o, _p = _a.imageShapeType, imageShapeType = _p === void 0 ? 'round' : _p, imageSrc = _a.imageSrc, imageWidth = _a.imageWidth, _q = _a.imageRatio, imageRatio = _q === void 0 ? '1_1' : _q, _r = _a.imageScaleType, imageScaleType = _r === void 0 ? 'cover' : _r, _s = _a.chipMode, chipMode = _s === void 0 ? 'none' : _s, chipText = _a.chipText, chipOverrideTextColorKey = _a.chipOverrideTextColorKey, chipOverrideBackgroundColorKey = _a.chipOverrideBackgroundColorKey, _t = _a.displayType, displayType = _t === void 0 ? 'none' : _t, iBtn1IconName = _a.iBtn1IconName, _u = _a.iBtn1IconFillType, iBtn1IconFillType = _u === void 0 ? 'line' : _u, iBtn1IconColorKey = _a.iBtn1IconColorKey, iBtn2IconName = _a.iBtn2IconName, _v = _a.iBtn2IconFillType, iBtn2IconFillType = _v === void 0 ? 'line' : _v, iBtn2IconColorKey = _a.iBtn2IconColorKey, iBtn3IconName = _a.iBtn3IconName, _w = _a.iBtn3IconFillType, iBtn3IconFillType = _w === void 0 ? 'line' : _w, iBtn3IconColorKey = _a.iBtn3IconColorKey, overrideBorderColorKey = _a.overrideBorderColorKey, _x = _a.paddingTop, paddingTop = _x === void 0 ? 'spacing_d' : _x, _y = _a.paddingRight, paddingRight = _y === void 0 ? 'spacing_d' : _y, _z = _a.paddingBottom, paddingBottom = _z === void 0 ? 'spacing_d' : _z, _0 = _a.paddingLeft, paddingLeft = _0 === void 0 ? 'spacing_d' : _0, id = _a.id, onClick = _a.onClick, onClickIBtn1 = _a.onClickIBtn1, onClickIBtn2 = _a.onClickIBtn2, onClickIBtn3 = _a.onClickIBtn3, _1 = _a.descLineLimit, descLineLimit = _1 === void 0 ? 2 : _1;
|
|
48
|
+
var finalDescTextLineLimit = descTextLineLimit !== null && descTextLineLimit !== void 0 ? descTextLineLimit : descLineLimit;
|
|
46
49
|
var handleClick = function () {
|
|
47
50
|
if (state === 'disabled' || state === 'read_only') {
|
|
48
51
|
return;
|
|
@@ -101,7 +104,7 @@ function BoxItem(_a) {
|
|
|
101
104
|
: selectionMode === 'use'
|
|
102
105
|
? 'pointer'
|
|
103
106
|
: 'default'
|
|
104
|
-
} }, { children: [(0, jsx_runtime_1.jsxs)(LeftBox_1.LeftBox, __assign({ hasRightBox: displayType !== 'none' || chipMode === 'use' }, { children: [checkboxMode !== 'none' && ((0, jsx_runtime_1.jsx)(LeftBox_1.LeftBox.Checkbox, { checked: checkboxState === 'checked', isIndeterminate: checkboxState === 'indeterminate' })), imageMode === 'use' && ((0, jsx_runtime_1.jsx)(LeftBox_1.LeftBox.Image, { shape: imageShapeType, src: imageSrc, width: imageWidth, ratio: imageRatio, scaleType: imageScaleType })), (0, jsx_runtime_1.jsxs)(S_TextGroup, { children: [titleText && ((0, jsx_runtime_1.jsx)(index_1.D_TextLabel, { text: titleText, colorOverride: state === 'disabled' || state === 'read_only' ? undefined : titleTextColorKey, colorTheme: state === 'disabled' || state === 'read_only' ? 'sysTextTertiary' : undefined, styleTheme: titleFontSize, lineLimit: titleTextLineLimit, ellipsisMode: "use", wordBreak: titleTextWordBreak })), descText && ((0, jsx_runtime_1.jsx)(index_1.D_TextLabel, { text: descText, colorTheme: state === 'disabled' || state === 'read_only' ? 'sysTextTertiary' : undefined, colorOverride: state === 'disabled' || state === 'read_only' ? undefined : descTextColorKey, lineLimit:
|
|
107
|
+
} }, { children: [(0, jsx_runtime_1.jsxs)(LeftBox_1.LeftBox, __assign({ hasRightBox: displayType !== 'none' || chipMode === 'use' }, { children: [checkboxMode !== 'none' && ((0, jsx_runtime_1.jsx)(LeftBox_1.LeftBox.Checkbox, { checked: checkboxState === 'checked', isIndeterminate: checkboxState === 'indeterminate' })), imageMode === 'use' && ((0, jsx_runtime_1.jsx)(LeftBox_1.LeftBox.Image, { shape: imageShapeType, src: imageSrc, width: imageWidth, ratio: imageRatio, scaleType: imageScaleType })), (0, jsx_runtime_1.jsxs)(S_TextGroup, { children: [titleText && ((0, jsx_runtime_1.jsx)(index_1.D_TextLabel, { text: titleText, colorOverride: state === 'disabled' || state === 'read_only' ? undefined : titleTextColorKey, colorTheme: state === 'disabled' || state === 'read_only' ? 'sysTextTertiary' : undefined, styleTheme: titleFontSize, lineLimit: titleTextLineLimit, ellipsisMode: "use", wordBreak: titleTextWordBreak })), descText && ((0, jsx_runtime_1.jsx)(index_1.D_TextLabel, { text: descText, colorTheme: state === 'disabled' || state === 'read_only' ? 'sysTextTertiary' : undefined, colorOverride: state === 'disabled' || state === 'read_only' ? undefined : descTextColorKey, lineLimit: finalDescTextLineLimit, ellipsisMode: "use", styleTheme: "caption1Regular", wordBreak: descTextWordBreak }))] })] })), (0, jsx_runtime_1.jsxs)(S_RightBox, { children: [displayType !== 'none' ||
|
|
105
108
|
(chipMode === 'use' && (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_b", spacingType: "width" })), chipMode === 'use' && ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsx)(Chip_1.Chip, { text: chipText, overrideBackgroundColorKey: chipOverrideBackgroundColorKey, displayType: "information", overrideTextColorKey: chipOverrideTextColorKey }) })), (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [displayType === 'ibtn_amount1' && ((0, jsx_runtime_1.jsx)(index_1.D_IconButton, { iconName: iBtn1IconName || 'ic_arrow_right', baseSize: "medium", fillType: "fill", iconFillType: iBtn1IconFillType, iconColorKey: iBtn1IconColorKey, onClick: handleIBtn1Click, iconSize: 20, state: state === 'normal' ? 'normal' : 'disabled', baseColorKey: "ui_cpnt_button_fill_base_transparent", borderColorKey: "ui_cpnt_button_fill_base_transparent", shapeType: "rectangle" })), displayType === 'ibtn_amount2' && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(index_1.D_IconButton, { iconName: iBtn2IconName || 'ic_arrow_right', fillType: "fill", iconFillType: iBtn2IconFillType, iconColorKey: iBtn2IconColorKey, state: state === 'normal' ? 'normal' : 'disabled', onClick: handleIBtn2Click, iconSize: 20, baseColorKey: "ui_cpnt_button_fill_base_transparent", borderColorKey: "ui_cpnt_button_fill_base_transparent", baseSize: "medium", shapeType: "rectangle" }), (0, jsx_runtime_1.jsx)(index_1.D_IconButton, { iconName: iBtn1IconName || 'ic_arrow_right', fillType: "fill", iconFillType: iBtn1IconFillType, iconColorKey: iBtn1IconColorKey, onClick: handleIBtn1Click, state: state === 'normal' ? 'normal' : 'disabled', iconSize: 20, baseColorKey: "ui_cpnt_button_fill_base_transparent", borderColorKey: "ui_cpnt_button_fill_base_transparent", baseSize: "medium", shapeType: "rectangle" })] })), displayType === 'ibtn_amount3' && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(index_1.D_IconButton, { iconName: iBtn3IconName || 'ic_arrow_right', fillType: "fill", iconFillType: iBtn3IconFillType, iconColorKey: iBtn3IconColorKey, state: state === 'normal' ? 'normal' : 'disabled', onClick: handleIBtn3Click, iconSize: 20, baseColorKey: "ui_cpnt_button_fill_base_transparent", borderColorKey: "ui_cpnt_button_fill_base_transparent", baseSize: "medium", shapeType: "rectangle" }), (0, jsx_runtime_1.jsx)(index_1.D_IconButton, { iconName: iBtn2IconName || 'ic_arrow_right', fillType: "fill", iconFillType: iBtn2IconFillType, iconColorKey: iBtn2IconColorKey, state: state === 'normal' ? 'normal' : 'disabled', onClick: handleIBtn2Click, iconSize: 20, baseColorKey: "ui_cpnt_button_fill_base_transparent", borderColorKey: "ui_cpnt_button_fill_base_transparent", baseSize: "medium", shapeType: "rectangle" }), (0, jsx_runtime_1.jsx)(index_1.D_IconButton, { iconName: iBtn1IconName || 'ic_arrow_right', fillType: "fill", iconFillType: iBtn1IconFillType, iconColorKey: iBtn1IconColorKey, state: state === 'normal' ? 'normal' : 'disabled', onClick: handleIBtn1Click, iconSize: 20, baseColorKey: "ui_cpnt_button_fill_base_transparent", borderColorKey: "ui_cpnt_button_fill_base_transparent", baseSize: "medium", shapeType: "rectangle" })] }))] }), indicatorMode === 'use' && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_b", spacingType: "width" }), (0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: "ic_arrow_right", fillType: "line", size: 20, colorKey: "ui_cpnt_icon_sys_grey_01" })] }))] })] })) })));
|
|
106
109
|
}
|
|
107
110
|
var S_BoxItem = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n flex-direction: row;\n gap: ", ";\n width: 100%;\n"], ["\n align-items: center;\n display: flex;\n flex-direction: row;\n gap: ", ";\n width: 100%;\n"])), function (_a) {
|
|
@@ -15,8 +15,8 @@ export type BoxItemProps = {
|
|
|
15
15
|
titleTextWordBreak?: 'normal' | 'break_all' | 'keep_all' | 'break_word';
|
|
16
16
|
descText?: PDSTextType;
|
|
17
17
|
descTextColorKey?: UiColors;
|
|
18
|
-
descLineLimit?: number;
|
|
19
18
|
descTextWordBreak?: 'normal' | 'break_all' | 'keep_all' | 'break_word';
|
|
19
|
+
descTextLineLimit?: number;
|
|
20
20
|
imageMode?: 'use' | 'none';
|
|
21
21
|
imageShapeType?: 'round' | 'circular' | 'rectangle';
|
|
22
22
|
imageSrc?: string;
|
|
@@ -47,6 +47,8 @@ export type BoxItemProps = {
|
|
|
47
47
|
onClickIBtn1?: (id: number | string) => void;
|
|
48
48
|
onClickIBtn2?: (id: number | string) => void;
|
|
49
49
|
onClickIBtn3?: (id: number | string) => void;
|
|
50
|
+
/** @deprecated in 2.4.0 descTextLineLimit prop을 대신 사용하세요. */
|
|
51
|
+
descLineLimit?: number;
|
|
50
52
|
};
|
|
51
53
|
declare const paddingSpacing: {
|
|
52
54
|
readonly spacing_a: "spacingA";
|
|
@@ -64,5 +66,7 @@ declare const paddingSpacing: {
|
|
|
64
66
|
readonly spacing_m: "spacingM";
|
|
65
67
|
readonly spacing_n: "spacingN";
|
|
66
68
|
};
|
|
67
|
-
declare function BoxItem({ selectionMode, checkboxMode, checkboxState, indicatorMode, state, selectState, titleText, titleFontSize, titleTextLineLimit, titleTextColorKey, titleTextWordBreak, descText, descTextColorKey,
|
|
69
|
+
declare function BoxItem({ selectionMode, checkboxMode, checkboxState, indicatorMode, state, selectState, titleText, titleFontSize, titleTextLineLimit, titleTextColorKey, titleTextWordBreak, descText, descTextColorKey,
|
|
70
|
+
/** NOTE: descLineLimit prop 최종 삭제시 descTextLineLimit의 기본값 2로 지정 필요 */
|
|
71
|
+
descTextLineLimit, descTextWordBreak, imageMode, imageShapeType, imageSrc, imageWidth, imageRatio, imageScaleType, chipMode, chipText, chipOverrideTextColorKey, chipOverrideBackgroundColorKey, displayType, iBtn1IconName, iBtn1IconFillType, iBtn1IconColorKey, iBtn2IconName, iBtn2IconFillType, iBtn2IconColorKey, iBtn3IconName, overrideBorderColorKey, iBtn3IconFillType, iBtn3IconColorKey, paddingTop, paddingRight, paddingBottom, paddingLeft, id, onClick, onClickIBtn1, onClickIBtn2, onClickIBtn3, descLineLimit }: BoxItemProps): JSX.Element;
|
|
68
72
|
export default BoxItem;
|
|
@@ -42,7 +42,10 @@ var paddingSpacing = {
|
|
|
42
42
|
spacing_n: 'spacingN'
|
|
43
43
|
};
|
|
44
44
|
function BoxItem(_a) {
|
|
45
|
-
var _b = _a.selectionMode, selectionMode = _b === void 0 ? 'none' : _b, _c = _a.checkboxMode, checkboxMode = _c === void 0 ? 'none' : _c, _d = _a.checkboxState, checkboxState = _d === void 0 ? 'unchecked' : _d, _e = _a.indicatorMode, indicatorMode = _e === void 0 ? 'none' : _e, _f = _a.state, state = _f === void 0 ? 'normal' : _f, _g = _a.selectState, selectState = _g === void 0 ? 'unselected' : _g, titleText = _a.titleText, titleFontSize = _a.titleFontSize, _h = _a.titleTextLineLimit, titleTextLineLimit = _h === void 0 ? 2 : _h, _j = _a.titleTextColorKey, titleTextColorKey = _j === void 0 ? 'ui_cpnt_textlabel_sys_primary' : _j, _k = _a.titleTextWordBreak, titleTextWordBreak = _k === void 0 ? 'normal' : _k, descText = _a.descText, _l = _a.descTextColorKey, descTextColorKey = _l === void 0 ? 'ui_cpnt_textlabel_sys_secondary' : _l,
|
|
45
|
+
var _b = _a.selectionMode, selectionMode = _b === void 0 ? 'none' : _b, _c = _a.checkboxMode, checkboxMode = _c === void 0 ? 'none' : _c, _d = _a.checkboxState, checkboxState = _d === void 0 ? 'unchecked' : _d, _e = _a.indicatorMode, indicatorMode = _e === void 0 ? 'none' : _e, _f = _a.state, state = _f === void 0 ? 'normal' : _f, _g = _a.selectState, selectState = _g === void 0 ? 'unselected' : _g, titleText = _a.titleText, titleFontSize = _a.titleFontSize, _h = _a.titleTextLineLimit, titleTextLineLimit = _h === void 0 ? 2 : _h, _j = _a.titleTextColorKey, titleTextColorKey = _j === void 0 ? 'ui_cpnt_textlabel_sys_primary' : _j, _k = _a.titleTextWordBreak, titleTextWordBreak = _k === void 0 ? 'normal' : _k, descText = _a.descText, _l = _a.descTextColorKey, descTextColorKey = _l === void 0 ? 'ui_cpnt_textlabel_sys_secondary' : _l,
|
|
46
|
+
/** NOTE: descLineLimit prop 최종 삭제시 descTextLineLimit의 기본값 2로 지정 필요 */
|
|
47
|
+
descTextLineLimit = _a.descTextLineLimit, _m = _a.descTextWordBreak, descTextWordBreak = _m === void 0 ? 'normal' : _m, _o = _a.imageMode, imageMode = _o === void 0 ? 'none' : _o, _p = _a.imageShapeType, imageShapeType = _p === void 0 ? 'round' : _p, imageSrc = _a.imageSrc, imageWidth = _a.imageWidth, _q = _a.imageRatio, imageRatio = _q === void 0 ? '1_1' : _q, _r = _a.imageScaleType, imageScaleType = _r === void 0 ? 'cover' : _r, _s = _a.chipMode, chipMode = _s === void 0 ? 'none' : _s, chipText = _a.chipText, chipOverrideTextColorKey = _a.chipOverrideTextColorKey, chipOverrideBackgroundColorKey = _a.chipOverrideBackgroundColorKey, _t = _a.displayType, displayType = _t === void 0 ? 'none' : _t, iBtn1IconName = _a.iBtn1IconName, _u = _a.iBtn1IconFillType, iBtn1IconFillType = _u === void 0 ? 'line' : _u, iBtn1IconColorKey = _a.iBtn1IconColorKey, iBtn2IconName = _a.iBtn2IconName, _v = _a.iBtn2IconFillType, iBtn2IconFillType = _v === void 0 ? 'line' : _v, iBtn2IconColorKey = _a.iBtn2IconColorKey, iBtn3IconName = _a.iBtn3IconName, overrideBorderColorKey = _a.overrideBorderColorKey, _w = _a.iBtn3IconFillType, iBtn3IconFillType = _w === void 0 ? 'line' : _w, iBtn3IconColorKey = _a.iBtn3IconColorKey, _x = _a.paddingTop, paddingTop = _x === void 0 ? 'spacing_d' : _x, _y = _a.paddingRight, paddingRight = _y === void 0 ? 'spacing_d' : _y, _z = _a.paddingBottom, paddingBottom = _z === void 0 ? 'spacing_d' : _z, _0 = _a.paddingLeft, paddingLeft = _0 === void 0 ? 'spacing_d' : _0, id = _a.id, onClick = _a.onClick, onClickIBtn1 = _a.onClickIBtn1, onClickIBtn2 = _a.onClickIBtn2, onClickIBtn3 = _a.onClickIBtn3, _1 = _a.descLineLimit, descLineLimit = _1 === void 0 ? 2 : _1;
|
|
48
|
+
var finalDescTextLineLimit = descTextLineLimit !== null && descTextLineLimit !== void 0 ? descTextLineLimit : descLineLimit;
|
|
46
49
|
var handleClick = function () {
|
|
47
50
|
if (state === 'disabled' || state === 'read_only') {
|
|
48
51
|
return;
|
|
@@ -100,7 +103,7 @@ function BoxItem(_a) {
|
|
|
100
103
|
: selectionMode === 'use'
|
|
101
104
|
? 'pointer'
|
|
102
105
|
: 'default'
|
|
103
|
-
} }, { children: [(0, jsx_runtime_1.jsxs)(LeftBox_1.LeftBox, __assign({ hasRightBox: displayType !== 'none' || chipMode === 'use' }, { children: [checkboxMode !== 'none' && ((0, jsx_runtime_1.jsx)(LeftBox_1.LeftBox.Checkbox, { checked: checkboxState === 'checked', isIndeterminate: checkboxState === 'indeterminate' })), imageMode === 'use' && ((0, jsx_runtime_1.jsx)(LeftBox_1.LeftBox.Image, { shape: imageShapeType, src: imageSrc, width: imageWidth, ratio: imageRatio, scaleType: imageScaleType })), (0, jsx_runtime_1.jsxs)(S_TextGroup, { children: [titleText && ((0, jsx_runtime_1.jsx)(index_1.M_TextLabel, { text: titleText, colorOverride: state === 'disabled' || state === 'read_only' ? undefined : titleTextColorKey, colorTheme: state === 'disabled' || state === 'read_only' ? 'sysTextTertiary' : undefined, styleTheme: titleFontSize, lineLimit: titleTextLineLimit, wordBreak: titleTextWordBreak, ellipsisMode: "use" })), descText && ((0, jsx_runtime_1.jsx)(index_1.M_TextLabel, { text: descText, colorTheme: state === 'disabled' || state === 'read_only' ? 'sysTextTertiary' : undefined, colorOverride: state === 'disabled' || state === 'read_only' ? undefined : descTextColorKey, lineLimit:
|
|
106
|
+
} }, { children: [(0, jsx_runtime_1.jsxs)(LeftBox_1.LeftBox, __assign({ hasRightBox: displayType !== 'none' || chipMode === 'use' }, { children: [checkboxMode !== 'none' && ((0, jsx_runtime_1.jsx)(LeftBox_1.LeftBox.Checkbox, { checked: checkboxState === 'checked', isIndeterminate: checkboxState === 'indeterminate' })), imageMode === 'use' && ((0, jsx_runtime_1.jsx)(LeftBox_1.LeftBox.Image, { shape: imageShapeType, src: imageSrc, width: imageWidth, ratio: imageRatio, scaleType: imageScaleType })), (0, jsx_runtime_1.jsxs)(S_TextGroup, { children: [titleText && ((0, jsx_runtime_1.jsx)(index_1.M_TextLabel, { text: titleText, colorOverride: state === 'disabled' || state === 'read_only' ? undefined : titleTextColorKey, colorTheme: state === 'disabled' || state === 'read_only' ? 'sysTextTertiary' : undefined, styleTheme: titleFontSize, lineLimit: titleTextLineLimit, wordBreak: titleTextWordBreak, ellipsisMode: "use" })), descText && ((0, jsx_runtime_1.jsx)(index_1.M_TextLabel, { text: descText, colorTheme: state === 'disabled' || state === 'read_only' ? 'sysTextTertiary' : undefined, colorOverride: state === 'disabled' || state === 'read_only' ? undefined : descTextColorKey, lineLimit: finalDescTextLineLimit, wordBreak: descTextWordBreak, ellipsisMode: "use", styleTheme: "caption1Regular" }))] })] })), (0, jsx_runtime_1.jsxs)(S_RightBox, { children: [displayType !== 'none' ||
|
|
104
107
|
(chipMode === 'use' && (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_b", spacingType: "width" })), chipMode === 'use' && ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsx)(Chip_1.Chip, { text: chipText, overrideBackgroundColorKey: chipOverrideBackgroundColorKey, displayType: "information", overrideTextColorKey: chipOverrideTextColorKey }) })), (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [displayType === 'ibtn_amount1' && ((0, jsx_runtime_1.jsx)(index_1.M_IconButton, { iconName: iBtn1IconName || 'ic_arrow_right', baseSize: "medium", fillType: "fill", iconFillType: iBtn1IconFillType, iconColorKey: iBtn1IconColorKey, onClick: handleIBtn1Click, state: state === 'normal' ? 'normal' : 'disabled', iconSize: 20, baseColorKey: "ui_cpnt_button_fill_base_transparent", borderColorKey: "ui_cpnt_button_fill_base_transparent", shapeType: "rectangle" })), displayType === 'ibtn_amount2' && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(index_1.M_IconButton, { iconName: iBtn2IconName || 'ic_arrow_right', fillType: "fill", iconFillType: iBtn2IconFillType, iconColorKey: iBtn2IconColorKey, onClick: handleIBtn2Click, state: state === 'normal' ? 'normal' : 'disabled', iconSize: 20, baseColorKey: "ui_cpnt_button_fill_base_transparent", borderColorKey: "ui_cpnt_button_fill_base_transparent", baseSize: "medium", shapeType: "rectangle" }), (0, jsx_runtime_1.jsx)(index_1.M_IconButton, { iconName: iBtn1IconName || 'ic_arrow_right', fillType: "fill", iconFillType: iBtn1IconFillType, iconColorKey: iBtn1IconColorKey, onClick: handleIBtn1Click, state: state === 'normal' ? 'normal' : 'disabled', iconSize: 20, baseColorKey: "ui_cpnt_button_fill_base_transparent", borderColorKey: "ui_cpnt_button_fill_base_transparent", baseSize: "medium", shapeType: "rectangle" })] })), displayType === 'ibtn_amount3' && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(index_1.M_IconButton, { iconName: iBtn3IconName || 'ic_arrow_right', fillType: "fill", iconFillType: iBtn3IconFillType, iconColorKey: iBtn3IconColorKey, onClick: handleIBtn3Click, state: state === 'normal' ? 'normal' : 'disabled', iconSize: 20, baseColorKey: "ui_cpnt_button_fill_base_transparent", borderColorKey: "ui_cpnt_button_fill_base_transparent", baseSize: "medium", shapeType: "rectangle" }), (0, jsx_runtime_1.jsx)(index_1.M_IconButton, { iconName: iBtn2IconName || 'ic_arrow_right', fillType: "fill", iconFillType: iBtn2IconFillType, iconColorKey: iBtn2IconColorKey, onClick: handleIBtn2Click, state: state === 'normal' ? 'normal' : 'disabled', iconSize: 20, baseColorKey: "ui_cpnt_button_fill_base_transparent", borderColorKey: "ui_cpnt_button_fill_base_transparent", baseSize: "medium", shapeType: "rectangle" }), (0, jsx_runtime_1.jsx)(index_1.M_IconButton, { iconName: iBtn1IconName || 'ic_arrow_right', fillType: "fill", iconFillType: iBtn1IconFillType, iconColorKey: iBtn1IconColorKey, onClick: handleIBtn1Click, state: state === 'normal' ? 'normal' : 'disabled', iconSize: 20, baseColorKey: "ui_cpnt_button_fill_base_transparent", borderColorKey: "ui_cpnt_button_fill_base_transparent", baseSize: "medium", shapeType: "rectangle" })] }))] }), indicatorMode === 'use' && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_b", spacingType: "width" }), (0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: "ic_arrow_right", fillType: "line", size: 20, colorKey: "ui_cpnt_icon_sys_grey_01" })] }))] })] })) })));
|
|
105
108
|
}
|
|
106
109
|
var S_BoxItem = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n flex-direction: row;\n gap: ", ";\n width: 100%;\n"], ["\n align-items: center;\n display: flex;\n flex-direction: row;\n gap: ", ";\n width: 100%;\n"])), function (_a) {
|
package/package.json
CHANGED
package/release-note.md
CHANGED