pds-dev-kit-web 2.2.127 → 2.2.128

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.
@@ -363,5 +363,6 @@
363
363
  "sys_cpnt_editor_undefined": "darkgrey500",
364
364
  "sys_cpnt_slider_track_active_undefined": "darkgrey400",
365
365
  "sys_cpnt_slider_thumb_normal_undefined": "darkgrey400",
366
- "sys_cpnt_editor_buttongroup_undefined": "darkgrey400"
366
+ "sys_cpnt_editor_buttongroup_undefined": "darkgrey400",
367
+ "sys_text_grey_02_hinttext": "darkgrey450"
367
368
  }
@@ -363,5 +363,6 @@
363
363
  "sys_cpnt_editor_undefined": "grey400",
364
364
  "sys_cpnt_slider_track_active_undefined": "grey400",
365
365
  "sys_cpnt_slider_thumb_normal_undefined": "grey400",
366
- "sys_cpnt_editor_buttongroup_undefined": "grey400"
366
+ "sys_cpnt_editor_buttongroup_undefined": "grey400",
367
+ "sys_text_grey_02_hinttext": "grey450"
367
368
  }
@@ -118,5 +118,7 @@
118
118
  "grey300": "#BDBDC2",
119
119
  "darkgrey300": "#555557",
120
120
  "yellow500": "#FED400",
121
- "darkyellow500": "#FFD100"
121
+ "darkyellow500": "#FFD100",
122
+ "grey450": "#97979B",
123
+ "darkgrey450": "#828286"
122
124
  }
@@ -26,7 +26,7 @@
26
26
  "ui_cpnt_textfield_border_error": "sys_border_line_04",
27
27
  "ui_cpnt_textfield_base_normal": "sys_component_base_06",
28
28
  "ui_cpnt_textfield_base_disabled": "sys_component_base_07",
29
- "ui_cpnt_textfield_text_hint": "sys_text_grey_02",
29
+ "ui_cpnt_textfield_text_hint": "sys_text_grey_02_hinttext",
30
30
  "ui_cpnt_textfield_text_typed": "sys_text_grey_01",
31
31
  "ui_cpnt_textfield_text_error": "sys_text_error_01",
32
32
  "ui_cpnt_textfield_text_disabled": "sys_text_grey_03",
@@ -876,5 +876,6 @@
876
876
  "ui_cpnt_select_dropdown_border_error": "sys_border_line_04",
877
877
  "ui_cpnt_select_dropdown_text_error": "sys_text_error_01",
878
878
  "ui_cpnt_select_dropdown_text_darktheme_error": "sys_text_error_darktheme_01",
879
- "ui_cpnt_select_dropdown_border_darktheme_error": "sys_border_line_darktheme_03"
879
+ "ui_cpnt_select_dropdown_border_darktheme_error": "sys_border_line_darktheme_03",
880
+ "ui_cpnt_form_text_hint": "sys_text_grey_02_hinttext"
880
881
  }
@@ -120,8 +120,10 @@ declare const colorSet: {
120
120
  darkgrey300: string;
121
121
  yellow500: string;
122
122
  darkyellow500: string;
123
+ grey450: string;
124
+ darkgrey450: string;
123
125
  };
