pds-dev-kit-web-test 2.7.282 → 2.7.284

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.
@@ -68,11 +68,11 @@ var util_1 = require("../sections/CustomSection/util");
68
68
  var parseSectionPadding_1 = __importDefault(require("../sections/CustomSection/util/layoutPropParsers/parseSectionPadding"));
69
69
  var parseCompositionPlacement_1 = __importDefault(require("../sections/CustomSection/util/parseCompositionPlacement"));
70
70
  var groupUtils_1 = __importDefault(require("../utils/groupUtils"));
71
- var GRID_CELL_MIN = 24;
72
- var DESKTOP_GRID_COLS = 24;
73
- var MOBILE_GRID_COLS = 8;
74
- var GLE_MIN_WIDTH_DESKTOP_PX = "".concat(GRID_CELL_MIN * DESKTOP_GRID_COLS, "px");
75
- var GLE_MIN_WIDTH_MOBILE_PX = "".concat(GRID_CELL_MIN * MOBILE_GRID_COLS, "px");
71
+ // const GRID_CELL_MIN = 24;
72
+ // const DESKTOP_GRID_COLS = 24;
73
+ // const MOBILE_GRID_COLS = 8;
74
+ // const GLE_MIN_WIDTH_DESKTOP_PX = `${GRID_CELL_MIN * DESKTOP_GRID_COLS}px`;
75
+ // const GLE_MIN_WIDTH_MOBILE_PX = `${GRID_CELL_MIN * MOBILE_GRID_COLS}px`;
76
76
  // type Props = ISection & ContextProps;
77
77
  // type ContextProps = {
78
78
  // device: Device;
@@ -186,10 +186,10 @@ var GridAutoRowEditor = (0, react_1.forwardRef)(function CustomSection(props, re
186
186
  return 50;
187
187
  }
188
188
  if (device === 'MOBILE') {
189
- var cellWidth_1 = size.width / MOBILE_GRID_COLS;
189
+ var cellWidth_1 = size.width / cols;
190
190
  return cellWidth_1 * 0.56;
191
191
  }
192
- var cellWidth = size.width / DESKTOP_GRID_COLS;
192
+ var cellWidth = size.width / cols;
193
193
  return cellWidth * 0.56;
194
194
  })();
195
195
  var baseFontSize = (function () {
@@ -246,11 +246,9 @@ var GridAutoRowEditor = (0, react_1.forwardRef)(function CustomSection(props, re
246
246
  paddingBottom: padding.bottom,
247
247
  paddingRight: padding.right,
248
248
  paddingLeft: padding.left
249
- } }, { children: (0, jsx_runtime_1.jsxs)(GridContainer, __assign({ ref: containerRef, cols: isMobile ? 8 : 24, rowHeight: rowHeight, sectionRow: sectionRow !== null && sectionRow !== void 0 ? sectionRow : 0, selectedRows: selectedRows, style: {
249
+ } }, { children: (0, jsx_runtime_1.jsxs)(GridContainer, __assign({ ref: containerRef, cols: cols, rowHeight: rowHeight, sectionRow: sectionRow !== null && sectionRow !== void 0 ? sectionRow : 0, selectedRows: selectedRows, style: {
250
250
  width: customSectionStyles.width,
251
- maxWidth: customSectionStyles.maxWidth,
252
- minWidth: isMobile ? GLE_MIN_WIDTH_MOBILE_PX : GLE_MIN_WIDTH_DESKTOP_PX,
253
- fontSize: "".concat(baseFontSize, "px")
251
+ maxWidth: customSectionStyles.maxWidth
254
252
  } }, { children: [Array.from({ length: sectionRow !== null && sectionRow !== void 0 ? sectionRow : 0 }).map(function (_, rIdx) {
255
253
  // selectedRows 배열에 현재 행의 인덱스가 포함되어 있는지 확인합니다.
256
254
  var isSelected = selectedRows.includes(rIdx);
@@ -270,7 +268,7 @@ var GridAutoRowEditor = (0, react_1.forwardRef)(function CustomSection(props, re
270
268
  gridRow: "".concat(rIdx + 1),
271
269
  gridColumn: "1 / -1",
272
270
  display: 'contents'
273
- } }, { children: Array.from({ length: isMobile ? MOBILE_GRID_COLS : DESKTOP_GRID_COLS }).map(function (_, cIdx) { return ((0, jsx_runtime_1.jsx)("div", { className: "bg-grid-item", style: {
271
+ } }, { children: Array.from({ length: cols }).map(function (_, cIdx) { return ((0, jsx_runtime_1.jsx)("div", { className: "bg-grid-item", style: {
274
272
  gridArea: "".concat(rIdx + 1, " / ").concat(cIdx + 1),
275
273
  position: 'relative',
276
274
  backgroundColor: '#0000001a',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.7.282",
3
+ "version": "2.7.284",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",