pds-dev-kit-web 1.5.2 → 1.5.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.
@@ -189,5 +189,11 @@
189
189
  "sys_border_line_darktheme_03_opacity20": "darkred500/opacity20",
190
190
  "sys_border_line_darktheme_07_opacity20": "darkgrey50/opacity20",
191
191
  "sys_component_base_grey_02_opacity80": "darkgrey30/opacity80",
192
- "sys_component_base_10": "black/opacity30"
192
+ "sys_component_base_10": "black/opacity30",
193
+ "sys_component_pastel_base_01": "darkpastelblue500",
194
+ "sys_component_pastel_base_02": "darkpastelpink500",
195
+ "sys_component_pastel_base_03": "darkpastelorange500",
196
+ "sys_component_pastel_base_04": "darkpastelgreen500",
197
+ "sys_component_pastel_base_05": "darkpastelpurple500",
198
+ "sys_component_base_11": "darkgreen30"
193
199
  }
@@ -189,5 +189,11 @@
189
189
  "sys_border_line_darktheme_03_opacity20": "darkred500/opacity20",
190
190
  "sys_border_line_darktheme_07_opacity20": "darkgrey50/opacity20",
191
191
  "sys_component_base_grey_02_opacity80": "grey30/opacity80",
192
- "sys_component_base_10": "white/opacity50"
192
+ "sys_component_base_10": "white/opacity50",
193
+ "sys_component_pastel_base_01": "pastelblue500",
194
+ "sys_component_pastel_base_02": "pastelpink500",
195
+ "sys_component_pastel_base_03": "pastelorange500",
196
+ "sys_component_pastel_base_04": "pastelgreen500",
197
+ "sys_component_pastel_base_05": "pastelpurple500",
198
+ "sys_component_base_11": "green30"
193
199
  }
@@ -56,5 +56,17 @@
56
56
  "opacity95": "F2",
57
57
  "darkgrey30": "#1d1d1e",
58
58
  "opacity40": "66",
59
- "kakaoyellow": "#fee500"
59
+ "kakaoyellow": "#fee500",
60
+ "pastelblue500": "#71bcea",
61
+ "pastelpink500": "#ff6399",
62
+ "pastelorange500": "#ffa638",
63
+ "pastelgreen500": "#6adf79",
64
+ "pastelpurple500": "#b36de9",
65
+ "darkpastelblue500": "#65b8ea",
66
+ "darkpastelpink500": "#f2598e",
67
+ "darkpastelorange500": "#f19829",
68
+ "darkpastelgreen500": "#59d469",
69
+ "darkpastelpurple500": "#aa61e2",
70
+ "green30": "#E5F9F3",
71
+ "darkgreen30": "#132520"
60
72
  }
@@ -569,5 +569,11 @@
569
569
  "ui_cpnt_textfield_icon_colortheme_transparent_readonly": "sys_widget_grey_darktheme_03",
570
570
  "ui_cpnt_textfield_base_colortheme_transparent_readonly": "sys_component_base_darktheme_disabled_opacity20",
571
571
  "ui_cpnt_textfield_border_colortheme_transparent_disabled": "sys_border_line_darktheme_07_opacity00",
572
- "ui_cpnt_textfield_border_colortheme_transparent_readonly": "sys_border_line_darktheme_07_opacity00"
572
+ "ui_cpnt_textfield_border_colortheme_transparent_readonly": "sys_border_line_darktheme_07_opacity00",
573
+ "ui_cpnt_lottiereactionbutton_base_01": "sys_component_pastel_base_01",
574
+ "ui_cpnt_lottiereactionbutton_base_02": "sys_component_pastel_base_02",
575
+ "ui_cpnt_lottiereactionbutton_base_03": "sys_component_pastel_base_03",
576
+ "ui_cpnt_lottiereactionbutton_base_04": "sys_component_pastel_base_04",
577
+ "ui_cpnt_lottiereactionbutton_base_05": "sys_component_pastel_base_05",
578
+ "ui_60": "sys_component_base_11"
573
579
  }
