pds-dev-kit-web-test 2.7.339 → 2.7.342

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.
@@ -115,7 +115,7 @@ function ContentsCarousel(props) {
115
115
  createNextButton(customNavigationNormalStyle, customNavigationHoverStyle, isHovered),
116
116
  {
117
117
  type: 'PROGRESSBAR',
118
- position: 'INSET_PROGRESS',
118
+ position: customProgressbarNormalStyle.type === 'DESIGN4' ? 'INSET_PROGRESS' : 'INSET5',
119
119
  designType: customProgressbarNormalStyle.type || 'NONE'
120
120
  }
121
121
  ].filter(function (component) { return component !== undefined; });
@@ -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,
@@ -110,7 +110,7 @@ var SIZE_ENUM_TO_NUM_BAR = {
110
110
  },
111
111
  LARGE: { width: 120, height: 8 }
112
112
  };
113
- var S_ProgressDesign1 = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n color: ", ";\n display: flex;\n font-weight: bold;\n height: ", "px;\n justify-content: center;\n position: relative;\n width: ", "px;\n\n svg {\n --progress: 0;\n fill: none;\n height: 100%;\n position: absolute;\n stroke: ", ";\n stroke-dasharray: 125.6;\n stroke-dashoffset: calc(125.6px * (1 - var(--progress)));\n stroke-width: 4px;\n transform: rotate(-90deg);\n width: 100%;\n z-index: 10;\n\n .bg-circle {\n stroke: ", ";\n stroke-dasharray: none;\n stroke-width: 4px;\n }\n }\n\n span {\n font-size: ", "px;\n position: absolute;\n }\n"], ["\n align-items: center;\n color: ", ";\n display: flex;\n font-weight: bold;\n height: ", "px;\n justify-content: center;\n position: relative;\n width: ", "px;\n\n svg {\n --progress: 0;\n fill: none;\n height: 100%;\n position: absolute;\n stroke: ", ";\n stroke-dasharray: 125.6;\n stroke-dashoffset: calc(125.6px * (1 - var(--progress)));\n stroke-width: 4px;\n transform: rotate(-90deg);\n width: 100%;\n z-index: 10;\n\n .bg-circle {\n stroke: ", ";\n stroke-dasharray: none;\n stroke-width: 4px;\n }\n }\n\n span {\n font-size: ", "px;\n position: absolute;\n }\n"])), function (_a) {
113
+ var S_ProgressDesign1 = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n color: ", ";\n display: flex;\n font-weight: 700;\n height: ", "px;\n justify-content: center;\n position: relative;\n width: ", "px;\n\n svg {\n --progress: 0;\n fill: none;\n height: 100%;\n position: absolute;\n stroke: ", ";\n stroke-dasharray: 125.6;\n stroke-dashoffset: calc(125.6px * (1 - var(--progress)));\n stroke-width: 4px;\n transform: rotate(-90deg);\n width: 100%;\n z-index: 10;\n\n .bg-circle {\n stroke: ", ";\n stroke-dasharray: none;\n stroke-width: 4px;\n }\n }\n\n span {\n font-size: ", "px;\n position: absolute;\n }\n"], ["\n align-items: center;\n color: ", ";\n display: flex;\n font-weight: 700;\n height: ", "px;\n justify-content: center;\n position: relative;\n width: ", "px;\n\n svg {\n --progress: 0;\n fill: none;\n height: 100%;\n position: absolute;\n stroke: ", ";\n stroke-dasharray: 125.6;\n stroke-dashoffset: calc(125.6px * (1 - var(--progress)));\n stroke-width: 4px;\n transform: rotate(-90deg);\n width: 100%;\n z-index: 10;\n\n .bg-circle {\n stroke: ", ";\n stroke-dasharray: none;\n stroke-width: 4px;\n }\n }\n\n span {\n font-size: ", "px;\n position: absolute;\n }\n"])), function (_a) {
114
114
  var barColor = _a.barColor;
115
115
  return barColor;
