pds-dev-kit-web-test 0.0.1 → 0.0.4
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/index.d.ts +2 -2
- package/dist/index.js +5 -3
- package/dist/src/common/assets/icons/fill/CheckboxOn.d.ts +1 -1
- package/dist/src/common/assets/icons/fill/CheckboxOn.js +24 -2
- package/dist/src/common/assets/icons/fill/index.d.ts +1 -1
- package/dist/src/common/components/Navigations/ContextTextLabelNav.js +2 -2
- package/dist/src/common/components/Navigations/index.d.ts +2 -0
- package/dist/src/common/components/Navigations/index.js +5 -1
- package/dist/src/common/decorators/withFormProvider.js +4 -1
- package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +8 -2
- package/dist/src/common/styles/colorSet/PaletteColor_light.json +7 -1
- package/dist/src/common/styles/colorSet/SemanticColor.json +6 -5
- package/dist/src/common/styles/colorSet/UIColor.json +41 -30
- package/dist/src/common/styles/colorSet/index.d.ts +248 -224
- package/dist/src/common/styles/colorSet/index.js +5 -5
- package/dist/src/common/styles/colorSet/ui-type.d.ts +11 -0
- package/dist/src/common/styles/theme.d.ts +2 -0
- package/dist/src/common/styles/theme.js +3 -1
- package/dist/src/common/types/components.d.ts +1 -1
- package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.d.ts +2 -1
- package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.js +30 -12
- package/dist/src/desktop/components/AdminList/AdminList.d.ts +22 -8
- package/dist/src/desktop/components/AdminList/AdminList.js +21 -2
- package/dist/src/desktop/components/AdminList/BulkActionBar.d.ts +8 -8
- package/dist/src/desktop/components/AdminList/BulkActionBar.js +8 -8
- package/dist/src/desktop/components/AdminList/HeaderRow.js +1 -1
- package/dist/src/desktop/components/AdminListItem/AdminListItem.js +18 -19
- package/dist/src/desktop/components/BasicListItem/BasicListItem.d.ts +4 -1
- package/dist/src/desktop/components/BasicListItem/BasicListItem.js +5 -5
- package/dist/src/desktop/components/BlogTextField/BlogTextField.js +7 -4
- package/dist/src/desktop/components/Chip/Chip.js +16 -19
- package/dist/src/desktop/components/ContextMenu/ContextMenu.js +1 -1
- package/dist/src/desktop/components/ContextMenuItem/ContextMenuItem.js +2 -2
- package/dist/src/desktop/components/DesktopAlertDialog/DesktopAlertDialog.d.ts +7 -1
- package/dist/src/desktop/components/DesktopAlertDialog/DesktopAlertDialog.js +5 -5
- package/dist/src/desktop/components/DesktopTabBar/DesktopTabBar.js +4 -4
- package/dist/src/desktop/components/Dropdown/Dropdown.js +27 -12
- package/dist/src/desktop/components/DynamicDesktopNavBar/DynamicDesktopNavBar.d.ts +2 -2
- package/dist/src/desktop/components/DynamicDesktopNavBar/DynamicDesktopNavBar.js +2 -1
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/ContextMenuNavs/ContextMenuItemNav.js +2 -2
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/ContextMenuNavs/ContextMenuNavs.js +19 -5
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/LogoNav.js +1 -1
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/MenuItemNav/MenuItemNav.js +6 -5
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/MenuItemNav/components/PAppMenuItemNav.d.ts +2 -1
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/MenuItemNav/components/PAppMenuItemNav.js +3 -3
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/MenuItemNav/components/WebMenuItemNav.d.ts +2 -1
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/MenuItemNav/components/WebMenuItemNav.js +3 -3
- package/dist/src/desktop/components/DynamicDesktopNavBar/index.d.ts +1 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/index.js +3 -1
- package/dist/src/desktop/components/DynamicDesktopNavBar/templates/{MenuDesignTemplates.d.ts → DynamicDesktopNavBarTemplates.d.ts} +17 -6
- package/dist/src/desktop/components/DynamicDesktopNavBar/templates/{MenuDesignTemplates.js → DynamicDesktopNavBarTemplates.js} +10 -10
- package/dist/src/desktop/components/DynamicDesktopNavBar/templates/constants.d.ts +15 -4
- package/dist/src/desktop/components/DynamicDesktopNavBar/templates/constants.js +22 -11
- package/dist/src/desktop/components/DynamicDesktopNavBar/templates/index.d.ts +1 -1
- package/dist/src/desktop/components/DynamicDesktopNavBar/templates/index.js +3 -3
- package/dist/src/desktop/components/DynamicDesktopNavBar/types.d.ts +1 -1
- package/dist/src/desktop/components/EditApplyTextField/EditApplyTextField.js +54 -26
- package/dist/src/desktop/components/FloatingActionButton/FloatingActionButton.js +1 -1
- package/dist/src/desktop/components/HorizontalFormGroup/HorizontalFormGroup.js +5 -3
- package/dist/src/desktop/components/IconButton/IconButton.js +3 -8
- package/dist/src/desktop/components/ImageSlide/ImageSlide.js +1 -1
- 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/Select/Select.js +20 -11
- package/dist/src/desktop/components/StatusBlock/StatusBlock.js +3 -3
- package/dist/src/desktop/components/TextButton/TextButton.d.ts +1 -1
- package/dist/src/desktop/components/TextButton/TextButton.js +12 -7
- package/dist/src/desktop/components/TextField/TextField.js +13 -10
- package/dist/src/desktop/components/TextLabel/TextLabel.d.ts +3 -1
- package/dist/src/desktop/components/TextLabel/TextLabel.js +15 -8
- package/dist/src/desktop/components/ToneTest/ToneTest.d.ts +3 -0
- package/dist/src/desktop/components/ToneTest/ToneTest.js +385 -0
- package/dist/src/desktop/components/ToneTest/index.d.ts +1 -0
- package/dist/src/desktop/components/ToneTest/index.js +8 -0
- package/dist/src/desktop/components/UploadIconButton/UploadIconButton.js +3 -8
- package/dist/src/desktop/components/UploadTextButton/UploadTextButton.d.ts +1 -1
- package/dist/src/desktop/components/UploadTextButton/UploadTextButton.js +2 -1
- package/dist/src/desktop/components/UserDesktopSideTab/UserDesktopSideTab.d.ts +8 -0
- package/dist/src/desktop/components/UserDesktopSideTab/UserDesktopSideTab.js +36 -0
- package/dist/src/desktop/components/UserDesktopSideTab/index.d.ts +1 -0
- package/dist/src/desktop/components/UserDesktopSideTab/index.js +8 -0
- package/dist/src/desktop/components/UserDesktopTabBar/UserDesktopTabBar.js +3 -3
- package/dist/src/desktop/components/index.d.ts +3 -4
- package/dist/src/desktop/components/index.js +4 -5
- package/dist/src/desktop/index.d.ts +4 -2
- package/dist/src/desktop/index.js +9 -4
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/ContentsContainer.d.ts +1 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/ContentsContainer.js +2 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTS.d.ts +1 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTS.js +29 -5
- package/dist/src/desktop/layout/LayoutWT/ContainersBox/ContainersBox.d.ts +1 -1
- package/dist/src/desktop/layout/LayoutWT/ContainersBox/ContainersBox.js +8 -4
- package/dist/src/desktop/{components → panels}/DesktopBasicModal/DesktopBasicModal.d.ts +0 -0
- package/dist/src/desktop/{components → panels}/DesktopBasicModal/DesktopBasicModal.js +6 -7
- package/dist/src/desktop/{components → panels}/DesktopBasicModal/index.d.ts +0 -0
- package/dist/src/desktop/{components → panels}/DesktopBasicModal/index.js +0 -0
- package/dist/src/desktop/{components → panels}/DesktopHeadlessModal/DesktopHeadlessModal.d.ts +3 -3
- package/dist/src/desktop/{components → panels}/DesktopHeadlessModal/DesktopHeadlessModal.js +3 -3
- package/dist/src/desktop/{components → panels}/DesktopHeadlessModal/index.d.ts +0 -0
- package/dist/src/desktop/{components → panels}/DesktopHeadlessModal/index.js +0 -0
- package/dist/src/desktop/panels/index.d.ts +3 -0
- package/dist/src/desktop/panels/index.js +7 -0
- package/dist/src/hybrid/components/Divider/Divider.js +12 -9
- package/dist/src/hybrid/components/Icon/Icon.js +3 -2
- package/dist/src/hybrid/components/Switch/Switch.d.ts +2 -2
- package/dist/src/hybrid/components/Switch/Switch.js +3 -32
- package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.js +7 -7
- package/dist/src/mobile/components/BasicListItem/BasicListItem.d.ts +4 -1
- package/dist/src/mobile/components/BasicListItem/BasicListItem.js +5 -5
- package/dist/src/mobile/components/BlogTextField/BlogTextField.js +3 -3
- package/dist/src/mobile/components/Card/Card.js +1 -1
- package/dist/src/mobile/components/Chip/Chip.js +16 -19
- package/dist/src/mobile/components/ContextMenu/ContextMenu.js +1 -1
- package/dist/src/mobile/components/ContextMenuItem/ContextMenuItem.js +2 -2
- package/dist/src/mobile/components/Dropdown/Dropdown.js +19 -11
- package/dist/src/mobile/components/HorizontalFormGroup/HorizontalFormGroup.js +5 -3
- package/dist/src/mobile/components/IconButton/IconButton.js +3 -8
- package/dist/src/mobile/components/ImageSlide/ImageSlide.js +1 -1
- package/dist/src/mobile/components/MainButton/MainButton.js +3 -12
- package/dist/src/mobile/components/MobileAlertDialog/MobileAlertDialog.d.ts +7 -1
- package/dist/src/mobile/components/MobileAlertDialog/MobileAlertDialog.js +6 -6
- package/dist/src/mobile/components/MobileTabBar/MobileTabBar.d.ts +3 -1
- package/dist/src/mobile/components/MobileTabBar/MobileTabBar.js +23 -9
- package/dist/src/mobile/components/Radio/Radio.js +1 -1
- package/dist/src/mobile/components/ReactionButton/ReactionButton.js +2 -5
- package/dist/src/mobile/components/Select/Select.js +10 -11
- package/dist/src/mobile/components/StatusBlock/StatusBlock.js +3 -3
- package/dist/src/mobile/components/TextButton/TextButton.d.ts +1 -1
- package/dist/src/mobile/components/TextButton/TextButton.js +8 -8
- package/dist/src/mobile/components/TextField/TextField.js +9 -9
- package/dist/src/mobile/components/TextLabel/TextLabel.d.ts +3 -1
- package/dist/src/mobile/components/TextLabel/TextLabel.js +14 -7
- package/dist/src/mobile/components/UploadIconButton/UploadIconButton.js +3 -8
- package/dist/src/mobile/components/UploadMainButton/UploadMainButton.js +2 -8
- package/dist/src/mobile/components/UploadTextButton/UploadTextButton.d.ts +1 -1
- package/dist/src/mobile/components/UploadTextButton/UploadTextButton.js +2 -1
- package/dist/src/mobile/components/index.d.ts +1 -2
- package/dist/src/mobile/components/index.js +1 -3
- package/dist/src/mobile/index.d.ts +4 -2
- package/dist/src/mobile/index.js +4 -2
- package/dist/src/mobile/{components → panels}/MobileBasicModal/MobileBasicModal.d.ts +6 -2
- package/dist/src/mobile/{components → panels}/MobileBasicModal/MobileBasicModal.js +7 -10
- package/dist/src/mobile/{components → panels}/MobileBasicModal/index.d.ts +0 -0
- package/dist/src/mobile/{components → panels}/MobileBasicModal/index.js +0 -0
- package/dist/src/mobile/panels/index.d.ts +2 -0
- package/dist/src/mobile/panels/index.js +5 -0
- package/package.json +1 -1
- package/release-note.md +2 -2
|
@@ -13,7 +13,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
13
13
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
14
14
|
};
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
var
|
|
18
|
-
Object.defineProperty(exports, "
|
|
16
|
+
exports.DynamicDesktopNavBarTemplates = void 0;
|
|
17
|
+
var DynamicDesktopNavBarTemplates_1 = require("./DynamicDesktopNavBarTemplates");
|
|
18
|
+
Object.defineProperty(exports, "DynamicDesktopNavBarTemplates", { enumerable: true, get: function () { return __importDefault(DynamicDesktopNavBarTemplates_1).default; } });
|
|
19
19
|
__exportStar(require("./types"), exports);
|
|
@@ -28,16 +28,18 @@ var react_1 = __importStar(require("react"));
|
|
|
28
28
|
var react_hook_form_1 = require("react-hook-form");
|
|
29
29
|
var react_i18next_1 = require("react-i18next");
|
|
30
30
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
31
|
+
var hybrid_1 = require("../../../hybrid");
|
|
31
32
|
var components_1 = require("../../common/components");
|
|
32
33
|
var IconButton_1 = require("../IconButton");
|
|
33
34
|
function EditApplyTextField(_a) {
|
|
34
35
|
var _b;
|
|
35
36
|
var name = _a.name, hintText = _a.hintText, defaultText = _a.defaultText, validation = _a.validation, _c = _a.preventBlankMode, preventBlankMode = _c === void 0 ? 'none' : _c, _d = _a.size, size = _d === void 0 ? 'large' : _d, _e = _a.responsiveMode, responsiveMode = _e === void 0 ? 'none' : _e, _f = _a.textLineType, textLineType = _f === void 0 ? 'single' : _f, _g = _a.multiRows, multiRows = _g === void 0 ? 8 : _g, _h = _a.autoMinRows, autoMinRows = _h === void 0 ? 8 : _h, autoMaxRows = _a.autoMaxRows, _j = _a.inputType, inputType = _j === void 0 ? 'text' : _j, _k = _a.state, state = _k === void 0 ? 'normal' : _k, max = _a.max, maxLength = _a.maxLength, min = _a.min, getInputValue = _a.getInputValue, onBlur = _a.onBlur, onChange = _a.onChange, onClickSubmitBtn = _a.onClickSubmitBtn, onFocus = _a.onFocus, onTarget = _a.onTarget;
|
|
36
37
|
var t = (0, react_i18next_1.useTranslation)('translation').t;
|
|
37
|
-
var _l = (0, react_hook_form_1.useFormContext)(), register = _l.register, setValue = _l.setValue, trigger = _l.trigger, watch = _l.watch,
|
|
38
|
-
var
|
|
39
|
-
var
|
|
40
|
-
var
|
|
38
|
+
var _l = (0, react_hook_form_1.useFormContext)(), register = _l.register, setValue = _l.setValue, trigger = _l.trigger, watch = _l.watch, reset = _l.reset, _m = _l.formState, errors = _m.errors, isSubmitSuccessful = _m.isSubmitSuccessful;
|
|
39
|
+
var _o = (0, react_1.useState)(false), isFocused = _o[0], setIsFocused = _o[1];
|
|
40
|
+
var _p = (0, react_1.useState)(false), isOpen = _p[0], setIsOpen = _p[1];
|
|
41
|
+
var _q = (0, react_1.useState)(defaultText !== null && defaultText !== void 0 ? defaultText : ''), prevValue = _q[0], setPrevValue = _q[1];
|
|
42
|
+
var ref = (0, react_1.useRef)();
|
|
41
43
|
var currentValue = watch(name);
|
|
42
44
|
var validateOnChange = register(name, validation).onChange;
|
|
43
45
|
var isError = Object.keys(errors).some(function (error) { return error === name; });
|
|
@@ -49,6 +51,17 @@ function EditApplyTextField(_a) {
|
|
|
49
51
|
}
|
|
50
52
|
setValue(name, '');
|
|
51
53
|
}, [defaultText]);
|
|
54
|
+
/**
|
|
55
|
+
* @when submit 버튼을 마우스로 클릭한 후 폼 제출에 성공했을 때
|
|
56
|
+
* @expected 인풋을 블러처리하고 인풋의 값은 유지한 채 isSubmitSuccessful을 초기화합니다.
|
|
57
|
+
*/
|
|
58
|
+
(0, react_1.useEffect)(function () {
|
|
59
|
+
var _a;
|
|
60
|
+
if (isSubmitSuccessful) {
|
|
61
|
+
(_a = ref === null || ref === void 0 ? void 0 : ref.current) === null || _a === void 0 ? void 0 : _a.blur();
|
|
62
|
+
reset({ name: name }, { keepValues: true });
|
|
63
|
+
}
|
|
64
|
+
}, [isSubmitSuccessful]);
|
|
52
65
|
function handleFocus(e) {
|
|
53
66
|
if (state !== 'read_only') {
|
|
54
67
|
setIsFocused(true);
|
|
@@ -82,44 +95,58 @@ function EditApplyTextField(_a) {
|
|
|
82
95
|
function handleCancel() {
|
|
83
96
|
setValue(name, prevValue);
|
|
84
97
|
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
98
|
+
/*
|
|
99
|
+
* NOTE
|
|
100
|
+
* preventBlankMode는 input에만 적용 가능
|
|
101
|
+
* 다른 TextField의 경우 'preventBlankMode === 'trim'일 경우에는 무조건 onBlur 시점에 적용'된다고 정의해두었지만,
|
|
102
|
+
* EditApplyTextField는 onBlur 시점에 모든 값이 초기값으로 돌리는 기획이 있기때문에 EditApplyTextField에서는 submit 버튼을 눌렀을 경우에 시행
|
|
103
|
+
*/
|
|
104
|
+
function checkBlankMode() {
|
|
88
105
|
if (textLineType === 'single' && preventBlankMode === 'trim') {
|
|
89
106
|
setValue(name, currentValue.replace(/^\s+|\s+$/gm, ''));
|
|
90
107
|
setPrevValue(currentValue.replace(/^\s+|\s+$/gm, ''));
|
|
91
|
-
if (getInputValue)
|
|
108
|
+
if (getInputValue) {
|
|
92
109
|
getInputValue([name, currentValue.replace(/^\s+|\s+$/gm, '')]);
|
|
110
|
+
}
|
|
93
111
|
}
|
|
94
112
|
if (preventBlankMode !== 'trim') {
|
|
95
113
|
setValue(name, currentValue);
|
|
96
114
|
setPrevValue(currentValue);
|
|
97
|
-
if (getInputValue)
|
|
115
|
+
if (getInputValue) {
|
|
98
116
|
getInputValue([name, currentValue]);
|
|
117
|
+
}
|
|
99
118
|
}
|
|
100
119
|
if (onClickSubmitBtn) {
|
|
101
120
|
onClickSubmitBtn();
|
|
102
121
|
}
|
|
103
122
|
}
|
|
104
|
-
var
|
|
123
|
+
var handleKeyDown = function (e) {
|
|
105
124
|
if (textLineType === 'single' && e.key === 'Enter') {
|
|
106
|
-
|
|
107
|
-
handleSubmit();
|
|
125
|
+
checkBlankMode();
|
|
108
126
|
}
|
|
109
127
|
if (e.key === 'Escape') {
|
|
110
128
|
e.target.blur();
|
|
111
129
|
}
|
|
112
130
|
};
|
|
131
|
+
var handleKeyUp = function (e) {
|
|
132
|
+
if (textLineType === 'single' && e.key === 'Enter') {
|
|
133
|
+
e.target.blur();
|
|
134
|
+
}
|
|
135
|
+
};
|
|
136
|
+
var handleMouseDown = function (e) {
|
|
137
|
+
e.preventDefault();
|
|
138
|
+
checkBlankMode();
|
|
139
|
+
};
|
|
113
140
|
var S_TextFieldBase = function () {
|
|
114
141
|
if (textLineType === 'multi') {
|
|
115
|
-
return (react_1.default.createElement(components_1.TextFieldBase, { name: name, hintText: hintText, defaultText: defaultText, validation: validation, textLineType: "multi", multiRows: multiRows, state: state, maxLength: maxLength, textSize: size === 'large' || size === 'rlarge' ? 'form2' : 'heading', textWeight: size === 'large' || size === 'rlarge' ? 'normal' : 'bold', onFocus: handleFocus, onBlur: handleBlur, onTarget: handleTarget, onChange: handleChange,
|
|
142
|
+
return (react_1.default.createElement(components_1.TextFieldBase, { name: name, hintText: hintText, defaultText: defaultText, validation: validation, textLineType: "multi", multiRows: multiRows, state: state, maxLength: maxLength, textSize: size === 'large' || size === 'rlarge' ? 'form2' : 'heading', textWeight: size === 'large' || size === 'rlarge' ? 'normal' : 'bold', onFocus: handleFocus, onBlur: handleBlur, onTarget: handleTarget, onChange: handleChange, inputRef: ref }));
|
|
116
143
|
}
|
|
117
144
|
if (textLineType === 'auto') {
|
|
118
|
-
return (react_1.default.createElement(components_1.TextFieldBase, { name: name, hintText: hintText, defaultText: defaultText, validation: validation, textLineType: "auto", autoMinRows: autoMinRows, autoMaxRows: autoMaxRows, state: state, maxLength: maxLength, textSize: size === 'large' || size === 'rlarge' ? 'form2' : 'heading', textWeight: size === 'large' || size === 'rlarge' ? 'normal' : 'bold', onFocus: handleFocus, onBlur: handleBlur, onTarget: handleTarget, onChange: handleChange,
|
|
145
|
+
return (react_1.default.createElement(components_1.TextFieldBase, { name: name, hintText: hintText, defaultText: defaultText, validation: validation, textLineType: "auto", autoMinRows: autoMinRows, autoMaxRows: autoMaxRows, state: state, maxLength: maxLength, textSize: size === 'large' || size === 'rlarge' ? 'form2' : 'heading', textWeight: size === 'large' || size === 'rlarge' ? 'normal' : 'bold', onFocus: handleFocus, onBlur: handleBlur, onTarget: handleTarget, onChange: handleChange, inputRef: ref }));
|
|
119
146
|
}
|
|
120
147
|
if (textLineType === 'single') {
|
|
121
148
|
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
122
|
-
react_1.default.createElement(components_1.TextFieldBase, { name: name, hintText: hintText, defaultText: defaultText, validation: validation, preventBlankMode: preventBlankMode, textLineType: "single", inputType: inputType, state: state, min: min, max: max, maxLength: maxLength, textSize: size === 'large' || size === 'rlarge' ? 'form2' : 'heading', textWeight: size === 'large' || size === 'rlarge' ? 'normal' : 'bold', onFocus: handleFocus, onBlur: handleBlur, onTarget: handleTarget, onChange: handleChange, onKeyUp: handleKeyUp })));
|
|
149
|
+
react_1.default.createElement(components_1.TextFieldBase, { name: name, hintText: hintText, defaultText: defaultText, validation: validation, preventBlankMode: preventBlankMode, enterSubmitMode: "use", textLineType: "single", inputType: inputType, state: state, min: min, max: max, maxLength: maxLength, textSize: size === 'large' || size === 'rlarge' ? 'form2' : 'heading', textWeight: size === 'large' || size === 'rlarge' ? 'normal' : 'bold', onFocus: handleFocus, onBlur: handleBlur, onTarget: handleTarget, onChange: handleChange, onKeyDown: handleKeyDown, onKeyUp: handleKeyUp, inputRef: ref })));
|
|
123
150
|
}
|
|
124
151
|
};
|
|
125
152
|
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
@@ -127,8 +154,9 @@ function EditApplyTextField(_a) {
|
|
|
127
154
|
react_1.default.createElement(S_EditApplyTextField, null,
|
|
128
155
|
react_1.default.createElement(S_S_TextFieldBaseWrapper, { size: size, responsiveMode: responsiveMode, textLineType: textLineType, isFocused: isFocused, isError: isError, state: state }, S_TextFieldBase()),
|
|
129
156
|
isOpen === true && (react_1.default.createElement(S_ButtonBox, null,
|
|
130
|
-
react_1.default.createElement(IconButton_1.IconButton, { iconName: "ic_xmark", fillType: "
|
|
131
|
-
react_1.default.createElement(
|
|
157
|
+
react_1.default.createElement(IconButton_1.IconButton, { iconName: "ic_xmark", fillType: "line", baseSize: "small", iconSize: 16, shapeType: "circular", shadow: "visible", iconColorKey: "ui_cpnt_button_icon_enabled", baseColorKey: "ui_cpnt_button_fill_base_white", borderColorKey: "ui_cpnt_button_line_border_default", tabIndex: -1, onMouseDown: handleCancel }),
|
|
158
|
+
react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_b", spacingType: "width" }),
|
|
159
|
+
react_1.default.createElement(IconButton_1.IconButton, { iconName: "ic_check", fillType: "fill", baseSize: "small", iconSize: 16, shapeType: "circular", shadow: "visible", iconColorKey: "ui_cpnt_button_icon_on_primary", baseColorKey: "ui_cpnt_button_fill_base_primary", state: isError === true ? 'disabled' : 'normal', tabIndex: -1, onMouseDown: handleMouseDown, type: "submit" })))),
|
|
132
160
|
((_b = errors[name]) === null || _b === void 0 ? void 0 : _b.message) && (react_1.default.createElement(S_Error, { isFocused: isFocused }, t(errors[name].message))))));
|
|
133
161
|
}
|
|
134
162
|
var S_EditApplyTextFieldWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: ", ";\n"], ["\n width: ", ";\n"])), function (_a) {
|
|
@@ -191,21 +219,24 @@ var normal = (0, styled_components_1.css)(templateObject_7 || (templateObject_7
|
|
|
191
219
|
return "box-shadow: 0 0 0 2px " + theme.ui_cpnt_textfield_border_focus + " inset;";
|
|
192
220
|
return "box-shadow: 0 0 0 1px " + theme.ui_cpnt_textfield_border_normal + " inset;";
|
|
193
221
|
});
|
|
194
|
-
var read_only = (0, styled_components_1.css)(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n background-color: ", ";\n border: solid
|
|
222
|
+
var read_only = (0, styled_components_1.css)(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n background-color: ", ";\n border: solid 2px ", ";\n"], ["\n background-color: ", ";\n border: solid 2px ", ";\n"])), function (_a) {
|
|
195
223
|
var theme = _a.theme;
|
|
196
|
-
return theme.
|
|
224
|
+
return theme.ui_cpnt_textfield_base_disabled;
|
|
197
225
|
}, function (_a) {
|
|
198
226
|
var theme = _a.theme;
|
|
199
|
-
return theme.
|
|
227
|
+
return theme.ui_cpnt_textfield_border_disabled;
|
|
200
228
|
});
|
|
201
|
-
var disabled = (0, styled_components_1.css)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n background-color: ", ";\n border: solid
|
|
229
|
+
var disabled = (0, styled_components_1.css)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n background-color: ", ";\n border: solid 2px ", ";\n"], ["\n background-color: ", ";\n border: solid 2px ", ";\n"])), function (_a) {
|
|
202
230
|
var theme = _a.theme;
|
|
203
231
|
return theme.ui_cpnt_textfield_base_disabled;
|
|
204
232
|
}, function (_a) {
|
|
205
233
|
var theme = _a.theme;
|
|
206
234
|
return theme.ui_cpnt_textfield_border_disabled;
|
|
207
235
|
});
|
|
208
|
-
var S_S_TextFieldBaseWrapper = styled_components_1.default.div(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n align-items: center;\n border-radius: 14px;\n box-sizing: border-box;\n display: flex;\n ", ";\n ", ";\n"], ["\n align-items: center;\n border-radius: 14px;\n box-sizing: border-box;\n display: flex;\n ", ";\n ", ";\n"])), function (_a) {
|
|
236
|
+
var S_S_TextFieldBaseWrapper = styled_components_1.default.div(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n align-items: center;\n border-radius: 14px;\n box-sizing: border-box;\n cursor: ", ";\n display: flex;\n ", ";\n ", ";\n"], ["\n align-items: center;\n border-radius: 14px;\n box-sizing: border-box;\n cursor: ", ";\n display: flex;\n ", ";\n ", ";\n"])), function (_a) {
|
|
237
|
+
var state = _a.state;
|
|
238
|
+
return (state === 'disabled' ? 'not-allowed' : 'text');
|
|
239
|
+
}, function (_a) {
|
|
209
240
|
var size = _a.size;
|
|
210
241
|
return size &&
|
|
211
242
|
{
|
|
@@ -241,9 +272,6 @@ var S_Error = styled_components_1.default.div(templateObject_11 || (templateObje
|
|
|
241
272
|
var theme = _a.theme, isFocused = _a.isFocused;
|
|
242
273
|
return isFocused ? theme.spacing.spacingI : theme.spacing.spacingA;
|
|
243
274
|
});
|
|
244
|
-
var S_ButtonBox = styled_components_1.default.div(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n bottom: -36px;\n display: flex;\n
|
|
245
|
-
var theme = _a.theme;
|
|
246
|
-
return theme.spacing.spacingB;
|
|
247
|
-
});
|
|
275
|
+
var S_ButtonBox = styled_components_1.default.div(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n bottom: -36px;\n display: flex;\n position: absolute;\n right: 0;\n z-index: 1;\n"], ["\n bottom: -36px;\n display: flex;\n position: absolute;\n right: 0;\n z-index: 1;\n"])));
|
|
248
276
|
exports.default = EditApplyTextField;
|
|
249
277
|
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;
|
|
@@ -68,7 +68,7 @@ var disabled = (0, styled_components_1.css)(templateObject_3 || (templateObject_
|
|
|
68
68
|
var theme = _a.theme;
|
|
69
69
|
return theme.ui_cpnt_button_fill_base_disabled;
|
|
70
70
|
});
|
|
71
|
-
var floatingActionButtonStyle = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n align-items: center;\n background-color: ", ";\n border: none;\n bottom: 24px;\n box-shadow: ", ";\n cursor: ", ";\n display: flex;\n justify-content: center;\n position: fixed;\n right: 24px;\n /* NOTE : \uB808\uC774\uC5B4 \uB3C4\uC785 \uD6C4 \uC81C\uAC70\uB420 \uAC00\uB2A5\uC131 \uB18D\uD6C4 */\n z-index: 101;\n\n &:focus {\n outline: none;\n }\n\n &:hover:enabled {\n ", "\n }\n\n &:active:enabled {\n ", "\n }\n\n ", "\n"], ["\n align-items: center;\n background-color: ", ";\n border: none;\n bottom: 24px;\n box-shadow: ", ";\n cursor: ", ";\n display: flex;\n justify-content: center;\n position: fixed;\n right: 24px;\n /* NOTE : \uB808\uC774\uC5B4 \uB3C4\uC785 \uD6C4 \uC81C\uAC70\uB420 \uAC00\uB2A5\uC131 \uB18D\uD6C4 */\n z-index: 101;\n\n &:focus {\n outline: none;\n }\n\n &:hover:enabled {\n ", "\n }\n\n &:active:enabled {\n ", "\n }\n\n ", "\n"])), function (_a) {
|
|
71
|
+
var floatingActionButtonStyle = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n align-items: center;\n background-color: ", ";\n border: none;\n bottom: 24px;\n box-sizing: border-box;\n box-shadow: ", ";\n cursor: ", ";\n display: flex;\n justify-content: center;\n position: fixed;\n right: 24px;\n /* NOTE : \uB808\uC774\uC5B4 \uB3C4\uC785 \uD6C4 \uC81C\uAC70\uB420 \uAC00\uB2A5\uC131 \uB18D\uD6C4 */\n z-index: 101;\n\n &:focus {\n outline: none;\n }\n\n &:hover:enabled {\n ", "\n }\n\n &:active:enabled {\n ", "\n }\n\n ", "\n"], ["\n align-items: center;\n background-color: ", ";\n border: none;\n bottom: 24px;\n box-sizing: border-box;\n box-shadow: ", ";\n cursor: ", ";\n display: flex;\n justify-content: center;\n position: fixed;\n right: 24px;\n /* NOTE : \uB808\uC774\uC5B4 \uB3C4\uC785 \uD6C4 \uC81C\uAC70\uB420 \uAC00\uB2A5\uC131 \uB18D\uD6C4 */\n z-index: 101;\n\n &:focus {\n outline: none;\n }\n\n &:hover:enabled {\n ", "\n }\n\n &:active:enabled {\n ", "\n }\n\n ", "\n"])), function (_a) {
|
|
72
72
|
var theme = _a.theme;
|
|
73
73
|
return theme.ui_cpnt_button_fill_base_primary;
|
|
74
74
|
}, function (_a) {
|
|
@@ -28,21 +28,23 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
var react_1 = __importDefault(require("react"));
|
|
30
30
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
31
|
+
var hybrid_1 = require("../../../hybrid");
|
|
31
32
|
var TextLabel_1 = require("../TextLabel");
|
|
32
33
|
function HorizontalFormGroup(_a) {
|
|
33
34
|
var labelText = _a.labelText, captionText = _a.captionText, inputForm = _a.inputForm, _b = _a.labelAlignType, labelAlignType = _b === void 0 ? 'center' : _b, labelTopSpacing = _a.labelTopSpacing;
|
|
34
35
|
return (react_1.default.createElement(S_HorizontalFormGroupBox, { labelAlignType: labelAlignType },
|
|
35
36
|
react_1.default.createElement(S_LabelWrapper, { labelAlignType: labelAlignType, labelTopSpacing: labelTopSpacing }, labelAlignType === 'center' ? (react_1.default.createElement(TextLabel_1.TextLabel, { text: labelText, styleTheme: "body2Bold", ellipsisMode: "use", lineLimit: 2 })) : (react_1.default.createElement(TextLabel_1.TextLabel, { text: labelText, styleTheme: "body2Bold" }))),
|
|
36
37
|
react_1.default.createElement(S_InputFormWrapper, null, inputForm),
|
|
37
|
-
react_1.default.createElement(S_CaptionWrapper, null,
|
|
38
|
-
react_1.default.createElement(
|
|
38
|
+
captionText && (react_1.default.createElement(S_CaptionWrapper, null,
|
|
39
|
+
react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_b" }),
|
|
40
|
+
react_1.default.createElement(TextLabel_1.TextLabel, { text: captionText, styleTheme: "caption1Regular" })))));
|
|
39
41
|
}
|
|
40
42
|
var centerArea = "\n'label inputForm'\n'. caption'";
|
|
41
43
|
var topArea = "\n'label inputForm'\n'label caption'";
|
|
42
44
|
var small = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n margin-top: 5px;\n"], ["\n margin-top: 5px;\n"])));
|
|
43
45
|
var medium = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n margin-top: 10px;\n"], ["\n margin-top: 10px;\n"])));
|
|
44
46
|
var large = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n margin-top: 14px;\n"], ["\n margin-top: 14px;\n"])));
|
|
45
|
-
var S_HorizontalFormGroupBox = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n display: grid;\n gap: ", ";\n grid-template-columns: 112px
|
|
47
|
+
var S_HorizontalFormGroupBox = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n display: grid;\n grid-column-gap: ", ";\n grid-template-columns: 112px auto;\n grid-template-rows: auto 1fr;\n grid-template-areas: ", ";\n"], ["\n display: grid;\n grid-column-gap: ", ";\n grid-template-columns: 112px auto;\n grid-template-rows: auto 1fr;\n grid-template-areas: ", ";\n"])), function (_a) {
|
|
46
48
|
var theme = _a.theme;
|
|
47
49
|
return theme.spacing.spacingB;
|
|
48
50
|
}, function (_a) {
|
|
@@ -28,7 +28,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
var react_1 = __importDefault(require("react"));
|
|
30
30
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
31
|
-
var common_1 = require("../../../common");
|
|
32
31
|
var hybrid_1 = require("../../../hybrid");
|
|
33
32
|
function IconButton(_a) {
|
|
34
33
|
var _b = _a.fillType, fillType = _b === void 0 ? 'fill' : _b, _c = _a.shapeType, shapeType = _c === void 0 ? 'rectangle' : _c, _d = _a.baseSize, baseSize = _d === void 0 ? 'small' : _d, baseColorKey = _a.baseColorKey, borderColorKey = _a.borderColorKey, _e = _a.iconSize, iconSize = _e === void 0 ? 24 : _e, _f = _a.iconFillType, iconFillType = _f === void 0 ? 'line' : _f, iconName = _a.iconName, iconColorKey = _a.iconColorKey, _g = _a.shadow, shadow = _g === void 0 ? 'hidden' : _g, _h = _a.colorTheme, colorTheme = _h === void 0 ? 'none' : _h, _j = _a.type, type = _j === void 0 ? 'button' : _j, _k = _a.state, state = _k === void 0 ? 'normal' : _k, tabIndex = _a.tabIndex, onClick = _a.onClick, onMouseDown = _a.onMouseDown;
|
|
@@ -76,9 +75,7 @@ var fillDisabled = (0, styled_components_1.css)(templateObject_1 || (templateObj
|
|
|
76
75
|
});
|
|
77
76
|
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) {
|
|
78
77
|
var theme = _a.theme, baseColorKey = _a.baseColorKey;
|
|
79
|
-
return baseColorKey
|
|
80
|
-
? (0, common_1.customTheme)(window.PdsUtils ? window.PdsUtils.tone : 'DARK', window.PdsUtils ? window.PdsUtils.palette : {})[baseColorKey]
|
|
81
|
-
: theme.ui_cpnt_button_fill_base_primary;
|
|
78
|
+
return baseColorKey ? theme[baseColorKey] : theme.ui_cpnt_button_fill_base_primary;
|
|
82
79
|
}, function (_a) {
|
|
83
80
|
var theme = _a.theme, baseColorKey = _a.baseColorKey;
|
|
84
81
|
return baseColorKey === 'ui_cpnt_button_fill_base_transparent'
|
|
@@ -105,9 +102,7 @@ var line = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 =
|
|
|
105
102
|
return theme.ui_cpnt_button_line_base_default;
|
|
106
103
|
}, function (_a) {
|
|
107
104
|
var theme = _a.theme, borderColorKey = _a.borderColorKey;
|
|
108
|
-
return borderColorKey
|
|
109
|
-
? (0, common_1.customTheme)(window.PdsUtils ? window.PdsUtils.tone : 'DARK', window.PdsUtils ? window.PdsUtils.palette : {})[borderColorKey]
|
|
110
|
-
: theme.ui_cpnt_button_line_border_enabled;
|
|
105
|
+
return borderColorKey ? theme[borderColorKey] : theme.ui_cpnt_button_line_border_enabled;
|
|
111
106
|
}, function (_a) {
|
|
112
107
|
var colorTheme = _a.colorTheme;
|
|
113
108
|
switch (colorTheme) {
|
|
@@ -141,7 +136,7 @@ var line2ColorTheme = (0, styled_components_1.css)(templateObject_11 || (templat
|
|
|
141
136
|
var theme = _a.theme;
|
|
142
137
|
return theme.ui_cpnt_button_line_border_primary;
|
|
143
138
|
});
|
|
144
|
-
var iconButtonStyle = (0, styled_components_1.css)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n align-items: center;\n background-color: transparent;\n border: 1px solid transparent;\n cursor: ", ";\n display: flex;\n justify-content: center;\n ", ";\n ", ";\n ", ";\n ", ";\n"], ["\n align-items: center;\n background-color: transparent;\n border: 1px solid transparent;\n cursor: ", ";\n display: flex;\n justify-content: center;\n ", ";\n ", ";\n ", ";\n ", ";\n"])), function (_a) {
|
|
139
|
+
var iconButtonStyle = (0, styled_components_1.css)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n align-items: center;\n background-color: transparent;\n border: 1px solid transparent;\n box-sizing: border-box;\n cursor: ", ";\n display: flex;\n justify-content: center;\n ", ";\n ", ";\n ", ";\n ", ";\n"], ["\n align-items: center;\n background-color: transparent;\n border: 1px solid transparent;\n box-sizing: border-box;\n cursor: ", ";\n display: flex;\n justify-content: center;\n ", ";\n ", ";\n ", ";\n ", ";\n"])), function (_a) {
|
|
145
140
|
var state = _a.state;
|
|
146
141
|
return (state === 'normal' ? 'pointer' : 'default');
|
|
147
142
|
}, function (_a) {
|
|
@@ -68,7 +68,7 @@ var S_Dot = styled_components_1.default.div(templateObject_3 || (templateObject_
|
|
|
68
68
|
return theme.ui_cpnt_imageslide_inactive;
|
|
69
69
|
});
|
|
70
70
|
});
|
|
71
|
-
var S_ImageSlideWrapper = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n flex-direction: column;\n height: 100%;\n justify-content: center;\n min-width: ", ";\n padding: ", ";\n width: ", ";\n\n & > .slider {\n height: auto !important;\n }\n & div:focus {\n outline: none;\n }\n"], ["\n align-items: center;\n display: flex;\n flex-direction: column;\n height: 100%;\n justify-content: center;\n min-width: ", ";\n padding: ", ";\n width: ", ";\n\n & > .slider {\n height: auto !important;\n }\n & div:focus {\n outline: none;\n }\n"])), function (_a) {
|
|
71
|
+
var S_ImageSlideWrapper = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n align-items: center;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n height: 100%;\n justify-content: center;\n min-width: ", ";\n padding: ", ";\n width: ", ";\n\n & > .slider {\n height: auto !important;\n }\n & div:focus {\n outline: none;\n }\n"], ["\n align-items: center;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n height: 100%;\n justify-content: center;\n min-width: ", ";\n padding: ", ";\n width: ", ";\n\n & > .slider {\n height: auto !important;\n }\n & div:focus {\n outline: none;\n }\n"])), function (_a) {
|
|
72
72
|
var imageWidth = _a.imageWidth;
|
|
73
73
|
return imageWidth === 'responsive' ? "calc(100% - 48px)" : imageWidth + "px";
|
|
74
74
|
}, function (_a) {
|
|
@@ -244,7 +244,7 @@ var secondary = (0, styled_components_1.css)(templateObject_16 || (templateObjec
|
|
|
244
244
|
var state = _a.state;
|
|
245
245
|
return state === 'disabled' && secondaryDisabled;
|
|
246
246
|
});
|
|
247
|
-
var S_Button = styled_components_1.default.button(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n align-items: center;\n background-color: transparent;\n border: 1px solid transparent;\n cursor: ", ";\n display: inline-flex;\n justify-content: center;\n\n &:focus {\n outline: none;\n }\n ", "\n ", "\n ", "\n ", ";\n\n & > div {\n ", ";\n }\n"], ["\n align-items: center;\n background-color: transparent;\n border: 1px solid transparent;\n cursor: ", ";\n display: inline-flex;\n justify-content: center;\n\n &:focus {\n outline: none;\n }\n ", "\n ", "\n ", "\n ", ";\n\n & > div {\n ", ";\n }\n"])), function (_a) {
|
|
247
|
+
var S_Button = styled_components_1.default.button(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n align-items: center;\n background-color: transparent;\n border: 1px solid transparent;\n box-sizing: border-box;\n cursor: ", ";\n display: inline-flex;\n justify-content: center;\n\n &:focus {\n outline: none;\n }\n ", "\n ", "\n ", "\n ", ";\n\n & > div {\n ", ";\n }\n"], ["\n align-items: center;\n background-color: transparent;\n border: 1px solid transparent;\n box-sizing: border-box;\n cursor: ", ";\n display: inline-flex;\n justify-content: center;\n\n &:focus {\n outline: none;\n }\n ", "\n ", "\n ", "\n ", ";\n\n & > div {\n ", ";\n }\n"])), function (_a) {
|
|
248
248
|
var state = _a.state;
|
|
249
249
|
return (state === 'normal' ? 'pointer' : 'default');
|
|
250
250
|
}, function (_a) {
|
|
@@ -103,7 +103,7 @@ function ReactionButton(_a) {
|
|
|
103
103
|
react_1.default.createElement(TextLabel_1.TextLabel, { text: convertFormatHelper(text), styleTheme: "body2Bold", singleLineMode: "use", colorTheme: TextLabelColorBySelect(), colorOverride: TextLabelColorByByColorTheme() }),
|
|
104
104
|
react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_b", spacingType: "width" })));
|
|
105
105
|
}
|
|
106
|
-
var ReactionButtonStyle = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n background-color: transparent;\n border: none;\n border-radius: 8px;\n cursor:
|
|
106
|
+
var ReactionButtonStyle = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n background-color: transparent;\n border: none;\n border-radius: 8px;\n box-sizing: border-box;\n cursor: pointer;\n display: flex;\n justify-content: center;\n padding: 0;\n height: 32px;\n\n &:hover:enabled {\n background-color: ", ";\n }\n"], ["\n align-items: center;\n background-color: transparent;\n border: none;\n border-radius: 8px;\n box-sizing: border-box;\n cursor: pointer;\n display: flex;\n justify-content: center;\n padding: 0;\n height: 32px;\n\n &:hover:enabled {\n background-color: ", ";\n }\n"])), function (_a) {
|
|
107
107
|
var theme = _a.theme;
|
|
108
108
|
return theme.ui_cpnt_reactionbutton_base_01;
|
|
109
109
|
});
|
|
@@ -66,9 +66,9 @@ var large = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 =
|
|
|
66
66
|
var medium = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n height: 40px;\n width: 188px;\n"], ["\n height: 40px;\n width: 188px;\n"])));
|
|
67
67
|
var small = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n height: 32px;\n width: 188px;\n"], ["\n height: 32px;\n width: 188px;\n"])));
|
|
68
68
|
var rlarge = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n height: 48px;\n width: 100%;\n"], ["\n height: 48px;\n width: 100%;\n"])));
|
|
69
|
-
var dark = (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n background-color: ", ";\n border:
|
|
69
|
+
var dark = (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n background-color: ", ";\n border: 2px solid ", ";\n color: ", ";\n\n :disabled {\n background-color: ", ";\n border: 2px solid ", ";\n color: ", ";\n }\n\n :focus {\n border: 2px solid ", " !important;\n color: ", ";\n }\n"], ["\n background-color: ", ";\n border: 2px solid ", ";\n color: ", ";\n\n :disabled {\n background-color: ", ";\n border: 2px solid ", ";\n color: ", ";\n }\n\n :focus {\n border: 2px solid ", " !important;\n color: ", ";\n }\n"])), function (_a) {
|
|
70
70
|
var theme = _a.theme;
|
|
71
|
-
return theme.
|
|
71
|
+
return theme.ui_cpnt_select_base_darktheme_normal;
|
|
72
72
|
}, function (_a) {
|
|
73
73
|
var theme = _a.theme;
|
|
74
74
|
return theme.ui_cpnt_select_border_darktheme_normal;
|
|
@@ -78,6 +78,9 @@ var dark = (0, styled_components_1.css)(templateObject_5 || (templateObject_5 =
|
|
|
78
78
|
}, function (_a) {
|
|
79
79
|
var theme = _a.theme;
|
|
80
80
|
return theme.ui_cpnt_select_base_darktheme_disabled;
|
|
81
|
+
}, function (_a) {
|
|
82
|
+
var theme = _a.theme;
|
|
83
|
+
return theme.ui_cpnt_select_border_darktheme_disabled;
|
|
81
84
|
}, function (_a) {
|
|
82
85
|
var theme = _a.theme, state = _a.state;
|
|
83
86
|
return state === 'read_only'
|
|
@@ -107,7 +110,7 @@ var S_Icon_Wrapper = styled_components_1.default.div(templateObject_7 || (templa
|
|
|
107
110
|
var theme = _a.theme;
|
|
108
111
|
return theme.spacing.spacingD;
|
|
109
112
|
});
|
|
110
|
-
var S_Select = styled_components_1.default.select(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n appearance: none;\n background-color: ", ";\n border:
|
|
113
|
+
var S_Select = styled_components_1.default.select(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n appearance: none;\n background-color: ", ";\n border: 2px solid ", ";\n border-radius: ", ";\n box-sizing: border-box;\n cursor: pointer;\n color: ", ";\n font-family: inherit;\n font-size: ", ";\n height: 100%;\n padding-left: ", ";\n width: 100%;\n\n :disabled {\n background-color: ", ";\n border: 2px solid ", ";\n color: ", ";\n cursor: ", ";\n opacity: 1;\n }\n\n :focus {\n border: 2px solid ", " !important;\n color: ", ";\n outline: 0 !important;\n outline-offset: 0 !important;\n }\n\n ", "\n"], ["\n appearance: none;\n background-color: ", ";\n border: 2px solid ", ";\n border-radius: ", ";\n box-sizing: border-box;\n cursor: pointer;\n color: ", ";\n font-family: inherit;\n font-size: ", ";\n height: 100%;\n padding-left: ", ";\n width: 100%;\n\n :disabled {\n background-color: ", ";\n border: 2px solid ", ";\n color: ", ";\n cursor: ", ";\n opacity: 1;\n }\n\n :focus {\n border: 2px solid ", " !important;\n color: ", ";\n outline: 0 !important;\n outline-offset: 0 !important;\n }\n\n ", "\n"])), function (_a) {
|
|
111
114
|
var theme = _a.theme;
|
|
112
115
|
return theme.ui_cpnt_select_base_normal;
|
|
113
116
|
}, function (_a) {
|
|
@@ -126,20 +129,26 @@ var S_Select = styled_components_1.default.select(templateObject_8 || (templateO
|
|
|
126
129
|
var theme = _a.theme;
|
|
127
130
|
return theme.spacing.spacingD;
|
|
128
131
|
}, function (_a) {
|
|
129
|
-
var theme = _a.theme
|
|
130
|
-
return
|
|
131
|
-
? theme.ui_cpnt_select_base_normal
|
|
132
|
-
: theme.ui_cpnt_select_base_disabled;
|
|
132
|
+
var theme = _a.theme;
|
|
133
|
+
return theme.ui_cpnt_select_base_disabled;
|
|
133
134
|
}, function (_a) {
|
|
134
|
-
var theme = _a.theme
|
|
135
|
-
return
|
|
136
|
-
? theme.ui_cpnt_select_border_normal
|
|
137
|
-
: theme.ui_cpnt_select_border_disabled;
|
|
135
|
+
var theme = _a.theme;
|
|
136
|
+
return theme.ui_cpnt_select_border_disabled;
|
|
138
137
|
}, function (_a) {
|
|
139
138
|
var theme = _a.theme, state = _a.state;
|
|
140
139
|
return state === 'read_only'
|
|
141
140
|
? theme.ui_cpnt_select_text_readonly
|
|
142
141
|
: theme.ui_cpnt_select_text_disabled;
|
|
142
|
+
}, function (_a) {
|
|
143
|
+
var state = _a.state;
|
|
144
|
+
switch (state) {
|
|
145
|
+
case 'disabled':
|
|
146
|
+
return 'not-allowed';
|
|
147
|
+
case 'read_only':
|
|
148
|
+
return 'auto';
|
|
149
|
+
case 'normal':
|
|
150
|
+
return 'pointer';
|
|
151
|
+
}
|
|
143
152
|
}, function (_a) {
|
|
144
153
|
var theme = _a.theme;
|
|
145
154
|
return theme.ui_cpnt_select_border_focus;
|
|
@@ -39,9 +39,9 @@ function StatusBlock(_a) {
|
|
|
39
39
|
return (react_1.default.createElement(S_StatusBlock, { size: size, state: state, "$width": width },
|
|
40
40
|
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: textLabelStyleThemeObj[size], textAlign: "center", singleLineMode: "use", colorTheme: "sysTextWhite" })));
|
|
41
41
|
}
|
|
42
|
-
var large = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n border-radius:
|
|
43
|
-
var medium = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n border-radius:
|
|
44
|
-
var small = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n border-radius:
|
|
42
|
+
var large = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n border-radius: 14px;\n height: 48px;\n"], ["\n border-radius: 14px;\n height: 48px;\n"])));
|
|
43
|
+
var medium = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n border-radius: 14px;\n height: 40px;\n"], ["\n border-radius: 14px;\n height: 40px;\n"])));
|
|
44
|
+
var small = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n border-radius: 10px;\n height: 32px;\n"], ["\n border-radius: 10px;\n height: 32px;\n"])));
|
|
45
45
|
var basic = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n background-color: ", ";\n"], ["\n background-color: ", ";\n"])), function (_a) {
|
|
46
46
|
var theme = _a.theme;
|
|
47
47
|
return theme.ui_cpnt_statusblock_basic;
|
|
@@ -7,7 +7,7 @@ export declare type TextButtonProps = {
|
|
|
7
7
|
fontWeight?: 'bold' | 'regular';
|
|
8
8
|
type?: 'submit' | 'reset' | 'button';
|
|
9
9
|
state?: 'normal' | 'disabled';
|
|
10
|
-
colorTheme?: 'none' | 'red' | 'grey_01';
|
|
10
|
+
colorTheme?: 'none' | 'red' | 'grey_01' | 'white';
|
|
11
11
|
onClick?: (...args: any) => any;
|
|
12
12
|
};
|
|
13
13
|
declare function TextButton({ text, size, responsiveMode, fontWeight, type, state, colorTheme, onClick, ...rest }: TextButtonProps): JSX.Element;
|
|
@@ -61,7 +61,8 @@ var textStyle = {
|
|
|
61
61
|
var textColor = {
|
|
62
62
|
none: 'usrTextBrandPrimary',
|
|
63
63
|
red: 'sysTextError',
|
|
64
|
-
grey_01: 'sysTextPrimary'
|
|
64
|
+
grey_01: 'sysTextPrimary',
|
|
65
|
+
white: 'sysTextWhite'
|
|
65
66
|
};
|
|
66
67
|
function TextButton(_a) {
|
|
67
68
|
var text = _a.text, _b = _a.size, size = _b === void 0 ? 'large' : _b, _c = _a.responsiveMode, responsiveMode = _c === void 0 ? 'none' : _c, fontWeight = _a.fontWeight, _d = _a.type, type = _d === void 0 ? 'button' : _d, _e = _a.state, state = _e === void 0 ? 'normal' : _e, _f = _a.colorTheme, colorTheme = _f === void 0 ? 'none' : _f, onClick = _a.onClick, rest = __rest(_a, ["text", "size", "responsiveMode", "fontWeight", "type", "state", "colorTheme", "onClick"]);
|
|
@@ -70,7 +71,7 @@ function TextButton(_a) {
|
|
|
70
71
|
onClick();
|
|
71
72
|
}
|
|
72
73
|
};
|
|
73
|
-
return (react_1.default.createElement(S_Button, __assign({}, rest, { size: size, responsiveMode: responsiveMode, onClick: handleClick, type: type, fontWeight: fontWeight, disabled: state === 'disabled' }),
|
|
74
|
+
return (react_1.default.createElement(S_Button, __assign({}, rest, { size: size, responsiveMode: responsiveMode, onClick: handleClick, type: type, fontWeight: fontWeight, disabled: state === 'disabled', state: state, colorTheme: colorTheme }),
|
|
74
75
|
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: textStyle[size], colorTheme: state === 'disabled' ? 'sysTextTertiary' : textColor[colorTheme], singleLineMode: "use" })));
|
|
75
76
|
}
|
|
76
77
|
var large = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n border-radius: 14px;\n height: 48px;\n ", ";\n"], ["\n border-radius: 14px;\n height: 48px;\n ", ";\n"])), function (_a) {
|
|
@@ -80,15 +81,19 @@ var large = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 =
|
|
|
80
81
|
var medium = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n border-radius: 14px;\n height: 40px;\n"], ["\n border-radius: 14px;\n height: 40px;\n"])));
|
|
81
82
|
var small = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n border-radius: 10px;\n height: 32px;\n"], ["\n border-radius: 10px;\n height: 32px;\n"])));
|
|
82
83
|
var xsmall = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n border-radius: 8px;\n height: 24px;\n"], ["\n border-radius: 8px;\n height: 24px;\n"])));
|
|
83
|
-
var S_Button = styled_components_1.default.button(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n align-items: center;\n background-color: transparent;\n border: none;\n cursor: ", ";\n display: flex;\n justify-content: center;\n padding-left: 8px;\n padding-right: 8px;\n\n &:hover:enabled {\n background-color: ", ";\n }\n &:active:enabled {\n background-color: ", ";\n }\n ", ";\n\n & > div {\n ", ";\n }\n ", ";\n"], ["\n align-items: center;\n background-color: transparent;\n border: none;\n cursor: ", ";\n display: flex;\n justify-content: center;\n padding-left: 8px;\n padding-right: 8px;\n\n &:hover:enabled {\n background-color: ", ";\n }\n &:active:enabled {\n background-color: ", ";\n }\n ", ";\n\n & > div {\n ", ";\n }\n ", ";\n"])), function (_a) {
|
|
84
|
+
var S_Button = styled_components_1.default.button(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n align-items: center;\n background-color: transparent;\n border: none;\n box-sizing: border-box;\n cursor: ", ";\n display: flex;\n justify-content: center;\n padding-left: 8px;\n padding-right: 8px;\n\n &:hover:enabled {\n background-color: ", ";\n }\n &:active:enabled {\n background-color: ", ";\n }\n ", ";\n\n & > div {\n ", ";\n }\n ", ";\n"], ["\n align-items: center;\n background-color: transparent;\n border: none;\n box-sizing: border-box;\n cursor: ", ";\n display: flex;\n justify-content: center;\n padding-left: 8px;\n padding-right: 8px;\n\n &:hover:enabled {\n background-color: ", ";\n }\n &:active:enabled {\n background-color: ", ";\n }\n ", ";\n\n & > div {\n ", ";\n }\n ", ";\n"])), function (_a) {
|
|
84
85
|
var state = _a.state;
|
|
85
86
|
return (state === 'normal' ? 'pointer' : 'default');
|
|
86
87
|
}, function (_a) {
|
|
87
|
-
var theme = _a.theme;
|
|
88
|
-
return
|
|
88
|
+
var theme = _a.theme, colorTheme = _a.colorTheme;
|
|
89
|
+
return colorTheme === 'white'
|
|
90
|
+
? theme.ui_cpnt_button_white_base_hover
|
|
91
|
+
: theme.ui_cpnt_button_line_base_hover;
|
|
89
92
|
}, function (_a) {
|
|
90
|
-
var theme = _a.theme;
|
|
91
|
-
return
|
|
93
|
+
var theme = _a.theme, colorTheme = _a.colorTheme;
|
|
94
|
+
return colorTheme === 'white'
|
|
95
|
+
? theme.ui_cpnt_button_white_base_pressed
|
|
96
|
+
: theme.ui_cpnt_button_line_base_pressed;
|
|
92
97
|
}, function (_a) {
|
|
93
98
|
var size = _a.size;
|
|
94
99
|
return size &&
|
|
@@ -176,7 +176,7 @@ var large = (0, styled_components_1.css)(templateObject_6 || (templateObject_6 =
|
|
|
176
176
|
var textLineType = _a.textLineType;
|
|
177
177
|
return textLineType === 'auto' && auto;
|
|
178
178
|
});
|
|
179
|
-
var normal = (0, styled_components_1.css)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n background-color: ", ";\n border: solid
|
|
179
|
+
var normal = (0, styled_components_1.css)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n background-color: ", ";\n border: solid 2px\n ", ";\n"], ["\n background-color: ", ";\n border: solid 2px\n ", ";\n"])), function (_a) {
|
|
180
180
|
var theme = _a.theme;
|
|
181
181
|
return theme.ui_cpnt_textfield_base_normal;
|
|
182
182
|
}, function (_a) {
|
|
@@ -187,23 +187,23 @@ var normal = (0, styled_components_1.css)(templateObject_7 || (templateObject_7
|
|
|
187
187
|
return theme.ui_cpnt_textfield_border_focus;
|
|
188
188
|
return theme.ui_cpnt_textfield_border_normal;
|
|
189
189
|
});
|
|
190
|
-
var read_only = (0, styled_components_1.css)(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n background-color: ", ";\n border: solid
|
|
190
|
+
var read_only = (0, styled_components_1.css)(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n background-color: ", ";\n border: solid 2px ", ";\n"], ["\n background-color: ", ";\n border: solid 2px ", ";\n"])), function (_a) {
|
|
191
191
|
var theme = _a.theme;
|
|
192
|
-
return theme.
|
|
192
|
+
return theme.ui_cpnt_textfield_base_disabled;
|
|
193
193
|
}, function (_a) {
|
|
194
194
|
var theme = _a.theme;
|
|
195
|
-
return theme.
|
|
195
|
+
return theme.ui_cpnt_textfield_border_disabled;
|
|
196
196
|
});
|
|
197
|
-
var disabled = (0, styled_components_1.css)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n background-color: ", ";\n border: solid
|
|
197
|
+
var disabled = (0, styled_components_1.css)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n background-color: ", ";\n border: solid 2px ", ";\n"], ["\n background-color: ", ";\n border: solid 2px ", ";\n"])), function (_a) {
|
|
198
198
|
var theme = _a.theme;
|
|
199
199
|
return theme.ui_cpnt_textfield_base_disabled;
|
|
200
200
|
}, function (_a) {
|
|
201
201
|
var theme = _a.theme;
|
|
202
202
|
return theme.ui_cpnt_textfield_border_disabled;
|
|
203
203
|
});
|
|
204
|
-
var dark_normal = (0, styled_components_1.css)(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n background-color: ", ";\n border: solid
|
|
204
|
+
var dark_normal = (0, styled_components_1.css)(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n background-color: ", ";\n border: solid 2px\n ", ";\n"], ["\n background-color: ", ";\n border: solid 2px\n ", ";\n"])), function (_a) {
|
|
205
205
|
var theme = _a.theme;
|
|
206
|
-
return theme.
|
|
206
|
+
return theme.ui_cpnt_textfield_base_darktheme_normal;
|
|
207
207
|
}, function (_a) {
|
|
208
208
|
var theme = _a.theme, isError = _a.isError, isFocused = _a.isFocused;
|
|
209
209
|
if (isError)
|
|
@@ -212,21 +212,24 @@ var dark_normal = (0, styled_components_1.css)(templateObject_10 || (templateObj
|
|
|
212
212
|
return theme.ui_cpnt_textfield_border_darktheme_focus;
|
|
213
213
|
return theme.ui_cpnt_textfield_border_darktheme_normal;
|
|
214
214
|
});
|
|
215
|
-
var dark_read_only = (0, styled_components_1.css)(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n background-color: ", ";\n border: solid
|
|
215
|
+
var dark_read_only = (0, styled_components_1.css)(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n background-color: ", ";\n border: solid 2px ", ";\n"], ["\n background-color: ", ";\n border: solid 2px ", ";\n"])), function (_a) {
|
|
216
216
|
var theme = _a.theme;
|
|
217
217
|
return theme.ui_cpnt_textfield_base_darktheme_disabled;
|
|
218
218
|
}, function (_a) {
|
|
219
219
|
var theme = _a.theme;
|
|
220
220
|
return theme.ui_cpnt_textfield_border_darktheme_normal;
|
|
221
221
|
});
|
|
222
|
-
var dark_disabled = (0, styled_components_1.css)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n background-color: ", ";\n border: solid
|
|
222
|
+
var dark_disabled = (0, styled_components_1.css)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n background-color: ", ";\n border: solid 2px ", ";\n"], ["\n background-color: ", ";\n border: solid 2px ", ";\n"])), function (_a) {
|
|
223
223
|
var theme = _a.theme;
|
|
224
224
|
return theme.ui_cpnt_textfield_base_darktheme_disabled;
|
|
225
225
|
}, function (_a) {
|
|
226
226
|
var theme = _a.theme;
|
|
227
227
|
return theme.ui_cpnt_textfield_border_darktheme_normal;
|
|
228
228
|
});
|
|
229
|
-
var S_TextFieldWrapper = styled_components_1.default.div(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n align-items: center;\n border-radius: 14px;\n box-sizing: border-box;\n display: flex;\n ", ";\n ", ";\n ", ";\n ", ";\n"], ["\n align-items: center;\n border-radius: 14px;\n box-sizing: border-box;\n display: flex;\n ", ";\n ", ";\n ", ";\n ", ";\n"])), function (_a) {
|
|
229
|
+
var S_TextFieldWrapper = styled_components_1.default.div(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n align-items: center;\n border-radius: 14px;\n box-sizing: border-box;\n cursor: ", ";\n display: flex;\n ", ";\n ", ";\n ", ";\n ", ";\n"], ["\n align-items: center;\n border-radius: 14px;\n box-sizing: border-box;\n cursor: ", ";\n display: flex;\n ", ";\n ", ";\n ", ";\n ", ";\n"])), function (_a) {
|
|
230
|
+
var state = _a.state;
|
|
231
|
+
return (state === 'disabled' ? 'not-allowed' : 'text');
|
|
232
|
+
}, function (_a) {
|
|
230
233
|
var size = _a.size;
|
|
231
234
|
return size &&
|
|
232
235
|
{
|
|
@@ -17,6 +17,7 @@ export declare type TextLabelProps = {
|
|
|
17
17
|
textDecorationType?: 'none' | 'line_through';
|
|
18
18
|
requirementMode?: 'none' | 'use';
|
|
19
19
|
bulletPointMode?: 'none' | 'use';
|
|
20
|
+
wordBreak?: 'normal' | 'break_all' | 'keep_all' | 'break_word';
|
|
20
21
|
};
|
|
21
22
|
export declare type TextStyleProps = {
|
|
22
23
|
textAlign?: 'left' | 'center' | 'right';
|
|
@@ -32,6 +33,7 @@ export declare type TextStyleProps = {
|
|
|
32
33
|
customFontWeight?: 'bold' | 'regular';
|
|
33
34
|
textDecorationType?: 'none' | 'line_through';
|
|
34
35
|
bulletPointMode?: 'none' | 'use';
|
|
36
|
+
wordBreak?: 'normal' | 'break_all' | 'keep_all' | 'break_word';
|
|
35
37
|
};
|
|
36
|
-
declare function TextLabel({ text, tooltipText, tooltipPosition, textAlign, styleTheme, colorOverride, colorTheme, singleLineMode, ellipsisMode, lineLimit, userSelectMode, customFontSize, customFontWeight, textDecorationType, requirementMode, bulletPointMode }: TextLabelProps): JSX.Element;
|
|
38
|
+
declare function TextLabel({ text, tooltipText, tooltipPosition, textAlign, styleTheme, colorOverride, colorTheme, singleLineMode, ellipsisMode, lineLimit, userSelectMode, customFontSize, customFontWeight, textDecorationType, requirementMode, bulletPointMode, wordBreak }: TextLabelProps): JSX.Element;
|
|
37
39
|
export default TextLabel;
|