pds-dev-kit-web 0.6.0 → 0.6.3
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/styles/colorSet/PaletteColor_Dark.json +3 -1
- package/dist/src/common/styles/colorSet/PaletteColor_light.json +3 -1
- package/dist/src/common/styles/colorSet/SemanticColor.json +2 -1
- package/dist/src/common/styles/colorSet/UIColor.json +7 -1
- package/dist/src/common/styles/colorSet/index.d.ts +66 -55
- package/dist/src/common/styles/colorSet/index.js +2 -2
- package/dist/src/common/styles/colorSet/ui-type.d.ts +6 -0
- package/dist/src/common/styles/index.d.ts +0 -2
- package/dist/src/common/styles/theme.d.ts +0 -2
- package/dist/src/common/styles/theme.js +3 -5
- package/dist/src/common/styles/ui-colors.d.ts +5 -0
- package/dist/src/common/styles/ui-colors.js +4 -0
- package/dist/src/common/types/styled-components.d.ts +0 -2
- package/dist/src/desktop/components/Chip/Chip.js +6 -6
- package/dist/src/desktop/components/DesktopTabBar/DesktopTabBar.js +1 -1
- package/dist/src/desktop/components/EditApplyTextField/EditApplyTextField.js +1 -0
- package/dist/src/desktop/components/FloatingActionButton/FloatingActionButton.js +2 -2
- package/dist/src/desktop/components/IconButton/IconButton.js +6 -2
- package/dist/src/desktop/components/MainButton/MainButton.js +1 -1
- package/dist/src/desktop/components/ReactionButton/ReactionButton.js +1 -1
- package/dist/src/desktop/components/StatusBlock/StatusBlock.js +1 -1
- package/dist/src/desktop/components/TextButton/TextButton.js +1 -1
- package/dist/src/desktop/components/TextField/TextField.js +29 -16
- package/dist/src/desktop/components/TextLabel/TextLabel.d.ts +1 -3
- package/dist/src/desktop/components/TextLabel/TextLabel.js +8 -9
- package/dist/src/desktop/components/UploadIconButton/UploadIconButton.js +6 -2
- package/dist/src/desktop/components/UploadMainButton/UploadMainButton.js +1 -1
- package/dist/src/desktop/components/UploadTextButton/UploadTextButton.js +1 -1
- package/dist/src/hybrid/components/Divider/Divider.d.ts +2 -1
- package/dist/src/hybrid/components/Divider/Divider.js +9 -5
- package/dist/src/hybrid/components/Icon/Icon.d.ts +1 -6
- package/dist/src/hybrid/components/Icon/Icon.js +2 -2
- package/dist/src/mobile/components/Chip/Chip.js +6 -6
- package/dist/src/mobile/components/IconButton/IconButton.js +6 -2
- package/dist/src/mobile/components/MainButton/MainButton.js +1 -1
- package/dist/src/mobile/components/MobileHeaderBar/MobileHeaderBar.js +1 -1
- package/dist/src/mobile/components/ReactionButton/ReactionButton.js +1 -1
- package/dist/src/mobile/components/StatusBlock/StatusBlock.js +1 -1
- package/dist/src/mobile/components/TextButton/TextButton.js +1 -1
- package/dist/src/mobile/components/TextField/TextField.js +29 -16
- package/dist/src/mobile/components/TextLabel/TextLabel.d.ts +1 -3
- package/dist/src/mobile/components/TextLabel/TextLabel.js +8 -9
- package/dist/src/mobile/components/UploadIconButton/UploadIconButton.js +6 -2
- package/dist/src/mobile/components/UploadMainButton/UploadMainButton.js +1 -1
- package/dist/src/mobile/components/UploadTextButton/UploadTextButton.js +1 -1
- package/package.json +1 -1
|
@@ -123,5 +123,7 @@
|
|
|
123
123
|
"sys_cpnt_textlabel_sys_brand_primary_opacity50": "blue500/opacity50",
|
|
124
124
|
"sys_widget_green_01": "darkgreen500",
|
|
125
125
|
"sys_component_base_black_opacity30": "black/opacity30",
|
|
126
|
-
"sys_area_background": "darkgrey50/opacity65"
|
|
126
|
+
"sys_area_background": "darkgrey50/opacity65",
|
|
127
|
+
"sys_border_white_opacity30": "white/opacity30",
|
|
128
|
+
"sys_container_background_wt": "grey950"
|
|
127
129
|
}
|
|
@@ -123,5 +123,7 @@
|
|
|
123
123
|
"sys_cpnt_textlabel_sys_brand_primary_opacity50": "blue500/opacity50",
|
|
124
124
|
"sys_widget_green_01": "green500",
|
|
125
125
|
"sys_component_base_black_opacity30": "black/opacity30",
|
|
126
|
-
"sys_area_background": "darkgrey50/opacity65"
|
|
126
|
+
"sys_area_background": "darkgrey50/opacity65",
|
|
127
|
+
"sys_border_white_opacity30": "white/opacity30",
|
|
128
|
+
"sys_container_background_wt": "grey30"
|
|
127
129
|
}
|
|
@@ -446,5 +446,11 @@
|
|
|
446
446
|
"ui_cpnt_progressbar_02": "sys_widget_grey_04",
|
|
447
447
|
"ui_36": "sys_component_base_black_opacity80",
|
|
448
448
|
"ui_37": "sys_component_base_black_opacity30",
|
|
449
|
-
"ui_39": "sys_area_background"
|
|
449
|
+
"ui_39": "sys_area_background",
|
|
450
|
+
"ui_cpnt_divider_white_opacity30": "sys_border_white_opacity30",
|
|
451
|
+
"ui_pagemenucontainer_background_wt": "sys_container_background_wt",
|
|
452
|
+
"ui_contentscontainer_background_wt": "sys_container_background_wt",
|
|
453
|
+
"ui_pagemenuarea_background_wt": "sys_container_background_01",
|
|
454
|
+
"ui_contentsarea_background_wt": "sys_container_background_01",
|
|
455
|
+
"ui_cpnt_standardbanner_base_default": "sys_component_base_02"
|
|
450
456
|
}
|
|
@@ -1,59 +1,4 @@
|
|
|
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
|
-
};
|
|
57
2
|
readonly PaletteColor_Dark: {
|
|
58
3
|
sys_container_background_01: string;
|
|
59
4
|
sys_container_background_02: string;
|
|
@@ -180,6 +125,8 @@ declare const colorSet: {
|
|
|
180
125
|
sys_widget_green_01: string;
|
|
181
126
|
sys_component_base_black_opacity30: string;
|
|
182
127
|
sys_area_background: string;
|
|
128
|
+
sys_border_white_opacity30: string;
|
|
129
|
+
sys_container_background_wt: string;
|
|
183
130
|
};
|
|
184
131
|
readonly PaletteColor_light: {
|
|
185
132
|
sys_container_background_01: string;
|
|
@@ -307,6 +254,64 @@ declare const colorSet: {
|
|
|
307
254
|
sys_widget_green_01: string;
|
|
308
255
|
sys_component_base_black_opacity30: string;
|
|
309
256
|
sys_area_background: string;
|
|
257
|
+
sys_border_white_opacity30: string;
|
|
258
|
+
sys_container_background_wt: string;
|
|
259
|
+
};
|
|
260
|
+
readonly SemanticColor: {
|
|
261
|
+
blue500: string;
|
|
262
|
+
blue700: string;
|
|
263
|
+
blue300: string;
|
|
264
|
+
green700: string;
|
|
265
|
+
green500: string;
|
|
266
|
+
green300: string;
|
|
267
|
+
red500: string;
|
|
268
|
+
grey900: string;
|
|
269
|
+
grey500: string;
|
|
270
|
+
grey400: string;
|
|
271
|
+
grey100: string;
|
|
272
|
+
grey50: string;
|
|
273
|
+
white: string;
|
|
274
|
+
black: string;
|
|
275
|
+
darkblue500: string;
|
|
276
|
+
grey950: string;
|
|
277
|
+
darkgrey900: string;
|
|
278
|
+
darkgrey500: string;
|
|
279
|
+
darkgrey400: string;
|
|
280
|
+
darkgrey100: string;
|
|
281
|
+
darkgrey50: string;
|
|
282
|
+
darkred500: string;
|
|
283
|
+
darkgreen700: string;
|
|
284
|
+
orange500: string;
|
|
285
|
+
darkorange500: string;
|
|
286
|
+
opacity00: string;
|
|
287
|
+
opacity20: string;
|
|
288
|
+
opacity30: string;
|
|
289
|
+
opacity65: string;
|
|
290
|
+
darkgreen500: string;
|
|
291
|
+
grey70: string;
|
|
292
|
+
navy500: string;
|
|
293
|
+
lightgreen500: string;
|
|
294
|
+
pink500: string;
|
|
295
|
+
darkgrey70: string;
|
|
296
|
+
darknavy500: string;
|
|
297
|
+
darkpink500: string;
|
|
298
|
+
darklightgreen500: string;
|
|
299
|
+
opacity10: string;
|
|
300
|
+
grey600: string;
|
|
301
|
+
darkgrey600: string;
|
|
302
|
+
skyblue500: string;
|
|
303
|
+
skyblue300: string;
|
|
304
|
+
pink300: string;
|
|
305
|
+
lightpink500: string;
|
|
306
|
+
darkblue300: string;
|
|
307
|
+
darkblue700: string;
|
|
308
|
+
darkgreen300: string;
|
|
309
|
+
darkskyblue500: string;
|
|
310
|
+
navy100: string;
|
|
311
|
+
darknavy100: string;
|
|
312
|
+
opacity80: string;
|
|
313
|
+
opacity50: string;
|
|
314
|
+
grey30: string;
|
|
310
315
|
};
|
|
311
316
|
readonly UIColor: {
|
|
312
317
|
ui_cpnt_button_fill_base_primary: string;
|
|
@@ -757,6 +762,12 @@ declare const colorSet: {
|
|
|
757
762
|
ui_36: string;
|
|
758
763
|
ui_37: string;
|
|
759
764
|
ui_39: string;
|
|
765
|
+
ui_cpnt_divider_white_opacity30: string;
|
|
766
|
+
ui_pagemenucontainer_background_wt: string;
|
|
767
|
+
ui_contentscontainer_background_wt: string;
|
|
768
|
+
ui_pagemenuarea_background_wt: string;
|
|
769
|
+
ui_contentsarea_background_wt: string;
|
|
770
|
+
ui_cpnt_standardbanner_base_default: string;
|
|
760
771
|
};
|
|
761
772
|
};
|
|
762
773
|
export default colorSet;
|
|
@@ -4,14 +4,14 @@ 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 SemanticColor_json_1 = __importDefault(require("./SemanticColor.json"));
|
|
8
7
|
var PaletteColor_Dark_json_1 = __importDefault(require("./PaletteColor_Dark.json"));
|
|
9
8
|
var PaletteColor_light_json_1 = __importDefault(require("./PaletteColor_light.json"));
|
|
9
|
+
var SemanticColor_json_1 = __importDefault(require("./SemanticColor.json"));
|
|
10
10
|
var UIColor_json_1 = __importDefault(require("./UIColor.json"));
|
|
11
11
|
var colorSet = {
|
|
12
|
-
SemanticColor: SemanticColor_json_1.default,
|
|
13
12
|
PaletteColor_Dark: PaletteColor_Dark_json_1.default,
|
|
14
13
|
PaletteColor_light: PaletteColor_light_json_1.default,
|
|
14
|
+
SemanticColor: SemanticColor_json_1.default,
|
|
15
15
|
UIColor: UIColor_json_1.default
|
|
16
16
|
};
|
|
17
17
|
exports.default = colorSet;
|
|
@@ -447,4 +447,10 @@ export interface UITheme {
|
|
|
447
447
|
ui_36: string;
|
|
448
448
|
ui_37: string;
|
|
449
449
|
ui_39: string;
|
|
450
|
+
ui_cpnt_divider_white_opacity30: string;
|
|
451
|
+
ui_pagemenucontainer_background_wt: string;
|
|
452
|
+
ui_contentscontainer_background_wt: string;
|
|
453
|
+
ui_pagemenuarea_background_wt: string;
|
|
454
|
+
ui_contentsarea_background_wt: string;
|
|
455
|
+
ui_cpnt_standardbanner_base_default: string;
|
|
450
456
|
}
|
|
@@ -29,7 +29,6 @@ export declare const theme: {
|
|
|
29
29
|
form2: string;
|
|
30
30
|
blog1: string;
|
|
31
31
|
singleLine: string;
|
|
32
|
-
btn: string;
|
|
33
32
|
};
|
|
34
33
|
mobileFontSize: {
|
|
35
34
|
displayHeading: string;
|
|
@@ -57,7 +56,6 @@ export declare const theme: {
|
|
|
57
56
|
form2: string;
|
|
58
57
|
blog1: string;
|
|
59
58
|
singleLine: string;
|
|
60
|
-
btn: string;
|
|
61
59
|
};
|
|
62
60
|
uiColors: import("..").UITheme;
|
|
63
61
|
};
|
|
@@ -29,7 +29,6 @@ export declare const desktopLineHeight: {
|
|
|
29
29
|
form2: string;
|
|
30
30
|
blog1: string;
|
|
31
31
|
singleLine: string;
|
|
32
|
-
btn: string;
|
|
33
32
|
};
|
|
34
33
|
export declare const mobileFontSize: {
|
|
35
34
|
displayHeading: string;
|
|
@@ -57,7 +56,6 @@ export declare const mobileLineHeight: {
|
|
|
57
56
|
form2: string;
|
|
58
57
|
blog1: string;
|
|
59
58
|
singleLine: string;
|
|
60
|
-
btn: string;
|
|
61
59
|
};
|
|
62
60
|
export declare const boxShadow: {
|
|
63
61
|
elevation0: string;
|
|
@@ -42,8 +42,7 @@ exports.desktopLineHeight = {
|
|
|
42
42
|
form1: '1.6',
|
|
43
43
|
form2: '1.6',
|
|
44
44
|
blog1: '1.6',
|
|
45
|
-
singleLine: '
|
|
46
|
-
btn: '1'
|
|
45
|
+
singleLine: '1'
|
|
47
46
|
};
|
|
48
47
|
exports.mobileFontSize = {
|
|
49
48
|
displayHeading: '32px',
|
|
@@ -70,8 +69,7 @@ exports.mobileLineHeight = {
|
|
|
70
69
|
form1: '1.6',
|
|
71
70
|
form2: '1.6',
|
|
72
71
|
blog1: '1.6',
|
|
73
|
-
singleLine: '
|
|
74
|
-
btn: '1'
|
|
72
|
+
singleLine: '1'
|
|
75
73
|
};
|
|
76
74
|
exports.boxShadow = {
|
|
77
75
|
elevation0: '0 0 0 0 #0003',
|
|
@@ -97,5 +95,5 @@ exports.spacing = {
|
|
|
97
95
|
spacingM: '288px',
|
|
98
96
|
spacingN: '320px'
|
|
99
97
|
};
|
|
100
|
-
var theme = __assign({ fontWeight: exports.fontWeight, desktopFontSize: exports.desktopFontSize, desktopLineHeight: exports.desktopLineHeight, mobileFontSize: exports.mobileFontSize, mobileLineHeight: exports.mobileLineHeight, boxShadow: exports.boxShadow, spacing: exports.spacing }, ui_colors_1.
|
|
98
|
+
var theme = __assign({ fontWeight: exports.fontWeight, desktopFontSize: exports.desktopFontSize, desktopLineHeight: exports.desktopLineHeight, mobileFontSize: exports.mobileFontSize, mobileLineHeight: exports.mobileLineHeight, boxShadow: exports.boxShadow, spacing: exports.spacing }, (0, ui_colors_1.customTheme)(window.PdsUtils ? window.PdsUtils.tone : 'DARK'));
|
|
101
99
|
exports.default = theme;
|
|
@@ -36,7 +36,11 @@ var phaseTwoJSON = colorSetting.tone === 'LIGHT' ? colorSet_1.default.PaletteCol
|
|
|
36
36
|
// ui-color-build-phase
|
|
37
37
|
var paletteColors = buildCascadedColors(colorSet_1.default.SemanticColor, phaseTwoJSON, colorSetting.customPalette);
|
|
38
38
|
exports.uiColors = buildCascadedColors(paletteColors, colorSet_1.default.UIColor);
|
|
39
|
+
window.PdsUtils = {
|
|
40
|
+
tone: 'DARK'
|
|
41
|
+
};
|
|
39
42
|
var customTheme = function (tone) {
|
|
43
|
+
window.PdsUtils.tone = tone;
|
|
40
44
|
var buildedColors = buildCascadedColors(buildCascadedColors(colorSet_1.default.SemanticColor, tone === 'LIGHT' ? colorSet_1.default.PaletteColor_light : colorSet_1.default.PaletteColor_Dark, colorSetting.customPalette), colorSet_1.default.UIColor);
|
|
41
45
|
return buildedColors;
|
|
42
46
|
};
|
|
@@ -30,7 +30,6 @@ export interface PdsDevKitTheme {
|
|
|
30
30
|
form2: string;
|
|
31
31
|
blog1: string;
|
|
32
32
|
singleLine: string;
|
|
33
|
-
btn: string;
|
|
34
33
|
};
|
|
35
34
|
mobileFontSize: {
|
|
36
35
|
displayHeading: string;
|
|
@@ -58,7 +57,6 @@ export interface PdsDevKitTheme {
|
|
|
58
57
|
form2: string;
|
|
59
58
|
blog1: string;
|
|
60
59
|
singleLine: string;
|
|
61
|
-
btn: string;
|
|
62
60
|
};
|
|
63
61
|
boxShadow: {
|
|
64
62
|
elevation0: string;
|
|
@@ -29,21 +29,21 @@ function Chip(_a) {
|
|
|
29
29
|
return (react_1.default.createElement(S_CategoryChoiceChip, { isActive: chipId === activeChipId, onClick: handleClick },
|
|
30
30
|
chipId !== activeChipId && (react_1.default.createElement(S_CategoryIconWrapper, { isActive: chipId === activeChipId },
|
|
31
31
|
react_1.default.createElement(Icon_1.Icon, { size: 16, fillType: "line", iconName: "ic_filter", colorKey: "ui_cpnt_chip_line_icon_01" }))),
|
|
32
|
-
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: "caption1Regular",
|
|
32
|
+
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: "caption1Regular", singleLineMode: "use", colorTheme: chipId === activeChipId ? 'usrTextBrandOnPrimary' : 'sysTextPrimary' }),
|
|
33
33
|
chipId === activeChipId && (react_1.default.createElement(S_CategoryIconWrapper, { isActive: chipId === activeChipId },
|
|
34
34
|
react_1.default.createElement(Icon_1.Icon, { size: 12, fillType: "line", iconName: "ic_xmark", colorKey: "ui_cpnt_chip_fill_icon_active_01" })))));
|
|
35
35
|
case 'information':
|
|
36
36
|
return (react_1.default.createElement(S_InfoChip, { onClick: handleClick },
|
|
37
|
-
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: "caption2Regular",
|
|
37
|
+
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: "caption2Regular", singleLineMode: "use", colorTheme: "sysTextPrimary" })));
|
|
38
38
|
case 'label':
|
|
39
39
|
return (react_1.default.createElement(S_LabelChip, { onClick: handleClick },
|
|
40
|
-
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: "caption2Bold",
|
|
40
|
+
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: "caption2Bold", singleLineMode: "use", colorTheme: "sysTextTertiary" })));
|
|
41
41
|
case 'time':
|
|
42
42
|
return (react_1.default.createElement(S_TimeChip, { onClick: handleClick },
|
|
43
|
-
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: "caption2Bold",
|
|
43
|
+
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: "caption2Bold", singleLineMode: "use", colorTheme: "sysTextWhite" })));
|
|
44
44
|
case 'removable':
|
|
45
45
|
return (react_1.default.createElement(S_RemovableChip, { onClick: handleClick },
|
|
46
|
-
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: "caption1Regular",
|
|
46
|
+
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: "caption1Regular", singleLineMode: "use", colorTheme: "sysTextSecondary" }),
|
|
47
47
|
react_1.default.createElement(S_XIconWrapper, { onClick: handleClickXMarkIcon },
|
|
48
48
|
react_1.default.createElement(Icon_1.Icon, { size: 12, iconName: "ic_xmark", fillType: "line", colorKey: "ui_cpnt_chip_fill_icon_inactive" }))));
|
|
49
49
|
default:
|
|
@@ -52,7 +52,7 @@ function Chip(_a) {
|
|
|
52
52
|
react_1.default.createElement(Icon_1.Icon, { fillType: iconFillType, iconName: iconName, size: 16, colorKey: chipId === activeChipId
|
|
53
53
|
? 'ui_cpnt_chip_fill_icon_active_01'
|
|
54
54
|
: 'ui_cpnt_chip_line_icon_02' }))),
|
|
55
|
-
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: "caption1Regular",
|
|
55
|
+
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: "caption1Regular", singleLineMode: "use", colorTheme: chipId === activeChipId ? 'usrTextBrandOnPrimary' : 'sysTextSecondary' })));
|
|
56
56
|
}
|
|
57
57
|
};
|
|
58
58
|
return react_1.default.createElement(S_ChipWrapper, null, chipType());
|
|
@@ -41,7 +41,7 @@ function DesktopTabBar(_a) {
|
|
|
41
41
|
};
|
|
42
42
|
var textLabel = function (value, isSubText) {
|
|
43
43
|
if (isSubText) {
|
|
44
|
-
return (react_1.default.createElement(TextLabel_1.TextLabel, { text: value.title, styleTheme: pathname === value.path ? 'caption1Bold' : 'caption1Regular', colorTheme: pathname === value.path ? 'sysTextPrimary' : 'sysTextSecondary',
|
|
44
|
+
return (react_1.default.createElement(TextLabel_1.TextLabel, { text: value.title, styleTheme: pathname === value.path ? 'caption1Bold' : 'caption1Regular', colorTheme: pathname === value.path ? 'sysTextPrimary' : 'sysTextSecondary', singleLineMode: "use" }));
|
|
45
45
|
}
|
|
46
46
|
if (styleTheme === 'content') {
|
|
47
47
|
return (react_1.default.createElement(TextLabel_1.TextLabel, { text: value.title, styleTheme: pathname === value.path ? 'caption1Bold' : 'caption1Regular', colorTheme: pathname === value.path ? 'sysTextPrimary' : 'sysTextSecondary', singleLineMode: "use" }));
|
|
@@ -59,11 +59,11 @@ function FloatingActionButton(_a) {
|
|
|
59
59
|
displayType === 'icon_only' && (react_1.default.createElement(S_ButtonIconOnly, { size: size, fontWeight: fontWeight, colorTheme: colorTheme, state: state, disabled: state === 'disabled', onClick: handleClick, onMouseDown: handleMouseDown },
|
|
60
60
|
react_1.default.createElement(hybrid_1.Icon, { iconName: iconName, size: size === 'large' ? 20 : 24, colorKey: iconColor(), fillType: iconFillType }))),
|
|
61
61
|
displayType !== 'icon_only' && (react_1.default.createElement(S_Button, { size: size, fontWeight: fontWeight, colorTheme: colorTheme, state: state, disabled: state === 'disabled', onClick: handleClick, onMouseDown: handleMouseDown },
|
|
62
|
-
displayType === 'text_only' && (react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: "body1Bold",
|
|
62
|
+
displayType === 'text_only' && (react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: "body1Bold", singleLineMode: "use", colorTheme: state === 'disabled' ? 'sysTextTertiary' : 'usrTextBrandOnPrimary', colorOverride: state === 'disabled' ? 'ui_cpnt_button_text_darktheme_disabled' : undefined })),
|
|
63
63
|
displayType === 'icon_text' && (react_1.default.createElement(react_1.default.Fragment, null,
|
|
64
64
|
react_1.default.createElement(hybrid_1.Icon, { iconName: iconName, size: 20, colorKey: iconColor(), fillType: iconFillType }),
|
|
65
65
|
react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_b", spacingType: "width" }),
|
|
66
|
-
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: "body1Bold",
|
|
66
|
+
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: "body1Bold", singleLineMode: "use", colorTheme: state === 'disabled' ? 'sysTextTertiary' : 'usrTextBrandOnPrimary', colorOverride: state === 'disabled' ? 'ui_cpnt_button_text_darktheme_disabled' : undefined })))))));
|
|
67
67
|
}
|
|
68
68
|
var large = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n border-radius: 24px;\n height: 48px;\n width: 48px;\n"], ["\n border-radius: 24px;\n height: 48px;\n width: 48px;\n"])));
|
|
69
69
|
var xlarge = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n border-radius: 32px;\n height: 64px;\n width: 64px;\n"], ["\n border-radius: 32px;\n height: 64px;\n width: 64px;\n"])));
|
|
@@ -73,7 +73,9 @@ var fillDisabled = (0, styled_components_1.css)(templateObject_1 || (templateObj
|
|
|
73
73
|
});
|
|
74
74
|
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) {
|
|
75
75
|
var theme = _a.theme, baseColorKey = _a.baseColorKey;
|
|
76
|
-
return baseColorKey
|
|
76
|
+
return baseColorKey
|
|
77
|
+
? (0, common_1.customTheme)(window.PdsUtils ? window.PdsUtils.tone : 'DARK')[baseColorKey]
|
|
78
|
+
: theme.ui_cpnt_button_fill_base_primary;
|
|
77
79
|
}, function (_a) {
|
|
78
80
|
var theme = _a.theme, baseColorKey = _a.baseColorKey;
|
|
79
81
|
return baseColorKey === 'ui_cpnt_button_fill_base_transparent'
|
|
@@ -100,7 +102,9 @@ var line = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 =
|
|
|
100
102
|
return theme.ui_cpnt_button_line_base_default;
|
|
101
103
|
}, function (_a) {
|
|
102
104
|
var theme = _a.theme, borderColorKey = _a.borderColorKey;
|
|
103
|
-
return borderColorKey
|
|
105
|
+
return borderColorKey
|
|
106
|
+
? (0, common_1.customTheme)(window.PdsUtils ? window.PdsUtils.tone : 'DARK')[borderColorKey]
|
|
107
|
+
: theme.ui_cpnt_button_line_border_enabled;
|
|
104
108
|
}, function (_a) {
|
|
105
109
|
var colorTheme = _a.colorTheme;
|
|
106
110
|
switch (colorTheme) {
|
|
@@ -98,7 +98,7 @@ function MainButton(_a) {
|
|
|
98
98
|
size !== 'xsmall' && iconMode === 'left' && (react_1.default.createElement(react_1.default.Fragment, null,
|
|
99
99
|
react_1.default.createElement(hybrid_1.Icon, { iconName: iconName, size: size === 'large' || size === 'rlarge' ? 20 : 16, colorKey: iconColor(), fillType: iconFillType }),
|
|
100
100
|
react_1.default.createElement(hybrid_1.Spacing, { size: size === 'large' || size === 'rlarge' ? 'spacing_b' : 'spacing_a', spacingType: "width" }))),
|
|
101
|
-
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: textStyle[size],
|
|
101
|
+
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: textStyle[size], singleLineMode: "use", colorTheme: state === 'disabled' ? 'sysTextTertiary' : textColor[fillType], colorOverride: selectTextThemeColor() }),
|
|
102
102
|
size !== 'xsmall' && iconMode === 'right' && (react_1.default.createElement(react_1.default.Fragment, null,
|
|
103
103
|
react_1.default.createElement(hybrid_1.Spacing, { size: size === 'large' || size === 'rlarge' ? 'spacing_b' : 'spacing_a', spacingType: "width" }),
|
|
104
104
|
react_1.default.createElement(hybrid_1.Icon, { iconName: iconName, size: size === 'large' || size === 'rlarge' ? 20 : 16, colorKey: iconColor(), fillType: iconFillType })))));
|
|
@@ -100,7 +100,7 @@ function ReactionButton(_a) {
|
|
|
100
100
|
react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_a", spacingType: "width" }),
|
|
101
101
|
react_1.default.createElement(hybrid_1.Icon, { size: 16, fillType: "fill", iconName: iconName, colorKey: colorTheme === 'none' ? IconColorByStatus() : IconColorByColorByTheme() }),
|
|
102
102
|
react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_a", spacingType: "width" }),
|
|
103
|
-
react_1.default.createElement(TextLabel_1.TextLabel, { text: convertFormatHelper(text), styleTheme: "body2Regular",
|
|
103
|
+
react_1.default.createElement(TextLabel_1.TextLabel, { text: convertFormatHelper(text), styleTheme: "body2Regular", singleLineMode: "use", colorTheme: TextLabelColorBySelect(), colorOverride: TextLabelColorByByColorTheme() })));
|
|
104
104
|
}
|
|
105
105
|
var ReactionButtonStyle = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n background-color: transparent;\n border: none;\n cursor: 'pointer';\n display: flex;\n justify-content: center;\n padding: 0;\n"], ["\n align-items: center;\n background-color: transparent;\n border: none;\n cursor: 'pointer';\n display: flex;\n justify-content: center;\n padding: 0;\n"])));
|
|
106
106
|
var S_ReactionButton = styled_components_1.default.button(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), ReactionButtonStyle);
|
|
@@ -37,7 +37,7 @@ function StatusBlock(_a) {
|
|
|
37
37
|
small: 'body2Bold'
|
|
38
38
|
};
|
|
39
39
|
return (react_1.default.createElement(S_StatusBlock, { size: size, state: state, "$width": width },
|
|
40
|
-
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: textLabelStyleThemeObj[size], textAlign: "center",
|
|
40
|
+
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: textLabelStyleThemeObj[size], textAlign: "center", singleLineMode: "use", colorTheme: "sysTextWhite" })));
|
|
41
41
|
}
|
|
42
42
|
var large = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n border-radius: 8px;\n height: 48px;\n"], ["\n border-radius: 8px;\n height: 48px;\n"])));
|
|
43
43
|
var medium = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n border-radius: 8px;\n height: 40px;\n"], ["\n border-radius: 8px;\n height: 40px;\n"])));
|
|
@@ -68,7 +68,7 @@ function TextButton(_a) {
|
|
|
68
68
|
xsmall: 'caption1Regular'
|
|
69
69
|
};
|
|
70
70
|
return (react_1.default.createElement(S_Button, __assign({}, rest, { size: size, responsiveMode: responsiveMode, onClick: handleClick, type: type, fontWeight: fontWeight, disabled: state === 'disabled' }),
|
|
71
|
-
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: textStyle[size], colorTheme: state === 'disabled' ? 'sysTextTertiary' : 'usrTextBrandPrimary',
|
|
71
|
+
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: textStyle[size], colorTheme: state === 'disabled' ? 'sysTextTertiary' : 'usrTextBrandPrimary', singleLineMode: "use" })));
|
|
72
72
|
}
|
|
73
73
|
var large = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 48px;\n ", ";\n"], ["\n height: 48px;\n ", ";\n"])), function (_a) {
|
|
74
74
|
var size = _a.size;
|
|
@@ -117,12 +117,25 @@ function TextField(_a) {
|
|
|
117
117
|
}[colorTheme], iconFillType: iBtn1IconFillType === 'fill' ? 'fill' : 'line', state: state === 'disabled' ? 'disabled' : 'normal', onClick: handleClickIBtn1 })))));
|
|
118
118
|
}
|
|
119
119
|
};
|
|
120
|
-
return (react_1.default.createElement(
|
|
120
|
+
return (react_1.default.createElement(S_TextFieldBox, { size: size, responsiveMode: responsiveMode },
|
|
121
121
|
react_1.default.createElement(S_TextFieldWrapper, { size: size, responsiveMode: responsiveMode, textLineType: textLineType, isFocused: isFocused, isError: isError, state: state, colorTheme: colorTheme }, S_TextField()),
|
|
122
122
|
((_b = errors[name]) === null || _b === void 0 ? void 0 : _b.message) && react_1.default.createElement(S_Error, null, t(errors[name].message))));
|
|
123
123
|
}
|
|
124
|
-
var
|
|
125
|
-
var
|
|
124
|
+
var S_TextFieldBox = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", ";\n ", ";\n"], ["\n ", ";\n ", ";\n"])), function (_a) {
|
|
125
|
+
var size = _a.size;
|
|
126
|
+
return size &&
|
|
127
|
+
{
|
|
128
|
+
small: 'width: 188px;',
|
|
129
|
+
medium: 'width: 188px;',
|
|
130
|
+
large: 'width: 432px;',
|
|
131
|
+
rlarge: 'width: 100%'
|
|
132
|
+
}[size];
|
|
133
|
+
}, function (_a) {
|
|
134
|
+
var responsiveMode = _a.responsiveMode;
|
|
135
|
+
return responsiveMode === 'use' && 'width: 100%';
|
|
136
|
+
});
|
|
137
|
+
var multi = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n height: auto;\n padding: 14px;\n"], ["\n height: auto;\n padding: 14px;\n"])));
|
|
138
|
+
var auto = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n height: auto;\n padding-bottom: ", "px;\n padding-top: ", "px;\n"], ["\n height: auto;\n padding-bottom: ", "px;\n padding-top: ", "px;\n"])), function (_a) {
|
|
126
139
|
var theme = _a.theme;
|
|
127
140
|
return (46 -
|
|
128
141
|
Number(theme.desktopFontSize.form2.substring(0, 2)) * Number(theme.desktopLineHeight.form2)) /
|
|
@@ -133,21 +146,21 @@ var auto = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 =
|
|
|
133
146
|
Number(theme.desktopFontSize.form2.substring(0, 2)) * Number(theme.desktopLineHeight.form2)) /
|
|
134
147
|
2;
|
|
135
148
|
});
|
|
136
|
-
var small = (0, styled_components_1.css)(
|
|
149
|
+
var small = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n height: 32px;\n padding-left: ", ";\n padding-right: ", ";\n width: 188px;\n"], ["\n height: 32px;\n padding-left: ", ";\n padding-right: ", ";\n width: 188px;\n"])), function (_a) {
|
|
137
150
|
var theme = _a.theme;
|
|
138
151
|
return theme.spacing.spacingC;
|
|
139
152
|
}, function (_a) {
|
|
140
153
|
var theme = _a.theme;
|
|
141
154
|
return theme.spacing.spacingC;
|
|
142
155
|
});
|
|
143
|
-
var medium = (0, styled_components_1.css)(
|
|
156
|
+
var medium = (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n height: 40px;\n padding-left: ", ";\n padding-right: ", ";\n width: 188px;\n"], ["\n height: 40px;\n padding-left: ", ";\n padding-right: ", ";\n width: 188px;\n"])), function (_a) {
|
|
144
157
|
var theme = _a.theme;
|
|
145
158
|
return theme.spacing.spacingC;
|
|
146
159
|
}, function (_a) {
|
|
147
160
|
var theme = _a.theme;
|
|
148
161
|
return theme.spacing.spacingC;
|
|
149
162
|
});
|
|
150
|
-
var large = (0, styled_components_1.css)(
|
|
163
|
+
var large = (0, styled_components_1.css)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n height: 48px;\n padding-left: ", ";\n padding-right: ", ";\n width: ", ";\n ", "\n ", "\n"], ["\n height: 48px;\n padding-left: ", ";\n padding-right: ", ";\n width: ", ";\n ", "\n ", "\n"])), function (_a) {
|
|
151
164
|
var theme = _a.theme;
|
|
152
165
|
return theme.spacing.spacingD;
|
|
153
166
|
}, function (_a) {
|
|
@@ -163,7 +176,7 @@ var large = (0, styled_components_1.css)(templateObject_5 || (templateObject_5 =
|
|
|
163
176
|
var textLineType = _a.textLineType;
|
|
164
177
|
return textLineType === 'auto' && auto;
|
|
165
178
|
});
|
|
166
|
-
var normal = (0, styled_components_1.css)(
|
|
179
|
+
var normal = (0, styled_components_1.css)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n background-color: ", ";\n border: solid 1px\n ", ";\n"], ["\n background-color: ", ";\n border: solid 1px\n ", ";\n"])), function (_a) {
|
|
167
180
|
var theme = _a.theme;
|
|
168
181
|
return theme.ui_cpnt_textfield_base_normal;
|
|
169
182
|
}, function (_a) {
|
|
@@ -174,21 +187,21 @@ var normal = (0, styled_components_1.css)(templateObject_6 || (templateObject_6
|
|
|
174
187
|
return theme.ui_cpnt_textfield_border_focus;
|
|
175
188
|
return theme.ui_cpnt_textfield_border_normal;
|
|
176
189
|
});
|
|
177
|
-
var read_only = (0, styled_components_1.css)(
|
|
190
|
+
var read_only = (0, styled_components_1.css)(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n background-color: ", ";\n border: solid 1px ", ";\n"], ["\n background-color: ", ";\n border: solid 1px ", ";\n"])), function (_a) {
|
|
178
191
|
var theme = _a.theme;
|
|
179
192
|
return theme.ui_cpnt_textfield_base_disabled;
|
|
180
193
|
}, function (_a) {
|
|
181
194
|
var theme = _a.theme;
|
|
182
195
|
return theme.ui_cpnt_textfield_border_normal;
|
|
183
196
|
});
|
|
184
|
-
var disabled = (0, styled_components_1.css)(
|
|
197
|
+
var disabled = (0, styled_components_1.css)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n background-color: ", ";\n border: solid 1px ", ";\n"], ["\n background-color: ", ";\n border: solid 1px ", ";\n"])), function (_a) {
|
|
185
198
|
var theme = _a.theme;
|
|
186
199
|
return theme.ui_cpnt_textfield_base_disabled;
|
|
187
200
|
}, function (_a) {
|
|
188
201
|
var theme = _a.theme;
|
|
189
202
|
return theme.ui_cpnt_textfield_border_normal;
|
|
190
203
|
});
|
|
191
|
-
var dark_normal = (0, styled_components_1.css)(
|
|
204
|
+
var dark_normal = (0, styled_components_1.css)(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n background-color: ", ";\n border: solid 1px\n ", ";\n"], ["\n background-color: ", ";\n border: solid 1px\n ", ";\n"])), function (_a) {
|
|
192
205
|
var theme = _a.theme;
|
|
193
206
|
return theme.ui_cpnt_textfield_base_normal;
|
|
194
207
|
}, function (_a) {
|
|
@@ -199,21 +212,21 @@ var dark_normal = (0, styled_components_1.css)(templateObject_9 || (templateObje
|
|
|
199
212
|
return theme.ui_cpnt_textfield_border_darktheme_focus;
|
|
200
213
|
return theme.ui_cpnt_textfield_border_darktheme_normal;
|
|
201
214
|
});
|
|
202
|
-
var dark_read_only = (0, styled_components_1.css)(
|
|
215
|
+
var dark_read_only = (0, styled_components_1.css)(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n background-color: ", ";\n border: solid 1px ", ";\n"], ["\n background-color: ", ";\n border: solid 1px ", ";\n"])), function (_a) {
|
|
203
216
|
var theme = _a.theme;
|
|
204
217
|
return theme.ui_cpnt_textfield_base_darktheme_disabled;
|
|
205
218
|
}, function (_a) {
|
|
206
219
|
var theme = _a.theme;
|
|
207
220
|
return theme.ui_cpnt_textfield_border_darktheme_normal;
|
|
208
221
|
});
|
|
209
|
-
var dark_disabled = (0, styled_components_1.css)(
|
|
222
|
+
var dark_disabled = (0, styled_components_1.css)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n background-color: ", ";\n border: solid 1px ", ";\n"], ["\n background-color: ", ";\n border: solid 1px ", ";\n"])), function (_a) {
|
|
210
223
|
var theme = _a.theme;
|
|
211
224
|
return theme.ui_cpnt_textfield_base_darktheme_disabled;
|
|
212
225
|
}, function (_a) {
|
|
213
226
|
var theme = _a.theme;
|
|
214
227
|
return theme.ui_cpnt_textfield_border_darktheme_normal;
|
|
215
228
|
});
|
|
216
|
-
var S_TextFieldWrapper = styled_components_1.default.div(
|
|
229
|
+
var S_TextFieldWrapper = styled_components_1.default.div(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n align-items: center;\n border-radius: 8px;\n box-sizing: border-box;\n display: flex;\n ", ";\n ", ";\n ", ";\n ", ";\n"], ["\n align-items: center;\n border-radius: 8px;\n box-sizing: border-box;\n display: flex;\n ", ";\n ", ";\n ", ";\n ", ";\n"])), function (_a) {
|
|
217
230
|
var size = _a.size;
|
|
218
231
|
return size &&
|
|
219
232
|
{
|
|
@@ -244,8 +257,8 @@ var S_TextFieldWrapper = styled_components_1.default.div(templateObject_12 || (t
|
|
|
244
257
|
var responsiveMode = _a.responsiveMode;
|
|
245
258
|
return responsiveMode === 'use' && 'width: 100%';
|
|
246
259
|
});
|
|
247
|
-
var S_IconBox = styled_components_1.default.div(
|
|
248
|
-
var S_Error = styled_components_1.default.div(
|
|
260
|
+
var S_IconBox = styled_components_1.default.div(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n display: flex;\n"], ["\n display: flex;\n"])));
|
|
261
|
+
var S_Error = styled_components_1.default.div(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n margin-top: ", ";\n text-align: left;\n"], ["\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n margin-top: ", ";\n text-align: left;\n"])), function (_a) {
|
|
249
262
|
var theme = _a.theme, colorTheme = _a.colorTheme;
|
|
250
263
|
return colorTheme === 'none'
|
|
251
264
|
? theme.ui_cpnt_textfield_text_error
|
|
@@ -264,4 +277,4 @@ var S_Error = styled_components_1.default.div(templateObject_14 || (templateObje
|
|
|
264
277
|
return theme.spacing.spacingA;
|
|
265
278
|
});
|
|
266
279
|
exports.default = TextField;
|
|
267
|
-
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;
|
|
280
|
+
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, templateObject_15;
|
|
@@ -10,7 +10,6 @@ export declare type TextLabelProps = {
|
|
|
10
10
|
singleLineMode?: 'none' | 'use';
|
|
11
11
|
ellipsisMode?: 'none' | 'use';
|
|
12
12
|
lineLimit?: number;
|
|
13
|
-
btnMode?: 'none' | 'use';
|
|
14
13
|
};
|
|
15
14
|
export declare type TextStyleProps = {
|
|
16
15
|
textAlign?: 'left' | 'center' | 'right';
|
|
@@ -21,7 +20,6 @@ export declare type TextStyleProps = {
|
|
|
21
20
|
singleLineMode?: 'none' | 'use';
|
|
22
21
|
ellipsisMode?: 'none' | 'use';
|
|
23
22
|
lineLimit?: number;
|
|
24
|
-
btnMode?: 'none' | 'use';
|
|
25
23
|
};
|
|
26
|
-
declare function TextLabel({ text, textAlign, styleTheme, colorOverride, colorTheme, underline, singleLineMode, ellipsisMode, lineLimit
|
|
24
|
+
declare function TextLabel({ text, textAlign, styleTheme, colorOverride, colorTheme, underline, singleLineMode, ellipsisMode, lineLimit }: TextLabelProps): JSX.Element;
|
|
27
25
|
export default TextLabel;
|