@osdk/react-components 0.2.0-beta.1 → 0.2.0-beta.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.
Files changed (44) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +21 -5
  3. package/build/browser/base-components/checkbox/Checkbox.js +27 -32
  4. package/build/browser/base-components/checkbox/Checkbox.module.css +79 -0
  5. package/build/browser/base-components/checkbox/Checkbox.module.css.js +7 -0
  6. package/build/browser/object-table/CellContextMenu.js +23 -20
  7. package/build/browser/object-table/CellContextMenu.module.css +20 -0
  8. package/build/browser/object-table/CellContextMenu.module.css.js +6 -0
  9. package/build/browser/object-table/LoadingCell.js +24 -29
  10. package/build/browser/object-table/LoadingCell.module.css +48 -0
  11. package/build/browser/object-table/LoadingCell.module.css.js +8 -0
  12. package/build/browser/object-table/LoadingRow.js +24 -50
  13. package/build/browser/object-table/LoadingStateTable.js +46 -340
  14. package/build/browser/object-table/NonIdealState.js +23 -20
  15. package/build/browser/object-table/NonIdealState.module.css +28 -0
  16. package/build/browser/object-table/NonIdealState.module.css.js +7 -0
  17. package/build/browser/object-table/Table.js +51 -933
  18. package/build/browser/object-table/Table.js.map +1 -1
  19. package/build/browser/object-table/Table.module.css +22 -0
  20. package/build/browser/object-table/Table.module.css.js +6 -0
  21. package/build/browser/object-table/TableBody.js +36 -260
  22. package/build/browser/object-table/TableBody.module.css +20 -0
  23. package/build/browser/object-table/TableBody.module.css.js +6 -0
  24. package/build/browser/object-table/TableCell.js +31 -111
  25. package/build/browser/object-table/TableCell.module.css +62 -0
  26. package/build/browser/object-table/TableCell.module.css.js +7 -0
  27. package/build/browser/object-table/TableHeader.js +38 -215
  28. package/build/browser/object-table/TableHeader.module.css +101 -0
  29. package/build/browser/object-table/TableHeader.module.css.js +10 -0
  30. package/build/browser/object-table/TableHeaderContent.js +21 -18
  31. package/build/browser/object-table/TableHeaderContent.module.css +30 -0
  32. package/build/browser/object-table/TableHeaderContent.module.css.js +6 -0
  33. package/build/browser/object-table/TableHeaderWithPopover.js +66 -80
  34. package/build/browser/object-table/TableHeaderWithPopover.module.css +110 -0
  35. package/build/browser/object-table/TableHeaderWithPopover.module.css.js +15 -0
  36. package/build/browser/object-table/TableRow.js +26 -144
  37. package/build/browser/object-table/TableRow.module.css +60 -0
  38. package/build/browser/object-table/TableRow.module.css.js +6 -0
  39. package/build/browser/styles.css +615 -0
  40. package/build/cjs/public/experimental.cjs +5 -5
  41. package/build/cjs/public/experimental.cjs.map +1 -1
  42. package/build/esm/object-table/Table.js +5 -5
  43. package/build/esm/object-table/Table.js.map +1 -1
  44. package/package.json +9 -6
