@nurihaus/web-design-system 3.9.1 → 3.9.2

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.
@@ -21,16 +21,9 @@ declare const meta: {
21
21
  children: string;
22
22
  };
23
23
  decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react-webpack5").ReactRenderer, {
24
- title?: import("react").ReactNode;
25
- children: import("react").ReactNode;
26
24
  className?: string | undefined | undefined;
27
25
  style?: import("react").CSSProperties | undefined;
28
- key?: import("react").Key | null | undefined;
29
- color?: string | undefined | undefined;
30
- content?: string | undefined | undefined;
31
- translate?: "yes" | "no" | undefined | undefined;
32
- motion?: (typeof motion)[number] | undefined;
33
- slot?: string | undefined | undefined;
26
+ children: import("react").ReactNode;
34
27
  defaultChecked?: boolean | undefined | undefined;
35
28
  defaultValue?: string | number | readonly string[] | undefined;
36
29
  suppressContentEditableWarning?: boolean | undefined | undefined;
@@ -47,11 +40,15 @@ declare const meta: {
47
40
  id?: string | undefined | undefined;
48
41
  lang?: string | undefined | undefined;
49
42
  nonce?: string | undefined | undefined;
43
+ slot?: string | undefined | undefined;
50
44
  spellCheck?: (boolean | "true" | "false") | undefined;
51
45
  tabIndex?: number | undefined | undefined;
46
+ title?: import("react").ReactNode;
47
+ translate?: "yes" | "no" | undefined | undefined;
52
48
  radioGroup?: string | undefined | undefined;
53
49
  role?: import("react").AriaRole | undefined;
54
50
  about?: string | undefined | undefined;
51
+ content?: string | undefined | undefined;
55
52
  datatype?: string | undefined | undefined;
56
53
  inlist?: any;
57
54
  prefix?: string | undefined | undefined;
@@ -63,6 +60,7 @@ declare const meta: {
63
60
  vocab?: string | undefined | undefined;
64
61
  autoCorrect?: string | undefined | undefined;
65
62
  autoSave?: string | undefined | undefined;
63
+ color?: string | undefined | undefined;
66
64
  itemProp?: string | undefined | undefined;
67
65
  itemScope?: boolean | undefined | undefined;
68
66
  itemType?: string | undefined | undefined;
@@ -289,8 +287,10 @@ declare const meta: {
289
287
  onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
290
288
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
291
289
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
292
- action?: import("./notice-type").NoticeAction | undefined;
290
+ key?: import("react").Key | null | undefined;
293
291
  variant?: (typeof variant)[number] | undefined;
292
+ motion?: (typeof motion)[number] | undefined;
293
+ action?: import("./notice-type").NoticeAction | undefined;
294
294
  ref?: import("react").LegacyRef<HTMLDivElement> | undefined;
295
295
  }>) => import("react/jsx-runtime").JSX.Element)[];
296
296
  };
@@ -38,17 +38,9 @@ declare const meta: {
38
38
  animated: true;
39
39
  };
40
40
  decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react-webpack5").ReactRenderer, {
41
- title?: string | undefined | undefined;
42
- children?: import("react").ReactNode;
43
41
  className?: string | undefined | undefined;
44
42
  style?: import("react").CSSProperties | undefined;
45
- key?: import("react").Key | null | undefined;
46
- color?: string | undefined | undefined;
47
- content?: string | undefined | undefined;
48
- height?: number | string | undefined;
49
- translate?: "yes" | "no" | undefined | undefined;
50
- width?: number | string | undefined;
51
- slot?: string | undefined | undefined;
43
+ children?: import("react").ReactNode;
52
44
  defaultChecked?: boolean | undefined | undefined;
53
45
  defaultValue?: string | number | readonly string[] | undefined;
54
46
  suppressContentEditableWarning?: boolean | undefined | undefined;