@@ -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;
@@ -191,8 +191,86 @@ declare const colorSet: {
191
191
  sys_border_line_darktheme_07_opacity20: string;
192
192
  sys_component_base_grey_02_opacity80: string;
193
193
  sys_component_base_10: string;
194
+ sys_component_pastel_base_01: string;
195
+ sys_component_pastel_base_02: string;
196
+ sys_component_pastel_base_03: string;
197
+ sys_component_pastel_base_04: string;
198
+ sys_component_pastel_base_05: string;
199
+ sys_component_base_11: string;
194
200
  };
195
- readonly PaletteColor_light: {
201
+ readonly SemanticColor: {
202
+ blue500: string;
203
+ blue700: string;
204
+ blue300: string;
205
+ green700: string;
206
+ green500: string;
207
+ green300: string;
208
+ red500: string;
209
+ grey900: string;
210
+ grey500: string;
211
+ grey400: string;
212
+ grey100: string;
213
+ grey50: string;
214
+ white: string;
215
+ black: string;
216
+ darkblue500: string;
217
+ grey950: string;
218
+ darkgrey900: string;
219
+ darkgrey500: string;
220
+ darkgrey400: string;
221
+ darkgrey100: string;
222
+ darkgrey50: string;
223
+ darkred500: string;
224
+ darkgreen700: string;
225
+ orange500: string;
226
+ darkorange500: string;
227
+ opacity00: string;
228
+ opacity20: string;
229
+ opacity30: string;
230
+ opacity65: string;
231
+ darkgreen500: string;
232
+ grey70: string;
233
+ navy500: string;
234
+ lightgreen500: string;
235
+ pink500: string;
236
+ darkgrey70: string;
237
+ darknavy500: string;
238
+ darkpink500: string;
239
+ darklightgreen500: string;
240
+ opacity10: string;
241
+ grey600: string;
242
+ darkgrey600: string;
243
+ skyblue500: string;
244
+ skyblue300: string;
245
+ pink300: string;
246
+ lightpink500: string;
247
+ darkblue300: string;
248
+ darkblue700: string;
249
+ darkgreen300: string;
250
+ darkskyblue500: string;
251
+ navy100: string;
252
+ darknavy100: string;
253
+ opacity80: string;
254
+ opacity50: string;
255
+ grey30: string;
256
+ opacity95: string;
257
+ darkgrey30: string;
258
+ opacity40: string;
259
+ kakaoyellow: string;
260
+ pastelblue500: string;
261
+ pastelpink500: string;
262
+ pastelorange500: string;
263
+ pastelgreen500: string;
264
+ pastelpurple500: string;
265
+ darkpastelblue500: string;
266
+ darkpastelpink500: string;
267
+ darkpastelorange500: string;
268
+ darkpastelgreen500: string;
269
+ darkpastelpurple500: string;
270
+ green30: string;
271
+ darkgreen30: string;
272
+ };
273
+ readonly PaletteColor_Dark: {
196
274
  sys_container_background_01: string;
197
275
  sys_container_background_02: string;
198
276
  sys_container_background_03: string;
@@ -384,6 +462,12 @@ declare const colorSet: {
384
462
  sys_border_line_darktheme_07_opacity20: string;
385
463
  sys_component_base_grey_02_opacity80: string;
386
464
  sys_component_base_10: string;
465
+ sys_component_pastel_base_01: string;
466
+ sys_component_pastel_base_02: string;
467
+ sys_component_pastel_base_03: string;
468
+ sys_component_pastel_base_04: string;
469
+ sys_component_pastel_base_05: string;
470
+ sys_component_base_11: string;
387
471
  };
388
472
  readonly UIColor: {
389
473
  ui_cpnt_button_fill_base_primary: string;
@@ -957,66 +1041,12 @@ declare const colorSet: {
957
1041
  ui_cpnt_textfield_base_colortheme_transparent_readonly: string;
958
1042
  ui_cpnt_textfield_border_colortheme_transparent_disabled: string;
959
1043
  ui_cpnt_textfield_border_colortheme_transparent_readonly: string;
960
- };
961
- readonly SemanticColor: {
962
- blue500: string;
963
- blue700: string;
964
- blue300: string;
965
- green700: string;
966
- green500: string;
967
- green300: string;
968
- red500: string;
969
- grey900: string;
970
- grey500: string;
971
- grey400: string;
972
- grey100: string;
973
- grey50: string;
974
- white: string;
975
- black: string;
976
- darkblue500: string;
977
- grey950: string;
978
- darkgrey900: string;
979
- darkgrey500: string;
980
- darkgrey400: string;
981
- darkgrey100: string;
982
- darkgrey50: string;
983
- darkred500: string;
984
- darkgreen700: string;
985
- orange500: string;
986
- darkorange500: string;
987
- opacity00: string;
988
- opacity20: string;
989
- opacity30: string;
990
- opacity65: string;
991
- darkgreen500: string;
992
- grey70: string;
993
- navy500: string;
994
- lightgreen500: string;
995
- pink500: string;
996
- darkgrey70: string;
997
- darknavy500: string;
998
- darkpink500: string;
999
- darklightgreen500: string;
1000
- opacity10: string;
1001
- grey600: string;
1002
- darkgrey600: string;
1003
- skyblue500: string;
1004
- skyblue300: string;
1005
- pink300: string;
1006
- lightpink500: string;
1007
- darkblue300: string;
1008
- darkblue700: string;
1009
- darkgreen300: string;
1010
- darkskyblue500: string;
1011
- navy100: string;
1012
- darknavy100: string;
1013
- opacity80: string;
1014
- opacity50: string;
1015
- grey30: string;
1016
- opacity95: string;
1017
- darkgrey30: string;
1018
- opacity40: string;
1019
- kakaoyellow: string;
1044
+ ui_cpnt_lottiereactionbutton_base_01: string;
1045
+ ui_cpnt_lottiereactionbutton_base_02: string;
1046
+ ui_cpnt_lottiereactionbutton_base_03: string;
1047
+ ui_cpnt_lottiereactionbutton_base_04: string;
1048
+ ui_cpnt_lottiereactionbutton_base_05: string;
1049
+ ui_60: string;
1020
1050
  };
1021
1051
  };
1022
1052
  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;
@@ -570,4 +570,10 @@ export interface UITheme {
570
570
  ui_cpnt_textfield_base_colortheme_transparent_readonly: string;
571
571
  ui_cpnt_textfield_border_colortheme_transparent_disabled: string;
572
572
  ui_cpnt_textfield_border_colortheme_transparent_readonly: string;
573
+ ui_cpnt_lottiereactionbutton_base_01: string;
574
+ ui_cpnt_lottiereactionbutton_base_02: string;
575
+ ui_cpnt_lottiereactionbutton_base_03: string;
576
+ ui_cpnt_lottiereactionbutton_base_04: string;
577
+ ui_cpnt_lottiereactionbutton_base_05: string;
578
+ ui_60: string;
573
579
  }
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { PDSTextType } from '../../../common';
3
3
  export declare type CardProps = {
4
4
  titleText?: PDSTextType;
@@ -6,7 +6,7 @@ export declare type CardProps = {
6
6
  imageIconMode?: 'none' | 'image' | 'icon';
7
7
  imageSrc?: string;
8
8
  selectState?: 'unselected' | 'selected';
9
- onClick?: () => void;
9
+ onClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
10
10
  };
11
11
  declare function Card({ titleText, descText, imageIconMode, imageSrc, selectState, onClick }: CardProps): JSX.Element;
12
12
  export default Card;
@@ -13,9 +13,9 @@ var hybrid_1 = require("../../../hybrid");
13
13
  var TextLabel_1 = require("../TextLabel");
14
14
  function Card(_a) {
15
15
  var titleText = _a.titleText, descText = _a.descText, _b = _a.imageIconMode, imageIconMode = _b === void 0 ? 'none' : _b, imageSrc = _a.imageSrc, _c = _a.selectState, selectState = _c === void 0 ? 'unselected' : _c, onClick = _a.onClick;
16
- var handleClick = function () {
16
+ var handleClick = function (e) {
17
17
  if (onClick) {
18
- onClick();
18
+ onClick(e);
19
19
  }
20
20
  };
21
21
  return (react_1.default.createElement(S_CardGroups, { selectState: selectState, onClick: handleClick },
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { FillIconNameKeys, LineIconNameKeys, PDSTextType, PDSValueOption, UiColors } from '../../../common';
3
3
  declare type DisplayType = 'category_choice' | 'filter_single' | 'filter_multi' | 'removable' | 'label' | 'time' | 'information';
4
4
  export declare type ChipProps = {
@@ -11,7 +11,7 @@ export declare type ChipProps = {
11
11
  overrideBackgroundColorKey?: UiColors;
12
12
  value?: PDSValueOption['value'];
13
13
  id?: PDSValueOption['value'];
14
- onClickChip?: () => void;
14
+ onClickChip?: (e: React.MouseEvent<HTMLDivElement>) => void;
15
15
  onClickXMarkIcon?: () => void;
16
16
  /** @deprecated value 필드를 대신 사용하세요. */
17
17
  activeChipId?: string | number;
@@ -42,9 +42,9 @@ function Chip(_a) {
42
42
  }
43
43
  return false;
44
44
  }, [activeChipId, chipId, value, id]);
45
- var handleClickChip = function () {
45
+ var handleClickChip = function (e) {
46
46
  if (onClickChip) {
47
- onClickChip();
47
+ onClickChip(e);
48
48
  }
49
49
  };
50
50
  var handleClickXMarkIcon = function (e) {
@@ -14,9 +14,9 @@ declare type DesktopAlertDialogProps = {
14
14
  tBtn1Type?: 'button' | 'submit';
15
15
  tBtn2Type?: 'button' | 'submit';
16
16
  tBtn3Type?: 'button' | 'submit';
17
- onClickTBtn1?: () => any;
18
- onClickTBtn2?: () => any;
19
- onClickTBtn3?: () => any;
17
+ onClickTBtn1?: () => void;
18
+ onClickTBtn2?: () => void;
19
+ onClickTBtn3?: () => void;
20
20
  };
21
21
  declare function DesktopAlertDialog({ iconMode, titleText, contentText, btnMode, tBtn1Text, tBtn2Text, tBtn3Text, tBtn1State, tBtn2State, tBtn3State, tBtn1Type, tBtn2Type, tBtn3Type, onClickTBtn1, onClickTBtn2, onClickTBtn3 }: DesktopAlertDialogProps): React.ReactPortal;
22
22
  export default DesktopAlertDialog;
@@ -37,7 +37,9 @@ function InternalLinkMenuItemNav(_a) {
37
37
  if (activeMode === 'BY_URL') {
38
38
  return false;
39
39
  }
40
- if (pathname + search === location.pathname + location.search) {
40
+ // NOTE: 'from' keyword를 예외로 삭제하고 비교합니다.
41
+ var locationSearch = getSearchExceptGivenName(location.search, 'from');
42
+ if (pathname + search === location.pathname + locationSearch) {
41
43
  return true;
42
44
  }
43
45
  return false;
@@ -62,4 +64,9 @@ function getInternalLink(basePath, url) {
62
64
  var pAppCode = splitPath === null || splitPath === void 0 ? void 0 : splitPath.split('/')[PAPP_CODE_INDEX];
63
65
  return { internalPath: basePath + splitPath + search, pAppCode: pAppCode, pathname: pathname, search: search };
64
66
  }
67
+ function getSearchExceptGivenName(search, name) {
68
+ var params = new URLSearchParams(search);
69
+ params.delete(name);
70
+ return "?" + params.toString();
71
+ }
65
72
  exports.default = InternalLinkMenuItemNav;
@@ -9,8 +9,8 @@ export declare type FloatingActionButtonProps = {
9
9
  iconName?: FillIconNameKeys | LineIconNameKeys;
10
10
  colorTheme?: 'none' | 'theme1' | 'theme2' | 'theme3';
11
11
  state?: 'normal' | 'disabled';
12
- onClick?: (e: React.MouseEvent<HTMLButtonElement>) => any;
13
- onMouseDown?: (e: React.MouseEvent<HTMLButtonElement>) => any;
12
+ onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
13
+ onMouseDown?: (e: React.MouseEvent<HTMLButtonElement>) => void;
14
14
  };
15
15
  declare function FloatingActionButton({ text, displayType, size, fontWeight, iconFillType, iconName, colorTheme, state, onClick, onMouseDown }: FloatingActionButtonProps): JSX.Element;
16
16
  export default FloatingActionButton;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { PDSTextType } from '../../../common';
3
3
  export declare type CardProps = {
4
4
  titleText?: PDSTextType;
@@ -6,7 +6,7 @@ export declare type CardProps = {
6
6
  imageIconMode?: 'none' | 'image' | 'icon';
7
7
  imageSrc?: string;
8
8
  selectState?: 'unselected' | 'selected';
9
- onClick?: () => void;
9
+ onClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
10
10
  };
11
11
  declare function Card({ titleText, descText, imageIconMode, imageSrc, selectState, onClick }: CardProps): JSX.Element;
12
12
  export default Card;
@@ -13,9 +13,9 @@ var hybrid_1 = require("../../../hybrid");
13
13
  var TextLabel_1 = require("../TextLabel");
14
14
  function Card(_a) {
15
15
  var titleText = _a.titleText, descText = _a.descText, _b = _a.imageIconMode, imageIconMode = _b === void 0 ? 'none' : _b, imageSrc = _a.imageSrc, _c = _a.selectState, selectState = _c === void 0 ? 'unselected' : _c, onClick = _a.onClick;
16
- var handleClick = function () {
16
+ var handleClick = function (e) {
17
17
  if (onClick) {
18
- onClick();
18
+ onClick(e);
19
19
  }
20
20
  };
21
21
  return (react_1.default.createElement(S_CardGroups, { selectState: selectState, onClick: handleClick },
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { FillIconNameKeys, LineIconNameKeys, PDSTextType, PDSValueOption, UiColors } from '../../../common';
3
3
  declare type DisplayType = 'category_choice' | 'filter_single' | 'filter_multi' | 'removable' | 'label' | 'time' | 'information';
4
4
  export declare type ChipProps = {
@@ -11,7 +11,7 @@ export declare type ChipProps = {
11
11
  overrideBackgroundColorKey?: UiColors;
12
12
  value?: PDSValueOption['value'];
13
13
  id?: PDSValueOption['value'];
14
- onClickChip?: () => void;
14
+ onClickChip?: (e: React.MouseEvent<HTMLDivElement>) => void;
15
15
  onClickXMarkIcon?: () => void;
16
16
  /** @deprecated value 필드를 대신 사용하세요. */
17
17
  activeChipId?: string | number;
@@ -42,9 +42,9 @@ function Chip(_a) {
42
42
  }
43
43
  return false;
44
44
  }, [activeChipId, chipId, value, id]);
45
- var handleClickChip = function () {
45
+ var handleClickChip = function (e) {
46
46
  if (onClickChip) {
47
- onClickChip();
47
+ onClickChip(e);
48
48
  }
49
49
  };
50
50
  var handleClickXMarkIcon = function (e) {
@@ -15,9 +15,9 @@ declare type MobileAlertDialogProps = {
15
15
  tBtn1Type?: 'button' | 'submit';
16
16
  tBtn2Type?: 'button' | 'submit';
17
17
  tBtn3Type?: 'button' | 'submit';
18
- onClickTBtn1?: () => any;
19
- onClickTBtn2?: () => any;
20
- onClickTBtn3?: () => any;
18
+ onClickTBtn1?: () => void;
19
+ onClickTBtn2?: () => void;
20
+ onClickTBtn3?: () => void;
21
21
  };
22
22
  declare function MobileAlertDialog({ iconMode, titleText, contentText, btnStack, btnMode, tBtn1Text, tBtn2Text, tBtn3Text, tBtn1State, tBtn2State, tBtn3State, tBtn1Type, tBtn2Type, tBtn3Type, onClickTBtn1, onClickTBtn2, onClickTBtn3 }: MobileAlertDialogProps): React.ReactPortal;
23
23
  export default MobileAlertDialog;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web",
3
- "version": "1.5.2",
3
+ "version": "1.5.4",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
package/release-note.md CHANGED
@@ -1,6 +1,9 @@
1
1
  # PDS-DEV-KIT-WEB Release Notes
2
- ## [v1.5.2]
2
+ ## [v1.5.4]
3
3
 
4
4
  ### Component
5
- * Icon
6
- * ic_bell_notification line asset의 모양 변경
5
+ * DynamicDesktopNavBar
6
+ * 내부링크 유형을 사용할때 URLSearchParams 비교에서 'from' 키워드 제외
7
+
8
+ ### Color
9
+ * 컬러 키 값 22.11.01 17시 30분 기준 싱크