pds-dev-kit-web 2.2.80 → 2.2.82

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.
@@ -354,5 +354,6 @@
354
354
  "sys_cpnt_sheet_base_13": "grey50",
355
355
  "sys_cpnt_sheet_base_14": "grey900",
356
356
  "sys_cpnt_white_opacity60": "white/opacity60",
357
- "sys_border_line_17": "darkgrey600"
357
+ "sys_border_line_17": "darkgrey600",
358
+ "usr_brand_primary_opacity05": "darkblue500/opacity05"
358
359
  }
@@ -354,5 +354,6 @@
354
354
  "sys_cpnt_sheet_base_13": "grey50",
355
355
  "sys_cpnt_sheet_base_14": "grey900",
356
356
  "sys_cpnt_white_opacity60": "white/opacity60",
357
- "sys_border_line_17": "black/opacity00"
357
+ "sys_border_line_17": "black/opacity00",
358
+ "usr_brand_primary_opacity05": "blue500/opacity05"
358
359
  }
@@ -857,5 +857,7 @@
857
857
  "ui_119": "sys_component_base_36",
858
858
  "ui_120": "sys_cpnt_white_opacity60",
859
859
  "ui_121": "sys_component_base_03",
860
- "ui_cpnt_tooltip_base_border": "sys_border_line_17"
860
+ "ui_cpnt_tooltip_base_border": "sys_border_line_17",
861
+ "ui_122": "sys_widget_green_01",
862
+ "ui_123": "usr_brand_primary_opacity05"
861
863
  }
@@ -1,4 +1,124 @@
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
+ };
2
122
  readonly PaletteColor_light: {
3
123
  sys_container_background_01: string;
4
124
  sys_container_background_02: string;
@@ -356,126 +476,7 @@ declare const colorSet: {
356
476
  sys_cpnt_sheet_base_14: string;
357
477
  sys_cpnt_white_opacity60: string;
358
478
  sys_border_line_17: string;
359
- };
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
+ usr_brand_primary_opacity05: string;
479
480
  };
480
481
  readonly PaletteColor_Dark: {
481
482
  sys_container_background_01: string;
@@ -834,6 +835,7 @@ declare const colorSet: {
834
835
  sys_cpnt_sheet_base_14: string;
835
836
  sys_cpnt_white_opacity60: string;
836
837
  sys_border_line_17: string;
838
+ usr_brand_primary_opacity05: string;
837
839
  };
838
840
  readonly UIColor: {
839
841
  ui_cpnt_button_fill_base_primary: string;
@@ -1695,6 +1697,8 @@ declare const colorSet: {
1695
1697
  ui_120: string;
1696
1698
  ui_121: string;
1697
1699
  ui_cpnt_tooltip_base_border: string;
1700
+ ui_122: string;
1701
+ ui_123: string;
1698
1702
  };
1699
1703
  };
1700
1704
  export default colorSet;
@@ -4,13 +4,13 @@ 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"));
8
7
  var SemanticColor_json_1 = __importDefault(require("./SemanticColor.json"));
8
+ var PaletteColor_light_json_1 = __importDefault(require("./PaletteColor_light.json"));
9
9
  var PaletteColor_Dark_json_1 = __importDefault(require("./PaletteColor_Dark.json"));
10
10
  var UIColor_json_1 = __importDefault(require("./UIColor.json"));
11
11
  var colorSet = {
12
- PaletteColor_light: PaletteColor_light_json_1.default,
13
12
  SemanticColor: SemanticColor_json_1.default,
13
+ PaletteColor_light: PaletteColor_light_json_1.default,
14
14
  PaletteColor_Dark: PaletteColor_Dark_json_1.default,
15
15
  UIColor: UIColor_json_1.default
16
16
  };
@@ -858,4 +858,6 @@ export interface UITheme {
858
858
  ui_120: string;
859
859
  ui_121: string;
860
860
  ui_cpnt_tooltip_base_border: string;
861
+ ui_122: string;
862
+ ui_123: string;
861
863
  }
@@ -4,7 +4,7 @@ type TextObj = {
4
4
  path: string;
5
5
  title: PDSTextType;
6
6
  };
7
- type StyleTheme = 'main' | 'content';
7
+ type StyleTheme = 'main' | 'content' | 'content2';
8
8
  type UserDesktopTabBarProps = {
9
9
  itemArray?: PDSTabItemOption[];
10
10
  styleTheme?: StyleTheme;
@@ -56,6 +56,9 @@ function UserDesktopTabBar(_a) {
56
56
  if (styleTheme === 'content') {
57
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
58
  }
59
+ if (styleTheme === 'content2') {
60
+ return ((0, jsx_runtime_1.jsx)(S_TabWrapper, __assign({ isActive: item.isActive, styleTheme: "content2", 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: "leadParaBold", colorTheme: item.isActive ? 'usrTextBrandPrimary' : 'sysTextTertiary', singleLineMode: "use" }) }), index));
61
+ }
59
62
  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
63
  }) })));