@@ -65,11 +57,15 @@ declare const meta: {
65
57
  id?: string | undefined | undefined;
66
58
  lang?: string | undefined | undefined;
67
59
  nonce?: string | undefined | undefined;
60
+ slot?: string | undefined | undefined;
68
61
  spellCheck?: (boolean | "true" | "false") | undefined;
69
62
  tabIndex?: number | undefined | undefined;
63
+ title?: string | undefined | undefined;
64
+ translate?: "yes" | "no" | undefined | undefined;
70
65
  radioGroup?: string | undefined | undefined;
71
66
  role?: import("react").AriaRole | undefined;
72
67
  about?: string | undefined | undefined;
68
+ content?: string | undefined | undefined;
73
69
  datatype?: string | undefined | undefined;
74
70
  inlist?: any;
75
71
  prefix?: string | undefined | undefined;
@@ -81,6 +77,7 @@ declare const meta: {
81
77
  vocab?: string | undefined | undefined;
82
78
  autoCorrect?: string | undefined | undefined;
83
79
  autoSave?: string | undefined | undefined;
80
+ color?: string | undefined | undefined;
84
81
  itemProp?: string | undefined | undefined;
85
82
  itemScope?: boolean | undefined | undefined;
86
83
  itemType?: string | undefined | undefined;
@@ -307,6 +304,9 @@ declare const meta: {
307
304
  onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLSpanElement> | undefined;
308
305
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
309
306
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
307
+ key?: import("react").Key | null | undefined;
308
+ height?: number | string | undefined;
309
+ width?: number | string | undefined;
310
310
  shape?: (typeof shapes)[number] | undefined;
311
311
  lines?: number | undefined;
312
312
  animated?: boolean | undefined;
@@ -1,3 +1,12 @@
1
+ export declare const variants: readonly ["plain", "padded"];
2
+ export declare const dataTableProps: {
3
+ variant: {
4
+ type: "className";
5
+ className: string;
6
+ values: readonly ["plain", "padded"];
7
+ default: "plain";
8
+ };
9
+ };
1
10
  export declare const dataTableHeaderProps: {
2
11
  headerHeight: {
3
12
  type: "css";
@@ -1,5 +1,6 @@
1
1
  import { ComponentPropsWithRef, ReactNode } from 'react';
2
2
  import { TrackProps } from '../logging/logging-type';
3
+ import { variants } from './table-props';
3
4
  export interface TableProps {
4
5
  children: React.ReactNode;
5
6
  }
@@ -17,6 +18,8 @@ export interface RowItem {
17
18
  id: string;
18
19
  value: ReactNode;
19
20
  onClickRow?: (id: RowItem['id']) => void;
21
+ /** 열 너비. 헤더 칸과 본문 셀에 같이 붙는다. 숫자는 px. */
22
+ width?: number | string;
20
23
  }
21
24
  type ColumnsType<T extends readonly RowItem[]> = Array<{
22
25
  [K in T[number]['id']]: {
@@ -27,6 +30,8 @@ type ColumnsType<T extends readonly RowItem[]> = Array<{
27
30
  export interface DataTableProps<T extends readonly RowItem[]> extends TrackProps {
28
31
  rows: T;
29
32
  columns: ColumnsType<T>;
33
+ /** `padded` 면 셀 여백·글자 기본값과 마지막 고정 열 경계선을 그린다. 기본 `plain` 은 셀 내용이 모양을 정한다. */
34
+ variant?: (typeof variants)[number];
30
35
  fixedRowsIndex?: number;
31
36
  headerHeight?: number;
32
37
  rowHeight?: number;
@@ -54,6 +54,27 @@ declare const rowItems: readonly [{
54
54
  readonly id: "15";
55
55
  readonly value: import("react/jsx-runtime").JSX.Element;
56
56
  }];
57
+ declare const paddedRows: readonly [{
58
+ readonly id: "id";
59
+ readonly value: "ID";
60
+ readonly width: 60;
61
+ }, {
62
+ readonly id: "name";
63
+ readonly value: "Name";
64
+ readonly width: 160;
65
+ }, {
66
+ readonly id: "email";
67
+ readonly value: "Email";
68
+ readonly width: 240;
69
+ }, {
70
+ readonly id: "address";
71
+ readonly value: "Address";
72
+ readonly width: 400;
73
+ }, {
74
+ readonly id: "status";
75
+ readonly value: "Status";
76
+ readonly width: 120;
77
+ }];
57
78
  export declare const Default: StoryObj<DataTableProps<typeof rowItems>>;
58
79
  declare const smallRows: readonly [{
59
80
  readonly id: "id";
@@ -70,4 +91,6 @@ export declare const Small: StoryObj<DataTableProps<typeof smallRows>>;
70
91
  export declare const Heights: StoryObj<DataTableProps<typeof smallRows>>;
71
92
  /** 행에 마우스를 올리면 배경이 바뀌고, 고정 열은 가로 스크롤에도 남는다. */
72
93
  export declare const FixedColumns: StoryObj<DataTableProps<typeof rowItems>>;
94
+ /** padded: 셀 여백·글자 기본값, 마지막 고정 열 경계선. 열 너비는 rows 의 width 로 준다. */
95
+ export declare const Padded: StoryObj<DataTableProps<typeof paddedRows>>;
73
96
  export declare const Empty: StoryObj<DataTableProps<typeof smallRows>>;
@@ -17,21 +17,8 @@ declare const meta: {
17
17
  variant: "default";
18
18
  };
19
19
  decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react-webpack5").ReactRenderer, {
20
- title: import("react").ReactNode;
21
- description?: import("react").ReactNode;
22
- open?: boolean | undefined;
23
- defaultOpen?: boolean | undefined;
24
- onOpenChange?: ((open: boolean) => void) | undefined;
25
20
  className?: string | undefined;
26
21
  style?: import("react").CSSProperties | undefined;
27
- track?: string | undefined;
28
- trackProps?: Record<string, string | number | boolean> | undefined;
29
- key?: import("react").Key | null | undefined;
30
- color?: string | undefined | undefined;
31
- content?: string | undefined | undefined;
32
- translate?: "yes" | "no" | undefined | undefined;
33
- slot?: string | undefined | undefined;
34
- value?: string | number | readonly string[] | undefined;
35
22
  defaultChecked?: boolean | undefined | undefined;
36
23
  defaultValue?: string | number | readonly string[] | undefined;
37
24
  suppressContentEditableWarning?: boolean | undefined | undefined;
@@ -48,11 +35,15 @@ declare const meta: {
48
35
  id?: string | undefined | undefined;
49
36
  lang?: string | undefined | undefined;
50
37
  nonce?: string | undefined | undefined;
38
+ slot?: string | undefined | undefined;
51
39
  spellCheck?: (boolean | "true" | "false") | undefined;
52
40
  tabIndex?: number | undefined | undefined;
41
+ title: import("react").ReactNode;
42
+ translate?: "yes" | "no" | undefined | undefined;
53
43
  radioGroup?: string | undefined | undefined;
54
44
  role?: import("react").AriaRole | undefined;
55
45
  about?: string | undefined | undefined;
46
+ content?: string | undefined | undefined;
56
47
  datatype?: string | undefined | undefined;
57
48
  inlist?: any;
58
49
  prefix?: string | undefined | undefined;
@@ -64,6 +55,7 @@ declare const meta: {
64
55
  vocab?: string | undefined | undefined;
65
56
  autoCorrect?: string | undefined | undefined;
66
57
  autoSave?: string | undefined | undefined;
58
+ color?: string | undefined | undefined;
67
59
  itemProp?: string | undefined | undefined;
68
60
  itemScope?: boolean | undefined | undefined;
69
61
  itemType?: string | undefined | undefined;
@@ -290,8 +282,16 @@ declare const meta: {
290
282
  onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLLIElement> | undefined;
291
283
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLLIElement> | undefined;
292
284
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLLIElement> | undefined;
293
- action?: import("./toast-type").ToastAction | undefined;
285
+ track?: string | undefined;
286
+ key?: import("react").Key | null | undefined;
287
+ value?: string | number | readonly string[] | undefined;
294
288
  variant?: (typeof variants)[number] | undefined;
289
+ trackProps?: Record<string, string | number | boolean> | undefined;
290
+ open?: boolean | undefined;
291
+ defaultOpen?: boolean | undefined;
292
+ onOpenChange?: ((open: boolean) => void) | undefined;
293
+ description?: import("react").ReactNode;
294
+ action?: import("./toast-type").ToastAction | undefined;
295
295
  onResume?: (() => void) | undefined;
296
296
  duration?: number | undefined;
297
297
  showClose?: boolean | undefined;
@@ -175,7 +175,8 @@
175
175
  /*
176
176
  * 공용 키프레임. 컴포넌트 CSS 는 @keyframes 를 두지 않고 이 이름을 쓴다(빌드 R18).
177
177
  * 시간·곡선은 쓰는 쪽 animation 에서 --motion-{토큰}-* 로 준다. 여기는 모양만 정한다.
178
- * 쓰는 쪽이 두는 입력 변수: --motion-slide-offset(transform 값), --motion-swipe-from, --motion-swipe-to.
178
+ * 쓰는 쪽이 두는 입력 변수: --motion-slide-offset(transform 값), --motion-swipe-from, --motion-swipe-to,
179
+ * --motion-content-height(펼친 높이. Radix 의 --radix-collapsible-content-height 등).
179
180
  */
180
181
 
181
182
  @keyframes motion-enter-fade {
@@ -349,6 +350,26 @@
349
350
  }
350
351
  }
351
352
 
353
+ @keyframes motion-enter-expand {
354
+ from {
355
+ height: 0;
356
+ overflow: hidden;
357
+ }
358
+ to {
359
+ height: var(--motion-content-height);
360
+ overflow: hidden;
361
+ }
362
+ }
363
+
364
+ @keyframes motion-exit-expand {
365
+ from {
366
+ height: var(--motion-content-height);
367
+ }
368
+ to {
369
+ height: 0;
370
+ }
371
+ }
372
+
352
373
  /* Component */
353
374
 
354
375
  .base-avatar {
@@ -953,11 +974,12 @@
953
974
  .cta-button.variant-neutral {
954
975
  background-color: var(--color-white);
955
976
  color: var(--color-purple-900);
977
+
978
+ /* 호버 때만 테두리를 그리면 그만큼 커져 덜컹거린다. 배경과 같은 색이라 보이지도 않아 테두리는 두지 않는다 */
956
979
  }
957
980
 
958
981
  .cta-button.variant-neutral:not(:disabled):hover {
959
982
  background-color: var(--color-grey-scale-100);
960
- border: var(--hairline) solid var(--color-grey-scale-100);
961
983
  color: var(--color-purple-900);
962
984
  }
963
985
 
@@ -1107,6 +1129,8 @@
1107
1129
  .base-callout::after {
1108
1130
  content: '';
1109
1131
  position: absolute;
1132
+ /* reset.css 가 가상 요소도 border-box 로 바꿔도 테두리가 정사각형 밖에 붙게 둔다 */
1133
+ box-sizing: content-box;
1110
1134
  width: var(--spacing-8);
1111
1135
  height: var(--spacing-8);
1112
1136
  border: 0 solid var(--color-purple-300);
@@ -1359,6 +1383,40 @@
1359
1383
  gap: var(--spacing-4);
1360
1384
  }
1361
1385
 
1386
+ /* reset.css 없이 components.css 만 가져온 앱에서도 글머리표·들여쓰기가 생기지 않게 한다. */
1387
+
1388
+ .collapsible-menu-list {
1389
+ display: flex;
1390
+ flex-direction: column;
1391
+ gap: var(--spacing-4);
1392
+ margin: 0;
1393
+ padding: 0;
1394
+ list-style: none;
1395
+ }
1396
+
1397
+ .collapsible-menu-list > li {
1398
+ margin: 0;
1399
+ padding: 0;
1400
+ }
1401
+
1402
+ .collapsible-menu-section {
1403
+ display: flex;
1404
+ flex-direction: column;
1405
+ gap: var(--spacing-4);
1406
+ }
1407
+
1408
+ .collapsible-menu-list + .collapsible-menu-section,.collapsible-menu-section + .collapsible-menu-section {
1409
+ margin-top: var(--spacing-12);
1410
+ }
1411
+
1412
+ .collapsible-menu-section-title {
1413
+ padding: 0 var(--spacing-12);
1414
+ font-size: var(--font-size-xsm);
1415
+ line-height: var(--line-height-xsm);
1416
+ font-weight: var(--font-weight-medium);
1417
+ color: var(--collapsible-menu-section-title-color, var(--color-grey-scale-500));
1418
+ }
1419
+
1362
1420
  .collapsible-menu.size-s .collapsible-menu-row {
1363
1421
  height: var(--menu-row-height-s);
1364
1422
  }
@@ -1430,6 +1488,28 @@
1430
1488
  gap: var(--spacing-2);
1431
1489
  margin-top: var(--spacing-2);
1432
1490
  margin-bottom: var(--spacing-4);
1491
+ /* 여닫는 높이. 여백은 이 상자 밖에 있어 Radix 가 잰 높이와 맞고, 열린 채로 둘 때는 overflow 를 숨기지 않는다. */
1492
+ --motion-content-height: var(--radix-collapsible-content-height);
1493
+ }
1494
+
1495
+ .collapsible-menu-content[data-state='open'] {
1496
+ animation: motion-enter-expand var(--motion-expand-duration) var(--motion-expand-ease);
1497
+ }
1498
+
1499
+ .collapsible-menu-content[data-state='closed'] {
1500
+ overflow: hidden;
1501
+ animation: motion-exit-expand var(--motion-expand-duration) var(--motion-expand-ease);
1502
+ }
1503
+
1504
+ .collapsible-menu-content .collapsible-menu-list {
1505
+ gap: var(--spacing-2);
1506
+ }
1507
+
1508
+ @media (prefers-reduced-motion: reduce) {
1509
+ .collapsible-menu-content[data-state='open'],
1510
+ .collapsible-menu-content[data-state='closed'] {
1511
+ animation: none;
1512
+ }
1433
1513
  }
1434
1514
 
1435
1515
  .base-description-list {
@@ -3934,6 +4014,32 @@ button.modal-with-double-button-close-button {
3934
4014
  border-bottom: var(--hairline) solid var(--color-grey-scale-200);
3935
4015
  }
3936
4016
 
4017
+ /*
4018
+ * variant-padded: 셀 여백·글자 기본값과 마지막 고정 열 경계선. plain 은 셀 내용이 모양을 정한다.
4019
+ * :where 로 특이도를 (0,2,0) 에 묶어 쓰는 쪽 CSS 가 같은 특이도로 덮어쓸 수 있게 한다.
4020
+ */
4021
+
4022
+ :where(.data-table.variant-padded) .data-table-header .cell {
4023
+ padding: var(--data-table-cell-padding, var(--spacing-8) var(--spacing-12));
4024
+ font-size: var(--font-size-sm);
4025
+ line-height: var(--line-height-sm);
4026
+ font-weight: var(--font-weight-semibold);
4027
+ color: var(--data-table-header-color, var(--color-grey-scale-500));
4028
+ }
4029
+
4030
+ :where(.data-table.variant-padded) .body .cell {
4031
+ padding: var(--data-table-cell-padding, var(--spacing-8) var(--spacing-12));
4032
+ font-size: var(--font-size-sm);
4033
+ line-height: var(--line-height-sm);
4034
+ color: var(--data-table-cell-color, var(--color-grey-scale-900));
4035
+ }
4036
+
4037
+ /* 마지막 고정 열의 경계선. border-collapse 표의 border 는 sticky 셀과 함께 움직이지 않아 그림자로 셀 안에 그린다 */
4038
+
4039
+ :where(.data-table.variant-padded) .fixed-last {
4040
+ box-shadow: inset calc(var(--hairline) * -1) 0 0 var(--color-grey-scale-200);
4041
+ }
4042
+
3937
4043
  .data-table-row {
3938
4044
  position: relative;
3939
4045
  border-bottom: var(--hairline) solid var(--color-grey-scale-200);
@@ -108,6 +108,15 @@ var table_props_assign = undefined && undefined.__assign || function () {
108
108
  return table_props_assign.apply(this, arguments);
109
109
  };
110
110
  var dataTableCommonProps = {};
111
+ var variants = ['plain', 'padded'];
112
+ var dataTableProps = {
113
+ variant: {
114
+ type: 'className',
115
+ className: 'variant',
116
+ values: variants,
117
+ "default": 'plain'
118
+ }
119
+ };
111
120
  var dataTableHeaderProps = table_props_assign(table_props_assign({}, dataTableCommonProps), {
112
121
  headerHeight: {
113
122
  type: 'css',
@@ -129,6 +138,16 @@ var dataTableCellProps = table_props_assign(table_props_assign({}, dataTableComm
129
138
  }
130
139
  });
131
140
  ;// ./components/table/data-table.tsx
141
+ var data_table_assign = undefined && undefined.__assign || function () {
142
+ data_table_assign = Object.assign || function (t) {
143
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
144
+ s = arguments[i];
145
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
146
+ }
147
+ return t;
148
+ };
149
+ return data_table_assign.apply(this, arguments);
150
+ };
132
151
 
133
152
 
134
153
 
@@ -141,16 +160,27 @@ var DataTableBase = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs
141
160
  columns = props.columns,
142
161
  _a = props.fixedRowsIndex,
143
162
  fixedRowsIndex = _a === void 0 ? 0 : _a,
144
- className = props.className,
145
163
  track = props.track,
146
164
  trackProps = props.trackProps;
147
165
  var emit = (0,useTrack/* useTrack */.n)('DataTable', {
148
166
  track: track,
149
167
  trackProps: trackProps
150
168
  });
169
+ var className = (0,getMergedProps/* getMergedProps */.p)(props, dataTableProps).className;
151
170
  var headerStyle = (0,getMergedProps/* getMergedProps */.p)(props, dataTableHeaderProps).style;
152
171
  var rowStyle = (0,getMergedProps/* getMergedProps */.p)(props, dataTableRowProps).style;
153
172
  var cellStyle = (0,getMergedProps/* getMergedProps */.p)(props, dataTableCellProps).style;
173
+ var widthStyle = function widthStyle(item) {
174
+ return item.width == null ? undefined : {
175
+ width: item.width
176
+ };
177
+ };
178
+ var bodyCellStyle = function bodyCellStyle(item) {
179
+ return data_table_assign(data_table_assign({}, cellStyle), widthStyle(item));
180
+ };
181
+ var fixedClassName = function fixedClassName(index) {
182
+ return (0,classNames/* classNames */.x)(index < fixedRowsIndex && 'fixed', index === fixedRowsIndex - 1 && 'fixed-last');
183
+ };
154
184
  return (0,jsx_runtime_.jsxs)(base_table, {
155
185
  ref: ref,
156
186
  className: (0,classNames/* classNames */.x)('data-table', className),
@@ -175,7 +205,8 @@ var DataTableBase = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs
175
205
  el.style.left = leftPosition + 'px';
176
206
  }
177
207
  },
178
- className: (0,classNames/* classNames */.x)(index < fixedRowsIndex && 'fixed'),
208
+ className: fixedClassName(index),
209
+ style: widthStyle(item),
179
210
  onClick: function onClick() {
180
211
  if (!item.onClickRow) return;
181
212
  emit('click', item.id);
@@ -209,13 +240,13 @@ var DataTableBase = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs
209
240
  el.style.left = leftPosition + 'px';
210
241
  }
211
242
  },
212
- className: (0,classNames/* classNames */.x)(i < fixedRowsIndex && 'fixed'),
243
+ className: fixedClassName(i),
213
244
  "data-id": item.id,
214
245
  onClick: function onClick() {
215
246
  var _a;
216
247
  return (_a = cellData === null || cellData === void 0 ? void 0 : cellData.onClickCell) === null || _a === void 0 ? void 0 : _a.call(cellData);
217
248
  },
218
- style: cellStyle,
249
+ style: bodyCellStyle(item),
219
250
  children: typeof cellValue === 'function' ? cellValue(item) : cellValue
220
251
  }, "".concat(columnKey, "__").concat(item.id));
221
252
  })