pds-dev-kit-web-test 0.3.3 → 0.3.4

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.
@@ -90,8 +90,7 @@ function CustomSection(props) {
90
90
  }), rows = _g.rows, width = _g.width, minHeight = _g.minHeight, isFullWidth = _g.isFullWidth;
91
91
  var customSectionStyles = {
92
92
  minHeight: "".concat(minHeight, "vh"),
93
- width: '100%',
94
- maxWidth: isFullWidth ? '' : "".concat(width, "px")
93
+ width: isFullWidth ? '100%' : "".concat(width, "px")
95
94
  };
96
95
  var breakpoint = device === 'MOBILE' ? 'sm' : 'lg';
97
96
  var onClickCB = function (id) {
@@ -205,7 +204,6 @@ function CustomSection(props) {
205
204
  paddingLeft: padding.left
206
205
  } }, { children: (0, jsx_runtime_1.jsx)(Responsive, __assign({ allowOverlap: true, layouts: { lg: layouts.lg, sm: layouts.sm }, resizeHandles: ['nw', 'e', 'n', 'ne', 's', 'se', 'sw', 'w'], breakpoints: breakpoints, breakpoint: breakpoint, cols: { lg: 24, sm: 8 }, rowHeight: rowHeight, margin: [10, 10], style: {
207
206
  width: customSectionStyles.width,
208
- maxWidth: customSectionStyles.maxWidth,
209
207
  minWidth: isMobile ? GLE_MIN_WIDTH_MOBILE_PX : GLE_MIN_WIDTH_DESKTOP_PX,
210
208
  fontSize: "".concat(baseFontSize, "px")
211
209
  }, onLayoutChange: onLayoutChange, onDragStop: onDragStop, onResizeStop: onResizeStop, onWidthChange: onWidthChange, minNbRow: rows, isDraggable: isEditMode, isResizable: isEditMode }, { children: (componentBlocks === null || componentBlocks === void 0 ? void 0 : componentBlocks.length) ? (componentBlocks.map(function (each) { return ((0, jsx_runtime_1.jsx)("div", __assign({ className: selectedCB === each.id ? 'react-grid-item-selected' : '' }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ style: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
package/release-note.md CHANGED
@@ -1,8 +1,6 @@
1
1
  # pds-dev-kit-web-test Release Notes
2
- ## [v0.3.3]
2
+ ## [v0.3.4]
3
3
  ## 기준 pds-dev-kit-web 버전 @2.2.23
4
4
  ### sub
5
5
  * DynamicLayout
6
- * custom section
7
- * width값으로 들어가던 것을 max-width로 들어가도록 수정
8
- * width는 100%로 고정
6
+ * scrollToSection에 200ms 버퍼를 둔다.