61
64
  }
@@ -83,6 +86,8 @@ var S_TabWrapper = styled_components_1.default.div(templateObject_2 || (template
83
86
  return mainStyle;
84
87
  case 'content':
85
88
  return contentStyle;
89
+ case 'content2':
90
+ return content2Style;
86
91
  default:
87
92
  return mainStyle;
88
93
  }
@@ -119,7 +124,23 @@ var contentStyle = (0, styled_components_1.css)(templateObject_4 || (templateObj
119
124
  var isActive = _a.isActive;
120
125
  return !isActive && "display: none;";
121
126
  });
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: ", ";\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: ", ";\n justify-content: center;\n"])), function (_a) {
127
+ var content2Style = (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n align-items: center;\n background-color: ", ";\n cursor: pointer;\n display: flex;\n height: 48px;\n margin-right: ", ";\n padding: ", ";\n position: relative;\n\n ", "\n\n &:last-child {\n margin-right: 0;\n }\n"], ["\n align-items: center;\n background-color: ", ";\n cursor: pointer;\n display: flex;\n height: 48px;\n margin-right: ", ";\n padding: ", ";\n position: relative;\n\n ", "\n\n &:last-child {\n margin-right: 0;\n }\n"])), function (_a) {
128
+ var isActive = _a.isActive, theme = _a.theme;
129
+ return isActive ? theme.ui_123 : theme.ui_cpnt_sheet_base_03;
130
+ }, function (_a) {
131
+ var theme = _a.theme;
132
+ return theme.spacing.spacingC;
133
+ }, function (_a) {
134
+ var theme = _a.theme;
135
+ return "0 ".concat(theme.spacing.spacingD);
136
+ }, function (_a) {
137
+ var isActive = _a.isActive;
138
+ return isActive && "border-radius: 24px;";
139
+ });
140
+ var S_TabBar = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n align-items: ", ";\n background-color: ", ";\n border-bottom: 1px solid ", ";\n box-sizing: border-box;\n display: flex;\n flex-direction: row;\n height: ", ";\n justify-content: center;\n"], ["\n align-items: ", ";\n background-color: ", ";\n border-bottom: 1px solid ", ";\n box-sizing: border-box;\n display: flex;\n flex-direction: row;\n height: ", ";\n justify-content: center;\n"])), function (_a) {
141
+ var styleTheme = _a.styleTheme;
142
+ return styleTheme === 'content2' && 'center';
143
+ }, function (_a) {
123
144
  var theme = _a.theme;
124
145
  return theme.ui_cpnt_tabbar_base_area;
125
146
  }, function (_a) {
@@ -130,9 +151,11 @@ var S_TabBar = styled_components_1.default.div(templateObject_5 || (templateObje
130
151
  switch (styleTheme) {
131
152
  case 'content':
132
153
  return '64px';
154
+ case 'content2':
155
+ return '96px';
133
156
  default:
134
157
  return '48px';
135
158
  }
136
159
  });
137
160
  exports.default = UserDesktopTabBar;
138
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5;
161
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6;
@@ -8,6 +8,14 @@ type ActionHandlerPayload = {
8
8
  event: React.SyntheticEvent<HTMLIFrameElement, Event>;
9
9
  multiPurposeUrl: string;
10
10
  };
11
+ '@CUSTOMSECTION/CB_DRAG_START': {
12
+ layout: Layout;
13
+ prev?: LayoutItem;
14
+ item?: LayoutItem;
15
+ placeholder?: LayoutItem;
16
+ e?: ResizeEventType;
17
+ node?: HTMLElement;
18
+ };
11
19
  '@CUSTOMSECTION/CB_DRAG_STOP': {
12
20
  layout: Layout;
13
21
  prev?: LayoutItem;
@@ -267,6 +267,13 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
267
267
  }
268
268
  setLayouts(props.layouts);
269
269
  };
