pds-dev-kit-web 2.2.76 → 2.2.78

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.
@@ -353,5 +353,6 @@
353
353
  "sys_sw_sidebar_divider_vertical": "darkgrey100",
354
354
  "sys_cpnt_sheet_base_13": "grey50",
355
355
  "sys_cpnt_sheet_base_14": "grey900",
356
- "sys_cpnt_white_opacity60": "white/opacity60"
356
+ "sys_cpnt_white_opacity60": "white/opacity60",
357
+ "sys_border_line_17": "darkgrey600"
357
358
  }
@@ -353,5 +353,6 @@
353
353
  "sys_sw_sidebar_divider_vertical": "darkgrey100",
354
354
  "sys_cpnt_sheet_base_13": "grey50",
355
355
  "sys_cpnt_sheet_base_14": "grey900",
356
- "sys_cpnt_white_opacity60": "white/opacity60"
356
+ "sys_cpnt_white_opacity60": "white/opacity60",
357
+ "sys_border_line_17": "black/opacity00"
357
358
  }
@@ -856,5 +856,6 @@
856
856
  "ui_118": "sys_component_base_24",
857
857
  "ui_119": "sys_component_base_36",
858
858
  "ui_120": "sys_cpnt_white_opacity60",
859
- "ui_121": "sys_component_base_03"
859
+ "ui_121": "sys_component_base_03",
860
+ "ui_cpnt_tooltip_base_border": "sys_border_line_17"
860
861
  }
