pds-dev-kit-web 1.3.15 → 1.3.16

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.
@@ -152,5 +152,6 @@
152
152
  "sys_widget_dark_01": "grey950",
153
153
  "usr_menu_background_gradient_opacity00": "grey950/opacity00",
154
154
  "sys_border_line_white": "white",
155
- "sys_component_base_white_opacity10": "white/opacity10"
155
+ "sys_component_base_white_opacity10": "white/opacity10",
156
+ "sys_cpnt_sheet_base_01": "darkgrey50"
156
157
  }
@@ -152,5 +152,6 @@
152
152
  "sys_widget_dark_01": "grey900",
153
153
  "usr_menu_background_gradient_opacity00": "white/opacity00",
154
154
  "sys_border_line_white": "white",
155
- "sys_component_base_white_opacity10": "white/opacity10"
155
+ "sys_component_base_white_opacity10": "white/opacity10",
156
+ "sys_cpnt_sheet_base_01": "grey30"
156
157
  }
@@ -29,7 +29,7 @@
29
29
  "opacity30": "4D",
30
30
  "opacity65": "A6",
31
31
  "darkgreen500": "#0ce1a8",
32
- "grey70": "#F2F2F2",
32
+ "grey70": "#eff0f3",
33
33
  "navy500": "#313349",
34
34
  "lightgreen500": "#32d64c",
35
35
  "pink500": "#FB3A63",
@@ -52,6 +52,7 @@
52
52
  "darknavy100": "#7A82B2",
53
53
  "opacity80": "CC",
54
54
  "opacity50": "80",
55
- "grey30": "#f9fafb",
56
- "opacity95": "F2"
55
+ "grey30": "#f8f9fa",
56
+ "opacity95": "F2",
57
+ "darkgrey30": "#1d1d1e"
57
58
  }
@@ -426,7 +426,7 @@
426
426
  "ui_cpnt_dropdown_border_darktheme_normal": "sys_border_line_darktheme_01",
427
427
  "ui_cpnt_dropdown_border_darktheme_focus": "sys_border_line_darktheme_04",
428
428
  "ui_cpnt_dropdown_base_darktheme_disabled": "sys_component_base_darktheme_01",
429
- "ui_cpnt_sheet_base": "sys_component_base_01",
429
+ "ui_cpnt_sheet_base": "sys_cpnt_sheet_base_01",
430
430
  "ui_cpnt_button_icon_darktheme_default": "sys_widget_grey_darktheme_02",
431
431
  "ui_cpnt_button_icon_darktheme_primary": "usr_widget_brand_primary_darktheme_01",
432
432
  "ui_cpnt_button_text_darktheme_default": "sys_text_grey_darktheme_02",