270
+ var onDragStart = function (props) {
271
+ sectionActionHandler &&
272
+ sectionActionHandler({
273
+ type: '@CUSTOMSECTION/CB_DRAG_START',
274
+ payload: __assign({}, props)
275
+ });
276
+ };
270
277
  var onDragStop = function (props) {
271
278
  var _a;
272
279
  if (!isEditMode || !props.item) {
@@ -427,7 +434,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
427
434
  maxWidth: customSectionStyles.maxWidth,
428
435
  minWidth: isMobile ? GLE_MIN_WIDTH_MOBILE_PX : GLE_MIN_WIDTH_DESKTOP_PX,
429
436
  fontSize: "".concat(baseFontSize, "px")
430
- }, onLayoutChange: onLayoutChange, onDragStop: onDragStop, onResizeStop: onResizeStop, onWidthChange: onWidthChange, minNbRow: rows, isDraggable: isEditMode, isResizable: isEditMode }, { children: keepSimilarOrderToPreventRerender(layouts[layoutByDevice]).map(function (each, index) {
437
+ }, onLayoutChange: onLayoutChange, onDragStart: onDragStart, onDragStop: onDragStop, onResizeStop: onResizeStop, onWidthChange: onWidthChange, minNbRow: rows, isDraggable: isEditMode, isResizable: isEditMode }, { children: keepSimilarOrderToPreventRerender(layouts[layoutByDevice]).map(function (each, index) {
431
438
  var _a;
432
439
  if (each === null) {
433
440
  return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
@@ -36,6 +36,8 @@ export type CB_PLACEMENT_PROP_SPECS = {
36
36
  'CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTY:MOBILE': number;
37
37
  CB_PLACEMENT_PROP_PLACEMENT_SPEC_ZINDEX: number;
38
38
  'CB_PLACEMENT_PROP_PLACEMENT_SPEC_ZINDEX:MOBILE': number;
39
+ 'CB_PLACEMENT_PROP_PLACEMENT_SPEC_LATEST_LOCKED_STARTY:MOBILE': number;
40
+ 'CB_PLACEMENT_PROP_PLACEMENT_SPEC_LOCKSTATUS:MOBILE': 'LOCKED' | 'FALLBACK_TO_SYNC' | undefined;
39
41
  };
40
42
  export type CB_TEXT_PROPERTIES_TYPE = CB_GENERAL_PROPERTIES_TYPE & {
41
43
  CB_CONTENT_PROP_TEXT: CB_CONTENT_PROP_TEXT;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web",
3
- "version": "2.2.80",
3
+ "version": "2.2.82",
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.80]
2
+ ## [v2.2.82]
3
3
  ## daily|https://design.storybook.publ.biz/
4
4
 
5
5
  ### 업데이트 사항
6
- * [PDS-1234] UserDesktopTabBarcontent 높이값 수정
6
+ * [PDS-1236] UserDestopTabBarstyleTheme : content2 추가