pds-dev-kit-web 2.2.236 → 2.2.238

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.
@@ -25,6 +25,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
25
25
  var jsx_runtime_1 = require("react/jsx-runtime");
26
26
  var Gift = function (_a) {
27
27
  var color = _a.color, size = _a.size, rest = __rest(_a, ["color", "size"]);
28
- return ((0, jsx_runtime_1.jsx)("svg", __assign({ width: size, height: size, viewBox: "0 0 24 24" }, rest, { children: (0, jsx_runtime_1.jsxs)("g", __assign({ fill: "none" }, { children: [(0, jsx_runtime_1.jsx)("path", { stroke: color, strokeWidth: "2", d: "M14.7435,3.0896 C15.3015,2.3966 16.2405,2.0886 17.1355,2.3756 C18.3065,2.7506 18.9475,3.9956 18.5725,5.1676 C18.2765,6.0906 17.4285,6.6696 16.5245,6.7056 L14.0885,6.8386 L12.3581175,6.94762172 L12.3973,6.997 L11.9921175,6.97062172 L11.6005,6.9966 L11.6381175,6.94762172 L9.9103,6.838 L7.4733,6.706 C6.5693,6.67 5.7223,6.091 5.4263,5.167 C5.0513,3.996 5.6913,2.751 6.8623,2.376 C7.7583,2.089 8.6963,2.397 9.2553,3.09 L11.9981175,6.50062172 Z M11.9991,5.9648 L11.9991,20.8798" }), (0, jsx_runtime_1.jsx)("path", { fill: color, fillRule: "evenodd", d: "M19.0069,6.4449 C20.9399,6.4449 22.5069,8.0119 22.5069,9.9449 L22.5069,11.6379 C22.5069,12.3566198 22.1275815,12.987185 21.5579445,13.339768 L21.5573,18.5922 C21.5573,20.5252 19.9903,22.0922 18.0573,22.0922 L5.9413,22.0922 C4.0083,22.0922 2.4413,20.5252 2.4413,18.5922 L2.44061969,13.3399663 C1.87078479,12.9874215 1.4909,12.3567545 1.4909,11.6379 L1.4909,9.9449 C1.4909,8.0119 3.0589,6.4449 4.9909,6.4449 Z M19.5569,13.6379 L4.4409,13.6379 L4.4413,18.5922 C4.4413,19.3705529 5.03745225,20.0124907 5.79706308,20.0853195 L5.9413,20.0922 L18.0573,20.0922 C18.8843,20.0922 19.5573,19.4192 19.5573,18.5922 L19.5569,13.6379 Z M19.0069,8.4449 L4.9909,8.4449 C4.1639,8.4449 3.4909,9.1179 3.4909,9.9449 L3.4909,11.6239 L20.5069,11.6239 L20.5069,9.9449 C20.5069,9.16654706 19.9107478,8.52460934 19.1511369,8.45178052 L19.0069,8.4449 Z" })] })) })));
28
+ return ((0, jsx_runtime_1.jsx)("svg", __assign({ width: size, height: size, viewBox: "0 0 24 24" }, rest, { children: (0, jsx_runtime_1.jsx)("g", __assign({ fill: "none" }, { children: (0, jsx_runtime_1.jsx)("path", { fill: color, fillRule: "evenodd", d: "M13.8,2.3596 C14.591,1.3776 15.88,0.9926 17.082,1.3776 C17.856,1.6256 18.486,2.1596 18.857,2.8796 C19.228,3.6006 19.295,4.4236 19.047,5.1976 C18.7037773,6.26707486 17.787759,7.05249947 16.6941925,7.25484256 L19.2831,7.2539 C20.9401,7.2539 22.2831,8.5969 22.2831,10.2539 L22.2831,12.1399 C22.2831,12.4159 22.0591,12.6399 21.7831,12.6399 L14.5291,12.6399 L14.5283,7.40538409 L13.25,7.4816 L13.25,22.0926 L10.75,22.0926 L10.75,7.4816 L9.4703,7.40538409 L9.4713,12.6399 L2.2173,12.6399 C1.9403,12.6399 1.7173,12.4159 1.7173,12.1399 L1.7173,10.2539 C1.7173,8.5969 3.0603,7.2539 4.7173,7.2539 L7.29874246,7.25515148 C6.21528902,7.05511083 5.29679344,6.26885328 4.953,5.1976 C4.442,3.6026 5.323,1.8896 6.918,1.3776 C8.12,0.9926 9.408,1.3776 10.199,2.3586 L12,4.5986 Z M21.5839,13.7451 L21.5839,19.0921 C21.5839,20.7491 20.2409,22.0921 18.5839,22.0921 L14.5289,22.0921 L14.5289,13.7451 L21.5839,13.7451 Z M9.4713,13.7451 L9.4713,22.0921 L5.4163,22.0921 C3.7593,22.0921 2.4163,20.7491 2.4163,19.0921 L2.4163,13.7451 L9.4713,13.7451 Z M16.154,3.7326 C15.998,3.7326 15.849,3.8016 15.748,3.9276 L14.99,4.8696 L16.141,4.8066 C16.354,4.7976 16.587,4.6806 16.666,4.4346 C16.758,4.1476 16.605,3.8506 16.319,3.7586 C16.264,3.7416 16.208,3.7326 16.154,3.7326 Z M7.846,3.7326 C7.791,3.7326 7.736,3.7416 7.681,3.7586 C7.395,3.8506 7.242,4.1476 7.334,4.4346 C7.413,4.6806 7.645,4.7976 7.841,4.8056 L9.01,4.8696 L8.252,3.9266 C8.151,3.8016 8.002,3.7326 7.846,3.7326 Z" }) })) })));
29
29
  };