@@ -1,5 +1,5 @@
1
1
  declare const colorSet: {
2
- readonly PaletteColor_Dark: {
2
+ readonly PaletteColor_light: {
3
3
  sys_container_background_01: string;
4
4
  sys_container_background_02: string;
5
5
  sys_container_background_03: string;
@@ -154,8 +154,67 @@ declare const colorSet: {
154
154
  usr_menu_background_gradient_opacity00: string;
155
155
  sys_border_line_white: string;
156
156
  sys_component_base_white_opacity10: string;
157
+ sys_cpnt_sheet_base_01: string;
157
158
  };
158
- readonly PaletteColor_light: {
159
+ readonly SemanticColor: {
160
+ blue500: string;
161
+ blue700: string;
162
+ blue300: string;
163
+ green700: string;
164
+ green500: string;
165
+ green300: string;
166
+ red500: string;
167
+ grey900: string;
168
+ grey500: string;
169
+ grey400: string;
170
+ grey100: string;
171
+ grey50: string;
172
+ white: string;
173
+ black: string;
174
+ darkblue500: string;
175
+ grey950: string;
176
+ darkgrey900: string;
177
+ darkgrey500: string;
178
+ darkgrey400: string;
179
+ darkgrey100: string;
180
+ darkgrey50: string;
181
+ darkred500: string;
182
+ darkgreen700: string;
183
+ orange500: string;
184
+ darkorange500: string;
185
+ opacity00: string;
186
+ opacity20: string;
187
+ opacity30: string;
188
+ opacity65: string;
189
+ darkgreen500: string;
190
+ grey70: string;
191
+ navy500: string;
192
+ lightgreen500: string;
193
+ pink500: string;
194
+ darkgrey70: string;
195
+ darknavy500: string;
196
+ darkpink500: string;
197
+ darklightgreen500: string;
198
+ opacity10: string;
199
+ grey600: string;
200
+ darkgrey600: string;
201
+ skyblue500: string;
202
+ skyblue300: string;
203
+ pink300: string;
204
+ lightpink500: string;
205
+ darkblue300: string;
206
+ darkblue700: string;
207
+ darkgreen300: string;
208
+ darkskyblue500: string;
209
+ navy100: string;
210
+ darknavy100: string;
211
+ opacity80: string;
212
+ opacity50: string;
213
+ grey30: string;
214
+ opacity95: string;
215
+ darkgrey30: string;
216
+ };
217
+ readonly PaletteColor_Dark: {
159
218
  sys_container_background_01: string;
160
219
  sys_container_background_02: string;
161
220
  sys_container_background_03: string;
@@ -310,6 +369,7 @@ declare const colorSet: {
310
369
  usr_menu_background_gradient_opacity00: string;
311
370
  sys_border_line_white: string;
312
371
  sys_component_base_white_opacity10: string;
372
+ sys_cpnt_sheet_base_01: string;
313
373
  };
314
374
  readonly UIColor: {
315
375
  ui_cpnt_button_fill_base_primary: string;
@@ -801,62 +861,5 @@ declare const colorSet: {
801
861
  ui_cpnt_dropdown_border_white_focus: string;
802
862
  ui_cpnt_dropdown_base_white_normal: string;
803
863
  };
804
- readonly SemanticColor: {
805
- blue500: string;
806
- blue700: string;
807
- blue300: string;
808
- green700: string;
809
- green500: string;
810
- green300: string;
811
- red500: string;
812
- grey900: string;
813
- grey500: string;
814
- grey400: string;
815
- grey100: string;
816
- grey50: string;
817
- white: string;
818
- black: string;
819
- darkblue500: string;
820
- grey950: string;
821
- darkgrey900: string;
822
- darkgrey500: string;
823
- darkgrey400: string;
824
- darkgrey100: string;
825
- darkgrey50: string;
826
- darkred500: string;
827
- darkgreen700: string;
828
- orange500: string;
829
- darkorange500: string;
830
- opacity00: string;
831
- opacity20: string;
832
- opacity30: string;
833
- opacity65: string;
834
- darkgreen500: string;
835
- grey70: string;
836
- navy500: string;
837
- lightgreen500: string;
838
- pink500: string;
839
- darkgrey70: string;
840
- darknavy500: string;
841
- darkpink500: string;
842
- darklightgreen500: string;
843
- opacity10: string;
844
- grey600: string;
845
- darkgrey600: string;
846
- skyblue500: string;
847
- skyblue300: string;
848
- pink300: string;
849
- lightpink500: string;
850
- darkblue300: string;
851
- darkblue700: string;
852
- darkgreen300: string;
853
- darkskyblue500: string;
854
- navy100: string;
855
- darknavy100: string;
856
- opacity80: string;
857
- opacity50: string;
858
- grey30: string;
859
- opacity95: string;
860
- };
861
864
  };
862
865
  export default colorSet;
@@ -4,14 +4,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  /* eslint-disable import/order */
7
- var PaletteColor_Dark_json_1 = __importDefault(require("./PaletteColor_Dark.json"));
8
7
  var PaletteColor_light_json_1 = __importDefault(require("./PaletteColor_light.json"));
9
- var UIColor_json_1 = __importDefault(require("./UIColor.json"));
10
8
  var SemanticColor_json_1 = __importDefault(require("./SemanticColor.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
  PaletteColor_light: PaletteColor_light_json_1.default,
14
- UIColor: UIColor_json_1.default,
15
- SemanticColor: SemanticColor_json_1.default
13
+ SemanticColor: SemanticColor_json_1.default,
14
+ PaletteColor_Dark: PaletteColor_Dark_json_1.default,
15
+ UIColor: UIColor_json_1.default
16
16
  };
17
17
  exports.default = colorSet;
@@ -28,10 +28,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  /* eslint-disable react/jsx-no-bind */
30
30
  var react_1 = __importDefault(require("react"));
31
+ var react_hook_form_1 = require("react-hook-form");
31
32
  var styled_components_1 = __importStar(require("styled-components"));
32
33
  var components_1 = require("../../common/components");
33
34
  function BlogTextField(_a) {
34
35
  var hintText = _a.hintText, defaultText = _a.defaultText, _b = _a.size, size = _b === void 0 ? 'rlarge' : _b, _c = _a.textLineType, textLineType = _c === void 0 ? 'auto' : _c, _d = _a.multiRows, multiRows = _d === void 0 ? 8 : _d, _e = _a.autoMinRows, autoMinRows = _e === void 0 ? 8 : _e, autoMaxRows = _a.autoMaxRows, _f = _a.state, state = _f === void 0 ? 'normal' : _f, _g = _a.spacingMode, spacingMode = _g === void 0 ? 'use' : _g, maxLength = _a.maxLength, name = _a.name, validation = _a.validation, onBlur = _a.onBlur, onChange = _a.onChange, onFocus = _a.onFocus, onTarget = _a.onTarget;
36
+ var register = (0, react_hook_form_1.useFormContext)().register;
37
+ var validateOnChange = register(name, validation).onChange;
35
38
  function handleFocus(e) {
36
39
  if (onFocus) {
37
40
  onFocus(e);
@@ -48,16 +51,17 @@ function BlogTextField(_a) {
48
51
  }
49
52
  }
50
53
  function handleChange(e) {
54
+ validateOnChange(e);
51
55
  if (onChange) {
52
56
  onChange(e);
53
57
  }
54
58
  }
55
59
  var S_BlogTextField = function () {
56
60
  if (textLineType === 'multi') {
57
- 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: "form1", textWeight: "normal", onFocus: handleFocus, onTarget: handleTarget, onChange: handleChange, onBlur: handleBlur }));
61
+ 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: "form1", textWeight: "normal", onFocus: handleFocus, onTarget: handleTarget, onChange: handleChange, onBlur: handleBlur, validationPoint: "onChange" }));
58
62
  }
59
63
  if (textLineType === 'auto') {
60
- 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: "form1", textWeight: "normal", onFocus: handleFocus, onTarget: handleTarget, onChange: handleChange, onBlur: handleBlur }));
64
+ 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: "form1", textWeight: "normal", onFocus: handleFocus, onTarget: handleTarget, onChange: handleChange, onBlur: handleBlur, validationPoint: "onChange" }));
61
65
  }
62
66
  };