@@ -1,125 +1,5 @@
1
1
  declare const colorSet: {
2
- readonly SemanticColor: {
3
- blue500: string;
4
- blue700: string;
5
- blue300: string;
6
- green700: string;
7
- green500: string;
8
- green300: string;
9
- red500: string;
10
- grey900: string;
11
- grey500: string;
12
- grey400: string;
13
- grey100: string;
14
- grey50: string;
15
- white: string;
16
- black: string;
17
- darkblue500: string;
18
- grey950: string;
19
- darkgrey900: string;
20
- darkgrey500: string;
21
- darkgrey400: string;
22
- darkgrey100: string;
23
- darkgrey50: string;
24
- darkred500: string;
25
- darkgreen700: string;
26
- orange500: string;
27
- darkorange500: string;
28
- opacity00: string;
29
- opacity20: string;
30
- opacity30: string;
31
- opacity65: string;
32
- darkgreen500: string;
33
- grey70: string;
34
- navy500: string;
35
- lightgreen500: string;
36
- pink500: string;
37
- darkgrey70: string;
38
- darknavy500: string;
39
- darkpink500: string;
40
- darklightgreen500: string;
41
- opacity10: string;
42
- grey600: string;
43
- darkgrey600: string;
44
- skyblue500: string;
45
- skyblue300: string;
46
- pink300: string;
47
- lightpink500: string;
48
- darkblue300: string;
49
- darkblue700: string;
50
- darkgreen300: string;
51
- darkskyblue500: string;
52
- navy100: string;
53
- darknavy100: string;
54
- opacity80: string;
55
- opacity50: string;
56
- grey30: string;
57
- opacity95: string;
58
- darkgrey30: string;
59
- opacity40: string;
60
- kakaoyellow: string;
61
- pastelblue500: string;
62
- pastelpink500: string;
63
- pastelorange500: string;
64
- pastelgreen500: string;
65
- pastelpurple500: string;
66
- darkpastelblue500: string;
67
- darkpastelpink500: string;
68
- darkpastelorange500: string;
69
- darkpastelgreen500: string;
70
- darkpastelpurple500: string;
71
- green30: string;
72
- darkgreen30: string;
73
- orange50: string;
74
- darkorange50: string;
75
- orange30: string;
76
- darkorange30: string;
77
- green50: string;
78
- darkgreen50: string;
79
- opacity90: string;
80
- facebookblue: string;
81
- opacity05: string;
82
- opacity15: string;
83
- grey80: string;
84
- grey200: string;
85
- darkgrey80: string;
86
- darkgrey200: string;
87
- opacity70: string;
88
- opacity60: string;
89
- skyblue100: string;
90
- green100: string;
91
- darkgreen100: string;
92
- darkskyblue100: string;
93
- opacity25: string;
94
- opacity35: string;
95
- grey10: string;
96
- darkgrey10: string;
97
- blue50: string;
98
- darkblue50: string;
99
- blue10: string;
100
- red10: string;
101
- green10: string;
102
- blue30: string;
103
- red30: string;
104
- orange300: string;
105
- darkorange300: string;
106
- darkpink300: string;
107
- pastelblue300: string;
108
- darkpastelblue300: string;
109
- softpurple500: string;
110
- darksoftpurple500: string;
111
- coolpink500: string;
112
- darkcoolpink500: string;
113
- brown500: string;
114
- darkbrown500: string;
115
- yellow300: string;
116
- darkyellow300: string;
117
- grey20: string;
118
- darkgrey20: string;
119
- grey300: string;
120
- darkgrey300: string;
121
- };
122
- readonly PaletteColor_Dark: {
2
+ readonly PaletteColor_light: {
123
3
  sys_container_background_01: string;
124
4
  sys_container_background_02: string;
125
5
  sys_container_background_03: string;
@@ -475,8 +355,129 @@ declare const colorSet: {
475
355
  sys_cpnt_sheet_base_13: string;
476
356
  sys_cpnt_sheet_base_14: string;
477
357
  sys_cpnt_white_opacity60: string;
358
+ sys_border_line_17: string;
478
359
  };
479
- readonly PaletteColor_light: {
360
+ readonly SemanticColor: {
361
+ blue500: string;
362
+ blue700: string;
363
+ blue300: string;
364
+ green700: string;
365
+ green500: string;
366
+ green300: string;
367
+ red500: string;
368
+ grey900: string;
369
+ grey500: string;
370
+ grey400: string;
371
+ grey100: string;
372
+ grey50: string;
373
+ white: string;
374
+ black: string;
375
+ darkblue500: string;
376
+ grey950: string;
377
+ darkgrey900: string;
378
+ darkgrey500: string;
379
+ darkgrey400: string;
380
+ darkgrey100: string;
381
+ darkgrey50: string;
382
+ darkred500: string;
383
+ darkgreen700: string;
384
+ orange500: string;
385
+ darkorange500: string;
386
+ opacity00: string;
387
+ opacity20: string;
388
+ opacity30: string;
389
+ opacity65: string;
390
+ darkgreen500: string;
391
+ grey70: string;
392
+ navy500: string;
393
+ lightgreen500: string;
394
+ pink500: string;
395
+ darkgrey70: string;
396
+ darknavy500: string;
397
+ darkpink500: string;
398
+ darklightgreen500: string;
399
+ opacity10: string;
400
+ grey600: string;
401
+ darkgrey600: string;
402
+ skyblue500: string;
403
+ skyblue300: string;
404
+ pink300: string;
405
+ lightpink500: string;
406
+ darkblue300: string;
407
+ darkblue700: string;
408
+ darkgreen300: string;
409
+ darkskyblue500: string;
410
+ navy100: string;
411
+ darknavy100: string;
412
+ opacity80: string;
413
+ opacity50: string;
414
+ grey30: string;
415
+ opacity95: string;
416
+ darkgrey30: string;
417
+ opacity40: string;
418
+ kakaoyellow: string;
419
+ pastelblue500: string;
420
+ pastelpink500: string;
421
+ pastelorange500: string;
422
+ pastelgreen500: string;
423
+ pastelpurple500: string;
424
+ darkpastelblue500: string;
425
+ darkpastelpink500: string;
426
+ darkpastelorange500: string;
427
+ darkpastelgreen500: string;
428
+ darkpastelpurple500: string;
429
+ green30: string;
430
+ darkgreen30: string;
431
+ orange50: string;
432
+ darkorange50: string;
433
+ orange30: string;
434
+ darkorange30: string;
435
+ green50: string;
436
+ darkgreen50: string;
437
+ opacity90: string;
438
+ facebookblue: string;
439
+ opacity05: string;
440
+ opacity15: string;
441
+ grey80: string;
442
+ grey200: string;
443
+ darkgrey80: string;
444
+ darkgrey200: string;
445
+ opacity70: string;
446
+ opacity60: string;
447
+ skyblue100: string;
448
+ green100: string;
449
+ darkgreen100: string;
450
+ darkskyblue100: string;
451
+ opacity25: string;
452
+ opacity35: string;
453
+ grey10: string;
454
+ darkgrey10: string;
455
+ blue50: string;
456
+ darkblue50: string;
457
+ blue10: string;
458
+ red10: string;
459
+ green10: string;
460
+ blue30: string;
461
+ red30: string;
462
+ orange300: string;
463
+ darkorange300: string;
464
+ darkpink300: string;
465
+ pastelblue300: string;
466
+ darkpastelblue300: string;
467
+ softpurple500: string;
468
+ darksoftpurple500: string;
469
+ coolpink500: string;
470
+ darkcoolpink500: string;
471
+ brown500: string;
472
+ darkbrown500: string;
473
+ yellow300: string;
474
+ darkyellow300: string;
475
+ grey20: string;
476
+ darkgrey20: string;
477
+ grey300: string;
478
+ darkgrey300: string;
479
+ };
480
+ readonly PaletteColor_Dark: {
480
481
  sys_container_background_01: string;
481
482
  sys_container_background_02: string;
482
483
  sys_container_background_03: string;
@@ -832,6 +833,7 @@ declare const colorSet: {
832
833
  sys_cpnt_sheet_base_13: string;
833
834
  sys_cpnt_sheet_base_14: string;
834
835
  sys_cpnt_white_opacity60: string;
836
+ sys_border_line_17: string;
835
837
  };
836
838
  readonly UIColor: {
837
839
  ui_cpnt_button_fill_base_primary: string;
@@ -1692,6 +1694,7 @@ declare const colorSet: {
1692
1694
  ui_119: string;
1693
1695
  ui_120: string;
1694
1696
  ui_121: string;
1697
+ ui_cpnt_tooltip_base_border: string;
1695
1698
  };
1696
1699
  };
1697
1700
  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_light_json_1 = __importDefault(require("./PaletteColor_light.json"));
7
8
  var SemanticColor_json_1 = __importDefault(require("./SemanticColor.json"));
8
9
  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
+ PaletteColor_light: PaletteColor_light_json_1.default,
12
13
  SemanticColor: SemanticColor_json_1.default,
13
14
  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;
@@ -857,4 +857,5 @@ export interface UITheme {
857
857
  ui_119: string;
858
858
  ui_120: string;
859
859
  ui_121: string;
860
+ ui_cpnt_tooltip_base_border: string;
860
861
  }
@@ -6,7 +6,7 @@ type TextObj = {
6
6
  };
7
7
  type UserDesktopTabBarProps = {
8
8
  itemArray?: PDSTabItemOption[];
9
- styleTheme?: 'main';
9
+ styleTheme?: 'main' | 'content';
10
10
  /** @deprecated v1.5 해당 필드 대신 itemArray를 사용하세요. */
11
11
  textArray?: TextObj[];
12
12
  };
@@ -52,7 +52,12 @@ function UserDesktopTabBar(_a) {
52
52
  item.onClick(e);
53
53
  }
54
54
  };
55
- return ((0, jsx_runtime_1.jsx)(S_TabBar, __assign({ "x-pds-name": "UserDesktopTabBar", "x-pds-element-type": "component", "x-pds-device-type": "desktop" }, { children: itemArray.map(function (item, index) { return ((0, jsx_runtime_1.jsx)(S_TabWrapper, __assign({ isActive: item.isActive, styleTheme: styleTheme, text: item.title, onClick: function (e) { return handleClickTabItem_1(item, e); } }, { children: (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: item.title, textAlign: "center", styleTheme: item.isActive ? 'body2Bold' : 'body2Regular', colorTheme: item.isActive ? 'usrTextBrandPrimary' : 'sysTextSecondary', singleLineMode: "use" }) }), index)); }) })));
55
+ return ((0, jsx_runtime_1.jsx)(S_TabBar, __assign({ "x-pds-name": "UserDesktopTabBar", "x-pds-element-type": "component", "x-pds-device-type": "desktop" }, { children: itemArray.map(function (item, index) {
56
+ if (styleTheme === 'content') {
57
+ return ((0, jsx_runtime_1.jsx)(S_TabWrapper, __assign({ isActive: item.isActive, styleTheme: "content", text: item.title, onClick: function (e) { return handleClickTabItem_1(item, e); } }, { children: (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: item.title, textAlign: "center", styleTheme: "headingBold", colorTheme: item.isActive ? 'sysTextPrimary' : 'sysTextSecondary', singleLineMode: "use" }) }), index));
58
+ }
59
+ return ((0, jsx_runtime_1.jsx)(S_TabWrapper, __assign({ isActive: item.isActive, styleTheme: styleTheme, text: item.title, onClick: function (e) { return handleClickTabItem_1(item, e); } }, { children: (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: item.title, textAlign: "center", styleTheme: item.isActive ? 'body2Bold' : 'body2Regular', colorTheme: item.isActive ? 'usrTextBrandPrimary' : 'sysTextSecondary', singleLineMode: "use" }) }), index));
60
+ }) })));
56
61
  }
