@openproject/primer-view-components 0.0.0-20260710144639 → 0.0.0-20260710162006

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openproject/primer-view-components",
3
- "version": "0.0.0-20260710144639",
3
+ "version": "0.0.0-20260710162006",
4
4
  "description": "ViewComponents of the Primer Design System for OpenProject",
5
5
  "main": "app/assets/javascripts/primer_view_components.js",
6
6
  "module": "app/components/primer/primer.js",
@@ -6146,6 +6146,12 @@
6146
6146
  "default": "`nil`",
6147
6147
  "description": "Whether this column is sortable, or the sort strategy to use"
6148
6148
  },
6149
+ {
6150
+ "name": "sort_value",
6151
+ "type": "Proc, nil",
6152
+ "default": "`nil`",
6153
+ "description": "Optional `->(row)` returning the value used when sorting this column. Enables sorting of computed/fieldless columns. Falls back to `field` when omitted."
6154
+ },
6149
6155
  {
6150
6156
  "name": "row_header",
6151
6157
  "type": "Boolean",
@@ -1778,8 +1778,15 @@
1778
1778
  "GeneratedSlotMethods": "Primer::OpenProject::DataTable::GeneratedSlotMethods",
1779
1779
  "Header": "Primer::OpenProject::DataTable::Header",
1780
1780
  "PaginationFooter": "Primer::OpenProject::DataTable::PaginationFooter",
1781
+ "SUBTITLE_TAG_DEFAULT": "div",
1782
+ "SUBTITLE_TAG_OPTIONS": [
1783
+ "div",
1784
+ "p",
1785
+ "span"
1786
+ ],
1781
1787
  "SortHeader": "Primer::OpenProject::DataTable::SortHeader",
1782
- "Sorting": "Primer::OpenProject::DataTable::Sorting"
1788
+ "Sorting": "Primer::OpenProject::DataTable::Sorting",
1789
+ "TITLE_TAG_DEFAULT": "h2"
1783
1790
  },
1784
1791
  "Primer::OpenProject::DataTable::Column": {
1785
1792
  "COLUMN_WIDTH_OPTIONS": [
@@ -20173,6 +20173,12 @@
20173
20173
  "default": "`nil`",
20174
20174
  "description": "Whether this column is sortable, or the sort strategy to use"
20175
20175
  },
20176
+ {
20177
+ "name": "sort_value",
20178
+ "type": "Proc, nil",
20179
+ "default": "`nil`",
20180
+ "description": "Optional `->(row)` returning the value used when sorting this column. Enables sorting of computed/fieldless columns. Falls back to `field` when omitted."
20181
+ },
20176
20182
  {
20177
20183
  "name": "row_header",
20178
20184
  "type": "Boolean",