63
67
  return (react_1.default.createElement(react_1.default.Fragment, null,
@@ -42,8 +42,18 @@ function ContextMenuItem(_a) {
42
42
  onClick(value);
43
43
  }
44
44
  };
45
+ var textColorTheme;
46
+ if (isSelected) {
47
+ textColorTheme = 'sysTextPrimary';
48
+ }
49
+ if (!isSelected && state === 'normal') {
50
+ textColorTheme = 'sysTextSecondary';
51
+ }
52
+ if (state === 'disabled') {
53
+ textColorTheme = 'sysTextTertiary';
54
+ }
45
55
  return (react_1.default.createElement(S_ContextMenuItem, { size: size, onClick: handleClick, selected: isSelected, disabled: state === 'disabled' },
46
- react_1.default.createElement(TextLabel_1.TextLabel, { text: (option === null || option === void 0 ? void 0 : option.text) || text, styleTheme: "form2Regular", singleLineMode: "use", colorTheme: state === 'disabled' ? 'sysTextTertiary' : 'sysTextPrimary' })));
56
+ react_1.default.createElement(TextLabel_1.TextLabel, { text: (option === null || option === void 0 ? void 0 : option.text) || text, styleTheme: "form2Regular", singleLineMode: "use", colorTheme: textColorTheme })));
47
57
  }
48
58
  var large = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 48px;\n padding: 0 ", ";\n"], ["\n height: 48px;\n padding: 0 ", ";\n"])), function (_a) {
49
59
  var theme = _a.theme;
@@ -5,15 +5,16 @@ declare type DropDownValues = PDSValueOption & {
5
5
  state?: 'normal' | 'disabled';
6
6
  };
7
7
  declare type Props = {
8
- size?: 'large' | 'small';
9
- hintText?: TFunctionResult;
8
+ colorTheme?: 'none' | 'dark';
10
9
  defaultValue?: PDSValueOption;
11
- valueArray: DropDownValues[];
10
+ hintText?: TFunctionResult;
11
+ maxHeightItemNumber?: number;
12
+ responsiveMode?: 'none' | 'use';
12
13
  selectionMode?: 'single' | 'multi';
14
+ size?: 'large' | 'small';
13
15
  state?: 'normal' | 'read_only' | 'disabled';
14
- colorTheme?: 'none' | 'dark';
15
- maxHeightItemNumber?: number;
16
+ valueArray: DropDownValues[];
16
17
  onChange?: (option: PDSValueOption) => void;
17
18
  };
18
- declare function Dropdown({ size, hintText, defaultValue, valueArray, selectionMode, state, colorTheme, maxHeightItemNumber, onChange }: Props): JSX.Element;
19
+ declare function Dropdown({ colorTheme, defaultValue, hintText, maxHeightItemNumber, responsiveMode, selectionMode, size, state, valueArray, onChange }: Props): JSX.Element;
19
20
  export default Dropdown;
@@ -31,9 +31,9 @@ var ContextMenuItem_1 = require("../ContextMenuItem");
31
31
  var TextLabel_1 = require("../TextLabel");
32
32
  // TODO: selectionMode의 multi 기능 구현 추가 필요