@@ -0,0 +1,615 @@
1
+ /* @osdk/react-components - Combined styles */
2
+
3
+ /* base-components/checkbox/Checkbox.module.css */
4
+ /*
5
+ * Copyright 2025 Palantir Technologies, Inc. All rights reserved.
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */
19
+
20
+ .Checkbox-module__osdkCheckboxRoot___puTtZ6zA {
21
+ display: flex;
22
+ align-items: center;
23
+ justify-content: center;
24
+ min-width: calc(
25
+ var(--osdk-checkbox-icon-size) + var(--osdk-checkbox-padding) * 2
26
+ );
27
+ min-height: calc(
28
+ var(--osdk-checkbox-icon-size) + var(--osdk-checkbox-padding) * 2
29
+ );
30
+ padding: var(--osdk-checkbox-padding);
31
+ box-sizing: border-box;
32
+ cursor: pointer;
33
+ border-radius: var(--osdk-surface-border-radius);
34
+ border: var(--osdk-checkbox-border);
35
+
36
+ &[data-unchecked] {
37
+ background-color: var(--osdk-checkbox-bg);
38
+
39
+ &:hover {
40
+ background-color: var(--osdk-checkbox-bg-hover);
41
+ }
42
+
43
+ &:active {
44
+ background-color: var(--osdk-checkbox-bg-active);
45
+ }
46
+ }
47
+
48
+ &[data-checked],
49
+ &[data-indeterminate] {
50
+ background-color: var(--osdk-checkbox-bg-checked);
51
+
52
+ &:hover {
53
+ background-color: var(--osdk-checkbox-bg-checked-hover);
54
+ }
55
+
56
+ &:active {
57
+ background-color: var(--osdk-checkbox-bg-checked-active);
58
+ }
59
+ }
60
+
61
+ &:focus {
62
+ outline: none;
63
+ }
64
+
65
+ &:focus-visible {
66
+ outline: var(--osdk-focus-visible-outline);
67
+ outline-offset: calc(-1 * var(--osdk-focus-visible-outline-offset));
68
+ }
69
+ }
70
+
71
+ .Checkbox-module__osdkCheckboxIndicator___WOhQM8rb {
72
+ display: flex;
73
+ justify-content: center;
74
+ align-items: center;
75
+ color: var(--osdk-checkbox-checked-foreground);
76
+ width: var(--osdk-checkbox-icon-size);
77
+ height: var(--osdk-checkbox-icon-size);
78
+
79
+ &[data-unchecked] {
80
+ display: none;
81
+ }
82
+ }
83
+
84
+
85
+ /* object-table/CellContextMenu.module.css */
86
+ /*
87
+ * Copyright 2025 Palantir Technologies, Inc. All rights reserved.
88
+ *
89
+ * Licensed under the Apache License, Version 2.0 (the "License");
90
+ * you may not use this file except in compliance with the License.
91
+ * You may obtain a copy of the License at
92
+ *
93
+ * http://www.apache.org/licenses/LICENSE-2.0
94
+ *
95
+ * Unless required by applicable law or agreed to in writing, software
96
+ * distributed under the License is distributed on an "AS IS" BASIS,
97
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
98
+ * See the License for the specific language governing permissions and
99
+ * limitations under the License.
100
+ */
101
+
102
+ .CellContextMenu-module__osdkCellContextMenu___lZrHhShI {
103
+ position: fixed;
104
+ z-index: var(--osdk-surface-z-index-2);
105
+ }
106
+
107
+
108
+ /* object-table/LoadingCell.module.css */
109
+ /*
110
+ * Copyright 2025 Palantir Technologies, Inc. All rights reserved.
111
+ *
112
+ * Licensed under the Apache License, Version 2.0 (the "License");
113
+ * you may not use this file except in compliance with the License.
114
+ * You may obtain a copy of the License at
115
+ *
116
+ * http://www.apache.org/licenses/LICENSE-2.0
117
+ *
118
+ * Unless required by applicable law or agreed to in writing, software
119
+ * distributed under the License is distributed on an "AS IS" BASIS,
120
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
121
+ * See the License for the specific language governing permissions and
122
+ * limitations under the License.
123
+ */
124
+
125
+ .LoadingCell-module__osdkLoadingCell___XLlRWu8h {
126
+ height: var(--osdk-table-cell-fontSize);
127
+ border-radius: calc(var(--osdk-surface-border-radius) * 0.5);
128
+ flex: 1;
129
+ }
130
+
131
+ /* Blueprint skeleton animation keyframes */
132
+ @keyframes LoadingCell-module__skeleton-glow___pznGbRk6 {
133
+ from {
134
+ background: var(--osdk-table-skeleton-color-from);
135
+ border-color: var(--osdk-table-skeleton-color-from);
136
+ }
137
+
138
+ to {
139
+ background: var(--osdk-table-skeleton-color-to);
140
+ border-color: var(--osdk-table-skeleton-color-to);
141
+ }
142
+ }
143
+
144
+ .LoadingCell-module__osdkCellSkeleton___LJKGtJS1 {
145
+ animation: 1000ms linear infinite alternate LoadingCell-module__skeleton-glow___pznGbRk6;
146
+ background: var(--osdk-table-skeleton-color-from);
147
+ background-clip: padding-box;
148
+ border-color: var(--osdk-table-skeleton-color-from);
149
+ border-radius: calc(var(--osdk-surface-border-radius) * 0.5);
150
+ border: 1px solid var(--osdk-table-skeleton-border-color);
151
+ box-shadow: none;
152
+ color: transparent;
153
+ cursor: default;
154
+ pointer-events: none;
155
+ user-select: none;
156
+ }
157
+
158
+
159
+ /* object-table/NonIdealState.module.css */
160
+ /*
161
+ * Copyright 2025 Palantir Technologies, Inc. All rights reserved.
162
+ *
163
+ * Licensed under the Apache License, Version 2.0 (the "License");
164
+ * you may not use this file except in compliance with the License.
165
+ * You may obtain a copy of the License at
166
+ *
167
+ * http://www.apache.org/licenses/LICENSE-2.0
168
+ *
169
+ * Unless required by applicable law or agreed to in writing, software
170
+ * distributed under the License is distributed on an "AS IS" BASIS,
171
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
172
+ * See the License for the specific language governing permissions and
173
+ * limitations under the License.
174
+ */
175
+
176
+ .NonIdealState-module__container___43YWBKdO {
177
+ display: flex;
178
+ align-items: center;
179
+ justify-content: center;
180
+ width: 100%;
181
+ height: 100%;
182
+ min-height: 80px;
183
+ }
184
+
185
+ .NonIdealState-module__message___6OFyA4q- {
186
+ color: var(--osdk-typography-color-muted);
187
+ }
188
+
189
+
190
+ /* object-table/Table.module.css */
191
+ /*
192
+ * Copyright 2025 Palantir Technologies, Inc. All rights reserved.
193
+ *
194
+ * Licensed under the Apache License, Version 2.0 (the "License");
195
+ * you may not use this file except in compliance with the License.
196
+ * You may obtain a copy of the License at
197
+ *
198
+ * http://www.apache.org/licenses/LICENSE-2.0
199
+ *
200
+ * Unless required by applicable law or agreed to in writing, software
201
+ * distributed under the License is distributed on an "AS IS" BASIS,
202
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
203
+ * See the License for the specific language governing permissions and
204
+ * limitations under the License.
205
+ */
206
+
207
+ .Table-module__osdkTableContainer___QBj68RD- {
208
+ position: relative; /* needed for sticky header */
209
+ height: 100%;
210
+ width: 100%;
211
+ overflow: auto;
212
+ }
213
+
214
+
215
+ /* object-table/TableBody.module.css */
216
+ /*
217
+ * Copyright 2025 Palantir Technologies, Inc. All rights reserved.
218
+ *
219
+ * Licensed under the Apache License, Version 2.0 (the "License");
220
+ * you may not use this file except in compliance with the License.
221
+ * You may obtain a copy of the License at
222
+ *
223
+ * http://www.apache.org/licenses/LICENSE-2.0
224
+ *
225
+ * Unless required by applicable law or agreed to in writing, software
226
+ * distributed under the License is distributed on an "AS IS" BASIS,
227
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
228
+ * See the License for the specific language governing permissions and
229
+ * limitations under the License.
230
+ */
231
+
232
+ .TableBody-module__osdkTableBody___YC9dMzce {
233
+ display: grid;
234
+ position: relative;
235
+ }
236
+
237
+
238
+ /* object-table/TableCell.module.css */
239
+ /*
240
+ * Copyright 2025 Palantir Technologies, Inc. All rights reserved.
241
+ *
242
+ * Licensed under the Apache License, Version 2.0 (the "License");
243
+ * you may not use this file except in compliance with the License.
244
+ * You may obtain a copy of the License at
245
+ *
246
+ * http://www.apache.org/licenses/LICENSE-2.0
247
+ *
248
+ * Unless required by applicable law or agreed to in writing, software
249
+ * distributed under the License is distributed on an "AS IS" BASIS,
250
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
251
+ * See the License for the specific language governing permissions and
252
+ * limitations under the License.
253
+ */
254
+
255
+ .TableCell-module__osdkTableCell___gVl6jToJ {
256
+ display: flex;
257
+ align-items: center;
258
+ text-align: left;
259
+ position: relative;
260
+ padding: var(--osdk-table-cell-padding);
261
+ font-size: var(--osdk-table-cell-fontSize);
262
+ color: var(--osdk-table-cell-color);
263
+ background-color: inherit;
264
+ border-right: var(--osdk-table-cell-divider);
265
+
266
+ &:first-child {
267
+ border-left: var(--osdk-table-border);
268
+ }
269
+
270
+ &:last-child {
271
+ border-right: var(--osdk-table-border);
272
+ }
273
+ }
274
+
275
+ .TableCell-module__osdkTableCell___gVl6jToJ[data-pinned="left"],
276
+ .TableCell-module__osdkTableCell___gVl6jToJ[data-pinned="right"] {
277
+ position: sticky;
278
+ z-index: var(--osdk-surface-z-index-1);
279
+ }
280
+
281
+ /* Last left-pinned column - no left-pinned siblings after it */
282
+ .TableCell-module__osdkTableCell___gVl6jToJ[data-pinned="left"]:not(:has(~ [data-pinned="left"])) {
283
+ border-right: var(--osdk-table-pinned-column-border);
284
+ }
285
+
286
+ /* First right-pinned column - no right-pinned siblings before it */
287
+ .TableCell-module__osdkTableCell___gVl6jToJ[data-pinned="right"]:not(:has(~ [data-pinned="right"]):nth-child(n+2)) {
288
+ border-left: var(--osdk-table-pinned-column-border);
289
+ }
290
+
291
+ .TableCell-module__osdkTableCell___gVl6jToJ:has([role="checkbox"]) {
292
+ justify-content: center;
293
+ }
294
+
295
+ .TableCell-module__osdkTableCellContent___tcj6DRaU:not(:has([role="checkbox"])) {
296
+ overflow: hidden;
297
+ text-overflow: ellipsis;
298
+ white-space: nowrap;
299
+ text-align: left;
300
+ }
301
+
302
+
303
+ /* object-table/TableHeader.module.css */
304
+ /*
305
+ * Copyright 2025 Palantir Technologies, Inc. All rights reserved.
306
+ *
307
+ * Licensed under the Apache License, Version 2.0 (the "License");
308
+ * you may not use this file except in compliance with the License.
309
+ * You may obtain a copy of the License at
310
+ *
311
+ * http://www.apache.org/licenses/LICENSE-2.0
312
+ *
313
+ * Unless required by applicable law or agreed to in writing, software
314
+ * distributed under the License is distributed on an "AS IS" BASIS,
315
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
316
+ * See the License for the specific language governing permissions and
317
+ * limitations under the License.
318
+ */
319
+
320
+ .TableHeader-module__osdkTableHeader___4Wzqkog9 {
321
+ display: grid;
322
+ position: sticky;
323
+ top: 0;
324
+ z-index: var(--osdk-surface-z-index-1);
325
+ background-color: var(--osdk-table-header-bg);
326
+ }
327
+
328
+ .TableHeader-module__osdkTableHeader___4Wzqkog9[data-resizing="true"] {
329
+ cursor: col-resize;
330
+ user-select: none;
331
+ }
332
+
333
+ .TableHeader-module__osdkTableHeaderRow___lUjQpm91 {
334
+ display: flex;
335
+ }
336
+
337
+ .TableHeader-module__osdkTableHeaderCell___iS9lGU8Z {
338
+ display: flex;
339
+ align-items: center;
340
+ text-align: left;
341
+ position: relative;
342
+ padding: var(--osdk-table-cell-padding);
343
+ font-weight: var(--osdk-table-header-fontWeight);
344
+ font-size: var(--osdk-table-header-fontSize);
345
+ color: var(--osdk-table-header-color);
346
+ border-top: var(--osdk-table-border);
347
+ border-right: var(--osdk-table-header-divider);
348
+ background-color: inherit;
349
+
350
+ &:first-child {
351
+ border-left: var(--osdk-table-border);
352
+ }
353
+
354
+ &:last-child {
355
+ border-right: var(--osdk-table-border);
356
+ }
357
+ }
358
+
359
+ .TableHeader-module__osdkTableHeaderCell___iS9lGU8Z[data-pinned="left"],
360
+ .TableHeader-module__osdkTableHeaderCell___iS9lGU8Z[data-pinned="right"] {
361
+ position: sticky;
362
+ z-index: var(--osdk-surface-z-index-2);
363
+ }
364
+
365
+ /* Last left-pinned column - no left-pinned siblings after it */
366
+ .TableHeader-module__osdkTableHeaderCell___iS9lGU8Z[data-pinned="left"]:not(:has(~ [data-pinned="left"])) {
367
+ border-right: var(--osdk-table-pinned-column-border);
368
+ }
369
+
370
+ /* First right-pinned column - no right-pinned siblings before it */
371
+ .TableHeader-module__osdkTableHeaderCell___iS9lGU8Z[data-pinned="right"]:not(
372
+ :has(~ [data-pinned="right"]):nth-child(n + 2)
373
+ ) {
374
+ border-left: var(--osdk-table-pinned-column-border);
375
+ }
376
+
377
+ .TableHeader-module__osdkTableHeaderCell___iS9lGU8Z:has([role="checkbox"]) {
378
+ justify-content: center;
379
+ }
380
+
381
+ .TableHeader-module__osdkTableHeaderResizer___qpjGLncF {
382
+ background: none;
383
+ cursor: col-resize;
384
+ height: 100%;
385
+ position: absolute;
386
+ right: calc(-1 * var(--osdk-table-border-width));
387
+ top: 0;
388
+ touch-action: none;
389
+ width: 3px;
390
+ z-index: var(--osdk-surface-z-index-2);
391
+
392
+ &:hover {
393
+ background: var(--osdk-intent-primary-hover);
394
+ }
395
+
396
+ &:active {
397
+ background: var(--osdk-intent-primary-active);
398
+ }
399
+ }
400
+
401
+ .TableHeader-module__osdkLoadingHeaderCell___gohWQuYX {
402
+ height: var(--osdk-table-header-fontSize);
403
+ flex: 1;
404
+ }
405
+
406
+
407
+ /* object-table/TableHeaderContent.module.css */
408
+ /*
409
+ * Copyright 2025 Palantir Technologies, Inc. All rights reserved.
410
+ *
411
+ * Licensed under the Apache License, Version 2.0 (the "License");
412
+ * you may not use this file except in compliance with the License.
413
+ * You may obtain a copy of the License at
414
+ *
415
+ * http://www.apache.org/licenses/LICENSE-2.0
416
+ *
417
+ * Unless required by applicable law or agreed to in writing, software
418
+ * distributed under the License is distributed on an "AS IS" BASIS,
419
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
420
+ * See the License for the specific language governing permissions and
421
+ * limitations under the License.
422
+ */
423
+
424
+ .TableHeaderContent-module__osdkHeaderContent___UQM9R9VU {
425
+ display: -webkit-box;
426
+ -webkit-box-orient: vertical;
427
+ -webkit-line-clamp: 2;
428
+ line-clamp: 2;
429
+ text-align: left;
430
+ overflow: hidden;
431
+ text-overflow: ellipsis;
432
+ }
433
+
434
+ .TableHeaderContent-module__osdkHeaderContent___UQM9R9VU:has([role="checkbox"]) {
435
+ display: flex;
436
+ justify-content: center;
437
+ }
438
+
439
+
440
+ /* object-table/TableHeaderWithPopover.module.css */
441
+ /*
442
+ * Copyright 2025 Palantir Technologies, Inc. All rights reserved.
443
+ *
444
+ * Licensed under the Apache License, Version 2.0 (the "License");
445
+ * you may not use this file except in compliance with the License.
446
+ * You may obtain a copy of the License at
447
+ *
448
+ * http://www.apache.org/licenses/LICENSE-2.0
449
+ *
450
+ * Unless required by applicable law or agreed to in writing, software
451
+ * distributed under the License is distributed on an "AS IS" BASIS,
452
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
453
+ * See the License for the specific language governing permissions and
454
+ * limitations under the License.
455
+ */
456
+
457
+ .TableHeaderWithPopover-module__osdkCenterContainer___7EQ0efaV {
458
+ display: flex;
459
+ align-items: center;
460
+ justify-content: center;
461
+ }
462
+
463
+ .TableHeaderWithPopover-module__osdkContentGap___ydRnh6Gk {
464
+ display: flex;
465
+ gap: var(--osdk-surface-spacing);
466
+ }
467
+
468
+ .TableHeaderWithPopover-module__osdkHeaderContainer___Yp1FKb-z {
469
+ justify-content: space-between;
470
+ flex: 1;
471
+ min-width: 0;
472
+ align-self: stretch;
473
+ }
474
+
475
+ .TableHeaderWithPopover-module__osdkHeaderContentLeft___PpdFKG5D {
476
+ min-width: 0;
477
+ flex-shrink: 1;
478
+ }
479
+
480
+ .TableHeaderWithPopover-module__osdkHeaderContentRight___-cSZMBVb {
481
+ flex-shrink: 0;
482
+ }
483
+
484
+ .TableHeaderWithPopover-module__osdkHeaderPopoverTrigger___Y5Q22NIE {
485
+ padding: 0;
486
+ flex-shrink: 0;
487
+ flex-grow: 0;
488
+ border: var(--osdk-surface-border-width) solid
489
+ var(--osdk-surface-border-color-default);
490
+ border-radius: var(--osdk-surface-border-radius);
491
+ color: var(--osdk-intent-default-foreground);
492
+ user-select: none;
493
+ outline: none;
494
+
495
+ &:hover {
496
+ background-color: var(--osdk-intent-default-hover);
497
+ }
498
+
499
+ &[data-popup-open] {
500
+ background-color: var(--osdk-intent-primary-rest);
501
+ }
502
+
503
+ &:focus-visible {
504
+ outline: var(--osdk-focus-visible-outline);
505
+ outline-offset: var(--osdk-focus-visible-outline-offset);
506
+ }
507
+ }
508
+
509
+ .TableHeaderWithPopover-module__osdkHeaderIcon___lgyu9GmV {
510
+ width: var(--osdk-iconography-size-small);
511
+ height: var(--osdk-iconography-size-small);
512
+ }
513
+
514
+ .TableHeaderWithPopover-module__osdkHeaderPopup___TMO39wLW {
515
+ box-sizing: border-box;
516
+ padding: var(--osdk-surface-spacing);
517
+ border-radius: var(--osdk-surface-border-radius);
518
+ border: var(--osdk-surface-border-width) solid
519
+ var(--osdk-surface-border-color-default);
520
+ background-color: var(--osdk-surface-background-color-default);
521
+ color: var(--osdk-typography-color-default-rest);
522
+ box-shadow: var(--osdk-surface-shadow-2);
523
+ font-size: var(--osdk-typography-size-body-medium);
524
+ outline: none;
525
+ }
526
+
527
+ .TableHeaderWithPopover-module__osdkHeaderMenuItem___f-D5iGwi {
528
+ justify-content: flex-start;
529
+ padding: var(--osdk-surface-spacing);
530
+ cursor: pointer;
531
+ }
532
+
533
+ .TableHeaderWithPopover-module__osdkHeaderMenuItem___f-D5iGwi:hover {
534
+ outline: none;
535
+ background-color: var(--osdk-surface-background-color-default-hover);
536
+ border-radius: var(--osdk-surface-border-radius);
537
+ }
538
+
539
+ .TableHeaderWithPopover-module__osdkHeaderActiveMenuItem___K007KHkr {
540
+ background-color: var(--osdk-intent-primary-rest);
541
+ color: var(--osdk-intent-primary-foreground);
542
+ }
543
+
544
+ .TableHeaderWithPopover-module__osdkHeaderActiveMenuItem___K007KHkr:hover {
545
+ background-color: var(--osdk-intent-primary-hover);
546
+ }
547
+
548
+ .TableHeaderWithPopover-module__osdkHeaderActiveMenuItem___K007KHkr:active {
549
+ background-color: var(--osdk-intent-primary-active);
550
+ }
551
+
552
+
553
+ /* object-table/TableRow.module.css */
554
+ /*
555
+ * Copyright 2025 Palantir Technologies, Inc. All rights reserved.
556
+ *
557
+ * Licensed under the Apache License, Version 2.0 (the "License");
558
+ * you may not use this file except in compliance with the License.
559
+ * You may obtain a copy of the License at
560
+ *
561
+ * http://www.apache.org/licenses/LICENSE-2.0
562
+ *
563
+ * Unless required by applicable law or agreed to in writing, software
564
+ * distributed under the License is distributed on an "AS IS" BASIS,
565
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
566
+ * See the License for the specific language governing permissions and
567
+ * limitations under the License.
568
+ */
569
+
570
+ .TableRow-module__osdkTableRow___sjVwZnzA {
571
+ position: absolute;
572
+ display: flex;
573
+ background-color: var(--osdk-table-row-bg-default);
574
+ border-top: var(--osdk-table-row-divider);
575
+ border-bottom: var(--osdk-table-border-width) solid transparent;
576
+
577
+ &:last-child {
578
+ border-bottom: var(--osdk-table-border);
579
+ }
580
+
581
+ /* Zebra rows */
582
+ &:nth-child(even) {
583
+ background-color: var(
584
+ --osdk-table-row-bg-alternate,
585
+ var(--osdk-table-row-bg-default)
586
+ );
587
+ }
588
+
589
+ &:hover {
590
+ z-index: 1;
591
+ background-color: var(
592
+ --osdk-table-row-bg-hover,
593
+ var(--osdk-surface-background-color-default-hover)
594
+ );
595
+ border-top-color: var(--osdk-table-row-border-color-hover);
596
+ border-bottom-color: var(--osdk-table-row-border-color-hover);
597
+ }
598
+
599
+ &[data-selected="true"] {
600
+ z-index: 2;
601
+ background-color: var(--osdk-table-row-bg-active);
602
+ border-top-color: var(--osdk-table-row-border-color-active);
603
+ border-bottom-color: var(--osdk-table-row-border-color-active);
604
+ }
605
+
606
+ &[data-selected="true"] + &[data-selected="true"] {
607
+ border-top-color: transparent;
608
+ }
609
+
610
+ &[data-selected="true"]:has(+ &[data-selected="true"]) {
611
+ border-bottom-color: transparent;
612
+ }
613
+ }
614
+
615
+
@@ -1057,9 +1057,7 @@ function BaseTable({
1057
1057
  tableContainerRef
1058
1058
  }) : /* @__PURE__ */ React7__default.default.createElement(React7__default.default.Fragment, null, /* @__PURE__ */ React7__default.default.createElement(TableHeader, {
1059
1059
  table
1060
- }), !hasData && error == null ? /* @__PURE__ */ React7__default.default.createElement(NonIdealState, {
1061
- message: "No Data"
1062
- }) : /* @__PURE__ */ React7__default.default.createElement(TableBody, {
1060
+ }), /* @__PURE__ */ React7__default.default.createElement(TableBody, {
1063
1061
  rows,
1064
1062
  tableContainerRef,
1065
1063
  onRowClick,
@@ -1067,9 +1065,11 @@ function BaseTable({
1067
1065
  renderCellContextMenu,
1068
1066
  isLoadingMore,
1069
1067
  headerGroups
1070
- })), error != null && /* @__PURE__ */ React7__default.default.createElement(NonIdealState, {
1068
+ }))), !hasData && error == null && /* @__PURE__ */ React7__default.default.createElement(NonIdealState, {
1069
+ message: "No Data"
1070
+ }), error != null && /* @__PURE__ */ React7__default.default.createElement(NonIdealState, {
1071
1071
  message: `Error Loading Data: ${error.message}`
1072
- })));
1072
+ }));
1073
1073
  }
1074
1074
 
1075
1075
  // src/object-table/ObjectTable.tsx