@streamscloud/kit 0.2.41-1778520098817 → 0.2.41-1778521226680

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,7 +7,7 @@ import { TableColumnsManagerLocalization } from './table-columns-manager-localiz
7
7
  import IconChevronDown from '@fluentui/svg-icons/icons/chevron_down_20_regular.svg?raw';
8
8
  import IconColumnTwo from '@fluentui/svg-icons/icons/text_column_two_20_regular.svg?raw';
9
9
  import { untrack } from 'svelte';
10
- let { model, localStorageKey, trackModelChange, on } = $props();
10
+ let { model, localStorageKey, on } = $props();
11
11
  const localization = new TableColumnsManagerLocalization();
12
12
  const storage = $derived(localStorageKey ? LocalStorageItem.of(localStorageKey) : null);
13
13
  const hideableColumns = $derived(model.columns.filter((c) => c.hideable));
@@ -20,7 +20,7 @@ const items = $derived(hideableColumns.map((col) => ({
20
20
  let initialized = false;
21
21
  $effect(() => {
22
22
  const columns = hideableColumns;
23
- if (!storage || columns.length === 0 || (initialized && !trackModelChange)) {
23
+ if (!storage || columns.length === 0 || initialized) {
24
24
  return;
25
25
  }
26
26
  initialized = true;
@@ -7,7 +7,6 @@ declare function $$render<T extends {
7
7
  model: TableModel<T>;
8
8
  /** localStorage key for persisting column order and visibility */
9
9
  localStorageKey?: string;
10
- trackModelChange?: boolean;
11
10
  on?: {
12
11
  change?: (config: ColumnsConfig) => void;
13
12
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamscloud/kit",
3
- "version": "0.2.41-1778520098817",
3
+ "version": "0.2.41-1778521226680",
4
4
  "author": "StreamsCloud",
5
5
  "repository": {
6
6
  "type": "git",