33
33
  function Dropdown(_a) {
34
- var _b = _a.size, size = _b === void 0 ? 'large' : _b, hintText = _a.hintText, defaultValue = _a.defaultValue, valueArray = _a.valueArray, _c = _a.selectionMode, selectionMode = _c === void 0 ? 'single' : _c, _d = _a.state, state = _d === void 0 ? 'normal' : _d, _e = _a.colorTheme, colorTheme = _e === void 0 ? 'none' : _e, _f = _a.maxHeightItemNumber, maxHeightItemNumber = _f === void 0 ? 5 : _f, onChange = _a.onChange;
35
- var _g = (0, react_1.useState)(false), isFocused = _g[0], setIsFocused = _g[1];
36
- var _h = (0, react_1.useState)(defaultValue), selectedOption = _h[0], setSelectedOption = _h[1];
34
+ var _b = _a.colorTheme, colorTheme = _b === void 0 ? 'none' : _b, defaultValue = _a.defaultValue, hintText = _a.hintText, _c = _a.maxHeightItemNumber, maxHeightItemNumber = _c === void 0 ? 5 : _c, _d = _a.responsiveMode, responsiveMode = _d === void 0 ? 'none' : _d, _e = _a.selectionMode, selectionMode = _e === void 0 ? 'single' : _e, _f = _a.size, size = _f === void 0 ? 'large' : _f, _g = _a.state, state = _g === void 0 ? 'normal' : _g, valueArray = _a.valueArray, onChange = _a.onChange;
35
+ var _h = (0, react_1.useState)(false), isFocused = _h[0], setIsFocused = _h[1];
36
+ var _j = (0, react_1.useState)(defaultValue), selectedOption = _j[0], setSelectedOption = _j[1];
37
37
  (0, react_1.useEffect)(function () {
38
38
  if (defaultValue) {
39
39
  setSelectedOption(defaultValue);
@@ -106,8 +106,8 @@ function Dropdown(_a) {
106
106
  var LARGE_HEIGHT = 48;
107
107
  return LARGE_HEIGHT * maxHeightItemNumber;
108
108
  }, [size, maxHeightItemNumber]);
109
- return (react_1.default.createElement(S_Dropdown, { className: "container", size: size, tabIndex: 0, onBlur: handleBlur },
110
- react_1.default.createElement(S_Select, { size: size, onClick: handleClick, isFocused: isFocused, state: state, colorTheme: colorTheme },
109
+ return (react_1.default.createElement(S_Dropdown, { className: "container", size: size, tabIndex: 0, onBlur: handleBlur, responsiveMode: responsiveMode },
110
+ react_1.default.createElement(S_Select, { size: size, onClick: handleClick, isFocused: isFocused, state: state, colorTheme: colorTheme, responsiveMode: responsiveMode },
111
111
  react_1.default.createElement(S_TextLabel, null,
112
112
  react_1.default.createElement(TextLabel_1.TextLabel, { text: (selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.text) || hintText, styleTheme: "form2Regular", singleLineMode: "use", colorTheme: getTextColorTheme(), colorOverride: getDarkTextColor() })),
113
113
  react_1.default.createElement(hybrid_1.Icon, { size: 16, fillType: "line", iconName: isFocused ? 'ic_arrow_up' : 'ic_arrow_down', colorKey: getIconColorKey() }),
@@ -122,9 +122,15 @@ var S_TextLabel = styled_components_1.default.div(templateObject_1 || (templateO
122
122
  var theme = _a.theme;
123
123
  return theme.spacing.spacingB;
124
124
  });
125
- var large = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n height: 48px;\n width: 432px;\n"], ["\n height: 48px;\n width: 432px;\n"])));
126
- 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"])));
127
- var S_Dropdown = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n display: inline-block;\n position: relative;\n\n ", "\n"], ["\n display: inline-block;\n position: relative;\n\n ", "\n"])), function (_a) {
125
+ var large = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n height: 48px;\n width: ", ";\n"], ["\n height: 48px;\n width: ", ";\n"])), function (_a) {
126
+ var responsiveMode = _a.responsiveMode;
127
+ return (responsiveMode === 'use' ? '100%' : '432px');
128
+ });
129
+ var small = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n height: 32px;\n width: ", ";\n"], ["\n height: 32px;\n width: ", ";\n"])), function (_a) {
130
+ var responsiveMode = _a.responsiveMode;
131
+ return (responsiveMode === 'use' ? '100%' : '188px');
132
+ });
133
+ var S_Dropdown = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n display: inline-block;\n position: relative;\n\n ", ";\n"], ["\n display: inline-block;\n position: relative;\n\n ", ";\n"])), function (_a) {
128
134
  var size = _a.size;
129
135
  return size &&
130
136
  {
@@ -132,7 +138,7 @@ var S_Dropdown = styled_components_1.default.div(templateObject_4 || (templateOb
132
138
  small: small
133
139
  }[size];
134
140
  });
135
- var S_Select = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n align-items: center;\n box-sizing: border-box;\n background-color: ", ";\n border: 1px solid\n ", ";\n border-radius: 8px;\n color: ", ";\n cursor: pointer;\n display: flex;\n justify-content: space-between;\n\n ", "\n"], ["\n align-items: center;\n box-sizing: border-box;\n background-color: ", ";\n border: 1px solid\n ", ";\n border-radius: 8px;\n color: ", ";\n cursor: pointer;\n display: flex;\n justify-content: space-between;\n\n ", "\n"])), function (_a) {
141
+ var S_Select = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n align-items: center;\n box-sizing: border-box;\n background-color: ", ";\n border: 1px solid\n ", ";\n border-radius: 8px;\n color: ", ";\n cursor: pointer;\n display: flex;\n justify-content: space-between;\n\n ", ";\n"], ["\n align-items: center;\n box-sizing: border-box;\n background-color: ", ";\n border: 1px solid\n ", ";\n border-radius: 8px;\n color: ", ";\n cursor: pointer;\n display: flex;\n justify-content: space-between;\n\n ", ";\n"])), function (_a) {
136
142
  var state = _a.state, colorTheme = _a.colorTheme, theme = _a.theme;
137
143
  switch (state) {
138
144
  case 'disabled':
@@ -270,7 +270,7 @@ var tooltipLeftTop = (0, styled_components_1.css)(templateObject_32 || (template
270
270
  var tooltipLeftBottom = (0, styled_components_1.css)(templateObject_33 || (templateObject_33 = __makeTemplateObject(["\n right: 0;\n top: 20px;\n"], ["\n right: 0;\n top: 20px;\n"])));
271
271
  var tooltipRightTop = (0, styled_components_1.css)(templateObject_34 || (templateObject_34 = __makeTemplateObject(["\n left: 0;\n bottom: 20px;\n"], ["\n left: 0;\n bottom: 20px;\n"])));
272
272
  var tooltipRightBottom = (0, styled_components_1.css)(templateObject_35 || (templateObject_35 = __makeTemplateObject(["\n left: 0;\n top: 20px;\n"], ["\n left: 0;\n top: 20px;\n"])));
273
- var S_TextLabel = styled_components_1.default.div(templateObject_36 || (templateObject_36 = __makeTemplateObject(["\n box-sizing: border-box;\n text-align: ", ";\n white-space: pre-wrap;\n word-break: keep-all;\n overflow-wrap: break-word;\n hyphens: auto;\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n"], ["\n box-sizing: border-box;\n text-align: ", ";\n white-space: pre-wrap;\n word-break: keep-all;\n overflow-wrap: break-word;\n hyphens: auto;\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n"])), function (_a) {
273
+ var S_TextLabel = styled_components_1.default.div(templateObject_36 || (templateObject_36 = __makeTemplateObject(["\n box-sizing: border-box;\n text-align: ", ";\n white-space: pre-wrap;\n word-break: keep-all;\n overflow-wrap: break-word;\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n"], ["\n box-sizing: border-box;\n text-align: ", ";\n white-space: pre-wrap;\n word-break: keep-all;\n overflow-wrap: break-word;\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n"])), function (_a) {
274
274
  var textAlign = _a.textAlign;
275
275
  return textAlign;
276
276
  }, function (_a) {
@@ -352,7 +352,7 @@ var S_TooltipBox = styled_components_1.default.div(templateObject_37 || (templat
352
352
  }
353
353
  });
354
354
  var S_IconWrapper = styled_components_1.default.div(templateObject_38 || (templateObject_38 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n height: 100%;\n justify-content: center;\n width: 16px;\n height: 16px;\n"], ["\n align-items: center;\n display: flex;\n height: 100%;\n justify-content: center;\n width: 16px;\n height: 16px;\n"])));
355
- var S_TooltipWrapper = styled_components_1.default.div(templateObject_39 || (templateObject_39 = __makeTemplateObject(["\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: 8px;\n box-shadow: ", ";\n box-sizing: border-box;\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n hyphens: auto;\n line-height: ", ";\n max-width: 320px;\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\n ", ";\n\n ", ";\n"], ["\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: 8px;\n box-shadow: ", ";\n box-sizing: border-box;\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n hyphens: auto;\n line-height: ", ";\n max-width: 320px;\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\n ", ";\n\n ", ";\n"])), function (_a) {
355
+ var S_TooltipWrapper = styled_components_1.default.div(templateObject_39 || (templateObject_39 = __makeTemplateObject(["\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: 8px;\n box-shadow: ", ";\n box-sizing: border-box;\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n max-width: 320px;\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\n ", ";\n\n ", ";\n"], ["\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: 8px;\n box-shadow: ", ";\n box-sizing: border-box;\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n max-width: 320px;\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\n ", ";\n\n ", ";\n"])), function (_a) {
356
356
  var theme = _a.theme;
357
357
  return theme.ui_cpnt_contextmenu_base;
358
358
  }, function (_a) {
@@ -30,7 +30,7 @@ var react_1 = __importDefault(require("react"));
30
30
  var styled_components_1 = __importStar(require("styled-components"));
31
31
  var ImageView = function (_a) {
32
32
  var src = _a.src, _b = _a.shapeType, shapeType = _b === void 0 ? 'round' : _b, _c = _a.radius, radius = _c === void 0 ? 8 : _c, width = _a.width, height = _a.height, noImageHeight = _a.noImageHeight, noImageWidth = _a.noImageWidth, _d = _a.ratio, ratio = _d === void 0 ? 'auto' : _d, _e = _a.scaleType, scaleType = _e === void 0 ? 'none' : _e, _f = _a.borderMode, borderMode = _f === void 0 ? 'none' : _f, _g = _a.backgroundFillMode, backgroundFillMode = _g === void 0 ? 'none' : _g;
33
- return (react_1.default.createElement(react_1.default.Fragment, null, ratio === 'auto' ? (react_1.default.createElement(S_AutoImageViewWrapper, { "$height": height, "$width": width, noImageHeight: noImageHeight, noImageWidth: noImageWidth, borderMode: borderMode, shapeType: shapeType, radius: radius, backgroundFillMode: backgroundFillMode, "$src": src }, src && (react_1.default.createElement(S_AutoImageView, { src: src, "$height": height, "$width": width, scaleType: scaleType })))) : (react_1.default.createElement(S_RatioImageViewWrapper, { "$width": width, borderMode: borderMode, shapeType: shapeType, radius: radius, backgroundFillMode: backgroundFillMode },
33
+ return (react_1.default.createElement(react_1.default.Fragment, null, ratio === 'auto' ? (react_1.default.createElement(S_AutoImageViewWrapper, { "$height": height, "$width": width, noImageHeight: noImageHeight, noImageWidth: noImageWidth, borderMode: borderMode, shapeType: shapeType, "$radius": radius, backgroundFillMode: backgroundFillMode, "$src": src }, src && (react_1.default.createElement(S_AutoImageView, { src: src, "$height": height, "$width": width, scaleType: scaleType })))) : (react_1.default.createElement(S_RatioImageViewWrapper, { "$width": width, borderMode: borderMode, shapeType: shapeType, "$radius": radius, backgroundFillMode: backgroundFillMode },
34
34
  react_1.default.createElement(S_RatioImageView, { "$src": src, scaleType: scaleType, ratio: ratio })))));
35
35
  };
36
36
  var wrapperStyle = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n box-sizing: border-box;\n display: inline-block;\n vertical-align: bottom;\n overflow: hidden;\n ", ";\n ", ";\n ", ";\n"], ["\n box-sizing: border-box;\n display: inline-block;\n vertical-align: bottom;\n overflow: hidden;\n ", ";\n ", ";\n ", ";\n"])), function (_a) {
@@ -40,10 +40,10 @@ var wrapperStyle = (0, styled_components_1.css)(templateObject_1 || (templateObj
40
40
  var borderMode = _a.borderMode, theme = _a.theme;
41
41
  return borderMode === 'use' && "border: 1px solid " + theme.ui_profile_image_border;
42
42
  }, function (_a) {
43
- var shapeType = _a.shapeType, radius = _a.radius;
43
+ var shapeType = _a.shapeType, $radius = _a.$radius;
44
44
  return shapeType &&
45
45
  {
46
- round: "border-radius: " + radius + "px",
46
+ round: "border-radius: " + $radius + "px",
47
47
  circular: 'border-radius: 50%',
48
48
  rectangle: ''
49
49
  }[shapeType];
@@ -28,10 +28,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  /* eslint-disable react/jsx-no-bind */
30
30
  var react_1 = __importDefault(require("react"));
31
+ var react_hook_form_1 = require("react-hook-form");
31
32
  var styled_components_1 = __importStar(require("styled-components"));
32
33
  var components_1 = require("../../common/components");
33
34
  function BlogTextField(_a) {
34
35
  var hintText = _a.hintText, defaultText = _a.defaultText, _b = _a.size, size = _b === void 0 ? 'rlarge' : _b, _c = _a.textLineType, textLineType = _c === void 0 ? 'auto' : _c, _d = _a.multiRows, multiRows = _d === void 0 ? 8 : _d, _e = _a.autoMinRows, autoMinRows = _e === void 0 ? 8 : _e, autoMaxRows = _a.autoMaxRows, _f = _a.state, state = _f === void 0 ? 'normal' : _f, _g = _a.spacingMode, spacingMode = _g === void 0 ? 'use' : _g, maxLength = _a.maxLength, name = _a.name, validation = _a.validation, onBlur = _a.onBlur, onChange = _a.onChange, onFocus = _a.onFocus, onTarget = _a.onTarget;
36
+ var register = (0, react_hook_form_1.useFormContext)().register;
37
+ var validateOnChange = register(name, validation).onChange;
35
38
  function handleFocus(e) {
36
39
  if (onFocus) {
37
40
  onFocus(e);
@@ -48,16 +51,17 @@ function BlogTextField(_a) {
48
51
  }
49
52
  }
50
53
  function handleChange(e) {
54
+ validateOnChange(e);
51
55
  if (onChange) {
52
56
  onChange(e);
53
57
  }
54
58
  }
55
59
  var S_BlogTextField = function () {
56
60
  if (textLineType === 'multi') {
57
- 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: "form1", textWeight: "normal", onFocus: handleFocus, onTarget: handleTarget, onChange: handleChange, onBlur: handleBlur }));
61
+ 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: "form1", textWeight: "normal", onFocus: handleFocus, onTarget: handleTarget, onChange: handleChange, onBlur: handleBlur, validationPoint: "onChange" }));
58
62
  }
59
63
  if (textLineType === 'auto') {
60
- 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: "form1", textWeight: "normal", onFocus: handleFocus, onTarget: handleTarget, onChange: handleChange, onBlur: handleBlur }));
64
+ 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: "form1", textWeight: "normal", onFocus: handleFocus, onTarget: handleTarget, onChange: handleChange, onBlur: handleBlur, validationPoint: "onChange" }));
61
65
  }
62
66
  };
63
67
  return (react_1.default.createElement(react_1.default.Fragment, null,
@@ -4,11 +4,12 @@ export declare type ContextMenuItemProps = {
4
4
  option?: PDSValueOption;
5
5
  size?: 'large' | 'medium' | 'small';
6
6
  isSelected?: boolean;
7
+ state?: 'normal' | 'disabled';
7
8
  onClick?: (value: PDSValueOption | string | number | boolean) => void;
8
9
  /** @deprecated option 필드를 대신 사용하세요. */
9
10
  text?: PDSTextType;
10
11
  /** @deprecated option 필드를 대신 사용하세요. */
11
12
  value?: string | number | boolean;
12
13
  };
13
- declare function ContextMenuItem({ option, size, isSelected, onClick, text, value }: ContextMenuItemProps): JSX.Element;
14
+ declare function ContextMenuItem({ option, size, isSelected, state, onClick, text, value }: ContextMenuItemProps): JSX.Element;
14
15
  export default ContextMenuItem;
@@ -30,8 +30,11 @@ var react_1 = __importDefault(require("react"));
30
30
  var styled_components_1 = __importStar(require("styled-components"));
31
31
  var TextLabel_1 = require("../TextLabel");
32
32
  function ContextMenuItem(_a) {
33
- var option = _a.option, _b = _a.size, size = _b === void 0 ? 'small' : _b, _c = _a.isSelected, isSelected = _c === void 0 ? false : _c, onClick = _a.onClick, text = _a.text, value = _a.value;
33
+ var option = _a.option, _b = _a.size, size = _b === void 0 ? 'small' : _b, _c = _a.isSelected, isSelected = _c === void 0 ? false : _c, _d = _a.state, state = _d === void 0 ? 'normal' : _d, onClick = _a.onClick, text = _a.text, value = _a.value;
34
34
  var handleClick = function () {
35
+ if (state === 'disabled') {
36
+ return;
37
+ }
35
38
  if (onClick && option) {
36
39
  onClick(option);
37
40
  }
@@ -39,8 +42,18 @@ function ContextMenuItem(_a) {
39
42
  onClick(value);
40
43
  }
41
44
  };
42
- return (react_1.default.createElement(S_ContextMenuItem, { size: size, onClick: handleClick, selected: isSelected },
43
- react_1.default.createElement(TextLabel_1.TextLabel, { text: (option === null || option === void 0 ? void 0 : option.text) || text, styleTheme: "form2Regular", singleLineMode: "use" })));
45
+ var textColorTheme;
46
+ if (isSelected) {
47
+ textColorTheme = 'sysTextPrimary';
48
+ }
49
+ if (!isSelected && state === 'normal') {
50
+ textColorTheme = 'sysTextSecondary';
51
+ }
52
+ if (state === 'disabled') {
53
+ textColorTheme = 'sysTextTertiary';
54
+ }
55
+ return (react_1.default.createElement(S_ContextMenuItem, { size: size, onClick: handleClick, selected: isSelected, disabled: state === 'disabled' },
56
+ react_1.default.createElement(TextLabel_1.TextLabel, { text: (option === null || option === void 0 ? void 0 : option.text) || text, styleTheme: "form2Regular", singleLineMode: "use", colorTheme: textColorTheme })));
44
57
  }
45
58
  var large = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 48px;\n padding: 0 ", ";\n"], ["\n height: 48px;\n padding: 0 ", ";\n"])), function (_a) {
46
59
  var theme = _a.theme;
@@ -2,14 +2,15 @@
2
2
  import { TFunctionResult } from 'i18next';
3
3
  import { PDSValueOption } from '../../../common';
4
4
  declare type Props = {
5
- size?: 'large' | 'small';
6
- hintText?: TFunctionResult;
5
+ colorTheme?: 'none' | 'dark';
7
6
  defaultValue?: PDSValueOption;
8
- valueArray: PDSValueOption[];
7
+ hintText?: TFunctionResult;
8
+ responsiveMode?: 'none' | 'use';
9
9
  selectionMode?: 'single' | 'multi';
10
+ size?: 'large' | 'small';
10
11
  state?: 'normal' | 'read_only' | 'disabled';
11
- colorTheme?: 'none' | 'dark';
12
+ valueArray: PDSValueOption[];
12
13
  onChange?: (option: PDSValueOption) => void;
13
14
  };
14
- declare function Dropdown({ size, hintText, defaultValue, valueArray, selectionMode, state, colorTheme, onChange }: Props): JSX.Element;
15
+ declare function Dropdown({ colorTheme, defaultValue, hintText, responsiveMode, selectionMode, size, state, valueArray, onChange }: Props): JSX.Element;
15
16
  export default Dropdown;
@@ -31,9 +31,9 @@ var ContextMenuItem_1 = require("../ContextMenuItem");
31
31
  var TextLabel_1 = require("../TextLabel");
32
32
  // TODO: selectionMode의 multi 기능 구현 추가 필요
33
33
  function Dropdown(_a) {
34
- var _b = _a.size, size = _b === void 0 ? 'large' : _b, hintText = _a.hintText, defaultValue = _a.defaultValue, valueArray = _a.valueArray, _c = _a.selectionMode, selectionMode = _c === void 0 ? 'single' : _c, _d = _a.state, state = _d === void 0 ? 'normal' : _d, _e = _a.colorTheme, colorTheme = _e === void 0 ? 'none' : _e, onChange = _a.onChange;
35
- var _f = (0, react_1.useState)(false), isFocused = _f[0], setIsFocused = _f[1];
36
- var _g = (0, react_1.useState)(defaultValue), selectedOption = _g[0], setSelectedOption = _g[1];
34
+ var _b = _a.colorTheme, colorTheme = _b === void 0 ? 'none' : _b, defaultValue = _a.defaultValue, hintText = _a.hintText, _c = _a.responsiveMode, responsiveMode = _c === void 0 ? 'none' : _c, _d = _a.selectionMode, selectionMode = _d === void 0 ? 'single' : _d, _e = _a.size, size = _e === void 0 ? 'large' : _e, _f = _a.state, state = _f === void 0 ? 'normal' : _f, valueArray = _a.valueArray, onChange = _a.onChange;
35
+ var _g = (0, react_1.useState)(false), isFocused = _g[0], setIsFocused = _g[1];
36
+ var _h = (0, react_1.useState)(defaultValue), selectedOption = _h[0], setSelectedOption = _h[1];
37
37
  (0, react_1.useEffect)(function () {
38
38
  if (defaultValue) {
39
39
  setSelectedOption(defaultValue);
@@ -97,8 +97,8 @@ function Dropdown(_a) {
97
97
  return 'ui_cpnt_dropdown_text_darktheme_enabled';
98
98
  }
99
99
  };
100
- return (react_1.default.createElement(S_Dropdown, { className: "container", size: size, tabIndex: 0, onBlur: handleBlur },
101
- react_1.default.createElement(S_Select, { size: size, onClick: handleClick, isFocused: isFocused, state: state, colorTheme: colorTheme },
100
+ return (react_1.default.createElement(S_Dropdown, { className: "container", size: size, tabIndex: 0, onBlur: handleBlur, responsiveMode: responsiveMode },
101
+ react_1.default.createElement(S_Select, { size: size, onClick: handleClick, isFocused: isFocused, state: state, colorTheme: colorTheme, responsiveMode: responsiveMode },
102
102
  react_1.default.createElement(S_TextLabel, null,
103
103
  react_1.default.createElement(TextLabel_1.TextLabel, { text: (selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.text) || hintText, styleTheme: "form2Regular", singleLineMode: "use", colorTheme: getTextColorTheme(), colorOverride: getDarkTextColor() })),
104
104
  react_1.default.createElement(hybrid_1.Icon, { size: 16, fillType: "line", iconName: isFocused ? 'ic_arrow_up' : 'ic_arrow_down', colorKey: getIconColorKey() }),
@@ -113,9 +113,15 @@ var S_TextLabel = styled_components_1.default.div(templateObject_1 || (templateO
113
113
  var theme = _a.theme;
114
114
  return theme.spacing.spacingB;
115
115
  });
116
- var large = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n height: 48px;\n width: 432px;\n"], ["\n height: 48px;\n width: 432px;\n"])));
117
- 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"])));
118
- var S_Dropdown = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n display: inline-block;\n position: relative;\n\n ", "\n"], ["\n display: inline-block;\n position: relative;\n\n ", "\n"])), function (_a) {
116
+ var large = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n height: 48px;\n width: ", ";\n"], ["\n height: 48px;\n width: ", ";\n"])), function (_a) {
117
+ var responsiveMode = _a.responsiveMode;
118
+ return (responsiveMode === 'use' ? '100%' : '432px');
119
+ });
120
+ var small = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n height: 32px;\n width: ", ";\n"], ["\n height: 32px;\n width: ", ";\n"])), function (_a) {
121
+ var responsiveMode = _a.responsiveMode;
122
+ return (responsiveMode === 'use' ? '100%' : '188px');
123
+ });
124
+ var S_Dropdown = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n display: inline-block;\n position: relative;\n\n ", ";\n"], ["\n display: inline-block;\n position: relative;\n\n ", ";\n"])), function (_a) {
119
125
  var size = _a.size;
120
126
  return size &&
121
127
  {
@@ -123,7 +129,7 @@ var S_Dropdown = styled_components_1.default.div(templateObject_4 || (templateOb
123
129
  small: small
124
130
  }[size];
125
131
  });
126
- var S_Select = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n align-items: center;\n background-color: ", ";\n border: 1px solid\n ", ";\n border-radius: 8px;\n color: ", ";\n display: flex;\n justify-content: space-between;\n\n ", "\n"], ["\n align-items: center;\n background-color: ", ";\n border: 1px solid\n ", ";\n border-radius: 8px;\n color: ", ";\n display: flex;\n justify-content: space-between;\n\n ", "\n"])), function (_a) {
132
+ var S_Select = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n align-items: center;\n background-color: ", ";\n border: 1px solid\n ", ";\n border-radius: 8px;\n color: ", ";\n display: flex;\n justify-content: space-between;\n\n ", ";\n"], ["\n align-items: center;\n background-color: ", ";\n border: 1px solid\n ", ";\n border-radius: 8px;\n color: ", ";\n display: flex;\n justify-content: space-between;\n\n ", ";\n"])), function (_a) {
127
133
  var state = _a.state, colorTheme = _a.colorTheme, theme = _a.theme;
128
134
  switch (state) {
129
135
  case 'disabled':
@@ -259,7 +259,7 @@ var ellipsisStyle = (0, styled_components_1.css)(templateObject_30 || (templateO
259
259
  return lineLimit;
260
260
  });
261
261
  var userSelectModeStyle = (0, styled_components_1.css)(templateObject_31 || (templateObject_31 = __makeTemplateObject(["\n -ms-user-select: none;\n -moz-user-select: -moz-none;\n -khtml-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n"], ["\n -ms-user-select: none;\n -moz-user-select: -moz-none;\n -khtml-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n"])));
262
- var S_TextLabel = styled_components_1.default.div(templateObject_32 || (templateObject_32 = __makeTemplateObject(["\n box-sizing: border-box;\n text-align: ", ";\n white-space: pre-wrap;\n word-break: keep-all;\n overflow-wrap: break-word;\n hyphens: auto;\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n"], ["\n box-sizing: border-box;\n text-align: ", ";\n white-space: pre-wrap;\n word-break: keep-all;\n overflow-wrap: break-word;\n hyphens: auto;\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n"])), function (_a) {
262
+ var S_TextLabel = styled_components_1.default.div(templateObject_32 || (templateObject_32 = __makeTemplateObject(["\n box-sizing: border-box;\n text-align: ", ";\n white-space: pre-wrap;\n word-break: keep-all;\n overflow-wrap: break-word;\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n"], ["\n box-sizing: border-box;\n text-align: ", ";\n white-space: pre-wrap;\n word-break: keep-all;\n overflow-wrap: break-word;\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n"])), function (_a) {
263
263
  var textAlign = _a.textAlign;
264
264
  return textAlign;
265
265
  }, function (_a) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web",
3
- "version": "1.3.15",
3
+ "version": "1.3.16",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
package/release-note.md CHANGED
@@ -1,23 +1,22 @@
1
1
  # PDS-DEV-KIT-WEB Release Notes
2
- ## [v1.3.15]
2
+ ## [v1.3.16]
3
3
 
4
4
  ### Component
5
- * AdminListHeader(HeaderBar)
6
- * dropdownDefaultValue prop 추가
7
- * ContextMenu
8
- * maxHeight prop 추가
5
+ * BlogTextField
6
+ * validation관련 내부 로직 변경
7
+ * useFormContext의 onChange와 커스텀 onChange를 엮음
9
8
  * ContextMenuItem
10
- * state prop 추가
9
+ * 내부 텍스트 컬러 변경
10
+ * 기본 : sysTextSecondary
11
+ * 선택 됨 : sysTextPrimary
12
+ * 비활성화 됨 : sysTextTertiary
11
13
  * Dropdown
12
- * maxHeightItemNumber prop 추가
13
- * valueArray type 변경 (state항목 옵셔널로 추가)
14
- * FilterBar
15
- * 내부 TextField에 고정옵션 추가
16
- * enterSubmitMode="use"
17
- * validationPoint="onChange"
18
- * Icon
19
- * ic_order(line) 추가
20
- * ic_sales(line) 추가
21
- * ic_settlement(line) 추가
22
- * IconButton
23
- * onMouseDown 으로부터 이벤트를 받아오도록 수정
14
+ * responsiveMode prop 추가
15
+ * ImageView
16
+ * 스타일 관련 내부 로직 변경
17
+ * radius -> $radius
18
+ * TextLabel
19
+ * 기본 스펙에서 hyphen제거
20
+
21
+ ### Color
22
+ * 컬러 키 값 22.05.19 12시 10분 기준 싱크