pds-dev-kit-web-test 2.7.345 → 2.7.347

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.
@@ -157,12 +157,15 @@ var S_ProgressDesign5 = styled_components_1.default.div(templateObject_5 || (tem
157
157
  var barColor = _a.barColor;
158
158
  return barColor;
159
159
  });
160
- var S_ProgressDesign6 = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n align-items: center;\n color: ", ";\n display: flex;\n flex-direction: column;\n font-weight: bold;\n width: ", "px;\n\n .progress-bar-container {\n background-color: rgba(0, 0, 0, 0.2);\n border-radius: 3px;\n height: ", "px;\n overflow: hidden;\n position: relative;\n width: 100%;\n }\n\n .progress-bar-fill {\n background-color: ", ";\n border-radius: 3px;\n height: 100%;\n transition: width 0.1s ease-out;\n width: calc(var(--progress) * 100%);\n }\n"], ["\n align-items: center;\n color: ", ";\n display: flex;\n flex-direction: column;\n font-weight: bold;\n width: ", "px;\n\n .progress-bar-container {\n background-color: rgba(0, 0, 0, 0.2);\n border-radius: 3px;\n height: ", "px;\n overflow: hidden;\n position: relative;\n width: 100%;\n }\n\n .progress-bar-fill {\n background-color: ", ";\n border-radius: 3px;\n height: 100%;\n transition: width 0.1s ease-out;\n width: calc(var(--progress) * 100%);\n }\n"])), function (_a) {
161
- var bgColor = _a.bgColor;
162
- return bgColor;
163
- }, function (props) { return SIZE_ENUM_TO_NUM_BAR[props.size].width; }, function (props) { return SIZE_ENUM_TO_NUM_BAR[props.size].height; }, function (_a) {
160
+ var S_ProgressDesign6 = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n align-items: center;\n color: ", ";\n display: flex;\n flex-direction: column;\n font-weight: bold;\n width: ", "px;\n\n .progress-bar-container {\n background-color: ", ";\n border-radius: 3px;\n height: ", "px;\n overflow: hidden;\n position: relative;\n width: 100%;\n }\n\n .progress-bar-fill {\n background-color: ", ";\n border-radius: 3px;\n height: 100%;\n transition: width 0.1s ease-out;\n width: calc(var(--progress) * 100%);\n }\n"], ["\n align-items: center;\n color: ", ";\n display: flex;\n flex-direction: column;\n font-weight: bold;\n width: ", "px;\n\n .progress-bar-container {\n background-color: ", ";\n border-radius: 3px;\n height: ", "px;\n overflow: hidden;\n position: relative;\n width: 100%;\n }\n\n .progress-bar-fill {\n background-color: ", ";\n border-radius: 3px;\n height: 100%;\n transition: width 0.1s ease-out;\n width: calc(var(--progress) * 100%);\n }\n"])), function (_a) {
161
+ var barColor = _a.barColor;
162
+ return barColor;
163
+ }, function (props) { return SIZE_ENUM_TO_NUM_BAR[props.size].width; }, function (_a) {
164
164
  var bgColor = _a.bgColor;
165
165
  return bgColor;
166
+ }, function (props) { return SIZE_ENUM_TO_NUM_BAR[props.size].height; }, function (_a) {
167
+ var barColor = _a.barColor;
168
+ return barColor;
166
169
  });
167
170
  var S_ProgressDesign7 = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n align-items: center;\n color: ", ";\n display: flex;\n flex-direction: column;\n font-weight: bold;\n width: ", "px;\n\n .progress-bar-container {\n background-color: ", ";\n height: ", "px;\n overflow: hidden;\n position: relative;\n width: 100%;\n }\n\n .progress-bar-fill {\n background-color: ", ";\n height: 100%;\n transition: width 0.1s ease-out;\n width: calc(var(--progress) * 100%);\n }\n"], ["\n align-items: center;\n color: ", ";\n display: flex;\n flex-direction: column;\n font-weight: bold;\n width: ", "px;\n\n .progress-bar-container {\n background-color: ", ";\n height: ", "px;\n overflow: hidden;\n position: relative;\n width: 100%;\n }\n\n .progress-bar-fill {\n background-color: ", ";\n height: 100%;\n transition: width 0.1s ease-out;\n width: calc(var(--progress) * 100%);\n }\n"])), function (_a) {
168
171
  var barColor = _a.barColor;
@@ -27,14 +27,14 @@ function getStyle(value) {
27
27
  }
28
28
  }
29
29
  function getItemSpacing(value) {
30
- var NORMAL = 30;
30
+ var NORMAL = 16;
31
31
  switch (value) {
32
32
  case 'WIDE':
33
- return 50;
33
+ return 24;
34
34
  case 'NORMAL':
35
35
  return NORMAL;
36
36
  case 'NARROW':
37
- return 10;
37
+ return 8;
38
38
  default:
39
39
  return NORMAL;
40
40
  }
@@ -87,14 +87,14 @@ var ProgressDesign8 = function (_a) {
87
87
  exports.ProgressDesign8 = ProgressDesign8;
88
88
  var SIZE_ENUM_TO_NUM_CIRCLE = {
89
89
  SMALL: {
90
- width: 24,
91
- height: 25,
92
- fontSize: 8
90
+ width: 30,
91
+ height: 30,
92
+ fontSize: 12
93
93
  },
94
94
  MEDIUM: {
95
- width: 36,
96
- height: 36,
97
- fontSize: 12
95
+ width: 40,
96
+ height: 40,
97
+ fontSize: 14
98
98
  },
99
99
  LARGE: {
100
100
  width: 48,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.7.345",
3
+ "version": "2.7.347",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",