Skip to content

Releases: theodorejb/trestable

0.8.0

26 Nov 22:13

Choose a tag to compare

Added

  • Props to optionally override expand and collapse labels.
  • Default group header component.
  • Documentation for row grouping and calculation rows.

0.7.1

19 Feb 22:34

Choose a tag to compare

Added

  • Export sortViaParams function.

0.7.0

19 Feb 20:18

Choose a tag to compare

Added

  • A groupBy function can now be declared for custom row grouping (combine with a custom groupHeader component).
  • A bottomCalc function (along with calcFormatter) can be defined on a column to reduce all the values to a single number to display after the group.
  • A calcRowClass function can be used to set a custom class on the calculation row based on the calculated value(s).

0.6.1

14 Jan 16:45

Choose a tag to compare

Changed

  • Hide row toggle button when printing.

0.6.0

07 Jan 18:56

Choose a tag to compare

Added

  • updateRecord function which is passed to column components and can be called to update the record in bound data.

0.5.2

06 Jan 22:33

Choose a tag to compare

Fixed

  • Bug where row toggle button could submit parent form.

0.5.1

01 Nov 14:11

Choose a tag to compare

Fixed

  • effect_update_depth_exceeded pagination error.

0.5.0

24 Oct 16:58

Choose a tag to compare

Added

  • Support for Svelte 5.

Changed

  • Svelte 5 is now required.

0.4.2

11 Oct 01:45

Choose a tag to compare

Added

  • sortAndPage function to simplify client-side sorting and pagination.

Changed

  • Expanded readme documentation.
  • Removed an unnecessary internal $$props usage.

0.3.1

22 Sep 23:19

Choose a tag to compare

Changed

  • Updated peer dependency to enable testing in Svelte 5 projects.