pds-dev-kit-web 1.3.16 → 1.3.19
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/Subscribers.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/Subscribers.js +34 -0
- package/dist/src/common/assets/icons/fill/index.d.ts +1 -0
- package/dist/src/common/assets/icons/fill/index.js +2 -0
- package/dist/src/common/styles/colorSet/UIColor.json +2 -1
- package/dist/src/common/styles/colorSet/index.d.ts +59 -58
- package/dist/src/common/styles/colorSet/index.js +2 -2
- package/dist/src/common/styles/colorSet/ui-type.d.ts +1 -0
- package/dist/src/common/types/styled-components.d.ts +68 -68
- package/dist/src/desktop/components/AdminList/AdminList.js +1 -1
- package/dist/src/desktop/components/BasicList/BasicList.js +1 -17
- package/dist/src/desktop/components/BasicListItem/BasicListItem.d.ts +12 -10
- package/dist/src/desktop/components/BasicListItem/BasicListItem.js +77 -43
- package/dist/src/desktop/components/Checkbox/Checkbox.js +3 -1
- package/dist/src/desktop/components/Dropdown/Dropdown.js +1 -1
- package/dist/src/desktop/components/IconButton/IconButton.d.ts +2 -2
- package/dist/src/desktop/components/IconButton/IconButton.js +2 -2
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/ContentsContainer.d.ts +1 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/ContentsContainer.js +3 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTN.d.ts +1 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTN.js +4 -2
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTS.d.ts +10 -0
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTS.js +40 -0
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/index.d.ts +1 -0
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/index.js +3 -1
- package/dist/src/desktop/layout/LayoutWT/ContainersBox/ContainersBox.d.ts +1 -1
- package/dist/src/desktop/layout/LayoutWT/ContainersBox/ContainersBox.js +12 -4
- package/dist/src/mobile/components/BasicList/BasicList.js +1 -17
- package/dist/src/mobile/components/BasicListItem/BasicListItem.d.ts +13 -11
- package/dist/src/mobile/components/BasicListItem/BasicListItem.js +74 -48
- package/dist/src/mobile/components/Checkbox/Checkbox.d.ts +3 -2
- package/dist/src/mobile/components/Checkbox/Checkbox.js +8 -2
- package/dist/src/mobile/components/Dropdown/Dropdown.js +1 -1
- package/dist/src/mobile/components/IconButton/IconButton.d.ts +2 -2
- package/dist/src/mobile/components/IconButton/IconButton.js +3 -6
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/ContentsContainer.d.ts +1 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/ContentsContainer.js +3 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSG.d.ts +8 -0
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSG.js +31 -0
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSH.d.ts +8 -0
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSH.js +31 -0
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/index.d.ts +2 -0
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/index.js +5 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/TabContainer/TabContainer.d.ts +7 -0
- package/dist/src/mobile/layout/LayoutMS/Containers/TabContainer/TabContainer.js +14 -0
- package/dist/src/mobile/layout/LayoutMS/Containers/TabContainer/index.d.ts +1 -0
- package/dist/src/mobile/layout/LayoutMS/Containers/TabContainer/index.js +8 -0
- package/dist/src/mobile/layout/LayoutMS/Containers/TabContainer/variation/Tab.d.ts +6 -0
- package/dist/src/mobile/layout/LayoutMS/Containers/TabContainer/variation/Tab.js +25 -0
- package/dist/src/mobile/layout/LayoutMS/Containers/TabContainer/variation/index.d.ts +1 -0
- package/dist/src/mobile/layout/LayoutMS/Containers/TabContainer/variation/index.js +8 -0
- package/dist/src/mobile/layout/LayoutMS/Containers/index.d.ts +1 -0
- package/dist/src/mobile/layout/LayoutMS/Containers/index.js +3 -1
- package/dist/src/mobile/layout/LayoutMS/ContainersBox/ContainersBox.d.ts +3 -2
- package/dist/src/mobile/layout/LayoutMS/ContainersBox/ContainersBox.js +13 -1
- package/package.json +1 -1
- package/release-note.md +15 -18
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
var react_1 = __importDefault(require("react"));
|
|
29
|
+
var Subscribers = function (_a) {
|
|
30
|
+
var color = _a.color, size = _a.size, rest = __rest(_a, ["color", "size"]);
|
|
31
|
+
return (react_1.default.createElement("svg", __assign({ width: size, height: size, viewBox: "0 0 24 24" }, rest),
|
|
32
|
+
react_1.default.createElement("path", { fill: color, fillRule: "evenodd", d: "M12.0001,12.0918 C7.6531,12.0918 4.0271,15.1768 3.1921,19.2778 C3.0031,20.2078 3.7191,21.0808 4.6691,21.0808 L19.3311,21.0808 C20.2811,21.0808 20.9971,20.2078 20.8081,19.2778 C19.9731,15.1768 16.3471,12.0918 12.0001,12.0918 M11.9739,2.9196 C9.6999,2.9196 7.8569,4.7626 7.8569,7.0366 C7.8569,9.3106 9.6999,11.1536 11.9739,11.1536 C14.2479,11.1536 16.0909,9.3106 16.0909,7.0366 C16.0909,4.7626 14.2479,2.9196 11.9739,2.9196" })));
|
|
33
|
+
};
|
|
34
|
+
exports.default = Subscribers;
|
|
@@ -36,6 +36,7 @@ declare const fillIcons: {
|
|
|
36
36
|
readonly ic_speaker_wave_2: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
|
37
37
|
readonly ic_split_screen: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
|
38
38
|
readonly ic_star: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
|
39
|
+
readonly ic_subscribers: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
|
39
40
|
readonly ic_thumb_down: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
|
40
41
|
readonly ic_thumb_up: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
|
41
42
|
readonly ic_verified: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
|
@@ -39,6 +39,7 @@ var SpeakerWave1_1 = __importDefault(require("./SpeakerWave1"));
|
|
|
39
39
|
var SpeakerWave2_1 = __importDefault(require("./SpeakerWave2"));
|
|
40
40
|
var SplitScreen_1 = __importDefault(require("./SplitScreen"));
|
|
41
41
|
var Star_1 = __importDefault(require("./Star"));
|
|
42
|
+
var Subscribers_1 = __importDefault(require("./Subscribers"));
|
|
42
43
|
var ThumbDown_1 = __importDefault(require("./ThumbDown"));
|
|
43
44
|
var ThumbUp_1 = __importDefault(require("./ThumbUp"));
|
|
44
45
|
var Verified_1 = __importDefault(require("./Verified"));
|
|
@@ -90,6 +91,7 @@ var fillIcons = {
|
|
|
90
91
|
ic_speaker_wave_2: SpeakerWave2_1.default,
|
|
91
92
|
ic_split_screen: SplitScreen_1.default,
|
|
92
93
|
ic_star: Star_1.default,
|
|
94
|
+
ic_subscribers: Subscribers_1.default,
|
|
93
95
|
ic_thumb_down: ThumbDown_1.default,
|
|
94
96
|
ic_thumb_up: ThumbUp_1.default,
|
|
95
97
|
ic_verified: Verified_1.default,
|
|
@@ -486,5 +486,6 @@
|
|
|
486
486
|
"ui_cpnt_dropdown_text_white_hint": "sys_text_white",
|
|
487
487
|
"ui_cpnt_dropdown_icon_white_default": "sys_widget_white",
|
|
488
488
|
"ui_cpnt_dropdown_border_white_focus": "sys_border_line_03",
|
|
489
|
-
"ui_cpnt_dropdown_base_white_normal": "sys_component_base_white_opacity10"
|
|
489
|
+
"ui_cpnt_dropdown_base_white_normal": "sys_component_base_white_opacity10",
|
|
490
|
+
"ui_profile_image_border_brandprimary": "usr_brand_primary"
|
|
490
491
|
}
|
|
@@ -1,4 +1,62 @@
|
|
|
1
1
|
declare const colorSet: {
|
|
2
|
+
readonly SemanticColor: {
|
|
3
|
+
blue500: string;
|
|
4
|
+
blue700: string;
|
|
5
|
+
blue300: string;
|
|
6
|
+
green700: string;
|
|
7
|
+
green500: string;
|
|
8
|
+
green300: string;
|
|
9
|
+
red500: string;
|
|
10
|
+
grey900: string;
|
|
11
|
+
grey500: string;
|
|
12
|
+
grey400: string;
|
|
13
|
+
grey100: string;
|
|
14
|
+
grey50: string;
|
|
15
|
+
white: string;
|
|
16
|
+
black: string;
|
|
17
|
+
darkblue500: string;
|
|
18
|
+
grey950: string;
|
|
19
|
+
darkgrey900: string;
|
|
20
|
+
darkgrey500: string;
|
|
21
|
+
darkgrey400: string;
|
|
22
|
+
darkgrey100: string;
|
|
23
|
+
darkgrey50: string;
|
|
24
|
+
darkred500: string;
|
|
25
|
+
darkgreen700: string;
|
|
26
|
+
orange500: string;
|
|
27
|
+
darkorange500: string;
|
|
28
|
+
opacity00: string;
|
|
29
|
+
opacity20: string;
|
|
30
|
+
opacity30: string;
|
|
31
|
+
opacity65: string;
|
|
32
|
+
darkgreen500: string;
|
|
33
|
+
grey70: string;
|
|
34
|
+
navy500: string;
|
|
35
|
+
lightgreen500: string;
|
|
36
|
+
pink500: string;
|
|
37
|
+
darkgrey70: string;
|
|
38
|
+
darknavy500: string;
|
|
39
|
+
darkpink500: string;
|
|
40
|
+
darklightgreen500: string;
|
|
41
|
+
opacity10: string;
|
|
42
|
+
grey600: string;
|
|
43
|
+
darkgrey600: string;
|
|
44
|
+
skyblue500: string;
|
|
45
|
+
skyblue300: string;
|
|
46
|
+
pink300: string;
|
|
47
|
+
lightpink500: string;
|
|
48
|
+
darkblue300: string;
|
|
49
|
+
darkblue700: string;
|
|
50
|
+
darkgreen300: string;
|
|
51
|
+
darkskyblue500: string;
|
|
52
|
+
navy100: string;
|
|
53
|
+
darknavy100: string;
|
|
54
|
+
opacity80: string;
|
|
55
|
+
opacity50: string;
|
|
56
|
+
grey30: string;
|
|
57
|
+
opacity95: string;
|
|
58
|
+
darkgrey30: string;
|
|
59
|
+
};
|
|
2
60
|
readonly PaletteColor_light: {
|
|
3
61
|
sys_container_background_01: string;
|
|
4
62
|
sys_container_background_02: string;
|
|
@@ -156,64 +214,6 @@ declare const colorSet: {
|
|
|
156
214
|
sys_component_base_white_opacity10: string;
|
|
157
215
|
sys_cpnt_sheet_base_01: string;
|
|
158
216
|
};
|
|
159
|
-
readonly SemanticColor: {
|
|
160
|
-
blue500: string;
|
|
161
|
-
blue700: string;
|
|
162
|
-
blue300: string;
|
|
163
|
-
green700: string;
|
|
164
|
-
green500: string;
|
|
165
|
-
green300: string;
|
|
166
|
-
red500: string;
|
|
167
|
-
grey900: string;
|
|
168
|
-
grey500: string;
|
|
169
|
-
grey400: string;
|
|
170
|
-
grey100: string;
|
|
171
|
-
grey50: string;
|
|
172
|
-
white: string;
|
|
173
|
-
black: string;
|
|
174
|
-
darkblue500: string;
|
|
175
|
-
grey950: string;
|
|
176
|
-
darkgrey900: string;
|
|
177
|
-
darkgrey500: string;
|
|
178
|
-
darkgrey400: string;
|
|
179
|
-
darkgrey100: string;
|
|
180
|
-
darkgrey50: string;
|
|
181
|
-
darkred500: string;
|
|
182
|
-
darkgreen700: string;
|
|
183
|
-
orange500: string;
|
|
184
|
-
darkorange500: string;
|
|
185
|
-
opacity00: string;
|
|
186
|
-
opacity20: string;
|
|
187
|
-
opacity30: string;
|
|
188
|
-
opacity65: string;
|
|
189
|
-
darkgreen500: string;
|
|
190
|
-
grey70: string;
|
|
191
|
-
navy500: string;
|
|
192
|
-
lightgreen500: string;
|
|
193
|
-
pink500: string;
|
|
194
|
-
darkgrey70: string;
|
|
195
|
-
darknavy500: string;
|
|
196
|
-
darkpink500: string;
|
|
197
|
-
darklightgreen500: string;
|
|
198
|
-
opacity10: string;
|
|
199
|
-
grey600: string;
|
|
200
|
-
darkgrey600: string;
|
|
201
|
-
skyblue500: string;
|
|
202
|
-
skyblue300: string;
|
|
203
|
-
pink300: string;
|
|
204
|
-
lightpink500: string;
|
|
205
|
-
darkblue300: string;
|
|
206
|
-
darkblue700: string;
|
|
207
|
-
darkgreen300: string;
|
|
208
|
-
darkskyblue500: string;
|
|
209
|
-
navy100: string;
|
|
210
|
-
darknavy100: string;
|
|
211
|
-
opacity80: string;
|
|
212
|
-
opacity50: string;
|
|
213
|
-
grey30: string;
|
|
214
|
-
opacity95: string;
|
|
215
|
-
darkgrey30: string;
|
|
216
|
-
};
|
|
217
217
|
readonly PaletteColor_Dark: {
|
|
218
218
|
sys_container_background_01: string;
|
|
219
219
|
sys_container_background_02: string;
|
|
@@ -860,6 +860,7 @@ declare const colorSet: {
|
|
|
860
860
|
ui_cpnt_dropdown_icon_white_default: string;
|
|
861
861
|
ui_cpnt_dropdown_border_white_focus: string;
|
|
862
862
|
ui_cpnt_dropdown_base_white_normal: string;
|
|
863
|
+
ui_profile_image_border_brandprimary: string;
|
|
863
864
|
};
|
|
864
865
|
};
|
|
865
866
|
export default colorSet;
|
|
@@ -4,13 +4,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
/* eslint-disable import/order */
|
|
7
|
-
var PaletteColor_light_json_1 = __importDefault(require("./PaletteColor_light.json"));
|
|
8
7
|
var SemanticColor_json_1 = __importDefault(require("./SemanticColor.json"));
|
|
8
|
+
var PaletteColor_light_json_1 = __importDefault(require("./PaletteColor_light.json"));
|
|
9
9
|
var PaletteColor_Dark_json_1 = __importDefault(require("./PaletteColor_Dark.json"));
|
|
10
10
|
var UIColor_json_1 = __importDefault(require("./UIColor.json"));
|
|
11
11
|
var colorSet = {
|
|
12
|
-
PaletteColor_light: PaletteColor_light_json_1.default,
|
|
13
12
|
SemanticColor: SemanticColor_json_1.default,
|
|
13
|
+
PaletteColor_light: PaletteColor_light_json_1.default,
|
|
14
14
|
PaletteColor_Dark: PaletteColor_Dark_json_1.default,
|
|
15
15
|
UIColor: UIColor_json_1.default
|
|
16
16
|
};
|
|
@@ -1,86 +1,86 @@
|
|
|
1
1
|
import { desktopFontSize, fontWeight } from '../styles/theme';
|
|
2
2
|
export interface PdsDevKitTheme {
|
|
3
3
|
fontWeight: {
|
|
4
|
-
normal:
|
|
5
|
-
bold:
|
|
4
|
+
normal: '500';
|
|
5
|
+
bold: '700';
|
|
6
6
|
};
|
|
7
7
|
desktopFontSize: {
|
|
8
|
-
displayHeading:
|
|
9
|
-
heading:
|
|
10
|
-
leadParagraph:
|
|
11
|
-
subtitle:
|
|
12
|
-
body1:
|
|
13
|
-
body2:
|
|
14
|
-
caption1:
|
|
15
|
-
caption2:
|
|
16
|
-
form1:
|
|
17
|
-
form2:
|
|
18
|
-
blog1:
|
|
8
|
+
displayHeading: '40px';
|
|
9
|
+
heading: '24px';
|
|
10
|
+
leadParagraph: '20px';
|
|
11
|
+
subtitle: '18px';
|
|
12
|
+
body1: '18px';
|
|
13
|
+
body2: '16px';
|
|
14
|
+
caption1: '14px';
|
|
15
|
+
caption2: '12px';
|
|
16
|
+
form1: '16px';
|
|
17
|
+
form2: '14px';
|
|
18
|
+
blog1: '16px';
|
|
19
19
|
};
|
|
20
20
|
desktopLineHeight: {
|
|
21
|
-
displayHeading:
|
|
22
|
-
heading:
|
|
23
|
-
leadParagraph:
|
|
24
|
-
subtitle:
|
|
25
|
-
body1:
|
|
26
|
-
body2:
|
|
27
|
-
caption1:
|
|
28
|
-
caption2:
|
|
29
|
-
form1:
|
|
30
|
-
form2:
|
|
31
|
-
blog1:
|
|
32
|
-
singleLine:
|
|
21
|
+
displayHeading: '1.5';
|
|
22
|
+
heading: '1.5';
|
|
23
|
+
leadParagraph: '1.5';
|
|
24
|
+
subtitle: '1.5';
|
|
25
|
+
body1: '1.5';
|
|
26
|
+
body2: '1.5';
|
|
27
|
+
caption1: '1.5';
|
|
28
|
+
caption2: '1.5';
|
|
29
|
+
form1: '1.6';
|
|
30
|
+
form2: '1.6';
|
|
31
|
+
blog1: '1.6';
|
|
32
|
+
singleLine: '1';
|
|
33
33
|
};
|
|
34
34
|
mobileFontSize: {
|
|
35
|
-
displayHeading:
|
|
36
|
-
heading:
|
|
37
|
-
leadParagraph:
|
|
38
|
-
subtitle:
|
|
39
|
-
body1:
|
|
40
|
-
body2:
|
|
41
|
-
caption1:
|
|
42
|
-
caption2:
|
|
43
|
-
form1:
|
|
44
|
-
form2:
|
|
45
|
-
blog1:
|
|
35
|
+
displayHeading: '32px';
|
|
36
|
+
heading: '24px';
|
|
37
|
+
leadParagraph: '20px';
|
|
38
|
+
subtitle: '18px';
|
|
39
|
+
body1: '18px';
|
|
40
|
+
body2: '16px';
|
|
41
|
+
caption1: '14px';
|
|
42
|
+
caption2: '12px';
|
|
43
|
+
form1: '16px';
|
|
44
|
+
form2: '14px';
|
|
45
|
+
blog1: '16px';
|
|
46
46
|
};
|
|
47
47
|
mobileLineHeight: {
|
|
48
|
-
displayHeading:
|
|
49
|
-
heading:
|
|
50
|
-
leadParagraph:
|
|
51
|
-
subtitle:
|
|
52
|
-
body1:
|
|
53
|
-
body2:
|
|
54
|
-
caption1:
|
|
55
|
-
caption2:
|
|
56
|
-
form1:
|
|
57
|
-
form2:
|
|
58
|
-
blog1:
|
|
59
|
-
singleLine:
|
|
48
|
+
displayHeading: '1.5';
|
|
49
|
+
heading: '1.5';
|
|
50
|
+
leadParagraph: '1.5';
|
|
51
|
+
subtitle: '1.5';
|
|
52
|
+
body1: '1.5';
|
|
53
|
+
body2: '1.5';
|
|
54
|
+
caption1: '1.5';
|
|
55
|
+
caption2: '1.5';
|
|
56
|
+
form1: '1.6';
|
|
57
|
+
form2: '1.6';
|
|
58
|
+
blog1: '1.6';
|
|
59
|
+
singleLine: '1';
|
|
60
60
|
};
|
|
61
61
|
boxShadow: {
|
|
62
|
-
elevation0:
|
|
63
|
-
elevation1:
|
|
64
|
-
elevation2:
|
|
65
|
-
elevation3:
|
|
66
|
-
elevation4:
|
|
67
|
-
elevation5:
|
|
62
|
+
elevation0: '0 0 0 0 #0003';
|
|
63
|
+
elevation1: '0 2px 8px 0 #0003';
|
|
64
|
+
elevation2: '0 3px 12px 0 #0003';
|
|
65
|
+
elevation3: '0 4px 16px 0 #0003';
|
|
66
|
+
elevation4: '0 5px 20px 0 #0003';
|
|
67
|
+
elevation5: '0 6px 24px 0 #0003';
|
|
68
68
|
};
|
|
69
69
|
spacing: {
|
|
70
|
-
spacingA:
|
|
71
|
-
spacingB:
|
|
72
|
-
spacingC:
|
|
73
|
-
spacingD:
|
|
74
|
-
spacingE:
|
|
75
|
-
spacingF:
|
|
76
|
-
spacingG:
|
|
77
|
-
spacingH:
|
|
78
|
-
spacingI:
|
|
79
|
-
spacingJ:
|
|
80
|
-
spacingK:
|
|
81
|
-
spacingL:
|
|
82
|
-
spacingM:
|
|
83
|
-
spacingN:
|
|
70
|
+
spacingA: '4px';
|
|
71
|
+
spacingB: '8px';
|
|
72
|
+
spacingC: '12px';
|
|
73
|
+
spacingD: '16px';
|
|
74
|
+
spacingE: '24px';
|
|
75
|
+
spacingF: '32px';
|
|
76
|
+
spacingG: '48px';
|
|
77
|
+
spacingH: '64px';
|
|
78
|
+
spacingI: '88px';
|
|
79
|
+
spacingJ: '120px';
|
|
80
|
+
spacingK: '160px';
|
|
81
|
+
spacingL: '240px';
|
|
82
|
+
spacingM: '288px';
|
|
83
|
+
spacingN: '320px';
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
86
|
export declare type DesktopFontSize = keyof typeof desktopFontSize;
|
|
@@ -189,7 +189,7 @@ function AdminList(_a) {
|
|
|
189
189
|
react_1.default.createElement(HeaderRow_1.default, { selectionMode: selectionMode, column2HeaderText: column2HeaderText, column3HeaderText: column3HeaderText, column3HeaderWidth: column3Width, column4HeaderText: column4HeaderText, column4HeaderWidth: column4Width, column5HeaderText: column5HeaderText, column5HeaderWidth: column5Width, column6HeaderText: column6HeaderText, column6HeaderWidth: column6Width, column7HeaderText: column7HeaderText, column7HeaderWidth: column7Width, column8HeaderText: column8HeaderText, column8HeaderWidth: column8Width, column9HeaderText: column9HeaderText, column9HeaderWidth: column9Width, column10HeaderText: column10HeaderText, column10HeaderWidth: column10Width, quickActionBtnType: quickActionBtnType, quickActionButtonCount: getActionButtonCount(), onClickSelectAllCheckbox: handleSelectAllCheckbox })))),
|
|
190
190
|
react_1.default.createElement(S_ScrollBox, { scrollMode: scrollMode, scrollVisibleType: scrollVisibleType }, react_1.default.Children.count(children) ? (react_1.default.createElement(react_hook_form_1.FormProvider, __assign({}, checkboxMethods),
|
|
191
191
|
react_1.default.createElement("form", null, childrenWithWidthProps))) : (react_1.default.createElement(S_EmptyTextWrapper, null,
|
|
192
|
-
react_1.default.createElement(TextLabel_1.TextLabel, { text: emptyText, colorTheme: "sysTextTertiary", textAlign: "center" }))))));
|
|
192
|
+
react_1.default.createElement(TextLabel_1.TextLabel, { text: emptyText, colorTheme: "sysTextTertiary", textAlign: "center", styleTheme: "body2Regular" }))))));
|
|
193
193
|
}
|
|
194
194
|
var scrollInvisible = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n &::-webkit-scrollbar {\n all: unset;\n display: block;\n }\n"], ["\n &::-webkit-scrollbar {\n all: unset;\n display: block;\n }\n"])));
|
|
195
195
|
var scrollVisible = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n &::-webkit-scrollbar {\n display: none;\n }\n"], ["\n &::-webkit-scrollbar {\n display: none;\n }\n"])));
|
|
@@ -3,38 +3,22 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
3
3
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
4
|
return cooked;
|
|
5
5
|
};
|
|
6
|
-
var __assign = (this && this.__assign) || function () {
|
|
7
|
-
__assign = Object.assign || function(t) {
|
|
8
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
9
|
-
s = arguments[i];
|
|
10
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
11
|
-
t[p] = s[p];
|
|
12
|
-
}
|
|
13
|
-
return t;
|
|
14
|
-
};
|
|
15
|
-
return __assign.apply(this, arguments);
|
|
16
|
-
};
|
|
17
6
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
18
7
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
19
8
|
};
|
|
20
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
10
|
var react_1 = __importDefault(require("react"));
|
|
22
|
-
var react_hook_form_1 = require("react-hook-form");
|
|
23
11
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
24
|
-
var common_1 = require("../../../common");
|
|
25
12
|
var hybrid_1 = require("../../../hybrid");
|
|
26
13
|
var TextLabel_1 = require("../TextLabel");
|
|
27
14
|
function BasicList(_a) {
|
|
28
15
|
var children = _a.children, _b = _a.titleStyleTheme, titleStyleTheme = _b === void 0 ? 'headingBold' : _b, titleText = _a.titleText, captionText = _a.captionText, _c = _a.columns, columns = _c === void 0 ? 1 : _c, _d = _a.columnSpacing, columnSpacing = _d === void 0 ? 16 : _d, _e = _a.rowSpacing, rowSpacing = _e === void 0 ? 0 : _e;
|
|
29
|
-
var methods = (0, react_hook_form_1.useForm)();
|
|
30
16
|
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
31
17
|
(titleText || captionText) && (react_1.default.createElement(S_TitleBox, null,
|
|
32
18
|
react_1.default.createElement(TextLabel_1.TextLabel, { text: titleText, styleTheme: titleStyleTheme }),
|
|
33
19
|
titleText && captionText && react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_a", spacingType: "height" }),
|
|
34
20
|
captionText && react_1.default.createElement(TextLabel_1.TextLabel, { text: captionText, styleTheme: "body2Regular" }))),
|
|
35
|
-
react_1.default.createElement(
|
|
36
|
-
react_1.default.createElement(common_1.Form, null,
|
|
37
|
-
react_1.default.createElement(S_BasicListWrapper, { columns: columns, columnSpacing: columnSpacing, rowSpacing: rowSpacing }, children)))));
|
|
21
|
+
react_1.default.createElement(S_BasicListWrapper, { columns: columns, columnSpacing: columnSpacing, rowSpacing: rowSpacing }, children)));
|
|
38
22
|
}
|
|
39
23
|
var S_TitleBox = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n margin-bottom: ", ";\n padding: ", ";\n"], ["\n margin-bottom: ", ";\n padding: ", ";\n"])), function (_a) {
|
|
40
24
|
var theme = _a.theme;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { FillIconNameKeys, LineIconNameKeys, PDSTextType } from '../../../common';
|
|
3
3
|
export declare type BasicListItemProps = {
|
|
4
4
|
selectionMode?: 'none' | 'check' | 'radio';
|
|
@@ -12,7 +12,7 @@ export declare type BasicListItemProps = {
|
|
|
12
12
|
imageSrc?: string;
|
|
13
13
|
iconName?: FillIconNameKeys | LineIconNameKeys;
|
|
14
14
|
iconFillType?: 'fill' | 'line';
|
|
15
|
-
displayType?: 'none' | 'text' | '
|
|
15
|
+
displayType?: 'none' | 'text' | 'ibtn_text' | 'ibtn_amount1' | 'ibtn_amount2' | 'mbtn' | 'switch';
|
|
16
16
|
captionText?: PDSTextType;
|
|
17
17
|
iBtn1IconName?: FillIconNameKeys | LineIconNameKeys;
|
|
18
18
|
iBtn1IconFillType?: 'fill' | 'line';
|
|
@@ -22,21 +22,23 @@ export declare type BasicListItemProps = {
|
|
|
22
22
|
mBtnText?: PDSTextType;
|
|
23
23
|
dividerType?: 'none' | 'solid';
|
|
24
24
|
titleFontWeight?: 'bold' | 'regular';
|
|
25
|
-
|
|
25
|
+
checkboxId?: string | number;
|
|
26
|
+
radioId?: string;
|
|
26
27
|
radioValue?: string;
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
onClick?: () => void;
|
|
29
|
+
onClickIBtn1?: () => void;
|
|
30
|
+
onClickIBtn2?: () => void;
|
|
29
31
|
onClickMBtn?: () => void;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
+
onClickRadio?: (value: string) => void;
|
|
33
|
+
onClickSwitch?: () => void;
|
|
32
34
|
};
|
|
33
35
|
export declare type StyleProps = {
|
|
34
36
|
isSelected?: boolean;
|
|
35
37
|
selectionMode?: 'none' | 'check' | 'radio';
|
|
36
|
-
|
|
38
|
+
captionText?: PDSTextType;
|
|
37
39
|
badgeStatus?: 'cancel' | 'active' | 'inactive';
|
|
38
40
|
imageIconMode?: 'none' | 'image' | 'icon';
|
|
39
|
-
displayType?: 'none' | 'text' | '
|
|
41
|
+
displayType?: 'none' | 'text' | 'ibtn_text' | 'ibtn_amount1' | 'ibtn_amount2' | 'mbtn' | 'switch';
|
|
40
42
|
};
|
|
41
|
-
declare function BasicListItem({ selectionMode, titleText, titleTextColorTheme, descText, badgeMode, badgeStatus, imageIconMode, imageShapeType, imageSrc, iconName, iconFillType, displayType, captionText, iBtn1IconName, iBtn1IconFillType, iBtn2IconName, iBtn2IconFillType, mBtnFillType, mBtnText, dividerType, titleFontWeight,
|
|
43
|
+
declare function BasicListItem({ selectionMode, titleText, titleTextColorTheme, descText, badgeMode, badgeStatus, imageIconMode, imageShapeType, imageSrc, iconName, iconFillType, displayType, captionText, iBtn1IconName, iBtn1IconFillType, iBtn2IconName, iBtn2IconFillType, mBtnFillType, mBtnText, dividerType, titleFontWeight, checkboxId, radioId, radioValue, onClick, onClickIBtn1, onClickIBtn2, onClickMBtn, onClickRadio, onClickSwitch }: BasicListItemProps): JSX.Element;
|
|
42
44
|
export default BasicListItem;
|