All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
pixelSize
and percentSize
functions in TableSize
no longer require the initial width to be provided.ColumnSizes
will now use col
elements to calculate the column width where appropriate.Sizes.redistribute
no longer requires a TableSize
instance to be provided.TableOperations.makeRowHeader
and TableOperations.makeRowsHeader
no longer add the deprecated scope
attribute to td
elements.Generators.transform
no longer accepts a scope, as TransformOperations
now calculates the appropriate scope.Transitions.toGrid
will now add and remove col
elements to ensure the number of col
elements matches the number of columns in a table.TableGrid
when there were more col
elements than columns in a table.Warehouse
now contains the colgroup elements from the table.TableOperations
now includes functions to convert individual table cells to header cells (and vice-versa).makeRowBody
, makeRowsBody
, makeRowFooter
and makeRowsFooter
APIs to the TableOperations
module.TableSection
module to control how table cells, rows, and sections are modified when moving rows to different sections.RowDetails
has been renamed to RowDetail
and now takes a generic argument to define the type of cells stored.row
and colgroup
generators are now passed the previous element during transform or modification operations.getColType
to getColsType
in the TableOperations
module to reflect that it can lookup the type from multiple columns.getCellsType
in the TableOperations
module has been changed to be consistent with the getColsType
function.RunOperation
and TableOperation
module now requires an object containing the optional table behaviours (e.g. sizing and resizing) instead of passing them as separate arguments.prev
and next
functions in CellNavigation
now accept a predicate to check if the next or previous location is an eligible location to move to. If it's not then it'll keep walking to find an eligible location.Optional
API used in this module.Structs.RowData
has been merged into and replaced by Structs.RowDetail
to remove some duplication.cursor
function has been removed from Generators
as it was unused and incorrectly implemented.unmakeRowHeader
and unmakeRowsHeader
APIs have been removed from the TableOperations
module.TableMerge
that caused layout issues when merging cells from tables containing colgroup
s into tables without colgroup
s #TINY-6675