@osdk/react-components 0.1.0-beta.6 → 0.1.0

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 (121) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/README.md +2 -5
  3. package/build/browser/base-components/checkbox/Checkbox.js +32 -27
  4. package/build/browser/object-table/CellContextMenu.js +20 -23
  5. package/build/browser/object-table/LoadingCell.js +38 -0
  6. package/build/browser/object-table/LoadingCell.js.map +1 -0
  7. package/build/browser/object-table/LoadingRow.js +69 -0
  8. package/build/browser/object-table/LoadingRow.js.map +1 -0
  9. package/build/browser/object-table/LoadingStateTable.js +395 -0
  10. package/build/browser/object-table/LoadingStateTable.js.map +1 -0
  11. package/build/browser/object-table/NonIdealState.js +25 -0
  12. package/build/browser/object-table/NonIdealState.js.map +1 -0
  13. package/build/browser/object-table/ObjectTable.js +6 -5
  14. package/build/browser/object-table/ObjectTable.js.map +1 -1
  15. package/build/browser/object-table/ObjectTableApi.js.map +1 -1
  16. package/build/browser/object-table/Table.js +948 -45
  17. package/build/browser/object-table/Table.js.map +1 -1
  18. package/build/browser/object-table/TableBody.js +269 -34
  19. package/build/browser/object-table/TableBody.js.map +1 -1
  20. package/build/browser/object-table/TableCell.js +111 -31
  21. package/build/browser/object-table/TableCell.js.map +1 -1
  22. package/build/browser/object-table/TableHeader.js +215 -38
  23. package/build/browser/object-table/TableHeaderContent.js +18 -21
  24. package/build/browser/object-table/TableHeaderContent.js.map +1 -1
  25. package/build/browser/object-table/TableHeaderWithPopover.js +80 -66
  26. package/build/browser/object-table/TableRow.js +144 -26
  27. package/build/browser/object-table/hooks/__tests__/useObjectTableData.test.js +18 -20
  28. package/build/browser/object-table/hooks/__tests__/useObjectTableData.test.js.map +1 -1
  29. package/build/browser/object-table/hooks/useColumnDefs.js +6 -2
  30. package/build/browser/object-table/hooks/useColumnDefs.js.map +1 -1
  31. package/build/browser/object-table/hooks/useColumnPinning.js.map +1 -1
  32. package/build/browser/object-table/hooks/useColumnVisibility.js.map +1 -1
  33. package/build/browser/object-table/hooks/useObjectTableData.js +7 -6
  34. package/build/browser/object-table/hooks/useObjectTableData.js.map +1 -1
  35. package/build/browser/object-table/hooks/useRowSelection.js.map +1 -1
  36. package/build/browser/object-table/hooks/useSelectionColumn.js.map +1 -1
  37. package/build/browser/object-table/hooks/useTableSorting.js.map +1 -1
  38. package/build/browser/object-table/utils/getRowId.js.map +1 -1
  39. package/build/cjs/public/experimental.cjs +435 -264
  40. package/build/cjs/public/experimental.cjs.map +1 -1
  41. package/build/cjs/public/experimental.css +114 -56
  42. package/build/cjs/public/experimental.css.map +1 -1
  43. package/build/cjs/public/experimental.d.cts +8 -11
  44. package/build/esm/base-components/checkbox/Checkbox.module.css +10 -3
  45. package/build/esm/object-table/CellContextMenu.module.css +1 -1
  46. package/build/{browser/object-table/CellContextMenu.module.css → esm/object-table/LoadingCell.js} +16 -3
  47. package/build/esm/object-table/LoadingCell.js.map +1 -0
  48. package/build/esm/object-table/LoadingCell.module.css +48 -0
  49. package/build/esm/object-table/LoadingRow.js +43 -0
  50. package/build/esm/object-table/LoadingRow.js.map +1 -0
  51. package/build/esm/object-table/LoadingStateTable.js +101 -0
  52. package/build/esm/object-table/LoadingStateTable.js.map +1 -0
  53. package/build/{browser/object-table/TableHeaderContent.module.css → esm/object-table/NonIdealState.js} +11 -13
  54. package/build/esm/object-table/NonIdealState.js.map +1 -0
  55. package/build/{browser/object-table/Table.module.css → esm/object-table/NonIdealState.module.css} +10 -4
  56. package/build/esm/object-table/ObjectTable.js +6 -5
  57. package/build/esm/object-table/ObjectTable.js.map +1 -1
  58. package/build/esm/object-table/ObjectTableApi.js.map +1 -1
  59. package/build/esm/object-table/Table.js +34 -13
  60. package/build/esm/object-table/Table.js.map +1 -1
  61. package/build/esm/object-table/Table.module.css +2 -2
  62. package/build/esm/object-table/TableBody.js +13 -2
  63. package/build/esm/object-table/TableBody.js.map +1 -1
  64. package/build/esm/object-table/TableCell.js.map +1 -1
  65. package/build/esm/object-table/TableCell.module.css +7 -8
  66. package/build/esm/object-table/TableHeader.module.css +15 -9
  67. package/build/esm/object-table/TableHeaderContent.js.map +1 -1
  68. package/build/esm/object-table/TableHeaderWithPopover.module.css +31 -26
  69. package/build/esm/object-table/TableRow.module.css +1 -1
  70. package/build/esm/object-table/hooks/__tests__/useObjectTableData.test.js +18 -20
  71. package/build/esm/object-table/hooks/__tests__/useObjectTableData.test.js.map +1 -1
  72. package/build/esm/object-table/hooks/useColumnDefs.js +6 -2
  73. package/build/esm/object-table/hooks/useColumnDefs.js.map +1 -1
  74. package/build/esm/object-table/hooks/useColumnPinning.js.map +1 -1
  75. package/build/esm/object-table/hooks/useColumnVisibility.js.map +1 -1
  76. package/build/esm/object-table/hooks/useObjectTableData.js +7 -6
  77. package/build/esm/object-table/hooks/useObjectTableData.js.map +1 -1
  78. package/build/esm/object-table/hooks/useRowSelection.js.map +1 -1
  79. package/build/esm/object-table/hooks/useSelectionColumn.js.map +1 -1
  80. package/build/esm/object-table/hooks/useTableSorting.js.map +1 -1
  81. package/build/esm/object-table/utils/getRowId.js.map +1 -1
  82. package/build/types/object-table/LoadingCell.d.ts +4 -0
  83. package/build/types/object-table/LoadingCell.d.ts.map +1 -0
  84. package/build/types/object-table/LoadingRow.d.ts +11 -0
  85. package/build/types/object-table/LoadingRow.d.ts.map +1 -0
  86. package/build/types/object-table/LoadingStateTable.d.ts +11 -0
  87. package/build/types/object-table/LoadingStateTable.d.ts.map +1 -0
  88. package/build/types/object-table/NonIdealState.d.ts +6 -0
  89. package/build/types/object-table/NonIdealState.d.ts.map +1 -0
  90. package/build/types/object-table/ObjectTable.d.ts +4 -4
  91. package/build/types/object-table/ObjectTable.d.ts.map +1 -1
  92. package/build/types/object-table/ObjectTableApi.d.ts +4 -8
  93. package/build/types/object-table/ObjectTableApi.d.ts.map +1 -1
  94. package/build/types/object-table/Table.d.ts +2 -1
  95. package/build/types/object-table/Table.d.ts.map +1 -1
  96. package/build/types/object-table/TableBody.d.ts +4 -2
  97. package/build/types/object-table/TableBody.d.ts.map +1 -1
  98. package/build/types/object-table/TableHeaderContent.d.ts.map +1 -1
  99. package/build/types/object-table/hooks/useColumnDefs.d.ts +3 -3
  100. package/build/types/object-table/hooks/useColumnDefs.d.ts.map +1 -1
  101. package/build/types/object-table/hooks/useColumnPinning.d.ts +3 -3
  102. package/build/types/object-table/hooks/useColumnPinning.d.ts.map +1 -1
  103. package/build/types/object-table/hooks/useColumnVisibility.d.ts +3 -3
  104. package/build/types/object-table/hooks/useColumnVisibility.d.ts.map +1 -1
  105. package/build/types/object-table/hooks/useObjectTableData.d.ts +6 -6
  106. package/build/types/object-table/hooks/useObjectTableData.d.ts.map +1 -1
  107. package/build/types/object-table/hooks/useRowSelection.d.ts +3 -3
  108. package/build/types/object-table/hooks/useRowSelection.d.ts.map +1 -1
  109. package/build/types/object-table/hooks/useSelectionColumn.d.ts +2 -2
  110. package/build/types/object-table/hooks/useSelectionColumn.d.ts.map +1 -1
  111. package/build/types/object-table/hooks/useTableSorting.d.ts +3 -3
  112. package/build/types/object-table/hooks/useTableSorting.d.ts.map +1 -1
  113. package/build/types/object-table/utils/getRowId.d.ts +3 -3
  114. package/build/types/object-table/utils/getRowId.d.ts.map +1 -1
  115. package/package.json +6 -6
  116. package/build/browser/base-components/checkbox/Checkbox.module.css +0 -72
  117. package/build/browser/object-table/TableBody.module.css +0 -20
  118. package/build/browser/object-table/TableCell.module.css +0 -63
  119. package/build/browser/object-table/TableHeader.module.css +0 -95
  120. package/build/browser/object-table/TableHeaderWithPopover.module.css +0 -105
  121. package/build/browser/object-table/TableRow.module.css +0 -60
