maru_design2 2.22.0 → 2.22.1

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.22.1](https://github.com/42maru-ai/maru-design2/compare/v2.22.0...v2.22.1) (2025-02-07)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * :bug: Table - col key [#459](https://github.com/42maru-ai/maru-design2/issues/459) ([ca714cc](https://github.com/42maru-ai/maru-design2/commit/ca714cc5314eded458c2ee528bbc3d5b329fd0a2))
9
+
3
10
  ## [2.22.0](https://github.com/42maru-ai/maru-design2/compare/v2.21.1...v2.22.0) (2025-02-06)
4
11
 
5
12
 
@@ -15,6 +15,7 @@ export interface IColumnFormats {
15
15
  * 헤더 컬럼명 옆에 아이콘+툴팁 노출. 툴팁에 들어갈 문자열 설정.
16
16
  */
17
17
  iconTooltip?: string;
18
+ key?: string;
18
19
  }
19
20
  export interface IFilter {
20
21
  on: boolean;
package/dist/index.js CHANGED
@@ -26881,7 +26881,7 @@ function Tr(_a) {
26881
26881
  if (format.isHide) return null;
26882
26882
  return jsx("td", {
26883
26883
  children: format.customColumn ? format.customColumn(row[format.columnIdKey], rowId) : row[format.columnIdKey]
26884
- }, row[format.columnIdKey]);
26884
+ }, format.columnIdKey + (format.key || ''));
26885
26885
  }), (kebabMenu === null || kebabMenu === void 0 ? void 0 : kebabMenu.show(rowId)) === 'always' || (kebabMenu === null || kebabMenu === void 0 ? void 0 : kebabMenu.show(rowId)) === 'hover' && hoveredRowId === rowId ? jsx(KebabMenuTd, {
26886
26886
  rowId: rowId,
26887
26887
  kebabContent: kebabMenu.content
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "maru_design2",
3
- "version": "2.22.0",
3
+ "version": "2.22.1",
4
4
  "main": "./dist/index.js",
5
5
  "author": "zena-42maru",
6
6
  "license": "MIT",