Skip to content
Compare
Choose a tag to compare
@github-actions github-actions released this 22 Mar 11:49
· 340 commits to main since this release
dcc6955

Minor Changes

  • Breaking change: tableOrderStore now takes in the full event with e.detail.column instead of just column to simplify usage. (341b51a47df0db4774a6470ecbcee36e21002188)

    Before

    <Table on:headerClick={(e) => tableOrder.onHeaderClick(e.detail.column)} />

    After

    <Table on:headerClick={tableOrder.onHeaderClick} />
  • Breaking change: Simplify Table ordering by passing instance of tableOrderStore instead of orderBy, orderDirection, and handling on:headerClick. Also fixes display of clickable headers when order is not used, and improves sort arrow size. (e72a154524d0a8583717f58617984b1ea46f187b)

    Before

    <script>
      const order = tableOrderStore();
    </script>
    
    <Table
      orderBy={$order.by}
      orderDirection={$order.direction}
      on:headerClick={order.onHeaderClick}
    />

    After

    <script>
      const order = tableOrderStore();
    </script>
    
    <Table {order} />
  • Breaking change: [Paginate] Rename items to data and pageItems slot prop to pageData to better integrate with Table. Maintain data type to pageData. (fc50ca2d5670596dd9c125725fff1ad38c07e723)

Patch Changes