@@ -8,7 +8,7 @@
8
8
  padding: var(--osdk-checkbox-padding);
9
9
  box-sizing: border-box;
10
10
  cursor: pointer;
11
- border-radius: var(--bp-surface-borderRadius);
11
+ border-radius: var(--osdk-surface-border-radius);
12
12
  border: var(--osdk-checkbox-border);
13
13
  &[data-unchecked] {
14
14
  background-color: var(--osdk-checkbox-bg);
@@ -29,12 +29,18 @@
29
29
  background-color: var(--osdk-checkbox-bg-checked-active);
30
30
  }
31
31
  }
32
+ &:focus {
33
+ outline: none;
34
+ }
32
35
  &:focus-visible {
33
- outline: var(--bp-emphasis-focusWidth) solid var(--bp-emphasis-focusColor);
34
- outline-offset: var(--bp-emphasis-focusOffset);
36
+ outline: var(--osdk-focus-visible-outline);
37
+ outline-offset: calc(-1 * var(--osdk-focus-visible-outline-offset));
35
38
  }
36
39
  }
37
40
  .osdkCheckboxIndicator {
41
+ display: flex;
42
+ justify-content: center;
43
+ align-items: center;
38
44
  color: var(--osdk-checkbox-checked-foreground);
39
45
  width: var(--osdk-checkbox-icon-size);
40
46
  height: var(--osdk-checkbox-icon-size);
@@ -43,23 +49,34 @@
43
49
  }
44
50
  }
45
51
 
46
- /* src/object-table/Table.module.css */
47
- .osdkTableContainer {
48
- position: relative;
49
- height: 100%;
50
- overflow: auto;
52
+ /* src/object-table/LoadingCell.module.css */
53
+ .osdkLoadingCell {
54
+ height: var(--osdk-table-cell-fontSize);
55
+ border-radius: calc(var(--osdk-surface-border-radius) * 0.5);
56
+ flex: 1;
51
57
  }
52
-
53
- /* src/object-table/TableBody.module.css */
54
- .osdkTableBody {
55
- display: grid;
56
- position: relative;
58
+ @keyframes skeleton-glow {
59
+ from {
60
+ background: var(--osdk-table-skeleton-color-from);
61
+ border-color: var(--osdk-table-skeleton-color-from);
62
+ }
63
+ to {
64
+ background: var(--osdk-table-skeleton-color-to);
65
+ border-color: var(--osdk-table-skeleton-color-to);
66
+ }
57
67
  }
58
-
59
- /* src/object-table/CellContextMenu.module.css */
60
- .osdkCellContextMenu {
61
- position: fixed;
62
- z-index: var(--bp-surface-zIndex-2);
68
+ .osdkCellSkeleton {
69
+ animation: 1000ms linear infinite alternate skeleton-glow;
70
+ background: var(--osdk-table-skeleton-color-from);
71
+ background-clip: padding-box;
72
+ border-color: var(--osdk-table-skeleton-color-from);
73
+ border-radius: calc(var(--osdk-surface-border-radius) * 0.5);
74
+ border: 1px solid var(--osdk-table-skeleton-border-color);
75
+ box-shadow: none;
76
+ color: transparent;
77
+ cursor: default;
78
+ pointer-events: none;
79
+ user-select: none;
63
80
  }
64
81
 
65
82
  /* src/object-table/TableCell.module.css */
@@ -80,19 +97,19 @@
80
97
  border-right: var(--osdk-table-border);
81
98
  }
82
99
  }
83
- .osdkTableCell:has([role=checkbox]) {
84
- justify-content: center;
85
- }
86
100
  .osdkTableCell[data-pinned=left],
87
101
  .osdkTableCell[data-pinned=right] {
88
102
  position: sticky;
89
- z-index: var(--bp-surface-zIndex-1);
103
+ z-index: var(--osdk-surface-z-index-1);
90
104
  }
91
105
  .osdkTableCell[data-pinned=left]:not(:has(~ [data-pinned=left])) {
92
- border-right: calc(var(--bp-surface-borderWidth) * 2) solid var(--osdk-table-border-color);
106
+ border-right: var(--osdk-table-pinned-column-border);
93
107
  }
94
108
  .osdkTableCell[data-pinned=right]:not(:has(~ [data-pinned=right]):nth-child(n+2)) {
95
- border-left: calc(var(--bp-surface-borderWidth) * 2) solid var(--osdk-table-border-color);
109
+ border-left: var(--osdk-table-pinned-column-border);
110
+ }
111
+ .osdkTableCell:has([role=checkbox]) {
112
+ justify-content: center;
96
113
  }
97
114
  .osdkTableCellContent:not(:has([role=checkbox])) {
98
115
  overflow: hidden;
@@ -116,7 +133,7 @@
116
133
  }
117
134
  &:hover {
118
135
  z-index: 1;
119
- background-color: var( --osdk-table-row-bg-hover, var(--bp-surface-colorHover-default) );
136
+ background-color: var( --osdk-table-row-bg-hover, var(--osdk-surface-background-color-default-hover) );
120
137
  border-top-color: var(--osdk-table-row-border-color-hover);
121
138
  border-bottom-color: var(--osdk-table-row-border-color-hover);
122
139
  }
@@ -134,12 +151,18 @@
134
151
  }
135
152
  }
136
153
 
154
+ /* src/object-table/TableBody.module.css */
155
+ .osdkTableBody {
156
+ display: grid;
157
+ position: relative;
158
+ }
159
+
137
160
  /* src/object-table/TableHeader.module.css */
138
161
  .osdkTableHeader {
139
162
  display: grid;
140
163
  position: sticky;
141
164
  top: 0;
142
- z-index: var(--bp-surface-zIndex-1);
165
+ z-index: var(--osdk-surface-z-index-1);
143
166
  background-color: var(--osdk-table-header-bg);
144
167
  }