30
30
  exports.default = Gift;
@@ -84,7 +84,7 @@ function AdminList(_a) {
84
84
  checkboxMethods.reset();
85
85
  selectAllMethods.setValue(headerRowCheckboxName, false);
86
86
  if (maintainIds === null || maintainIds === void 0 ? void 0 : maintainIds.length) {
87
- setIsBulkActionBarOpen(true);
87
+ react_1.default.isValidElement(bulkActionBar) && setIsBulkActionBarOpen(true);
88
88
  maintainIds.forEach(function (id) { return checkboxMethods.setValue(id.toString(), true); });
89
89
  }
90
90
  else {
@@ -97,7 +97,7 @@ function AdminList(_a) {
97
97
  checkboxMethods.setValue(selectedIds[0].toString(), true);
98
98
  return;
99
99
  }
100
- setIsBulkActionBarOpen(true);
100
+ react_1.default.isValidElement(bulkActionBar) && setIsBulkActionBarOpen(true);
101
101
  selectedIds.forEach(function (val) { return checkboxMethods.setValue(val.toString(), true); });
102
102
  // NOTE Children에 포함된 요소의 id와 선택되어 있는 id를 비교해 전체 체크박스의 상태를 변경합니다.
103
103
  var hasAllIds = childrenPropIds === null || childrenPropIds === void 0 ? void 0 : childrenPropIds.every(function (id) { return selectedIds.includes(id) || (maintainIds === null || maintainIds === void 0 ? void 0 : maintainIds.includes(id)); });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web",
3
- "version": "2.2.236",
3
+ "version": "2.2.238",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
package/release-note.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # PDS-DEV-KIT-WEB Release Notes
2
- ## [v2.2.236]
2
+ ## [v2.2.238]
3
3
  ## daily|https://design.storybook.publ.biz/
4
4
 
5
5
  ### 업데이트 사항
6
- * <fix> 다국어 모달 tinyeditor 타입일 때 originalText htmlreader로 변환해서 보여주도록 수정
6
+ * [PDS-1365] BulkActionBar 노출 조건 수정