@paubox/ui 4.0.0 → 5.0.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.
- package/index.esm.js +5 -1
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -36738,7 +36738,11 @@ var Table = function(param) {
|
|
|
36738
36738
|
id: key,
|
|
36739
36739
|
accessorKey: key,
|
|
36740
36740
|
accessorFn: getter,
|
|
36741
|
-
|
|
36741
|
+
// Sorting is opt-in: a column is only sortable when it explicitly
|
|
36742
|
+
// sets `sortable: true`. (TanStack's own default is `true`, so we
|
|
36743
|
+
// coerce undefined to false here.) This prevents columns whose
|
|
36744
|
+
// backend can't sort them from presenting a sort affordance.
|
|
36745
|
+
enableSorting: sortable !== null && sortable !== void 0 ? sortable : false,
|
|
36742
36746
|
enableResizing: !autoWidth,
|
|
36743
36747
|
header: header
|
|
36744
36748
|
}, restCol), {
|