124
- readonly PaletteColor_light: {
126
+ readonly PaletteColor_Dark: {
125
127
  sys_container_background_01: string;
126
128
  sys_container_background_02: string;
127
129
  sys_container_background_03: string;
@@ -487,8 +489,9 @@ declare const colorSet: {
487
489
  sys_cpnt_slider_track_active_undefined: string;
488
490
  sys_cpnt_slider_thumb_normal_undefined: string;
489
491
  sys_cpnt_editor_buttongroup_undefined: string;
492
+ sys_text_grey_02_hinttext: string;
490
493
  };
491
- readonly PaletteColor_Dark: {
494
+ readonly PaletteColor_light: {
492
495
  sys_container_background_01: string;
493
496
  sys_container_background_02: string;
494
497
  sys_container_background_03: string;
@@ -854,6 +857,7 @@ declare const colorSet: {
854
857
  sys_cpnt_slider_track_active_undefined: string;
855
858
  sys_cpnt_slider_thumb_normal_undefined: string;
856
859
  sys_cpnt_editor_buttongroup_undefined: string;
860
+ sys_text_grey_02_hinttext: string;
857
861
  };
858
862
  readonly UIColor: {
859
863
  ui_cpnt_button_fill_base_primary: string;
@@ -1734,6 +1738,7 @@ declare const colorSet: {
1734
1738
  ui_cpnt_select_dropdown_text_error: string;
1735
1739
  ui_cpnt_select_dropdown_text_darktheme_error: string;
1736
1740
  ui_cpnt_select_dropdown_border_darktheme_error: string;
1741
+ ui_cpnt_form_text_hint: string;
1737
1742
  };
1738
1743
  };
1739
1744
  export default colorSet;
@@ -5,13 +5,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  /* eslint-disable import/order */
7
7
  var SemanticColor_json_1 = __importDefault(require("./SemanticColor.json"));
8
- var PaletteColor_light_json_1 = __importDefault(require("./PaletteColor_light.json"));
9
8
  var PaletteColor_Dark_json_1 = __importDefault(require("./PaletteColor_Dark.json"));
9
+ var PaletteColor_light_json_1 = __importDefault(require("./PaletteColor_light.json"));
10
10
  var UIColor_json_1 = __importDefault(require("./UIColor.json"));
11
11
  var colorSet = {
12
12
  SemanticColor: SemanticColor_json_1.default,
13
- PaletteColor_light: PaletteColor_light_json_1.default,
14
13
  PaletteColor_Dark: PaletteColor_Dark_json_1.default,
14
+ PaletteColor_light: PaletteColor_light_json_1.default,
15
15
  UIColor: UIColor_json_1.default
16
16
  };
17
17
  exports.default = colorSet;
@@ -877,4 +877,5 @@ export interface UITheme {
877
877
  ui_cpnt_select_dropdown_text_error: string;
878
878
  ui_cpnt_select_dropdown_text_darktheme_error: string;
879
879
  ui_cpnt_select_dropdown_border_darktheme_error: string;
880
+ ui_cpnt_form_text_hint: string;
880
881
  }
@@ -179,10 +179,6 @@ function Dropdown(_a) {
179
179
  var getTextColorTheme = function () {
180
180
  if (colorTheme === 'none') {
181
181
  if (state === 'normal') {
182
- var isHintTextShow = !(selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue.text) && !(value === null || value === void 0 ? void 0 : value.text) && !(defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.text) && !!hintText;
183
- if (isHintTextShow) {
184
- return 'sysTextSecondary';
185
- }
186
182
  if (isFocused) {
187
183
  return 'sysTextPrimary';
188
184
  }
@@ -203,6 +199,12 @@ function Dropdown(_a) {
203
199
  }
204
200
  };
205
201
  var getTextColorOverride = function () {
202
+ if (colorTheme === 'none') {
203
+ var isHintTextShow = !(selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue.text) && !(value === null || value === void 0 ? void 0 : value.text) && !(defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.text) && !!hintText;
204
+ if (isHintTextShow) {
205
+ return 'ui_cpnt_form_text_hint';
206
+ }
207
+ }
206
208
  if (colorTheme === 'dark') {
207
209
  if (state === 'normal') {
208
210
  var isHintTextShow = !(selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue.text) && !(value === null || value === void 0 ? void 0 : value.text) && !(defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.text) && !!hintText;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web",
3
- "version": "2.2.127",
3
+ "version": "2.2.128",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
package/release-note.md CHANGED
@@ -1,7 +1,6 @@
1
1
  # PDS-DEV-KIT-WEB Release Notes
2
- ## [v2.2.127]
2
+ ## [v2.2.128]
3
3
  ## daily|https://design.storybook.publ.biz/
4
4
 
5
5
  ### 업데이트 사항
6
- * [PDS-1272] ic_duplicate 아이콘 추가
7
- * [PDS-1274] MainButton의 로딩 개선 건
6
+ * [PDS-1275] 드롭다운 컴포넌트의 colorTheme : none일 때, hintText 색상 변경