pds-dev-kit-web 0.5.16 → 0.5.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/common/assets/icons/line/Lock.d.ts +4 -0
- package/dist/src/common/assets/icons/line/Lock.js +36 -0
- package/dist/src/common/assets/icons/line/index.d.ts +1 -0
- package/dist/src/common/assets/icons/line/index.js +2 -0
- package/dist/src/common/services/i18n/resources/en.json +49 -21
- package/dist/src/common/services/i18n/resources/es.json +50 -22
- package/dist/src/common/services/i18n/resources/index.d.ts +132 -20
- package/dist/src/common/services/i18n/resources/jp.json +50 -22
- package/dist/src/common/services/i18n/resources/ko.json +50 -22
- package/dist/src/common/styles/colorSet/UIColor.json +3 -3
- package/dist/src/common/styles/colorSet/index.d.ts +57 -57
- package/dist/src/common/styles/colorSet/index.js +2 -2
- package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.d.ts +1 -1
- package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.js +6 -11
- package/dist/src/desktop/components/ContextMenu/ContextMenu.js +1 -1
- package/dist/src/desktop/components/EditApplyTextField/EditApplyTextField.d.ts +4 -2
- package/dist/src/desktop/components/EditApplyTextField/EditApplyTextField.js +21 -16
- package/dist/src/desktop/components/MainButton/MainButton.d.ts +2 -1
- package/dist/src/desktop/components/MainButton/MainButton.js +6 -3
- package/dist/src/desktop/components/Select/Select.d.ts +2 -1
- package/dist/src/desktop/components/Select/Select.js +7 -4
- package/dist/src/desktop/components/TextButton/TextButton.d.ts +2 -1
- package/dist/src/desktop/components/TextButton/TextButton.js +6 -3
- package/dist/src/desktop/components/TextField/TextField.d.ts +3 -2
- package/dist/src/desktop/components/TextField/TextField.js +12 -9
- package/dist/src/desktop/components/UploadMainButton/UploadMainButton.d.ts +2 -1
- package/dist/src/desktop/components/UploadMainButton/UploadMainButton.js +6 -3
- package/dist/src/desktop/components/UploadTextButton/UploadTextButton.d.ts +2 -1
- package/dist/src/desktop/components/UploadTextButton/UploadTextButton.js +6 -3
- package/dist/src/hybrid/components/Icon/Icon.d.ts +1 -1
- package/dist/src/hybrid/components/Icon/Icon.js +2 -24
- package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.d.ts +1 -1
- package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.js +6 -11
- package/dist/src/mobile/components/BlogTextField/BlogTextField.d.ts +1 -1
- package/dist/src/mobile/components/BlogTextField/BlogTextField.js +2 -2
- package/dist/src/mobile/components/MainButton/MainButton.d.ts +2 -1
- package/dist/src/mobile/components/MainButton/MainButton.js +6 -3
- package/dist/src/mobile/components/Select/Select.d.ts +2 -1
- package/dist/src/mobile/components/Select/Select.js +7 -4
- package/dist/src/mobile/components/TextButton/TextButton.d.ts +2 -1
- package/dist/src/mobile/components/TextButton/TextButton.js +6 -3
- package/dist/src/mobile/components/TextField/TextField.d.ts +3 -2
- package/dist/src/mobile/components/TextField/TextField.js +12 -9
- package/dist/src/mobile/components/UploadMainButton/UploadMainButton.d.ts +2 -1
- package/dist/src/mobile/components/UploadMainButton/UploadMainButton.js +6 -3
- package/dist/src/mobile/components/UploadTextButton/UploadTextButton.d.ts +2 -1
- package/dist/src/mobile/components/UploadTextButton/UploadTextButton.js +6 -3
- package/package.json +1 -1
|
@@ -37,13 +37,13 @@ var textStyle = {
|
|
|
37
37
|
xsmall: 'caption1Regular'
|
|
38
38
|
};
|
|
39
39
|
function UploadTextButton(_a) {
|
|
40
|
-
var text = _a.text, _b = _a.size, size = _b === void 0 ? 'large' : _b, fontWeight = _a.fontWeight,
|
|
40
|
+
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.state, state = _d === void 0 ? 'normal' : _d, _e = _a.accept, accept = _e === void 0 ? '*' : _e, _f = _a.multipleMode, multipleMode = _f === void 0 ? 'none' : _f, onClick = _a.onClick;
|
|
41
41
|
var handleClick = function (e) {
|
|
42
42
|
if (onClick) {
|
|
43
43
|
onClick(e);
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
|
-
return (react_1.default.createElement(S_UploadTextButton, { size: size, fontWeight: fontWeight, disabled: state === 'disabled' },
|
|
46
|
+
return (react_1.default.createElement(S_UploadTextButton, { size: size, responsiveMode: responsiveMode, fontWeight: fontWeight, disabled: state === 'disabled' },
|
|
47
47
|
react_1.default.createElement("input", { type: "file", hidden: true, disabled: state === 'disabled', accept: accept, multiple: multipleMode === 'use', onChange: handleClick }),
|
|
48
48
|
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: textStyle[size], colorTheme: state === 'disabled' ? 'sysTextTertiary' : 'usrTextBrandPrimary', btnMode: "use" })));
|
|
49
49
|
}
|
|
@@ -54,7 +54,7 @@ var large = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 =
|
|
|
54
54
|
var medium = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n height: 40px;\n"], ["\n height: 40px;\n"])));
|
|
55
55
|
var small = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n height: 32px;\n"], ["\n height: 32px;\n"])));
|
|
56
56
|
var xsmall = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n height: 24px;\n"], ["\n height: 24px;\n"])));
|
|
57
|
-
var S_UploadTextButton = styled_components_1.default.label(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n align-items: center;\n background-color: transparent;\n border: none;\n border-radius: 8px;\n box-sizing: border-box;\n display: inline-flex;\n justify-content: center;\n padding: 0 ", ";\n\n &:active:not([disabled]) {\n background-color: ", ";\n }\n\n & > div {\n font-weight: ", ";\n }\n\n ", ";\n"], ["\n align-items: center;\n background-color: transparent;\n border: none;\n border-radius: 8px;\n box-sizing: border-box;\n display: inline-flex;\n justify-content: center;\n padding: 0 ", ";\n\n &:active:not([disabled]) {\n background-color: ", ";\n }\n\n & > div {\n font-weight: ", ";\n }\n\n ", ";\n"])), function (_a) {
|
|
57
|
+
var S_UploadTextButton = styled_components_1.default.label(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n align-items: center;\n background-color: transparent;\n border: none;\n border-radius: 8px;\n box-sizing: border-box;\n display: inline-flex;\n justify-content: center;\n padding: 0 ", ";\n\n &:active:not([disabled]) {\n background-color: ", ";\n }\n\n & > div {\n font-weight: ", ";\n }\n\n ", ";\n ", ";\n"], ["\n align-items: center;\n background-color: transparent;\n border: none;\n border-radius: 8px;\n box-sizing: border-box;\n display: inline-flex;\n justify-content: center;\n padding: 0 ", ";\n\n &:active:not([disabled]) {\n background-color: ", ";\n }\n\n & > div {\n font-weight: ", ";\n }\n\n ", ";\n ", ";\n"])), function (_a) {
|
|
58
58
|
var theme = _a.theme;
|
|
59
59
|
return theme.spacing.spacingB;
|
|
60
60
|
}, function (_a) {
|
|
@@ -77,6 +77,9 @@ var S_UploadTextButton = styled_components_1.default.label(templateObject_5 || (
|
|
|
77
77
|
small: small,
|
|
78
78
|
xsmall: xsmall
|
|
79
79
|
}[size];
|
|
80
|
+
}, function (_a) {
|
|
81
|
+
var responsiveMode = _a.responsiveMode;
|
|
82
|
+
return responsiveMode === 'use' && 'width: 100%';
|
|
80
83
|
});
|
|
81
84
|
exports.default = UploadTextButton;
|
|
82
85
|
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5;
|