Skip to content

Conversation

reidbarber
Copy link
Member

✅ Pull Request Checklist:

  • Included link to corresponding React Spectrum GitHub Issue.
  • Added/updated unit tests and storybook for this change (for new code or code which already has tests).
  • Filled out test instructions.
  • Updated documentation (if it already exists for this component).
  • Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

🧢 Your Project:

@adobe-bot
Copy link

@adobe-bot
Copy link

API Changes

@react-stately/table

TableCollection

changed by:

  • TableCollection
-
+TableCollection<T> {
+  at: (number) => void
+  body: GridNode<T>
+  columnCount: number
+  columns: Array<GridNode<T>>
+  constructor: (Iterable<GridNode<T>>, TableCollection<T>, GridCollectionOptions) => void
+  getFirstKey: () => void
+  getItem: (Key) => void
+  getKeyAfter: (Key) => void
+  getKeyBefore: (Key) => void
+  getKeys: () => void
+  getLastKey: () => void
+  headerRows: Array<GridNode<T>>
+  keyMap: Map<Key, GridNode<T>>
+  rowHeaderColumnKeys: Set<Key>
+  rows: Array<GridNode<T>>
+  size: any
+  undefined: () => void
+}

it changed:

  • TableLayout
  • TableState
  • useTable
  • useTableColumnHeader
  • useTableRow
  • useTableHeaderRow
  • useTableCell
  • useTableSelectionCheckbox
  • useTableSelectAllCheckbox
  • useTableColumnResize
  • useTableState
  • TableCollection

@react-stately/tree

TreeCollection

-
+TreeCollection<T> {
+  at: (number) => void
+  constructor: (Iterable<Node<T>>, {
+    expandedKeys?: Set<Key>
+}) => void
+  getFirstKey: () => void
+  getItem: (Key) => void
+  getKeyAfter: (Key) => void
+  getKeyBefore: (Key) => void
+  getKeys: () => void
+  getLastKey: () => void
+  size: any
+  undefined: () => void
+}

@reidbarber reidbarber merged commit ef015c9 into main Oct 27, 2022
@reidbarber reidbarber deleted the export-tree-collection-and-table-collection branch October 27, 2022 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants