Skip to content

Releases: geodask/svelte-reactive-table

[email protected]

05 Nov 20:10

Choose a tag to compare

Patch Changes

[email protected]

17 Jun 20:55

Choose a tag to compare

Minor Changes

  • 0a8e031: feat: add filtering plugin

    This update introduces a flexible and easy-to-use filtering system that supports multiple filter types and intelligent value matching.

    Key features:

    • New reactiveFiltering plugin for flexible data filtering
    • Intelligent filter matching: exact values, arrays for IN operations, and custom predicate functions
    • Built-in string filtering with case-insensitive contains matching by default
    • Configurable case sensitivity option
    • Comprehensive filter helpers for common patterns (range, startsWith, endsWith, exactText, not)
    • Simple state management with reactive filter tracking
    • Clean API: setFilter(), setFilters(), removeFilter(), clearFilters(), and getFilter()
    • Full TypeScript support with proper type inference and safety
    • Seamless integration with existing plugin architecture using table.use(plugin) pattern

[email protected]

24 May 18:02

Choose a tag to compare

Minor Changes

  • 99fff82: feat: implement plugin architecture for table features

    This update redesigns how table features work by introducing a standardized plugin system. Features like pagination, sorting, and column visibility are now implemented as plugins with a consistent interface.

    Improvements include:

    • New plugin system with table.use(plugin) method
    • Enhanced pagination state with hasNextPage, hasPreviousPage, isFirstPage, isLastPage, and pageItemRange
    • Better TypeScript types for improved type safety
    • Standardized plugin lifecycle with init and cleanup methods

    BREAKING CHANGES:

    • Plugins must now be attached to tables using table.use(plugin)
    • Plugin state is accessed through table.plugins.[pluginId].state
    • Navigation methods are now renamed to goToNextPage, goToPreviousPage, goToFirstPage, goToLastPage

[email protected]

29 Apr 18:52

Choose a tag to compare

Patch Changes

  • a8308bd: refactor: small improvements

[email protected]

27 Apr 16:44

Choose a tag to compare

Minor Changes

  • ad357dd: feat: add basic sorting functionality

Patch Changes

  • e26a788: refactor: reorganize project structure into core and features modules

[email protected]

26 Apr 14:58

Choose a tag to compare

Minor Changes

  • 8df363c: feat: add column visibility as an opt-in feature

    • Introduced new reactiveColumnVisibility function
    • Added ability to manage column visibility (when enabled) through the table's columnVisibility property with methods for toggling, showing, and hiding columns

    BREAKING: Column visibility API has changed - visible property has been removed from column definitions, visibility methods are now moved to the columnVisibility object, and some property names have been changed

  • 5b60ac5: refactor: simplify API by exposing paginated rows through table.rows and prepare for future features

    This refactoring improves the pagination API by moving row management from the pagination component into the core table. Instead of accessing rows through table.pagination.rows, users now consistently use table.rows regardless of active features.

    Key changes:

    • Refactored internal pagination architecture to better separate concerns
    • Created a more unified and intuitive API for accessing table rows
    • Maintained all pagination functionality and state management
    • Updated documentation and examples to reflect the new approach

    BREAKING CHANGE: Applications using table.pagination.rows must now use table.rows instead.

[email protected]

22 Apr 14:13

Choose a tag to compare

Patch Changes

  • 656f74a: fix: remove $effect from reactiveTable function

[email protected]

22 Apr 14:02

Choose a tag to compare

Patch Changes

  • ecaa473: fix: small issue with reactivity

[email protected]

22 Apr 10:59

Choose a tag to compare

Minor Changes

  • bd6bb1b: refactor: make pagination optional with improved TypeScript API

    • Make pagination completely optional through a new options-based API
    • Add TypeScript generics to provide proper type safety with or without pagination
    • Introduce TableOptions interface for configuring table features
    • Improve public type exports for better developer experience
    • Update examples to demonstrate both basic tables and tables with pagination
    • Enhance type organization for better code documentation

    BREAKING CHANGE: Introduced new options-based API for table configuration that changes how tables are initialized and configured.

  • f4ba175: feat: add modular pagination support

    • Add new reactivePagination API for configurable table pagination
    • Change table API to use composition pattern for pagination
    • Export pagination types and functions in public API
    • Update examples to demonstrate the new pagination approach

    BREAKING CHANGE: The table API signature has changed. Pagination is now provided through a factory function instead of configuration options directly on the table.

[email protected]

19 Apr 13:11

Choose a tag to compare

Patch Changes

  • 2c6254b: refactor: remove examples from lib directory