pds-dev-kit-web 2.1.11 → 2.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/common/assets/icons/fill/Accordion.js +1 -1
- package/dist/src/common/assets/icons/fill/AlignBottom.js +1 -1
- package/dist/src/common/assets/icons/fill/AlignCenter.js +1 -1
- package/dist/src/common/assets/icons/fill/AlignLeft.js +1 -1
- package/dist/src/common/assets/icons/fill/AlignMiddle.js +1 -1
- package/dist/src/common/assets/icons/fill/AlignRight.js +1 -1
- package/dist/src/common/assets/icons/fill/AlignTop.js +1 -1
- package/dist/src/common/assets/icons/fill/ArrowDownStepper.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/ArrowDownStepper.js +30 -0
- package/dist/src/common/assets/icons/fill/ArrowUpStepper.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/ArrowUpStepper.js +30 -0
- package/dist/src/common/assets/icons/fill/Audio.js +1 -1
- package/dist/src/common/assets/icons/fill/Button.js +1 -1
- package/dist/src/common/assets/icons/fill/Calendar.js +1 -1
- package/dist/src/common/assets/icons/fill/Carousel.js +1 -1
- package/dist/src/common/assets/icons/fill/Copy.js +1 -1
- package/dist/src/common/assets/icons/fill/DeviceApp.js +1 -1
- package/dist/src/common/assets/icons/fill/DeviceDesktop.js +1 -1
- package/dist/src/common/assets/icons/fill/DeviceMobile.js +1 -1
- package/dist/src/common/assets/icons/fill/Divider.js +1 -1
- package/dist/src/common/assets/icons/fill/Download.js +1 -1
- package/dist/src/common/assets/icons/fill/EditorLeftSide.js +1 -1
- package/dist/src/common/assets/icons/fill/EditorRightSide.js +1 -1
- package/dist/src/common/assets/icons/fill/Embed.js +1 -1
- package/dist/src/common/assets/icons/fill/Icon.js +1 -1
- package/dist/src/common/assets/icons/fill/Image.js +1 -1
- package/dist/src/common/assets/icons/fill/LayerBackward.js +1 -1
- package/dist/src/common/assets/icons/fill/LayerForward.js +1 -1
- package/dist/src/common/assets/icons/fill/Layout.js +1 -1
- package/dist/src/common/assets/icons/fill/LightBulb.js +1 -1
- package/dist/src/common/assets/icons/fill/Links.js +1 -1
- package/dist/src/common/assets/icons/fill/List.js +1 -1
- package/dist/src/common/assets/icons/fill/LogoInsta.js +1 -1
- package/dist/src/common/assets/icons/fill/LogoTwitter.js +1 -1
- package/dist/src/common/assets/icons/fill/MinusCircle.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/MinusCircle.js +30 -0
- package/dist/src/common/assets/icons/fill/Paint.js +1 -1
- package/dist/src/common/assets/icons/fill/PlusCircle.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/PlusCircle.js +30 -0
- package/dist/src/common/assets/icons/fill/PlusRound.js +1 -1
- package/dist/src/common/assets/icons/fill/Richtext.js +1 -1
- package/dist/src/common/assets/icons/fill/ScrollingText.js +1 -1
- package/dist/src/common/assets/icons/fill/Shape.js +1 -1
- package/dist/src/common/assets/icons/fill/Slider.js +1 -1
- package/dist/src/common/assets/icons/fill/Text.js +1 -1
- package/dist/src/common/assets/icons/fill/Trashcan.js +1 -1
- package/dist/src/common/assets/icons/fill/Upload.js +1 -1
- package/dist/src/common/assets/icons/fill/VideoType.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/VideoType.js +30 -0
- package/dist/src/common/assets/icons/fill/index.d.ts +5 -0
- package/dist/src/common/assets/icons/fill/index.js +10 -0
- package/dist/src/common/assets/icons/line/Carousel.js +1 -1
- package/dist/src/common/assets/icons/line/LightBulb.js +1 -1
- package/dist/src/common/assets/icons/line/MinusCircle.js +1 -1
- package/dist/src/common/assets/icons/line/PlusCircle.js +1 -1
- package/dist/src/common/assets/icons/line/Richtext.js +1 -1
- package/dist/src/common/assets/icons/line/VideoType.d.ts +4 -0
- package/dist/src/common/assets/icons/line/VideoType.js +30 -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/styles/colorSet/PaletteColor_Dark.json +5 -4
- package/dist/src/common/styles/colorSet/PaletteColor_light.json +5 -4
- package/dist/src/common/styles/colorSet/UIColor.json +2 -1
- package/dist/src/common/styles/colorSet/index.d.ts +956 -953
- package/dist/src/common/styles/colorSet/index.js +5 -5
- package/dist/src/common/styles/colorSet/ui-type.d.ts +1 -0
- package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.d.ts +1 -1
- package/dist/src/desktop/components/TextField/TextField.js +3 -3
- package/dist/src/desktop/components/TextLabel/TextLabel.js +40 -15
- package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.d.ts +1 -1
- package/dist/src/mobile/components/TextField/TextField.js +3 -3
- package/package.json +1 -1
- package/release-note.md +89 -20
|
@@ -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 PaletteColor_Dark_json_1 = __importDefault(require("./PaletteColor_Dark.json"));
|
|
8
7
|
var SemanticColor_json_1 = __importDefault(require("./SemanticColor.json"));
|
|
9
|
-
var UIColor_json_1 = __importDefault(require("./UIColor.json"));
|
|
10
8
|
var PaletteColor_light_json_1 = __importDefault(require("./PaletteColor_light.json"));
|
|
9
|
+
var PaletteColor_Dark_json_1 = __importDefault(require("./PaletteColor_Dark.json"));
|
|
10
|
+
var UIColor_json_1 = __importDefault(require("./UIColor.json"));
|
|
11
11
|
var colorSet = {
|
|
12
|
-
PaletteColor_Dark: PaletteColor_Dark_json_1.default,
|
|
13
12
|
SemanticColor: SemanticColor_json_1.default,
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
PaletteColor_light: PaletteColor_light_json_1.default,
|
|
14
|
+
PaletteColor_Dark: PaletteColor_Dark_json_1.default,
|
|
15
|
+
UIColor: UIColor_json_1.default
|
|
16
16
|
};
|
|
17
17
|
exports.default = colorSet;
|
|
@@ -23,7 +23,7 @@ export declare type TextFieldBaseProps = {
|
|
|
23
23
|
maxLength?: number;
|
|
24
24
|
textSize: DesktopFontSize;
|
|
25
25
|
textWeight: FontWeight;
|
|
26
|
-
|
|
26
|
+
textPadding?: string;
|
|
27
27
|
fieldHeight?: number;
|
|
28
28
|
deleteIconMode?: 'none' | 'use';
|
|
29
29
|
deleteIconSize?: 12 | 16 | 20 | 24;
|
|
@@ -136,7 +136,7 @@ function TextField(_a) {
|
|
|
136
136
|
break;
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
|
-
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [prefixText && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: prefixText, styleTheme: "caption1Bold", colorTheme: "sysTextTertiary", singleLineMode: "use" }, void 0), (0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_b", spacingType: "width" }, void 0)] }, void 0)), (0, jsx_runtime_1.jsx)(components_1.TextFieldBase, { name: name, hintText: hintText, defaultText: defaultText, textAlign: inputType === 'number' && numberStepperMode === 'use' ? 'right' : textAlign, validation: validation, preventBlankMode: preventBlankMode, enterSubmitMode: enterSubmitMode, textLineType: "single", inputType: inputType, state: state, colorTheme: colorTheme, min: min, max: max, maxLength: maxLength, textSize: "form2", textWeight: fontWeight === 'bold' ? 'bold' : 'normal', deleteIconMode: deleteBtnMode, deleteIconSize: size === 'large' || size === 'rlarge' ? 20 : 16, deleteIconColor: deleteIconColor, isFocused: isFocused, autoComplete: autoComplete, stepperMode: inputType === 'number' && numberStepperMode === 'use' ? 'use' : 'none', innerSpinButtonSize: size === 'small' ? 12 : 16, step: numberStep, onFocus: handleFocus, onTarget: handleTarget, onChange: handleChange, onBlur: handleBlur, onKeyUp: handleKeyUp, onKeyDown: handleKeyDown }, void 0), (0, jsx_runtime_1.jsxs)(S_RightBox, { children: [suffixText && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_b", spacingType: "width" }, void 0), (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: suffixText, styleTheme: "caption1Bold", colorTheme: "sysTextTertiary", textAlign: "right", singleLineMode: "use" }, void 0), size === 'large' ? ((0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_b", spacingType: "width" }, void 0)) : ((0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_a", spacingType: "width" }, void 0))] }, void 0)), iBtn2IconName && ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { iconName: iBtn2IconName, baseSize: "small", shapeType: "rectangle", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconSize: size === 'large' || size === 'rlarge' ? 20 : 16, iconColorKey: colorTheme &&
|
|
139
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [prefixText && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: prefixText, styleTheme: "caption1Bold", colorTheme: "sysTextTertiary", singleLineMode: "use" }, void 0), (0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_b", spacingType: "width" }, void 0)] }, void 0)), (0, jsx_runtime_1.jsx)(components_1.TextFieldBase, { name: name, hintText: hintText, defaultText: defaultText, textAlign: inputType === 'number' && numberStepperMode === 'use' ? 'right' : textAlign, validation: validation, preventBlankMode: preventBlankMode, enterSubmitMode: enterSubmitMode, textLineType: "single", inputType: inputType, state: state, colorTheme: colorTheme, min: min, max: max, maxLength: maxLength, textSize: "form2", textWeight: fontWeight === 'bold' ? 'bold' : 'normal', textPadding: size === 'large' || size === 'rlarge' ? '0 8px 0 0' : undefined, deleteIconMode: deleteBtnMode, deleteIconSize: size === 'large' || size === 'rlarge' ? 20 : 16, deleteIconColor: deleteIconColor, isFocused: isFocused, autoComplete: autoComplete, stepperMode: inputType === 'number' && numberStepperMode === 'use' ? 'use' : 'none', innerSpinButtonSize: size === 'small' ? 12 : 16, step: numberStep, onFocus: handleFocus, onTarget: handleTarget, onChange: handleChange, onBlur: handleBlur, onKeyUp: handleKeyUp, onKeyDown: handleKeyDown }, void 0), (0, jsx_runtime_1.jsxs)(S_RightBox, { children: [suffixText && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_b", spacingType: "width" }, void 0), (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: suffixText, styleTheme: "caption1Bold", colorTheme: "sysTextTertiary", textAlign: "right", singleLineMode: "use" }, void 0), size === 'large' || size === 'rlarge' ? ((0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_b", spacingType: "width" }, void 0)) : ((0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_a", spacingType: "width" }, void 0))] }, void 0)), iBtn2IconName && ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { iconName: iBtn2IconName, baseSize: "small", shapeType: "rectangle", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconSize: size === 'large' || size === 'rlarge' ? 20 : 16, iconColorKey: colorTheme &&
|
|
140
140
|
{
|
|
141
141
|
none: basicThemeIconColors[state],
|
|
142
142
|
dark: darkThemeIconColors[state],
|
|
@@ -184,14 +184,14 @@ var small = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 =
|
|
|
184
184
|
return theme.spacing.spacingC;
|
|
185
185
|
}, function (_a) {
|
|
186
186
|
var theme = _a.theme;
|
|
187
|
-
return theme.spacing.
|
|
187
|
+
return theme.spacing.spacingC;
|
|
188
188
|
});
|
|
189
189
|
var medium = (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n border-radius: 12px;\n height: 40px;\n padding-left: ", ";\n padding-right: ", ";\n width: 188px;\n"], ["\n border-radius: 12px;\n height: 40px;\n padding-left: ", ";\n padding-right: ", ";\n width: 188px;\n"])), function (_a) {
|
|
190
190
|
var theme = _a.theme;
|
|
191
191
|
return theme.spacing.spacingC;
|
|
192
192
|
}, function (_a) {
|
|
193
193
|
var theme = _a.theme;
|
|
194
|
-
return theme.spacing.
|
|
194
|
+
return theme.spacing.spacingC;
|
|
195
195
|
});
|
|
196
196
|
var large = (0, styled_components_1.css)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n border-radius: 14px;\n height: 48px;\n padding-left: ", ";\n padding-right: ", ";\n width: ", ";\n ", "\n ", "\n"], ["\n border-radius: 14px;\n height: 48px;\n padding-left: ", ";\n padding-right: ", ";\n width: ", ";\n ", "\n ", "\n"])), function (_a) {
|
|
197
197
|
var theme = _a.theme;
|
|
@@ -400,24 +400,49 @@ var S_TextLabel = styled_components_1.default.div(templateObject_42 || (template
|
|
|
400
400
|
var bulletPointMode = _a.bulletPointMode;
|
|
401
401
|
return bulletPointMode === 'use' && bulletPointModeStyle;
|
|
402
402
|
});
|
|
403
|
-
var
|
|
403
|
+
var displayAfterTextBox = (0, styled_components_1.css)(templateObject_43 || (templateObject_43 = __makeTemplateObject(["\n margin-bottom: 5px;\n"], ["\n margin-bottom: 5px;\n"])));
|
|
404
|
+
var headingAfterTextBox = (0, styled_components_1.css)(templateObject_44 || (templateObject_44 = __makeTemplateObject(["\n margin-bottom: 3px;\n"], ["\n margin-bottom: 3px;\n"])));
|
|
405
|
+
var wizardPageTitleAfterTextBox = (0, styled_components_1.css)(templateObject_45 || (templateObject_45 = __makeTemplateObject(["\n margin-bottom: 7px;\n"], ["\n margin-bottom: 7px;\n"])));
|
|
406
|
+
var leadParaAfterTextBox = (0, styled_components_1.css)(templateObject_46 || (templateObject_46 = __makeTemplateObject(["\n margin-bottom: 3px;\n"], ["\n margin-bottom: 3px;\n"])));
|
|
407
|
+
var subTitleAfterTextBox = (0, styled_components_1.css)(templateObject_47 || (templateObject_47 = __makeTemplateObject(["\n margin-bottom: 3px;\n"], ["\n margin-bottom: 3px;\n"])));
|
|
408
|
+
var body1AfterTextBox = (0, styled_components_1.css)(templateObject_48 || (templateObject_48 = __makeTemplateObject(["\n margin-bottom: 2px;\n"], ["\n margin-bottom: 2px;\n"])));
|
|
409
|
+
var body2AfterTextBox = (0, styled_components_1.css)(templateObject_49 || (templateObject_49 = __makeTemplateObject(["\n margin-bottom: 3px;\n"], ["\n margin-bottom: 3px;\n"])));
|
|
410
|
+
var caption1AfterTextBox = (0, styled_components_1.css)(templateObject_50 || (templateObject_50 = __makeTemplateObject(["\n margin-bottom: 3px;\n"], ["\n margin-bottom: 3px;\n"])));
|
|
411
|
+
var caption2AfterTextBox = (0, styled_components_1.css)(templateObject_51 || (templateObject_51 = __makeTemplateObject(["\n margin-bottom: 3px;\n"], ["\n margin-bottom: 3px;\n"])));
|
|
412
|
+
var form1AfterTextBox = (0, styled_components_1.css)(templateObject_52 || (templateObject_52 = __makeTemplateObject(["\n margin-bottom: 3px;\n"], ["\n margin-bottom: 3px;\n"])));
|
|
413
|
+
var form2AfterTextBox = (0, styled_components_1.css)(templateObject_53 || (templateObject_53 = __makeTemplateObject(["\n margin-bottom: 2px;\n"], ["\n margin-bottom: 2px;\n"])));
|
|
414
|
+
var blog1RAfterTextBox = (0, styled_components_1.css)(templateObject_54 || (templateObject_54 = __makeTemplateObject(["\n margin-bottom: 3px;\n"], ["\n margin-bottom: 3px;\n"])));
|
|
415
|
+
var S_AfterTextBox = styled_components_1.default.div(templateObject_55 || (templateObject_55 = __makeTemplateObject(["\n display: inline-block;\n margin-left: ", ";\n position: relative;\n vertical-align: middle;\n\n ", ";\n"], ["\n display: inline-block;\n margin-left: ", ";\n position: relative;\n vertical-align: middle;\n\n ", ";\n"])), function (_a) {
|
|
404
416
|
var theme = _a.theme;
|
|
405
417
|
return theme.spacing.spacingA;
|
|
406
418
|
}, function (_a) {
|
|
407
419
|
var styleTheme = _a.styleTheme;
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
420
|
+
return styleTheme &&
|
|
421
|
+
{
|
|
422
|
+
displayBold: displayAfterTextBox,
|
|
423
|
+
wizardPageTitleBold: wizardPageTitleAfterTextBox,
|
|
424
|
+
headingBold: headingAfterTextBox,
|
|
425
|
+
leadParaBold: leadParaAfterTextBox,
|
|
426
|
+
leadParaRegular: leadParaAfterTextBox,
|
|
427
|
+
subTitleBold: subTitleAfterTextBox,
|
|
428
|
+
subTitleRegular: subTitleAfterTextBox,
|
|
429
|
+
body1Bold: body1AfterTextBox,
|
|
430
|
+
body1Regular: body1AfterTextBox,
|
|
431
|
+
body2Bold: body2AfterTextBox,
|
|
432
|
+
body2Regular: body2AfterTextBox,
|
|
433
|
+
caption1Regular: caption1AfterTextBox,
|
|
434
|
+
caption1Bold: caption1AfterTextBox,
|
|
435
|
+
caption2Regular: caption2AfterTextBox,
|
|
436
|
+
caption2Bold: caption2AfterTextBox,
|
|
437
|
+
form1Bold: form1AfterTextBox,
|
|
438
|
+
form1Regular: form1AfterTextBox,
|
|
439
|
+
form2Regular: form2AfterTextBox,
|
|
440
|
+
form2Bold: form2AfterTextBox,
|
|
441
|
+
blog1Regular: blog1RAfterTextBox
|
|
442
|
+
}[styleTheme];
|
|
443
|
+
});
|
|
444
|
+
var S_IconWrapper = styled_components_1.default.div(templateObject_56 || (templateObject_56 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n height: 16px;\n height: 100%;\n justify-content: center;\n width: 16px;\n"], ["\n align-items: center;\n display: flex;\n height: 16px;\n height: 100%;\n justify-content: center;\n width: 16px;\n"])));
|
|
445
|
+
var S_TooltipWrapper = styled_components_1.default.div(templateObject_57 || (templateObject_57 = __makeTemplateObject(["\n ", "\n align-items: center;\n background-color: ", ";\n border-radius: ", ";\n box-sizing: border-box;\n color: ", ";\n display: flex;\n justify-content: center;\n line-height: 1.2;\n max-width: 240px;\n overflow-wrap: break-word;\n padding: ", ";\n position: absolute;\n text-align: left;\n white-space: pre-wrap;\n width: max-content;\n word-break: keep-all;\n z-index: 400;\n\n ", ";\n\n ", ";\n"], ["\n ", "\n align-items: center;\n background-color: ", ";\n border-radius: ", ";\n box-sizing: border-box;\n color: ", ";\n display: flex;\n justify-content: center;\n line-height: 1.2;\n max-width: 240px;\n overflow-wrap: break-word;\n padding: ", ";\n position: absolute;\n text-align: left;\n white-space: pre-wrap;\n width: max-content;\n word-break: keep-all;\n z-index: 400;\n\n ", ";\n\n ", ";\n"])), caption2Regular, function (_a) {
|
|
421
446
|
var theme = _a.theme;
|
|
422
447
|
return theme.ui_cpnt_button_tooltip_base;
|
|
423
448
|
}, function (_a) {
|
|
@@ -443,4 +468,4 @@ var S_TooltipWrapper = styled_components_1.default.div(templateObject_45 || (tem
|
|
|
443
468
|
}[tooltipPosition];
|
|
444
469
|
});
|
|
445
470
|
exports.default = TextLabel;
|
|
446
|
-
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, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25, templateObject_26, templateObject_27, templateObject_28, templateObject_29, templateObject_30, templateObject_31, templateObject_32, templateObject_33, templateObject_34, templateObject_35, templateObject_36, templateObject_37, templateObject_38, templateObject_39, templateObject_40, templateObject_41, templateObject_42, templateObject_43, templateObject_44, templateObject_45;
|
|
471
|
+
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, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25, templateObject_26, templateObject_27, templateObject_28, templateObject_29, templateObject_30, templateObject_31, templateObject_32, templateObject_33, templateObject_34, templateObject_35, templateObject_36, templateObject_37, templateObject_38, templateObject_39, templateObject_40, templateObject_41, templateObject_42, templateObject_43, templateObject_44, templateObject_45, templateObject_46, templateObject_47, templateObject_48, templateObject_49, templateObject_50, templateObject_51, templateObject_52, templateObject_53, templateObject_54, templateObject_55, templateObject_56, templateObject_57;
|
|
@@ -23,7 +23,7 @@ export declare type TextFieldBaseProps = {
|
|
|
23
23
|
maxLength?: number;
|
|
24
24
|
textSize: DesktopFontSize;
|
|
25
25
|
textWeight: FontWeight;
|
|
26
|
-
|
|
26
|
+
textPadding?: string;
|
|
27
27
|
fieldHeight?: number;
|
|
28
28
|
deleteIconMode?: 'none' | 'use';
|
|
29
29
|
deleteIconSize?: 12 | 16 | 20 | 24;
|
|
@@ -136,7 +136,7 @@ function TextField(_a) {
|
|
|
136
136
|
break;
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
|
-
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [prefixText && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: prefixText, styleTheme: "caption1Bold", colorTheme: "sysTextTertiary", singleLineMode: "use" }, void 0), (0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_b", spacingType: "width" }, void 0)] }, void 0)), (0, jsx_runtime_1.jsx)(components_1.TextFieldBase, { name: name, hintText: hintText, defaultText: defaultText, textAlign: inputType === 'number' && numberStepperMode === 'use' ? 'right' : textAlign, validation: validation, preventBlankMode: preventBlankMode, enterSubmitMode: enterSubmitMode, textLineType: "single", inputType: inputType, state: state, colorTheme: colorTheme, min: min, max: max, maxLength: maxLength, textSize: "form2", textWeight: fontWeight === 'bold' ? 'bold' : 'normal', deleteIconMode: deleteBtnMode, deleteIconSize: size === 'large' || size === 'rlarge' ? 20 : 16, deleteIconColor: deleteIconColor, isFocused: isFocused, autoComplete: autoComplete, stepperMode: inputType === 'number' && numberStepperMode === 'use' ? 'use' : 'none', innerSpinButtonSize: size === 'small' ? 12 : 16, step: numberStep, onFocus: handleFocus, onTarget: handleTarget, onChange: handleChange, onBlur: handleBlur, onKeyUp: handleKeyUp, onKeyDown: handleKeyDown }, void 0), (0, jsx_runtime_1.jsxs)(S_RightBox, { children: [suffixText && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_b", spacingType: "width" }, void 0), (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: suffixText, styleTheme: "caption1Bold", colorTheme: "sysTextTertiary", textAlign: "right", singleLineMode: "use" }, void 0), size === 'large' ? ((0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_b", spacingType: "width" }, void 0)) : ((0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_a", spacingType: "width" }, void 0))] }, void 0)), iBtn2IconName && ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { iconName: iBtn2IconName, baseSize: "small", shapeType: "rectangle", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconSize: size === 'large' || size === 'rlarge' ? 20 : 16, iconColorKey: colorTheme &&
|
|
139
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [prefixText && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: prefixText, styleTheme: "caption1Bold", colorTheme: "sysTextTertiary", singleLineMode: "use" }, void 0), (0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_b", spacingType: "width" }, void 0)] }, void 0)), (0, jsx_runtime_1.jsx)(components_1.TextFieldBase, { name: name, hintText: hintText, defaultText: defaultText, textAlign: inputType === 'number' && numberStepperMode === 'use' ? 'right' : textAlign, validation: validation, preventBlankMode: preventBlankMode, enterSubmitMode: enterSubmitMode, textLineType: "single", inputType: inputType, state: state, colorTheme: colorTheme, min: min, max: max, maxLength: maxLength, textSize: "form2", textWeight: fontWeight === 'bold' ? 'bold' : 'normal', textPadding: size === 'large' || size === 'rlarge' ? '0 8px 0 0' : undefined, deleteIconMode: deleteBtnMode, deleteIconSize: size === 'large' || size === 'rlarge' ? 20 : 16, deleteIconColor: deleteIconColor, isFocused: isFocused, autoComplete: autoComplete, stepperMode: inputType === 'number' && numberStepperMode === 'use' ? 'use' : 'none', innerSpinButtonSize: size === 'small' ? 12 : 16, step: numberStep, onFocus: handleFocus, onTarget: handleTarget, onChange: handleChange, onBlur: handleBlur, onKeyUp: handleKeyUp, onKeyDown: handleKeyDown }, void 0), (0, jsx_runtime_1.jsxs)(S_RightBox, { children: [suffixText && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_b", spacingType: "width" }, void 0), (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: suffixText, styleTheme: "caption1Bold", colorTheme: "sysTextTertiary", textAlign: "right", singleLineMode: "use" }, void 0), size === 'large' || size === 'rlarge' ? ((0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_b", spacingType: "width" }, void 0)) : ((0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_a", spacingType: "width" }, void 0))] }, void 0)), iBtn2IconName && ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { iconName: iBtn2IconName, baseSize: "small", shapeType: "rectangle", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconSize: size === 'large' || size === 'rlarge' ? 20 : 16, iconColorKey: colorTheme &&
|
|
140
140
|
{
|
|
141
141
|
none: basicThemeIconColors[state],
|
|
142
142
|
dark: darkThemeIconColors[state],
|
|
@@ -184,14 +184,14 @@ var small = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 =
|
|
|
184
184
|
return theme.spacing.spacingC;
|
|
185
185
|
}, function (_a) {
|
|
186
186
|
var theme = _a.theme;
|
|
187
|
-
return theme.spacing.
|
|
187
|
+
return theme.spacing.spacingC;
|
|
188
188
|
});
|
|
189
189
|
var medium = (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n border-radius: 12px;\n height: 40px;\n padding-left: ", ";\n padding-right: ", ";\n width: 188px;\n"], ["\n border-radius: 12px;\n height: 40px;\n padding-left: ", ";\n padding-right: ", ";\n width: 188px;\n"])), function (_a) {
|
|
190
190
|
var theme = _a.theme;
|
|
191
191
|
return theme.spacing.spacingC;
|
|
192
192
|
}, function (_a) {
|
|
193
193
|
var theme = _a.theme;
|
|
194
|
-
return theme.spacing.
|
|
194
|
+
return theme.spacing.spacingC;
|
|
195
195
|
});
|
|
196
196
|
var large = (0, styled_components_1.css)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n border-radius: 14px;\n height: 48px;\n padding-left: ", ";\n padding-right: ", ";\n width: ", ";\n ", "\n ", "\n"], ["\n border-radius: 14px;\n height: 48px;\n padding-left: ", ";\n padding-right: ", ";\n width: ", ";\n ", "\n ", "\n"])), function (_a) {
|
|
197
197
|
var theme = _a.theme;
|
package/package.json
CHANGED
package/release-note.md
CHANGED
|
@@ -1,34 +1,103 @@
|
|
|
1
1
|
# PDS-DEV-KIT-WEB Release Notes
|
|
2
|
-
## [v2.1.
|
|
2
|
+
## [v2.1.12]
|
|
3
3
|
## daily|https://design.storybook.publ.biz/
|
|
4
4
|
|
|
5
5
|
### Components
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
6
|
+
* TextField
|
|
7
|
+
* 각 prop에 따른 내부 간격 수정
|
|
8
|
+
* TextLabel
|
|
9
|
+
* 각 styleTheme에 맞게 tooltip icon이 중앙정렬되어 보일 수 있도록 수정
|
|
10
10
|
* Icon
|
|
11
|
+
* ic_links
|
|
12
|
+
* fill 수정
|
|
13
|
+
* ic_plus_circle
|
|
14
|
+
* line 수정
|
|
15
|
+
* fill 추가
|
|
16
|
+
* ic_minus_circle
|
|
17
|
+
* line 수정
|
|
18
|
+
* fill 추가
|
|
19
|
+
* ic_video_type
|
|
20
|
+
* line, fill 추가
|
|
21
|
+
* ic_arrow_up_stepper
|
|
22
|
+
* fill 추가
|
|
23
|
+
* ic_arrow_down_stepper
|
|
24
|
+
* fill 추가
|
|
25
|
+
* ic_accordion
|
|
26
|
+
* fill 수정
|
|
27
|
+
* ic_align_bottom
|
|
28
|
+
* fill 수정
|
|
29
|
+
* ic_align_center
|
|
30
|
+
* fill 수정
|
|
31
|
+
* ic_align_left
|
|
32
|
+
* fill 수정
|
|
33
|
+
* ic_align_middle
|
|
34
|
+
* fill 수정
|
|
35
|
+
* ic_align_right
|
|
36
|
+
* fill 수정
|
|
37
|
+
* ic_align_top
|
|
38
|
+
* fill 수정
|
|
11
39
|
* ic_audio
|
|
12
|
-
* fill
|
|
40
|
+
* fill 수정
|
|
41
|
+
* ic_button
|
|
42
|
+
* fill 수정
|
|
13
43
|
* ic_calendar
|
|
14
|
-
* fill
|
|
44
|
+
* fill 수정
|
|
45
|
+
* ic_carousel
|
|
46
|
+
* line, fill 수정
|
|
47
|
+
* ic_copy
|
|
48
|
+
* fill 수정
|
|
49
|
+
* ic_device_app
|
|
50
|
+
* fill 수정
|
|
51
|
+
* ic_device_desktop
|
|
52
|
+
* fill 수정
|
|
53
|
+
* ic_device_mobile
|
|
54
|
+
* fill 수정
|
|
55
|
+
* ic_divider
|
|
56
|
+
* fill 수정
|
|
57
|
+
* ic_download
|
|
58
|
+
* fill 수정
|
|
59
|
+
* ic_editor_left_side
|
|
60
|
+
* fill 수정
|
|
61
|
+
* ic_editor_right_side
|
|
62
|
+
* fill 수정
|
|
15
63
|
* ic_embed
|
|
16
|
-
* fill
|
|
64
|
+
* fill 수정
|
|
17
65
|
* ic_icon
|
|
18
|
-
* fill
|
|
66
|
+
* fill 수정
|
|
67
|
+
* ic_image
|
|
68
|
+
* fill 수정
|
|
69
|
+
* ic_layer_backward
|
|
70
|
+
* fill 수정
|
|
71
|
+
* ic_layer_forward
|
|
72
|
+
* fill 수정
|
|
73
|
+
* ic_layout
|
|
74
|
+
* fill 수정
|
|
75
|
+
* ic_light_bulb
|
|
76
|
+
* line, fill 수정
|
|
19
77
|
* ic_list
|
|
20
|
-
* fill
|
|
21
|
-
*
|
|
22
|
-
* fill
|
|
78
|
+
* fill 수정
|
|
79
|
+
* ic_logo_insta
|
|
80
|
+
* fill 수정
|
|
81
|
+
* ic_logo_twitter
|
|
82
|
+
* fill 수정
|
|
83
|
+
* ic_paint
|
|
84
|
+
* fill 수정
|
|
85
|
+
* ic_plus_round
|
|
86
|
+
* fill 수정
|
|
87
|
+
* ic_rich_text
|
|
88
|
+
* line, fill 수정
|
|
23
89
|
* ic_scrolling_text
|
|
24
|
-
* fill
|
|
25
|
-
*
|
|
26
|
-
* fill
|
|
90
|
+
* fill 수정
|
|
91
|
+
* ic_shape
|
|
92
|
+
* fill 수정
|
|
27
93
|
* ic_slider
|
|
28
|
-
* fill
|
|
29
|
-
*
|
|
30
|
-
|
|
31
|
-
*
|
|
94
|
+
* fill 수정
|
|
95
|
+
* ic_text
|
|
96
|
+
* fill 수정
|
|
97
|
+
* ic_trashcan
|
|
98
|
+
* fill 수정
|
|
99
|
+
* ic_upload
|
|
100
|
+
* fill 수정
|
|
32
101
|
|
|
33
102
|
### Color
|
|
34
|
-
* 컬러 키 값 23.
|
|
103
|
+
* 컬러 키 값 23.08.02 18시 25분 기준 싱크
|