|
6130 | 6130 | }, |
6131 | 6131 | { |
6132 | 6132 | "name": "sort_by", |
6133 | | - "type": "String, Symbol, nil", |
| 6133 | + "type": "Boolean, Symbol, nil", |
6134 | 6134 | "default": "`nil`", |
6135 | | - "description": "Sort key used for sorting" |
| 6135 | + "description": "Whether this column is sortable, or the sort strategy to use" |
6136 | 6136 | }, |
6137 | 6137 | { |
6138 | 6138 | "name": "row_header", |
|
6154 | 6154 | } |
6155 | 6155 | ] |
6156 | 6156 | }, |
| 6157 | + { |
| 6158 | + "component": "OpenProject::DataTable::PaginationFooter", |
| 6159 | + "status": "open_project", |
| 6160 | + "a11y_reviewed": false, |
| 6161 | + "short_name": "OpenProjectDataTablePaginationFooter", |
| 6162 | + "source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/data_table/pagination_footer.rb", |
| 6163 | + "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/data_table/pagination_footer/default/", |
| 6164 | + "parameters": [ |
| 6165 | + { |
| 6166 | + "name": "current_page", |
| 6167 | + "type": "Integer", |
| 6168 | + "default": "N/A", |
| 6169 | + "description": "The page that is currently being viewed (1-based)." |
| 6170 | + }, |
| 6171 | + { |
| 6172 | + "name": "total_count", |
| 6173 | + "type": "Integer, nil", |
| 6174 | + "default": "`nil`", |
| 6175 | + "description": "The total number of items across all pages. Required (together with `page_size`) to render the range summary." |
| 6176 | + }, |
| 6177 | + { |
| 6178 | + "name": "page_size", |
| 6179 | + "type": "Integer, nil", |
| 6180 | + "default": "`nil`", |
| 6181 | + "description": "The number of items rendered per page. Required (together with `total_count`) to render the range summary." |
| 6182 | + }, |
| 6183 | + { |
| 6184 | + "name": "aria_label", |
| 6185 | + "type": "String, nil", |
| 6186 | + "default": "`nil`", |
| 6187 | + "description": "Accessible name for the pagination navigation landmark." |
| 6188 | + }, |
| 6189 | + { |
| 6190 | + "name": "system_arguments", |
| 6191 | + "type": "Hash", |
| 6192 | + "default": "N/A", |
| 6193 | + "description": "System arguments passed to the root element. All remaining arguments are forwarded to [OpenProject::Pagination](/components/openprojectpagination)." |
| 6194 | + } |
| 6195 | + ] |
| 6196 | + }, |
6157 | 6197 | { |
6158 | 6198 | "component": "OpenProject::DataTable::SortHeader", |
6159 | 6199 | "status": "open_project", |
|
6320 | 6360 | { |
6321 | 6361 | "name": "filter_input_arguments", |
6322 | 6362 | "type": "Hash", |
6323 | | - "default": "`DEFAULT_FILTER_INPUT_ARGUMENTS.dup`", |
| 6363 | + "default": "`{}`", |
6324 | 6364 | "description": "Arguments that will be passed to the [TextField](/components/alpha/textfield) component." |
6325 | 6365 | }, |
6326 | 6366 | { |
6327 | 6367 | "name": "filter_mode_control_arguments", |
6328 | 6368 | "type": "Hash", |
6329 | | - "default": "`DEFAULT_FILTER_MODE_CONTROL_ARGUMENTS.dup`", |
| 6369 | + "default": "`{}`", |
6330 | 6370 | "description": "Arguments that will be passed to the [SegmentedControl](/components/alpha/segmentedcontrol) component." |
6331 | 6371 | }, |
6332 | 6372 | { |
6333 | 6373 | "name": "include_sub_items_check_box_arguments", |
6334 | 6374 | "type": "Hash", |
6335 | | - "default": "`DEFAULT_INCLUDE_SUB_ITEMS_CHECK_BOX_ARGUMENTS.dup`", |
| 6375 | + "default": "`{}`", |
6336 | 6376 | "description": "Arguments that will be passed to the [CheckBox](/components/alpha/checkbox) component." |
6337 | 6377 | }, |
6338 | 6378 | { |
6339 | 6379 | "name": "no_results_node_arguments", |
6340 | 6380 | "type": "Hash", |
6341 | | - "default": "`DEFAULT_NO_RESULTS_NODE_ARGUMENTS.dup`", |
| 6381 | + "default": "`{}`", |
6342 | 6382 | "description": "Arguments that will be passed to a [TreeView::LeafNode](/components/alpha/treeviewleafnode) component that appears when no items match the filter criteria." |
6343 | 6383 | } |
6344 | 6384 | ] |
|
6732 | 6772 | ] |
6733 | 6773 | }, |
6734 | 6774 | { |
6735 | | - "component": "OpenProject::SubHeader::QuickActionComponent", |
| 6775 | + "component": "OpenProject::SubHeader::QuickAction", |
6736 | 6776 | "status": "open_project", |
6737 | 6777 | "a11y_reviewed": false, |
6738 | | - "short_name": "OpenProjectSubHeaderQuickActionComponent", |
6739 | | - "source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/sub_header/quick_filter.rb", |
6740 | | - "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/sub_header/quick_filter/default/", |
| 6778 | + "short_name": "OpenProjectSubHeaderQuickAction", |
| 6779 | + "source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/sub_header/quick_action_component.rb", |
| 6780 | + "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/sub_header/quick_action/default/", |
6741 | 6781 | "parameters": [] |
6742 | 6782 | }, |
6743 | 6783 | { |
|
0 commit comments