116
116
  }, function (props) { return SIZE_ENUM_TO_NUM_CIRCLE[props.size].height; }, function (props) { return SIZE_ENUM_TO_NUM_CIRCLE[props.size].width; }, function (_a) {
@@ -140,7 +140,7 @@ var S_ProgressDesign3 = styled_components_1.default.div(templateObject_3 || (tem
140
140
  var bgColor = _a.bgColor;
141
141
  return bgColor;
142
142
  });
143
- var S_ProgressDesign4 = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n align-items: center;\n color: ", ";\n display: flex;\n font-weight: bold;\n height: ", "px;\n justify-content: center;\n position: relative;\n width: ", "px;\n\n svg {\n --progress: 0;\n fill: none;\n height: 100%;\n position: absolute;\n stroke: ", ";\n stroke-dasharray: 125.6;\n stroke-dashoffset: calc(125.6px * (1 - var(--progress)));\n stroke-width: 4px;\n transform: rotate(-90deg);\n width: 100%;\n z-index: 10;\n\n .bg-circle {\n stroke: ", ";\n stroke-dasharray: none;\n stroke-width: 4px;\n }\n }\n\n span {\n font-size: 11px;\n z-index: 11;\n }\n"], ["\n align-items: center;\n color: ", ";\n display: flex;\n font-weight: bold;\n height: ", "px;\n justify-content: center;\n position: relative;\n width: ", "px;\n\n svg {\n --progress: 0;\n fill: none;\n height: 100%;\n position: absolute;\n stroke: ", ";\n stroke-dasharray: 125.6;\n stroke-dashoffset: calc(125.6px * (1 - var(--progress)));\n stroke-width: 4px;\n transform: rotate(-90deg);\n width: 100%;\n z-index: 10;\n\n .bg-circle {\n stroke: ", ";\n stroke-dasharray: none;\n stroke-width: 4px;\n }\n }\n\n span {\n font-size: 11px;\n z-index: 11;\n }\n"])), function (_a) {
143
+ var S_ProgressDesign4 = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n align-items: center;\n color: ", ";\n display: flex;\n font-weight: 700;\n height: ", "px;\n justify-content: center;\n position: relative;\n width: ", "px;\n\n svg {\n --progress: 0;\n fill: none;\n height: 100%;\n position: absolute;\n stroke: ", ";\n stroke-dasharray: 125.6;\n stroke-dashoffset: calc(125.6px * (1 - var(--progress)));\n stroke-width: 4px;\n transform: rotate(-90deg);\n width: 100%;\n z-index: 10;\n\n .bg-circle {\n stroke: ", ";\n stroke-dasharray: none;\n stroke-width: 4px;\n }\n }\n\n span {\n font-size: 11px;\n z-index: 11;\n }\n"], ["\n align-items: center;\n color: ", ";\n display: flex;\n font-weight: 700;\n height: ", "px;\n justify-content: center;\n position: relative;\n width: ", "px;\n\n svg {\n --progress: 0;\n fill: none;\n height: 100%;\n position: absolute;\n stroke: ", ";\n stroke-dasharray: 125.6;\n stroke-dashoffset: calc(125.6px * (1 - var(--progress)));\n stroke-width: 4px;\n transform: rotate(-90deg);\n width: 100%;\n z-index: 10;\n\n .bg-circle {\n stroke: ", ";\n stroke-dasharray: none;\n stroke-width: 4px;\n }\n }\n\n span {\n font-size: 11px;\n z-index: 11;\n }\n"])), function (_a) {
144
144
  var barColor = _a.barColor;
145
145
  return barColor;
146
146
  }, function (props) { return SIZE_ENUM_TO_NUM_CIRCLE[props.size].width; }, function (props) { return SIZE_ENUM_TO_NUM_CIRCLE[props.size].width; }, function (_a) {
@@ -118,7 +118,7 @@ function SlideBanner(props) {
118
118
  createPrevButton(customNavigationNormalStyle, customNavigationHoverStyle, isHovered),
119
119
  createNextButton(customNavigationNormalStyle, customNavigationHoverStyle, isHovered),
120
120
  createPagination(customPaginationNormalStyle, customPaginationHoverStyle, isHovered),
121
- { type: 'PROGRESSBAR', position: 'INSET_PROGRESS' }
121
+ { type: 'PROGRESSBAR', position: customProgressbarNormalStyle.type === 'DESIGN4' ? 'INSET_PROGRESS' : 'INSET5' }
122
122
  ].filter(function (component) { return component !== undefined; });
123
123
  var _l = (0, useFlexGridLayout_1.useFlexGridLayout)({ components: components }), layoutRef = _l.layoutRef, positionRefs = _l.positionRefs, ccbInset = _l.ccbInset, componentGroups = _l.componentGroups, getPositionStyle = _l.getPositionStyle, getComponentGroupLayout = _l.getComponentGroupLayout;
124
124
  var renderElements = function (component, positionStyle) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.7.339",
3
+ "version": "2.7.342",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",