57
62
  if (textArray) {
58
63
  var handleClick_1 = function (value) {
@@ -75,7 +80,9 @@ var S_TabWrapper = styled_components_1.default.div(templateObject_2 || (template
75
80
  var styleTheme = _a.styleTheme;
76
81
  switch (styleTheme) {
77
82
  case 'main':
78
- return mainStyle; // TODO : 추후 styleTheme 의 enum 값이 추가되면 수정
83
+ return mainStyle;
84
+ case 'content':
85
+ return contentStyle;
79
86
  default:
80
87
  return mainStyle;
81
88
  }
@@ -99,7 +106,20 @@ var mainStyle = (0, styled_components_1.css)(templateObject_3 || (templateObject
99
106
  var isActive = _a.isActive;
100
107
  return !isActive && "display: none;";
101
108
  });
102
- var S_TabBar = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n background-color: ", ";\n border-bottom: 1px solid ", ";\n box-sizing: border-box;\n display: flex;\n flex-direction: row;\n height: 48px;\n justify-content: center;\n"], ["\n background-color: ", ";\n border-bottom: 1px solid ", ";\n box-sizing: border-box;\n display: flex;\n flex-direction: row;\n height: 48px;\n justify-content: center;\n"])), function (_a) {
109
+ var contentStyle = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n align-items: center;\n background-color: ", ";\n cursor: pointer;\n display: flex;\n margin-right: ", ";\n position: relative;\n\n &:last-child {\n margin-right: 0;\n }\n\n &::after {\n background-color: ", ";\n bottom: -1px;\n content: '';\n height: 2px;\n position: absolute;\n width: 100%;\n ", ";\n }\n"], ["\n align-items: center;\n background-color: ", ";\n cursor: pointer;\n display: flex;\n margin-right: ", ";\n position: relative;\n\n &:last-child {\n margin-right: 0;\n }\n\n &::after {\n background-color: ", ";\n bottom: -1px;\n content: '';\n height: 2px;\n position: absolute;\n width: 100%;\n ", ";\n }\n"])), function (_a) {
110
+ var isActive = _a.isActive, theme = _a.theme;
111
+ return isActive && theme.ui_cpnt_tabbar_base_area;
112
+ }, function (_a) {
113
+ var theme = _a.theme;
114
+ return theme.spacing.spacingF;
115
+ }, function (_a) {
116
+ var theme = _a.theme;
117
+ return theme.ui_19;
118
+ }, function (_a) {
119
+ var isActive = _a.isActive;
120
+ return !isActive && "display: none;";
121
+ });
122
+ var S_TabBar = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n background-color: ", ";\n border-bottom: 1px solid ", ";\n box-sizing: border-box;\n display: flex;\n flex-direction: row;\n height: 48px;\n justify-content: center;\n"], ["\n background-color: ", ";\n border-bottom: 1px solid ", ";\n box-sizing: border-box;\n display: flex;\n flex-direction: row;\n height: 48px;\n justify-content: center;\n"])), function (_a) {
103
123
  var theme = _a.theme;
104
124
  return theme.ui_cpnt_tabbar_base_area;
105
125
  }, function (_a) {
@@ -107,4 +127,4 @@ var S_TabBar = styled_components_1.default.div(templateObject_4 || (templateObje
107
127
  return theme.ui_cpnt_divider;
108
128
  });
109
129
  exports.default = UserDesktopTabBar;
110
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
130
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web",
3
- "version": "2.2.76",
3
+ "version": "2.2.78",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
package/release-note.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # PDS-DEV-KIT-WEB Release Notes
2
- ## [v2.2.76]
2
+ ## [v2.2.78]
3
3
  ## daily|https://design.storybook.publ.biz/
4
4
 
5
5
  ### 업데이트 사항
6
- * [PUB-1231] 산돌 폰트네임 추가
6
+ * [PDS-1233] UserDestopTabBar의 styleTheme : content 추가