Skip to content

ui-v0.17.0

Compare
Choose a tag to compare
@mofojed mofojed released this 09 Jul 20:18
· 255 commits to main since this release

ui-v0.17.0 - 2024-07-09

⚠ BREAKING CHANGES

  • ui.table row and cell press handlers had their first parameters of row/column index removed. These were an unsafe way to index the table as the index matches the user's view of the table, not the server's view.
    • For row events, you can add your own key column and use always_fetch_columns=["my_key_column"]. This column's data will be included with every row press.
    • For cell events, switch to a row event with the change above if you need to identify the row of the cell.
  • ui.panel implicitly created flexbox align-items property is now set to start by default instead of normal (which is equivalent to stretch). This results in a more pleasing default layout, as buttons will no longer be stretched to the full panel width. You can match previous behavior by explicitly returning a ui.panel with align-items="normal" if required.

Bug Fixes

  • Remove type imports from @react-types/shared (#610) - (66dc4bf) - Akshat Jawne
  • ui.table cell and row press event data can be wrong (#593) - (c4a2fe7) - Matthew Runyon
  • icons in illustrated message (#575) - (1623ff5) - ethanalvizo
  • remove Number type and replace with float/int (#590) - (d0e24f4) - Akshat Jawne
  • Don't render objects/children of panels if there's a widget error (#577) (#585) - (bd8cca9) - mofojed
  • Don't use a key for the ErrorBoundary in a Panel (#574) - (4a25715) - mofojed
  • Wrap the children of ReactPanel with an ErrorBoundary (#565) - (8cbee84) - mofojed

Build system

  • Update DHC packages to ^0.85.0 (#605) - (df6786a) - bmingles

Documentation

Features

  • UI table layout hints (#587) - (5e3c5e2) - Matthew Runyon
  • UI ComboBox component (#588) - (0564299) - bmingles
  • make ui.panel flex align-items start by default (#604) - (be97ad8) - Don
  • UI Tabs Improvement (#489) - (145493a) - Akshat Jawne
  • Replace shortid with nanoid (#591) - (ad8aad9) - Akshat Jawne
  • ui.table context menu items (#522) - (32d09e8) - Matthew Runyon

Refactoring

  • Remove row and column indexes from table press handlers (#592) - (05fc8f0) - Matthew Runyon