pds-dev-kit-web 0.3.5 → 0.3.6

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.
Files changed (27) hide show
  1. package/README.md +3 -2
  2. package/dist/index.d.ts +3 -2
  3. package/dist/index.js +4 -1
  4. package/dist/src/common/components/Spacing/Spacing.d.ts +6 -0
  5. package/dist/src/common/components/Spacing/Spacing.js +154 -0
  6. package/dist/src/common/components/Spacing/index.d.ts +1 -0
  7. package/dist/src/common/components/Spacing/index.js +8 -0
  8. package/dist/src/common/components/index.d.ts +2 -0
  9. package/dist/src/common/components/index.js +5 -0
  10. package/dist/src/common/index.d.ts +4 -2
  11. package/dist/src/common/index.js +6 -1
  12. package/dist/src/common/services/i18n/resources/en.json +71 -12
  13. package/dist/src/common/services/i18n/resources/es.json +71 -12
  14. package/dist/src/common/services/i18n/resources/index.d.ts +244 -8
  15. package/dist/src/common/services/i18n/resources/jp.json +71 -12
  16. package/dist/src/common/services/i18n/resources/ko.json +71 -12
  17. package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +17 -1
  18. package/dist/src/common/styles/colorSet/PaletteColor_light.json +17 -1
  19. package/dist/src/common/styles/colorSet/UIColor.json +17 -1
  20. package/dist/src/common/styles/colorSet/index.d.ts +91 -43
  21. package/dist/src/common/styles/colorSet/index.js +4 -4
  22. package/dist/src/common/styles/colorSet/ui-type.d.ts +16 -0
  23. package/dist/src/common/styles/theme.d.ts +24 -0
  24. package/dist/src/common/styles/theme.js +26 -2
  25. package/dist/src/common/types/styled-components.d.ts +24 -0
  26. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTA.js +1 -1
  27. package/package.json +1 -1
@@ -329,5 +329,21 @@
329
329
  "ui_cpnt_icon_usr_brandprimary": "usr_brand_primary",
330
330
  "ui_container_divider": "sys_border_line_01",
331
331
  "ui_area_divider": "sys_border_line_01",
332
- "ui_cpnt_list_base_area_seller": "usr_component_base_brand_primary_opacity10"
332
+ "ui_cpnt_list_base_area_seller": "usr_component_base_brand_primary_opacity10",
333
+ "ui_temp_grey_01": "sys_temp_grey_01",
334
+ "ui_temp_grey_02": "sys_temp_grey_02",
335
+ "ui_temp_grey_03": "sys_temp_grey_03",
336
+ "ui_temp_grey_04": "sys_temp_grey_04",
337
+ "ui_temp_grey_05": "sys_temp_grey_05",
338
+ "ui_temp_white": "sys_temp_white",
339
+ "ui_temp_primary_01": "sys_temp_primary_01",
340
+ "ui_temp_secondary_01": "sys_temp_secondary_01",
341
+ "ui_temp_red": "sys_temp_red",
342
+ "ui_temp_white_opacity_00": "sys_temp_white_opacity_00",
343
+ "ui_temp_dimmed": "sys_temp_dimmed",
344
+ "ui_temp_black": "sys_temp_black",
345
+ "ui_temp_primary_02": "sys_temp_primary_02",
346
+ "ui_temp_primary_03": "sys_temp_primary_03",
347
+ "ui_temp_secondary_02": "sys_temp_secondary_02",
348
+ "ui_temp_lightgreen_01": "sys_temp_lightgreen_01"
333
349
  }
@@ -1,5 +1,46 @@
1
1
  declare const colorSet: {
2
- readonly PaletteColor_light: {
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
+ };
43
+ readonly PaletteColor_Dark: {
3
44
  sys_container_background_01: string;
4
45
  sys_container_background_02: string;
5
46
  sys_container_background_03: string;
@@ -67,8 +108,24 @@ declare const colorSet: {
67
108
  sys_widget_primary_opacity20: string;
68
109
  sys_widget_secondary_variant_01: string;
69
110
  usr_component_base_brand_primary_opacity10: string;
111
+ sys_temp_grey_01: string;
112
+ sys_temp_grey_02: string;
113
+ sys_temp_grey_03: string;
114
+ sys_temp_grey_04: string;
115
+ sys_temp_grey_05: string;
116
+ sys_temp_white: string;
117
+ sys_temp_primary_01: string;
118
+ sys_temp_secondary_01: string;
119
+ sys_temp_red: string;
120
+ sys_temp_white_opacity_00: string;
121
+ sys_temp_dimmed: string;
122
+ sys_temp_black: string;
123
+ sys_temp_primary_02: string;
124
+ sys_temp_primary_03: string;
125
+ sys_temp_secondary_02: string;
126
+ sys_temp_lightgreen_01: string;
70
127
  };
71
- readonly PaletteColor_Dark: {
128
+ readonly PaletteColor_light: {
72
129
  sys_container_background_01: string;
73
130
  sys_container_background_02: string;
74
131
  sys_container_background_03: string;
@@ -136,47 +193,22 @@ declare const colorSet: {
136
193
  sys_widget_primary_opacity20: string;
137
194
  sys_widget_secondary_variant_01: string;
138
195
  usr_component_base_brand_primary_opacity10: string;
139
- };
140
- readonly SemanticColor: {
141
- blue500: string;
142
- blue700: string;
143
- blue300: string;
144
- green700: string;
145
- green500: string;
146
- green300: string;
147
- red500: string;
148
- grey900: string;
149
- grey500: string;
150
- grey400: string;
151
- grey100: string;
152
- grey50: string;
153
- white: string;
154
- black: string;
155
- darkblue500: string;
156
- grey950: string;
157
- darkgrey900: string;
158
- darkgrey500: string;
159
- darkgrey400: string;
160
- darkgrey100: string;
161
- darkgrey50: string;
162
- darkred500: string;
163
- darkgreen700: string;
164
- orange500: string;
165
- darkorange500: string;
166
- opacity00: string;
167
- opacity20: string;
168
- opacity30: string;
169
- opacity65: string;
170
- darkgreen500: string;
171
- grey70: string;
172
- navy500: string;
173
- lightgreen500: string;
174
- pink500: string;
175
- darkgrey70: string;
176
- darknavy500: string;
177
- darkpink500: string;
178
- darklightgreen500: string;
179
- opacity10: string;
196
+ sys_temp_grey_01: string;
197
+ sys_temp_grey_02: string;
198
+ sys_temp_grey_03: string;
199
+ sys_temp_grey_04: string;
200
+ sys_temp_grey_05: string;
201
+ sys_temp_white: string;
202
+ sys_temp_primary_01: string;
203
+ sys_temp_secondary_01: string;
204
+ sys_temp_red: string;
205
+ sys_temp_white_opacity_00: string;
206
+ sys_temp_dimmed: string;
207
+ sys_temp_black: string;
208
+ sys_temp_primary_02: string;
209
+ sys_temp_primary_03: string;
210
+ sys_temp_secondary_02: string;
211
+ sys_temp_lightgreen_01: string;
180
212
  };
181
213
  readonly UIColor: {
182
214
  ui_cpnt_button_fill_base_primary: string;
@@ -510,6 +542,22 @@ declare const colorSet: {
510
542
  ui_container_divider: string;
511
543
  ui_area_divider: string;
512
544
  ui_cpnt_list_base_area_seller: string;
545
+ ui_temp_grey_01: string;
546
+ ui_temp_grey_02: string;
547
+ ui_temp_grey_03: string;
548
+ ui_temp_grey_04: string;
549
+ ui_temp_grey_05: string;
550
+ ui_temp_white: string;
551
+ ui_temp_primary_01: string;
552
+ ui_temp_secondary_01: string;
553
+ ui_temp_red: string;
554
+ ui_temp_white_opacity_00: string;
555
+ ui_temp_dimmed: string;
556
+ ui_temp_black: string;
557
+ ui_temp_primary_02: string;
558
+ ui_temp_primary_03: string;
559
+ ui_temp_secondary_02: string;
560
+ ui_temp_lightgreen_01: string;
513
561
  };
514
562
  };
515
563
  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"));
8
- var PaletteColor_Dark_json_1 = __importDefault(require("./PaletteColor_Dark.json"));
9
7
  var SemanticColor_json_1 = __importDefault(require("./SemanticColor.json"));
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
- PaletteColor_light: PaletteColor_light_json_1.default,
13
- PaletteColor_Dark: PaletteColor_Dark_json_1.default,
14
12
  SemanticColor: SemanticColor_json_1.default,
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;
@@ -330,4 +330,20 @@ export interface UITheme {
330
330
  ui_container_divider: string;
331
331
  ui_area_divider: string;
332
332
  ui_cpnt_list_base_area_seller: string;
333
+ ui_temp_grey_01: string;
334
+ ui_temp_grey_02: string;
335
+ ui_temp_grey_03: string;
336
+ ui_temp_grey_04: string;
337
+ ui_temp_grey_05: string;
338
+ ui_temp_white: string;
339
+ ui_temp_primary_01: string;
340
+ ui_temp_secondary_01: string;
341
+ ui_temp_red: string;
342
+ ui_temp_white_opacity_00: string;
343
+ ui_temp_dimmed: string;
344
+ ui_temp_black: string;
345
+ ui_temp_primary_02: string;
346
+ ui_temp_primary_03: string;
347
+ ui_temp_secondary_02: string;
348
+ ui_temp_lightgreen_01: string;
333
349
  }
@@ -57,5 +57,29 @@ export declare const mobileLineHeight: {
57
57
  blog1: string;
58
58
  singleLine: string;
59
59
  };
60
+ export declare const boxShadow: {
61
+ elevation0: string;
62
+ elevation1: string;
63
+ elevation2: string;
64
+ elevation3: string;
65
+ elevation4: string;
66
+ elevation5: string;
67
+ };
68
+ export declare const spacing: {
69
+ spacingA: string;
70
+ spacingB: string;
71
+ spacingC: string;
72
+ spacingD: string;
73
+ spacingE: string;
74
+ spacingF: string;
75
+ spacingG: string;
76
+ spacingH: string;
77
+ spacingI: string;
78
+ spacingJ: string;
79
+ spacingK: string;
80
+ spacingL: string;
81
+ spacingM: string;
82
+ spacingN: string;
83
+ };
60
84
  declare const theme: DefaultTheme;
61
85
  export default theme;
@@ -11,7 +11,7 @@ var __assign = (this && this.__assign) || function () {
11
11
  return __assign.apply(this, arguments);
12
12
  };
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.mobileLineHeight = exports.mobileFontSize = exports.desktopLineHeight = exports.desktopFontSize = exports.fontWeight = void 0;
14
+ exports.spacing = exports.boxShadow = exports.mobileLineHeight = exports.mobileFontSize = exports.desktopLineHeight = exports.desktopFontSize = exports.fontWeight = void 0;
15
15
  var ui_colors_1 = require("./ui-colors");
16
16
  exports.fontWeight = {
17
17
  normal: '500',
@@ -71,5 +71,29 @@ exports.mobileLineHeight = {
71
71
  blog1: '1.6',
72
72
  singleLine: 'normal'
73
73
  };
74
- var theme = __assign({ fontWeight: exports.fontWeight, desktopFontSize: exports.desktopFontSize, desktopLineHeight: exports.desktopLineHeight, mobileFontSize: exports.mobileFontSize, mobileLineHeight: exports.mobileLineHeight }, ui_colors_1.uiColors);
74
+ exports.boxShadow = {
75
+ elevation0: '0 0 0 0 #0003',
76
+ elevation1: '0 2px 8px 0 #0003',
77
+ elevation2: '0 3px 12px 0 #0003',
78
+ elevation3: '0 4px 16px 0 #0003',
79
+ elevation4: '0 5px 20px 0 #0003',
80
+ elevation5: '0 6px 24px 0 #0003'
81
+ };
82
+ exports.spacing = {
83
+ spacingA: '4px',
84
+ spacingB: '8px',
85
+ spacingC: '12px',
86
+ spacingD: '16px',
87
+ spacingE: '24px',
88
+ spacingF: '32px',
89
+ spacingG: '48px',
90
+ spacingH: '64px',
91
+ spacingI: '88px',
92
+ spacingJ: '120px',
93
+ spacingK: '160px',
94
+ spacingL: '240px',
95
+ spacingM: '288px',
96
+ spacingN: '320px'
97
+ };
98
+ var theme = __assign({ fontWeight: exports.fontWeight, desktopFontSize: exports.desktopFontSize, desktopLineHeight: exports.desktopLineHeight, mobileFontSize: exports.mobileFontSize, mobileLineHeight: exports.mobileLineHeight, boxShadow: exports.boxShadow, spacing: exports.spacing }, ui_colors_1.uiColors);
75
99
  exports.default = theme;
@@ -57,4 +57,28 @@ export interface PdsDevKitTheme {
57
57
  blog1: string;
58
58
  singleLine: string;
59
59
  };
60
+ boxShadow: {
61
+ elevation0: string;
62
+ elevation1: string;
63
+ elevation2: string;
64
+ elevation3: string;
65
+ elevation4: string;
66
+ elevation5: string;
67
+ };
68
+ spacing: {
69
+ spacingA: string;
70
+ spacingB: string;
71
+ spacingC: string;
72
+ spacingD: string;
73
+ spacingE: string;
74
+ spacingF: string;
75
+ spacingG: string;
76
+ spacingH: string;
77
+ spacingI: string;
78
+ spacingJ: string;
79
+ spacingK: string;
80
+ spacingL: string;
81
+ spacingM: string;
82
+ spacingN: string;
83
+ };
60
84
  }
@@ -29,7 +29,7 @@ var S_ContentsContainer = styled_components_1.default.div(templateObject_1 || (t
29
29
  WTA_3: 'min-width: 768px;'
30
30
  }[layoutType]);
31
31
  });
32
- var S_ContentsArea = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n box-sizing: border-box;\n border-left: 1px solid ", ";\n border-right: 1px solid ", ";\n padding-bottom: 88px;\n ", ";\n ", ";\n"], ["\n box-sizing: border-box;\n border-left: 1px solid ", ";\n border-right: 1px solid ", ";\n padding-bottom: 88px;\n ", ";\n ", ";\n"])), function (_a) {
32
+ var S_ContentsArea = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n box-sizing: border-box;\n border-left: 1px solid ", ";\n border-right: 1px solid ", ";\n padding-bottom: 88px;\n height: 100%;\n overflow: auto;\n ", ";\n ", ";\n"], ["\n box-sizing: border-box;\n border-left: 1px solid ", ";\n border-right: 1px solid ", ";\n padding-bottom: 88px;\n height: 100%;\n overflow: auto;\n ", ";\n ", ";\n"])), function (_a) {
33
33
  var theme = _a.theme;
34
34
  return theme.ui_area_divider;
35
35
  }, function (_a) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",