pds-dev-kit-web-test 2.2.82 → 2.2.84

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.
@@ -361,7 +361,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
361
361
  var baseViewPort = 375;
362
362
  var gap = baseViewPort - viewport;
363
363
  if (gap > 0) {
364
- var magicNumber = Math.pow((gap / 18), 1.1);
364
+ var magicNumber = Math.pow((gap / 23.5), 1.1);
365
365
  var resSize = 16 - magicNumber;
366
366
  setBaseFontSize(resSize);
367
367
  }
@@ -417,7 +417,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
417
417
  paddingLeft: padding.left
418
418
  } }, { children: (0, jsx_runtime_1.jsx)(Responsive, __assign({ innerRef: innerRef, allowOverlap: true, layouts: layouts, resizeHandles: ['nw', 'e', 'n', 'ne', 's', 'se', 'sw', 'w'], breakpoints: breakpoints, breakpoint: breakpoint, cols: { lg: 24, sm: 8 }, rowHeight: rowHeight, margin: [10, 10], style: {
419
419
  width: customSectionStyles.width,
420
- maxWidth: isMobile ? '480' : customSectionStyles.maxWidth,
420
+ maxWidth: isMobile ? '480px' : customSectionStyles.maxWidth,
421
421
  minWidth: isMobile ? GLE_MIN_WIDTH_MOBILE_PX : GLE_MIN_WIDTH_DESKTOP_PX,
422
422
  fontSize: "".concat(baseFontSize, "px")
423
423
  }, onLayoutChange: onLayoutChange, onDragStop: onDragStop, onResizeStop: onResizeStop, onWidthChange: onWidthChange, minNbRow: rows, isDraggable: isEditMode, isResizable: isEditMode }, { children: keepSimilarOrderToPreventRerender(layouts[layoutByDevice]).map(function (each, index) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.2.82",
3
+ "version": "2.2.84",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",