145
168
  .osdkTableHeader[data-resizing=true] {
@@ -171,13 +194,13 @@
171
194
  .osdkTableHeaderCell[data-pinned=left],
172
195
  .osdkTableHeaderCell[data-pinned=right] {
173
196
  position: sticky;
174
- z-index: var(--bp-surface-zIndex-2);
197
+ z-index: var(--osdk-surface-z-index-2);
175
198
  }
176
199
  .osdkTableHeaderCell[data-pinned=left]:not(:has(~ [data-pinned=left])) {
177
- border-right: calc(var(--osdk-table-border-width)* 2) solid var(--osdk-table-border-color);
200
+ border-right: var(--osdk-table-pinned-column-border);
178
201
  }
179
202
  .osdkTableHeaderCell[data-pinned=right]:not(:has(~ [data-pinned=right]):nth-child(n+2)) {
180
- border-left: calc(var(--osdk-table-border-width)* 2) solid var(--osdk-table-border-color);
203
+ border-left: var(--osdk-table-pinned-column-border);
181
204
  }
182
205
  .osdkTableHeaderCell:has([role=checkbox]) {
183
206
  justify-content: center;
@@ -191,14 +214,18 @@
191
214
  top: 0;
192
215
  touch-action: none;
193
216
  width: 3px;
194
- z-index: var(--bp-surface-zIndex-2);
217
+ z-index: var(--osdk-surface-z-index-2);
195
218
  &:hover {
196
- background: var(--bp-intent-primary-hover);
219
+ background: var(--osdk-intent-primary-hover);
197
220
  }
198
221
  &:active {
199
- background: var(--bp-intent-primary-active);
222
+ background: var(--osdk-intent-primary-active);
200
223
  }
201
224
  }
225
+ .osdkLoadingHeaderCell {
226
+ height: var(--osdk-table-header-fontSize);
227
+ flex: 1;
228
+ }
202
229
 
203
230
  /* src/object-table/TableHeaderContent.module.css */
204
231
  .osdkHeaderContent {
@@ -223,7 +250,7 @@
223
250
  }
224
251
  .osdkContentGap {
225
252
  display: flex;
226
- gap: var(--bp-surface-spacing);
253
+ gap: var(--osdk-surface-spacing);
227
254
  }
228
255
  .osdkHeaderContainer {
229
256
  justify-content: space-between;
@@ -239,54 +266,85 @@
239
266
  flex-shrink: 0;
240
267
  }
241
268
  .osdkHeaderPopoverTrigger {
269
+ padding: 0;
242
270
  flex-shrink: 0;
243
271
  flex-grow: 0;
244
- border: var(--bp-surface-borderWidth) solid var(--bp-surface-borderColor-default);
245
- border-radius: var(--bp-surface-borderRadius);
246
- color: var(--bp-intent-default-foreground);
272
+ border: var(--osdk-surface-border-width) solid var(--osdk-surface-border-color-default);
273
+ border-radius: var(--osdk-surface-border-radius);
274
+ color: var(--osdk-intent-default-foreground);
247
275
  user-select: none;
276
+ outline: none;
248
277
  &:hover {
249
- background-color: var(--bp-intent-default-hover);
278
+ background-color: var(--osdk-intent-default-hover);
250
279
  }
251
280
  &[data-popup-open] {
252
- background-color: var(--bp-intent-primary-rest);
281
+ background-color: var(--osdk-intent-primary-rest);
253
282
  }
254
283
  &:focus-visible {
255
- outline: var(--bp-surface-borderWidth) solid var(--bp-intent-primary-rest);
256
- outline-offset: calc(-1 * var(--bp-surface-borderWidth));
284
+ outline: var(--osdk-focus-visible-outline);
285
+ outline-offset: var(--osdk-focus-visible-outline-offset);
257
286
  }
258
287
  }
259
288
  .osdkHeaderIcon {
260
- width: var(--bp-iconography-size-small);
261
- height: var(--bp-iconography-size-small);
289
+ width: var(--osdk-iconography-size-small);
290
+ height: var(--osdk-iconography-size-small);
262
291
  }
263
292
  .osdkHeaderPopup {
264
293
  box-sizing: border-box;
265
- padding: var(--bp-surface-spacing);
266
- border-radius: var(--bp-surface-borderRadius);
267
- border: var(--bp-surface-borderWidth) solid var(--bp-surface-borderColor-default);
268
- background-color: var(--bp-palette-gray-100);
269
- color: var(--bp-typography-colorRest-default);
270
- box-shadow: var(--bp-surface-shadow-2);
271
- font-size: var(--bp-typography-size-bodyMedium);
294
+ padding: var(--osdk-surface-spacing);
295
+ border-radius: var(--osdk-surface-border-radius);
296
+ border: var(--osdk-surface-border-width) solid var(--osdk-surface-border-color-default);
297
+ background-color: var(--osdk-surface-background-color-default);
298
+ color: var(--osdk-typography-color-default-rest);
299
+ box-shadow: var(--osdk-surface-shadow-2);
300
+ font-size: var(--osdk-typography-size-body-medium);
301
+ outline: none;
272
302
  }
273
303
  .osdkHeaderMenuItem {
274
304
  justify-content: flex-start;
275
- padding: var(--bp-surface-spacing);
305
+ padding: var(--osdk-surface-spacing);
276
306
  cursor: pointer;
277
307
  }
278
308
  .osdkHeaderMenuItem:hover {
279
- background-color: var(--bp-surface-colorHover-default);
280
- border-radius: var(--bp-surface-borderRadius);
309
+ outline: none;
310
+ background-color: var(--osdk-surface-background-color-default-hover);
311
+ border-radius: var(--osdk-surface-border-radius);
281
312
  }
282
313
  .osdkHeaderActiveMenuItem {
283
- background-color: var(--bp-intent-primary-rest);
284
- color: var(--bp-intent-primary-foreground);
314
+ background-color: var(--osdk-intent-primary-rest);
315
+ color: var(--osdk-intent-primary-foreground);
285
316
  }
286
317
  .osdkHeaderActiveMenuItem:hover {
287
- background-color: var(--bp-intent-primary-hover);
318
+ background-color: var(--osdk-intent-primary-hover);
288
319
  }
289
320
  .osdkHeaderActiveMenuItem:active {
290
- background-color: var(--bp-intent-primary-active);
321
+ background-color: var(--osdk-intent-primary-active);
322
+ }
323
+
324
+ /* src/object-table/NonIdealState.module.css */
325
+ .container {
326
+ display: flex;
327
+ align-items: center;
328
+ justify-content: center;
329
+ width: 100%;
330
+ height: 100%;
331
+ min-height: 80px;
332
+ }
333
+ .message {
334
+ color: var(--osdk-typography-color-muted);
335
+ }
336
+
337
+ /* src/object-table/Table.module.css */
338
+ .osdkTableContainer {
339
+ position: relative;
340
+ height: 100%;
341
+ width: 100%;
342
+ overflow: auto;
343
+ }
344
+
345
+ /* src/object-table/CellContextMenu.module.css */
346
+ .osdkCellContextMenu {
347
+ position: fixed;
348
+ z-index: var(--osdk-surface-z-index-2);
291
349
  }
292
350
  /*# sourceMappingURL=experimental.css.map */
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/base-components/checkbox/Checkbox.module.css","../../../src/object-table/Table.module.css","../../../src/object-table/TableBody.module.css","../../../src/object-table/CellContextMenu.module.css","../../../src/object-table/TableCell.module.css","../../../src/object-table/TableRow.module.css","../../../src/object-table/TableHeader.module.css","../../../src/object-table/TableHeaderContent.module.css","../../../src/object-table/TableHeaderWithPopover.module.css"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n.osdkCheckboxRoot {\n display: flex;\n align-items: center;\n justify-content: center;\n min-width: calc(\n var(--osdk-checkbox-icon-size) + var(--osdk-checkbox-padding) * 2\n );\n min-height: calc(\n var(--osdk-checkbox-icon-size) + var(--osdk-checkbox-padding) * 2\n );\n padding: var(--osdk-checkbox-padding);\n box-sizing: border-box;\n cursor: pointer;\n border-radius: var(--bp-surface-borderRadius);\n border: var(--osdk-checkbox-border);\n\n &[data-unchecked] {\n background-color: var(--osdk-checkbox-bg);\n\n &:hover {\n background-color: var(--osdk-checkbox-bg-hover);\n }\n\n &:active {\n background-color: var(--osdk-checkbox-bg-active);\n }\n }\n\n &[data-checked],\n &[data-indeterminate] {\n background-color: var(--osdk-checkbox-bg-checked);\n\n &:hover {\n background-color: var(--osdk-checkbox-bg-checked-hover);\n }\n\n &:active {\n background-color: var(--osdk-checkbox-bg-checked-active);\n }\n }\n\n &:focus-visible {\n outline: var(--bp-emphasis-focusWidth) solid var(--bp-emphasis-focusColor);\n outline-offset: var(--bp-emphasis-focusOffset);\n }\n}\n\n.osdkCheckboxIndicator {\n color: var(--osdk-checkbox-checked-foreground);\n width: var(--osdk-checkbox-icon-size);\n height: var(--osdk-checkbox-icon-size);\n\n &[data-unchecked] {\n display: none;\n }\n}\n","/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n.osdkTableContainer {\n position: relative; /* needed for sticky header */\n height: 100%; /* needed for scrolling */\n overflow: auto;\n}\n\n","/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n.osdkTableBody {\n display: grid;\n position: relative;\n}\n","/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n.osdkCellContextMenu {\n position: fixed;\n z-index: var(--bp-surface-zIndex-2);\n}\n","/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n.osdkTableCell {\n display: flex;\n align-items: center;\n text-align: left;\n position: relative;\n padding: var(--osdk-table-cell-padding);\n font-size: var(--osdk-table-cell-fontSize);\n color: var(--osdk-table-cell-color);\n background-color: inherit;\n border-right: var(--osdk-table-cell-divider);\n\n &:first-child {\n border-left: var(--osdk-table-border);\n }\n\n &:last-child {\n border-right: var(--osdk-table-border);\n }\n}\n\n.osdkTableCell:has([role=\"checkbox\"]) {\n justify-content: center;\n}\n\n\n.osdkTableCell[data-pinned=\"left\"],\n.osdkTableCell[data-pinned=\"right\"] {\n position: sticky;\n z-index: var(--bp-surface-zIndex-1);\n}\n\n/* Last left-pinned column - no left-pinned siblings after it */\n.osdkTableCell[data-pinned=\"left\"]:not(:has(~ [data-pinned=\"left\"])) {\n border-right: calc(var(--bp-surface-borderWidth) * 2) solid var(--osdk-table-border-color);\n}\n\n/* First right-pinned column - no right-pinned siblings before it */\n.osdkTableCell[data-pinned=\"right\"]:not(:has(~ [data-pinned=\"right\"]):nth-child(n+2)) {\n border-left: calc(var(--bp-surface-borderWidth) * 2) solid var(--osdk-table-border-color);\n}\n\n.osdkTableCellContent:not(:has([role=\"checkbox\"])) {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n text-align: left;\n}\n","/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n.osdkTableRow {\n position: absolute;\n display: flex;\n background-color: var(--osdk-table-row-bg-default);\n border-top: var(--osdk-table-row-divider);\n border-bottom: var(--osdk-table-border-width) solid transparent;\n\n &:last-child {\n border-bottom: var(--osdk-table-border);\n }\n\n /* Zebra rows */\n &:nth-child(even) {\n background-color: var(\n --osdk-table-row-bg-alternate,\n var(--osdk-table-row-bg-default)\n );\n }\n\n &:hover {\n z-index: 1;\n background-color: var(\n --osdk-table-row-bg-hover,\n var(--bp-surface-colorHover-default)\n );\n border-top-color: var(--osdk-table-row-border-color-hover);\n border-bottom-color: var(--osdk-table-row-border-color-hover);\n }\n\n &[data-selected=\"true\"] {\n z-index: 2;\n background-color: var(--osdk-table-row-bg-active);\n border-top-color: var(--osdk-table-row-border-color-active);\n border-bottom-color: var(--osdk-table-row-border-color-active);\n }\n\n &[data-selected=\"true\"] + &[data-selected=\"true\"] {\n border-top-color: transparent;\n }\n\n &[data-selected=\"true\"]:has(+ &[data-selected=\"true\"]) {\n border-bottom-color: transparent;\n }\n}\n","/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n.osdkTableHeader {\n display: grid;\n position: sticky;\n top: 0;\n z-index: var(--bp-surface-zIndex-1);\n background-color: var(--osdk-table-header-bg);\n}\n\n.osdkTableHeader[data-resizing=\"true\"] {\n cursor: col-resize;\n user-select: none;\n}\n\n\n.osdkTableHeaderRow {\n display: flex;\n}\n\n.osdkTableHeaderCell {\n display: flex;\n align-items: center;\n text-align: left;\n position: relative;\n padding: var(--osdk-table-cell-padding);\n font-weight: var(--osdk-table-header-fontWeight);\n font-size: var(--osdk-table-header-fontSize);\n color: var(--osdk-table-header-color);\n border-top: var(--osdk-table-border);\n border-right: var(--osdk-table-header-divider);\n background-color: inherit;\n\n &:first-child {\n border-left: var(--osdk-table-border);\n }\n\n &:last-child {\n border-right: var(--osdk-table-border);\n }\n}\n\n.osdkTableHeaderCell[data-pinned=\"left\"],\n.osdkTableHeaderCell[data-pinned=\"right\"] {\n position: sticky;\n z-index: var(--bp-surface-zIndex-2);\n}\n\n/* Last left-pinned column - no left-pinned siblings after it */\n.osdkTableHeaderCell[data-pinned=\"left\"]:not(:has(~ [data-pinned=\"left\"])) {\n border-right: calc(var(--osdk-table-border-width)* 2) solid var(--osdk-table-border-color);\n}\n\n/* First right-pinned column - no right-pinned siblings before it */\n.osdkTableHeaderCell[data-pinned=\"right\"]:not(:has(~ [data-pinned=\"right\"]):nth-child(n+2)) {\n border-left: calc(var(--osdk-table-border-width)* 2) solid var(--osdk-table-border-color);\n}\n\n.osdkTableHeaderCell:has([role=\"checkbox\"]) {\n justify-content: center;\n}\n\n.osdkTableHeaderResizer {\n background: none;\n cursor: col-resize;\n height: 100%;\n position: absolute;\n right: calc(-1 * var(--osdk-table-border-width));\n top: 0;\n touch-action: none;\n width: 3px;\n z-index: var(--bp-surface-zIndex-2);\n\n &:hover {\n background: var(--bp-intent-primary-hover);\n }\n\n &:active {\n background: var(--bp-intent-primary-active);\n }\n}\n","/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n.osdkHeaderContent {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n line-clamp: 2;\n text-align: left;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.osdkHeaderContent:has([role=\"checkbox\"]) {\n display: flex;\n justify-content: center;\n}\n","/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n.osdkCenterContainer {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.osdkContentGap {\n display: flex;\n gap: var(--bp-surface-spacing);\n}\n\n.osdkHeaderContainer {\n justify-content: space-between;\n flex: 1;\n min-width: 0;\n align-self: stretch;\n}\n\n.osdkHeaderContentLeft {\n min-width: 0;\n flex-shrink: 1;\n}\n\n.osdkHeaderContentRight {\n flex-shrink: 0;\n}\n\n.osdkHeaderPopoverTrigger {\n flex-shrink: 0;\n flex-grow: 0;\n border: var(--bp-surface-borderWidth) solid\n var(--bp-surface-borderColor-default);\n border-radius: var(--bp-surface-borderRadius);\n color: var(--bp-intent-default-foreground);\n user-select: none;\n &:hover {\n background-color: var(--bp-intent-default-hover);\n }\n\n &[data-popup-open] {\n background-color: var(--bp-intent-primary-rest);\n }\n\n &:focus-visible {\n outline: var(--bp-surface-borderWidth) solid var(--bp-intent-primary-rest);\n outline-offset: calc(-1 * var(--bp-surface-borderWidth));\n }\n}\n\n.osdkHeaderIcon {\n width: var(--bp-iconography-size-small);\n height: var(--bp-iconography-size-small);\n}\n\n.osdkHeaderPopup {\n box-sizing: border-box;\n padding: var(--bp-surface-spacing);\n border-radius: var(--bp-surface-borderRadius);\n border: var(--bp-surface-borderWidth) solid\n var(--bp-surface-borderColor-default);\n background-color: var(--bp-palette-gray-100);\n color: var(--bp-typography-colorRest-default);\n box-shadow: var(--bp-surface-shadow-2);\n font-size: var(--bp-typography-size-bodyMedium);\n}\n\n.osdkHeaderMenuItem {\n justify-content: flex-start;\n padding: var(--bp-surface-spacing);\n cursor: pointer;\n}\n\n.osdkHeaderMenuItem:hover {\n background-color: var(--bp-surface-colorHover-default);\n border-radius: var(--bp-surface-borderRadius);\n}\n\n.osdkHeaderActiveMenuItem {\n background-color: var(--bp-intent-primary-rest);\n color: var(--bp-intent-primary-foreground);\n}\n\n.osdkHeaderActiveMenuItem:hover {\n background-color: var(--bp-intent-primary-hover);\n}\n\n.osdkHeaderActiveMenuItem:active {\n background-color: var(--bp-intent-primary-active);\n}\n"],"mappings":";AAgBA,CAAC;AACC,WAAS;AACT,eAAa;AACb,mBAAiB;AACjB,aAAW,KACT,IAAI,2BAA2B,EAAE,IAAI,yBAAyB,EAAE;AAElE,cAAY,KACV,IAAI,2BAA2B,EAAE,IAAI,yBAAyB,EAAE;AAElE,WAAS,IAAI;AACb,cAAY;AACZ,UAAQ;AACR,iBAAe,IAAI;AACnB,UAAQ,IAAI;AAEZ,GAAC,CAAC;AACA,sBAAkB,IAAI;AAEtB,KAAC;AACC,wBAAkB,IAAI;AACxB;AAEA,KAAC;AACC,wBAAkB,IAAI;AACxB;AACF;AAEA,GAAC,CAAC;AAAA,EACF,CAAC,CAAC;AACA,sBAAkB,IAAI;AAEtB,KAAC;AACC,wBAAkB,IAAI;AACxB;AAEA,KAAC;AACC,wBAAkB,IAAI;AACxB;AACF;AAEA,GAAC;AACC,aAAS,IAAI,0BAA0B,MAAM,IAAI;AACjD,oBAAgB,IAAI;AACtB;AACF;AAEA,CAAC;AACC,SAAO,IAAI;AACX,SAAO,IAAI;AACX,UAAQ,IAAI;AAEZ,GAAC,CAAC;AACA,aAAS;AACX;AACF;;;ACvDA,CAAC;AACC,YAAU;A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BAAoB;AACpB,cAAY;AACZ,cAAY;AACZ,YAAU;AACV,iBAAe;AACjB;AAEA,CAVC,iBAUiB,KAAK,CAAC;AACtB,WAAS;AACT,mBAAiB;AACnB;;;ACbA,CAAC;AACC,WAAS;AACT,eAAa;AACb,mBAAiB;AACnB;AAEA,CAAC;AACC,WAAS;AACT,OAAK,IAAI;AACX;AAEA,CAAC;AACC,mBAAiB;AACjB,QAAM;AACN,aAAW;AACX,cAAY;AACd;AAEA,CAAC;AACC,aAAW;AACX,eAAa;AACf;AAEA,CAAC;AACC,eAAa;AACf;AAEA,CAAC;AACC,eAAa;AACb,aAAW;AACX,UAAQ,IAAI,0BAA0B,MACpC,IAAI;AACN,iBAAe,IAAI;AACnB,SAAO,IAAI;AACX,eAAa;AACb,GAAC;AACC,sBAAkB,IAAI;AACxB;AAEA,GAAC,CAAC;AACA,sBAAkB,IAAI;AACxB;AAEA,GAAC;AACC,aAAS,IAAI,0BAA0B,MAAM,IAAI;AACjD,oBAAgB,KAAK,GAAG,EAAE,IAAI;AAChC;AACF;AAEA,CAAC;AACC,SAAO,IAAI;AACX,UAAQ,IAAI;AACd;AAEA,CAAC;AACC,cAAY;AACZ,WAAS,IAAI;AACb,iBAAe,IAAI;AACnB,UAAQ,IAAI,0BAA0B,MACpC,IAAI;AACN,oBAAkB,IAAI;AACtB,SAAO,IAAI;AACX,cAAY,IAAI;AAChB,aAAW,IAAI;AACjB;AAEA,CAAC;AACC,mBAAiB;AACjB,WAAS,IAAI;AACb,UAAQ;AACV;AAEA,CANC,kBAMkB;AACjB,oBAAkB,IAAI;AACtB,iBAAe,IAAI;AACrB;AAEA,CAAC;AACC,oBAAkB,IAAI;AACtB,SAAO,IAAI;AACb;AAEA,CALC,wBAKwB;AACvB,oBAAkB,IAAI;AACxB;AAEA,CATC,wBASwB;AACvB,oBAAkB,IAAI;AACxB;","names":[]}
1
+ {"version":3,"sources":["../../../src/base-components/checkbox/Checkbox.module.css","../../../src/object-table/LoadingCell.module.css","../../../src/object-table/TableCell.module.css","../../../src/object-table/TableRow.module.css","../../../src/object-table/TableBody.module.css","../../../src/object-table/TableHeader.module.css","../../../src/object-table/TableHeaderContent.module.css","../../../src/object-table/TableHeaderWithPopover.module.css","../../../src/object-table/NonIdealState.module.css","../../../src/object-table/Table.module.css","../../../src/object-table/CellContextMenu.module.css"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n.osdkCheckboxRoot {\n display: flex;\n align-items: center;\n justify-content: center;\n min-width: calc(\n var(--osdk-checkbox-icon-size) + var(--osdk-checkbox-padding) * 2\n );\n min-height: calc(\n var(--osdk-checkbox-icon-size) + var(--osdk-checkbox-padding) * 2\n );\n padding: var(--osdk-checkbox-padding);\n box-sizing: border-box;\n cursor: pointer;\n border-radius: var(--osdk-surface-border-radius);\n border: var(--osdk-checkbox-border);\n\n &[data-unchecked] {\n background-color: var(--osdk-checkbox-bg);\n\n &:hover {\n background-color: var(--osdk-checkbox-bg-hover);\n }\n\n &:active {\n background-color: var(--osdk-checkbox-bg-active);\n }\n }\n\n &[data-checked],\n &[data-indeterminate] {\n background-color: var(--osdk-checkbox-bg-checked);\n\n &:hover {\n background-color: var(--osdk-checkbox-bg-checked-hover);\n }\n\n &:active {\n background-color: var(--osdk-checkbox-bg-checked-active);\n }\n }\n\n &:focus {\n outline: none;\n }\n\n &:focus-visible {\n outline: var(--osdk-focus-visible-outline);\n outline-offset: calc(-1 * var(--osdk-focus-visible-outline-offset));\n }\n}\n\n.osdkCheckboxIndicator {\n display: flex;\n justify-content: center;\n align-items: center;\n color: var(--osdk-checkbox-checked-foreground);\n width: var(--osdk-checkbox-icon-size);\n height: var(--osdk-checkbox-icon-size);\n\n &[data-unchecked] {\n display: none;\n }\n}\n","/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n.osdkLoadingCell {\n height: var(--osdk-table-cell-fontSize);\n border-radius: calc(var(--osdk-surface-border-radius) * 0.5);\n flex: 1;\n}\n\n/* Blueprint skeleton animation keyframes */\n@keyframes skeleton-glow {\n from {\n background: var(--osdk-table-skeleton-color-from);\n border-color: var(--osdk-table-skeleton-color-from);\n }\n\n to {\n background: var(--osdk-table-skeleton-color-to);\n border-color: var(--osdk-table-skeleton-color-to);\n }\n}\n\n.osdkCellSkeleton {\n animation: 1000ms linear infinite alternate skeleton-glow;\n background: var(--osdk-table-skeleton-color-from);\n background-clip: padding-box;\n border-color: var(--osdk-table-skeleton-color-from);\n border-radius: calc(var(--osdk-surface-border-radius) * 0.5);\n border: 1px solid var(--osdk-table-skeleton-border-color);\n box-shadow: none;\n color: transparent;\n cursor: default;\n pointer-events: none;\n user-select: none;\n}\n","/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n.osdkTableCell {\n display: flex;\n align-items: center;\n text-align: left;\n position: relative;\n padding: var(--osdk-table-cell-padding);\n font-size: var(--osdk-table-cell-fontSize);\n color: var(--osdk-table-cell-color);\n background-color: inherit;\n border-right: var(--osdk-table-cell-divider);\n\n &:first-child {\n border-left: var(--osdk-table-border);\n }\n\n &:last-child {\n border-right: var(--osdk-table-border);\n }\n}\n\n.osdkTableCell[data-pinned=\"left\"],\n.osdkTableCell[data-pinned=\"right\"] {\n position: sticky;\n z-index: var(--osdk-surface-z-index-1);\n}\n\n/* Last left-pinned column - no left-pinned siblings after it */\n.osdkTableCell[data-pinned=\"left\"]:not(:has(~ [data-pinned=\"left\"])) {\n border-right: var(--osdk-table-pinned-column-border);\n}\n\n/* First right-pinned column - no right-pinned siblings before it */\n.osdkTableCell[data-pinned=\"right\"]:not(:has(~ [data-pinned=\"right\"]):nth-child(n+2)) {\n border-left: var(--osdk-table-pinned-column-border);\n}\n\n.osdkTableCell:has([role=\"checkbox\"]) {\n justify-content: center;\n}\n\n.osdkTableCellContent:not(:has([role=\"checkbox\"])) {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n text-align: left;\n}\n","/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n.osdkTableRow {\n position: absolute;\n display: flex;\n background-color: var(--osdk-table-row-bg-default);\n border-top: var(--osdk-table-row-divider);\n border-bottom: var(--osdk-table-border-width) solid transparent;\n\n &:last-child {\n border-bottom: var(--osdk-table-border);\n }\n\n /* Zebra rows */\n &:nth-child(even) {\n background-color: var(\n --osdk-table-row-bg-alternate,\n var(--osdk-table-row-bg-default)\n );\n }\n\n &:hover {\n z-index: 1;\n background-color: var(\n --osdk-table-row-bg-hover,\n var(--osdk-surface-background-color-default-hover)\n );\n border-top-color: var(--osdk-table-row-border-color-hover);\n border-bottom-color: var(--osdk-table-row-border-color-hover);\n }\n\n &[data-selected=\"true\"] {\n z-index: 2;\n background-color: var(--osdk-table-row-bg-active);\n border-top-color: var(--osdk-table-row-border-color-active);\n border-bottom-color: var(--osdk-table-row-border-color-active);\n }\n\n &[data-selected=\"true\"] + &[data-selected=\"true\"] {\n border-top-color: transparent;\n }\n\n &[data-selected=\"true\"]:has(+ &[data-selected=\"true\"]) {\n border-bottom-color: transparent;\n }\n}\n","/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n.osdkTableBody {\n display: grid;\n position: relative;\n}\n","/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n.osdkTableHeader {\n display: grid;\n position: sticky;\n top: 0;\n z-index: var(--osdk-surface-z-index-1);\n background-color: var(--osdk-table-header-bg);\n}\n\n.osdkTableHeader[data-resizing=\"true\"] {\n cursor: col-resize;\n user-select: none;\n}\n\n.osdkTableHeaderRow {\n display: flex;\n}\n\n.osdkTableHeaderCell {\n display: flex;\n align-items: center;\n text-align: left;\n position: relative;\n padding: var(--osdk-table-cell-padding);\n font-weight: var(--osdk-table-header-fontWeight);\n font-size: var(--osdk-table-header-fontSize);\n color: var(--osdk-table-header-color);\n border-top: var(--osdk-table-border);\n border-right: var(--osdk-table-header-divider);\n background-color: inherit;\n\n &:first-child {\n border-left: var(--osdk-table-border);\n }\n\n &:last-child {\n border-right: var(--osdk-table-border);\n }\n}\n\n.osdkTableHeaderCell[data-pinned=\"left\"],\n.osdkTableHeaderCell[data-pinned=\"right\"] {\n position: sticky;\n z-index: var(--osdk-surface-z-index-2);\n}\n\n/* Last left-pinned column - no left-pinned siblings after it */\n.osdkTableHeaderCell[data-pinned=\"left\"]:not(:has(~ [data-pinned=\"left\"])) {\n border-right: var(--osdk-table-pinned-column-border);\n}\n\n/* First right-pinned column - no right-pinned siblings before it */\n.osdkTableHeaderCell[data-pinned=\"right\"]:not(\n :has(~ [data-pinned=\"right\"]):nth-child(n + 2)\n ) {\n border-left: var(--osdk-table-pinned-column-border);\n}\n\n.osdkTableHeaderCell:has([role=\"checkbox\"]) {\n justify-content: center;\n}\n\n.osdkTableHeaderResizer {\n background: none;\n cursor: col-resize;\n height: 100%;\n position: absolute;\n right: calc(-1 * var(--osdk-table-border-width));\n top: 0;\n touch-action: none;\n width: 3px;\n z-index: var(--osdk-surface-z-index-2);\n\n &:hover {\n background: var(--osdk-intent-primary-hover);\n }\n\n &:active {\n background: var(--osdk-intent-primary-active);\n }\n}\n\n.osdkLoadingHeaderCell {\n height: var(--osdk-table-header-fontSize);\n flex: 1;\n}\n","/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n.osdkHeaderContent {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n line-clamp: 2;\n text-align: left;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.osdkHeaderContent:has([role=\"checkbox\"]) {\n display: flex;\n justify-content: center;\n}\n","/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n.osdkCenterContainer {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.osdkContentGap {\n display: flex;\n gap: var(--osdk-surface-spacing);\n}\n\n.osdkHeaderContainer {\n justify-content: space-between;\n flex: 1;\n min-width: 0;\n align-self: stretch;\n}\n\n.osdkHeaderContentLeft {\n min-width: 0;\n flex-shrink: 1;\n}\n\n.osdkHeaderContentRight {\n flex-shrink: 0;\n}\n\n.osdkHeaderPopoverTrigger {\n padding: 0;\n flex-shrink: 0;\n flex-grow: 0;\n border: var(--osdk-surface-border-width) solid\n var(--osdk-surface-border-color-default);\n border-radius: var(--osdk-surface-border-radius);\n color: var(--osdk-intent-default-foreground);\n user-select: none;\n outline: none;\n\n &:hover {\n background-color: var(--osdk-intent-default-hover);\n }\n\n &[data-popup-open] {\n background-color: var(--osdk-intent-primary-rest);\n }\n\n &:focus-visible {\n outline: var(--osdk-focus-visible-outline);\n outline-offset: var(--osdk-focus-visible-outline-offset);\n }\n}\n\n.osdkHeaderIcon {\n width: var(--osdk-iconography-size-small);\n height: var(--osdk-iconography-size-small);\n}\n\n.osdkHeaderPopup {\n box-sizing: border-box;\n padding: var(--osdk-surface-spacing);\n border-radius: var(--osdk-surface-border-radius);\n border: var(--osdk-surface-border-width) solid\n var(--osdk-surface-border-color-default);\n background-color: var(--osdk-surface-background-color-default);\n color: var(--osdk-typography-color-default-rest);\n box-shadow: var(--osdk-surface-shadow-2);\n font-size: var(--osdk-typography-size-body-medium);\n outline: none;\n}\n\n.osdkHeaderMenuItem {\n justify-content: flex-start;\n padding: var(--osdk-surface-spacing);\n cursor: pointer;\n}\n\n.osdkHeaderMenuItem:hover {\n outline: none;\n background-color: var(--osdk-surface-background-color-default-hover);\n border-radius: var(--osdk-surface-border-radius);\n}\n\n.osdkHeaderActiveMenuItem {\n background-color: var(--osdk-intent-primary-rest);\n color: var(--osdk-intent-primary-foreground);\n}\n\n.osdkHeaderActiveMenuItem:hover {\n background-color: var(--osdk-intent-primary-hover);\n}\n\n.osdkHeaderActiveMenuItem:active {\n background-color: var(--osdk-intent-primary-active);\n}\n","/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n.container {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n min-height: 80px;\n}\n\n.message {\n color: var(--osdk-typography-color-muted);\n}\n","/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n.osdkTableContainer {\n position: relative; /* needed for sticky header */\n height: 100%;\n width: 100%;\n overflow: auto;\n}\n","/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n.osdkCellContextMenu {\n position: fixed;\n z-index: var(--osdk-surface-z-index-2);\n}\n"],"mappings":";AAgBA,CAAC;AACC,WAAS;AACT,eAAa;AACb,mBAAiB;AACjB,aAAW,KACT,IAAI,2BAA2B,EAAE,IAAI,yBAAyB,EAAE;AAElE,cAAY,KACV,IAAI,2BAA2B,EAAE,IAAI,yBAAyB,EAAE;AAElE,WAAS,IAAI;AACb,cAAY;AACZ,UAAQ;AACR,iBAAe,IAAI;AACnB,UAAQ,IAAI;AAEZ,GAAC,CAAC;AACA,sBAAkB,IAAI;AAEtB,KAAC;AACC,wBAAkB,IAAI;AACxB;AAEA,KAAC;AACC,wBAAkB,IAAI;AACxB;AACF;AAEA,GAAC,CAAC;AAAA,EACF,CAAC,CAAC;AACA,sBAAkB,IAAI;AAEtB,KAAC;AACC,wBAAkB,IAAI;AACxB;AAEA,KAAC;AACC,wBAAkB,IAAI;AACxB;AACF;AAEA,GAAC;AACC,aAAS;AACX;AAEA,GAAC;AACC,aAAS,IAAI;AACb,oBAAgB,KAAK,GAAG,EAAE,IAAI;AAChC;AACF;AAEA,CAAC;AACC,WAAS;AACT,mBAAiB;AACjB,eAAa;AACb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;AACC,mBAAiB;AACjB,WAAS,IAAI;AACb,UAAQ;AACV;AAEA,CANC,kBAMkB;AACjB,WAAS;AACT,oBAAkB,IAAI;AACtB,iBAAe,IAAI;AACrB;AAEA,CAAC;AACC,oBAAkB,IAAI;AACtB,SAAO,IAAI;AACb;AAEA,CALC,wBAKwB;AACvB,oBAAkB,IAAI;AACxB;AAEA,CATC,wBASwB;AACvB,oBAAkB,IAAI;AACxB;;;AC7FA,CAAC;AACC,WAAS;AACT,eAAa;AACb,mBAAiB;AACjB,SAAO;AACP,UAAQ;AACR,cAAY;AACd;AAEA,CAAC;AACC,SAAO,IAAI;AACb;;;ACXA,CAAC;AACC,YAAU;AACV,UAAQ;AACR,SAAO;AACP,YAAU;AACZ;;;ACLA,CAAC;AACC,YAAU;AACV,WAAS,IAAI;AACf;","names":[]}
@@ -1,4 +1,4 @@
1
- import { ObjectTypeDefinition, PropertyKeys, WirePropertyTypes, CompileTimeMetadata, ObjectSet, WhereClause, SimplePropertyDef, QueryDefinition, DerivedProperty, Osdk, PrimaryKeyType } from '@osdk/api';
1
+ import { ObjectTypeDefinition, PropertyKeys, WirePropertyTypes, CompileTimeMetadata, ObjectSet, WhereClause, ObjectOrInterfaceDefinition, SimplePropertyDef, QueryDefinition, DerivedProperty, Osdk, PrimaryKeyType } from '@osdk/api';
2
2
  import * as React from 'react';
3
3
  import React__default, { ReactElement } from 'react';
4
4
  import { RowData, Table, Cell } from '@tanstack/react-table';
@@ -175,7 +175,7 @@ interface FilterListProps<Q extends ObjectTypeDefinition> {
175
175
  type FilterKey<Q extends ObjectTypeDefinition> = FilterDefinition<Q>["key"];
176
176
  type FilterState<Q extends ObjectTypeDefinition> = FilterDefinition<Q>["filterState"];
177
177
 
178
- type ColumnDefinition<Q extends ObjectTypeDefinition, RDPs extends Record<string, SimplePropertyDef> = Record<string, never>, FunctionColumns extends Record<string, QueryDefinition<{}>> = Record<string, never>> = {
178
+ type ColumnDefinition<Q extends ObjectOrInterfaceDefinition, RDPs extends Record<string, SimplePropertyDef> = Record<string, never>, FunctionColumns extends Record<string, QueryDefinition<{}>> = Record<string, never>> = {
179
179
  locator: ColumnDefinitionLocator<Q, RDPs, FunctionColumns>;
180
180
  /**
181
181
  * @default true
@@ -194,7 +194,7 @@ type ColumnDefinition<Q extends ObjectTypeDefinition, RDPs extends Record<string
194
194
  renderCell?: (object: Osdk.Instance<Q, "$allBaseProperties", PropertyKeys<Q>, RDPs>, locator: ColumnDefinitionLocator<Q, RDPs, FunctionColumns>) => React.ReactNode;
195
195
  renderHeader?: () => React.ReactNode;
196
196
  };
197
- type ColumnDefinitionLocator<Q extends ObjectTypeDefinition, RDPs extends Record<string, SimplePropertyDef> = Record<string, never>, FunctionColumns extends Record<string, QueryDefinition<{}>> = Record<string, never>> = {
197
+ type ColumnDefinitionLocator<Q extends ObjectOrInterfaceDefinition, RDPs extends Record<string, SimplePropertyDef> = Record<string, never>, FunctionColumns extends Record<string, QueryDefinition<{}>> = Record<string, never>> = {
198
198
  type: "property";
199
199
  id: PropertyKeys<Q>;
200
200
  } | {
@@ -205,11 +205,7 @@ type ColumnDefinitionLocator<Q extends ObjectTypeDefinition, RDPs extends Record
205
205
  id: keyof RDPs;
206
206
  creator: DerivedProperty.Creator<Q, RDPs[keyof RDPs]>;
207
207
  };
208
- interface ObjectTableProps<Q extends ObjectTypeDefinition, RDPs extends Record<string, SimplePropertyDef> = Record<string, never>, FunctionColumns extends Record<string, QueryDefinition<{}>> = Record<string, never>> {
209
- /**
210
- * The set of objects to show in the table
211
- */
212
- objectSet: ObjectSet<Q>;
208
+ interface ObjectTableProps<Q extends ObjectOrInterfaceDefinition, RDPs extends Record<string, SimplePropertyDef> = Record<string, never>, FunctionColumns extends Record<string, QueryDefinition<{}>> = Record<string, never>> {
213
209
  /**
214
210
  * The object type of the object
215
211
  */
@@ -346,10 +342,10 @@ interface ObjectTableProps<Q extends ObjectTypeDefinition, RDPs extends Record<s
346
342
  *
347
343
  * @example
348
344
  * ```tsx
349
- * <ObjectTable objectSet={myObjectSet} objectType={MyObjectType} />
345
+ * <ObjectTable objectType={MyObjectType} />
350
346
  * ```
351
347
  */
352
- declare function ObjectTable<Q extends ObjectTypeDefinition, RDPs extends Record<string, SimplePropertyDef> = Record<string, never>, FunctionColumns extends Record<string, QueryDefinition<{}>> = Record<string, never>>({ objectSet, objectType, columnDefinitions, filter, orderBy, defaultOrderBy, onOrderByChanged, onColumnsPinnedChanged, onRowSelection, renderCellContextMenu, selectionMode, selectedRows, ...props }: ObjectTableProps<Q, RDPs, FunctionColumns>): React__default.ReactElement;
348
+ declare function ObjectTable<Q extends ObjectOrInterfaceDefinition, RDPs extends Record<string, SimplePropertyDef> = Record<string, never>, FunctionColumns extends Record<string, QueryDefinition<{}>> = Record<string, never>>({ objectType, columnDefinitions, filter, orderBy, defaultOrderBy, onOrderByChanged, onColumnsPinnedChanged, onRowSelection, renderCellContextMenu, selectionMode, selectedRows, ...props }: ObjectTableProps<Q, RDPs, FunctionColumns>): React__default.ReactElement;
353
349
 
354
350
  interface BaseTableProps<TData extends RowData> {
355
351
  table: Table<TData>;
@@ -359,7 +355,8 @@ interface BaseTableProps<TData extends RowData> {
359
355
  rowHeight?: number;
360
356
  renderCellContextMenu?: (row: TData, cell: Cell<TData, unknown>) => React__default.ReactNode;
361
357
  className?: string;
358
+ error?: Error;
362
359
  }
363
- declare function BaseTable<TData extends RowData>({ table, isLoading, fetchNextPage, onRowClick, rowHeight, renderCellContextMenu, className, }: BaseTableProps<TData>): ReactElement;
360
+ declare function BaseTable<TData extends RowData>({ table, isLoading, fetchNextPage, onRowClick, rowHeight, renderCellContextMenu, className, error, }: BaseTableProps<TData>): ReactElement;
364
361
 
365
362
  export { BaseTable, type BaseTableProps, type ColumnDefinition, type ColumnDefinitionLocator, type FilterListItemProps, type FilterListProps, ObjectTable, type ObjectTableProps };
@@ -27,7 +27,7 @@
27
27
  padding: var(--osdk-checkbox-padding);
28
28
  box-sizing: border-box;
29
29
  cursor: pointer;
30
- border-radius: var(--bp-surface-borderRadius);
30
+ border-radius: var(--osdk-surface-border-radius);
31
31
  border: var(--osdk-checkbox-border);
32
32
 
33
33
  &[data-unchecked] {
@@ -55,13 +55,20 @@
55
55
  }
56
56
  }
57
57
 
58
+ &:focus {
59
+ outline: none;
60
+ }
61
+
58
62
  &:focus-visible {
59
- outline: var(--bp-emphasis-focusWidth) solid var(--bp-emphasis-focusColor);
60
- outline-offset: var(--bp-emphasis-focusOffset);
63
+ outline: var(--osdk-focus-visible-outline);
64
+ outline-offset: calc(-1 * var(--osdk-focus-visible-outline-offset));
61
65
  }
62
66
  }
63
67
 
64
68
  .osdkCheckboxIndicator {
69
+ display: flex;
70
+ justify-content: center;
71
+ align-items: center;
65
72
  color: var(--osdk-checkbox-checked-foreground);
66
73
  width: var(--osdk-checkbox-icon-size);
67
74
  height: var(--osdk-checkbox-icon-size);
@@ -16,5 +16,5 @@
16
16
 
17
17
  .osdkCellContextMenu {
18
18
  position: fixed;
19
- z-index: var(--bp-surface-zIndex-2);
19
+ z-index: var(--osdk-surface-z-index-2);
20
20
  }
@@ -14,7 +14,20 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- .osdkCellContextMenu {
18
- position: fixed;
19
- z-index: var(--bp-surface-zIndex-2);
17
+ import classNames from "classnames";
18
+ import React from "react";
19
+ import styles from "./LoadingCell.module.css";
20
+ import cellStyles from "./TableCell.module.css";
21
+ export function LoadingCell({
22
+ width
23
+ }) {
24
+ return /*#__PURE__*/React.createElement("td", {
25
+ className: cellStyles.osdkTableCell,
26
+ style: {
27
+ width
28
+ }
29
+ }, /*#__PURE__*/React.createElement("div", {
30
+ className: classNames(styles.osdkLoadingCell, styles.osdkCellSkeleton)
31
+ }));
20
32
  }
33
+ //# sourceMappingURL=LoadingCell.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LoadingCell.js","names":["classNames","React","styles","cellStyles","LoadingCell","width","createElement","className","osdkTableCell","style","osdkLoadingCell","osdkCellSkeleton"],"sources":["LoadingCell.tsx"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport classNames from \"classnames\";\nimport React from \"react\";\nimport styles from \"./LoadingCell.module.css\";\nimport cellStyles from \"./TableCell.module.css\";\n\nexport function LoadingCell({ width }: { width: number }): React.ReactElement {\n return (\n <td\n className={cellStyles.osdkTableCell}\n style={{ width }}\n >\n <div\n className={classNames(styles.osdkLoadingCell, styles.osdkCellSkeleton)}\n />\n </td>\n );\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAOA,UAAU,MAAM,YAAY;AACnC,OAAOC,KAAK,MAAM,OAAO;AACzB,OAAOC,MAAM,MAAM,0BAA0B;AAC7C,OAAOC,UAAU,MAAM,wBAAwB;AAE/C,OAAO,SAASC,WAAWA,CAAC;EAAEC;AAAyB,CAAC,EAAsB;EAC5E,oBACEJ,KAAA,CAAAK,aAAA;IACEC,SAAS,EAAEJ,UAAU,CAACK,aAAc;IACpCC,KAAK,EAAE;MAAEJ;IAAM;EAAE,gBAEjBJ,KAAA,CAAAK,aAAA;IACEC,SAAS,EAAEP,UAAU,CAACE,MAAM,CAACQ,eAAe,EAAER,MAAM,CAACS,gBAAgB;EAAE,CACxE,CACC,CAAC;AAET","ignoreList":[]}
@@ -0,0 +1,48 @@
1
+ /*
2
+ * Copyright 2025 Palantir Technologies, Inc. All rights reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ .osdkLoadingCell {
18
+ height: var(--osdk-table-cell-fontSize);
19
+ border-radius: calc(var(--osdk-surface-border-radius) * 0.5);
20
+ flex: 1;
21
+ }
22
+
23
+ /* Blueprint skeleton animation keyframes */
24
+ @keyframes skeleton-glow {
25
+ from {
26
+ background: var(--osdk-table-skeleton-color-from);
27
+ border-color: var(--osdk-table-skeleton-color-from);
28
+ }
29
+
30
+ to {
31
+ background: var(--osdk-table-skeleton-color-to);
32
+ border-color: var(--osdk-table-skeleton-color-to);
33
+ }
34
+ }
35
+
36
+ .osdkCellSkeleton {
37
+ animation: 1000ms linear infinite alternate skeleton-glow;
38
+ background: var(--osdk-table-skeleton-color-from);
39
+ background-clip: padding-box;
40
+ border-color: var(--osdk-table-skeleton-color-from);
41
+ border-radius: calc(var(--osdk-surface-border-radius) * 0.5);
42
+ border: 1px solid var(--osdk-table-skeleton-border-color);
43
+ box-shadow: none;
44
+ color: transparent;
45
+ cursor: default;
46
+ pointer-events: none;
47
+ user-select: none;
48
+ }
@@ -0,0 +1,43 @@
1
+ /*
2
+ * Copyright 2025 Palantir Technologies, Inc. All rights reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ import React from "react";
18
+ import { LoadingCell } from "./LoadingCell.js";
19
+ import rowStyles from "./TableRow.module.css";
20
+ export function LoadingRow({
21
+ headers,
22
+ columnCount,
23
+ translateY,
24
+ rowHeight = 40,
25
+ columnWidth = 80
26
+ }) {
27
+ return /*#__PURE__*/React.createElement("tr", {
28
+ className: rowStyles.osdkTableRow,
29
+ style: {
30
+ height: `${rowHeight}px`,
31
+ transform: `translateY(${translateY}px)`
32
+ }
33
+ }, /*#__PURE__*/React.createElement(React.Fragment, null, Array.from({
34
+ length: columnCount
35
+ }).map((_, index) => {
36
+ const width = headers.length > index ? headers[index].getSize() : columnWidth;
37
+ return /*#__PURE__*/React.createElement(LoadingCell, {
38
+ key: `loading-cell-${index}`,
39
+ width: width
40
+ });
41
+ })));
42
+ }
43
+ //# sourceMappingURL=LoadingRow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LoadingRow.js","names":["React","LoadingCell","rowStyles","LoadingRow","headers","columnCount","translateY","rowHeight","columnWidth","createElement","className","osdkTableRow","style","height","transform","Fragment","Array","from","length","map","_","index","width","getSize","key"],"sources":["LoadingRow.tsx"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { HeaderGroup, RowData } from \"@tanstack/react-table\";\nimport React from \"react\";\nimport { LoadingCell } from \"./LoadingCell.js\";\nimport rowStyles from \"./TableRow.module.css\";\n\ninterface LoadingRowProps<TData extends RowData> {\n headers: HeaderGroup<TData>[\"headers\"];\n columnCount: number;\n translateY: number;\n rowHeight?: number;\n columnWidth?: number;\n}\n\nexport function LoadingRow<TData extends RowData>({\n headers,\n columnCount,\n translateY,\n rowHeight = 40,\n columnWidth = 80,\n}: LoadingRowProps<TData>): React.ReactElement {\n return (\n <tr\n className={rowStyles.osdkTableRow}\n style={{\n height: `${rowHeight}px`,\n transform: `translateY(${translateY}px)`,\n }}\n >\n {\n <>\n {Array.from({ length: columnCount }).map((_, index) => {\n const width = headers.length > index\n ? headers[index].getSize()\n : columnWidth;\n return <LoadingCell key={`loading-cell-${index}`} width={width} />;\n })}\n </>\n }\n </tr>\n );\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAGA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,WAAW,QAAQ,kBAAkB;AAC9C,OAAOC,SAAS,MAAM,uBAAuB;AAU7C,OAAO,SAASC,UAAUA,CAAwB;EAChDC,OAAO;EACPC,WAAW;EACXC,UAAU;EACVC,SAAS,GAAG,EAAE;EACdC,WAAW,GAAG;AACQ,CAAC,EAAsB;EAC7C,oBACER,KAAA,CAAAS,aAAA;IACEC,SAAS,EAAER,SAAS,CAACS,YAAa;IAClCC,KAAK,EAAE;MACLC,MAAM,EAAE,GAAGN,SAAS,IAAI;MACxBO,SAAS,EAAE,cAAcR,UAAU;IACrC;EAAE,gBAGAN,KAAA,CAAAS,aAAA,CAAAT,KAAA,CAAAe,QAAA,QACGC,KAAK,CAACC,IAAI,CAAC;IAAEC,MAAM,EAAEb;EAAY,CAAC,CAAC,CAACc,GAAG,CAAC,CAACC,CAAC,EAAEC,KAAK,KAAK;IACrD,MAAMC,KAAK,GAAGlB,OAAO,CAACc,MAAM,GAAGG,KAAK,GAChCjB,OAAO,CAACiB,KAAK,CAAC,CAACE,OAAO,CAAC,CAAC,GACxBf,WAAW;IACf,oBAAOR,KAAA,CAAAS,aAAA,CAACR,WAAW;MAACuB,GAAG,EAAE,gBAAgBH,KAAK,EAAG;MAACC,KAAK,EAAEA;IAAM,CAAE,CAAC;EACpE,CAAC,CACD,CAEF,CAAC;AAET","ignoreList":[]}