@public-ui/svelte 4.1.1-rc.1 → 4.1.1-rc.2

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.
package/dist/index.cjs CHANGED
@@ -2418,6 +2418,7 @@ function KolTableStateful($$anchor, $$props) {
2418
2418
  let _allowMultiSort = $__namespace.prop($$props, "_allowMultiSort", 8, void 0);
2419
2419
  let _data = $__namespace.prop($$props, "_data", 8);
2420
2420
  let _dataFoot = $__namespace.prop($$props, "_dataFoot", 8, void 0);
2421
+ let _fixedCols = $__namespace.prop($$props, "_fixedCols", 8, void 0);
2421
2422
  let _headers = $__namespace.prop($$props, "_headers", 8);
2422
2423
  let _label = $__namespace.prop($$props, "_label", 8);
2423
2424
  let _pagination = $__namespace.prop($$props, "_pagination", 8, void 0);
@@ -2433,6 +2434,9 @@ function KolTableStateful($$anchor, $$props) {
2433
2434
  const setProp = (prop, value) => {
2434
2435
  if ($__namespace.get(__ref)) $__namespace.mutate(__ref, $__namespace.get(__ref)[prop] = value);
2435
2436
  };
2437
+ $__namespace.legacy_pre_effect(() => ($__namespace.get(__mounted), $__namespace.deep_read_state(_fixedCols())), () => {
2438
+ if ($__namespace.get(__mounted)) setProp("_fixedCols", _fixedCols());
2439
+ });
2436
2440
  $__namespace.legacy_pre_effect(() => ($__namespace.get(__mounted), $__namespace.deep_read_state(_on())), () => {
2437
2441
  if ($__namespace.get(__mounted)) setProp("_on", _on());
2438
2442
  });
@@ -2467,6 +2471,7 @@ function KolTableStateless($$anchor, $$props) {
2467
2471
  svelte.createEventDispatcher();
2468
2472
  let _data = $__namespace.prop($$props, "_data", 8);
2469
2473
  let _dataFoot = $__namespace.prop($$props, "_dataFoot", 8, void 0);
2474
+ let _fixedCols = $__namespace.prop($$props, "_fixedCols", 8, void 0);
2470
2475
  let _headerCells = $__namespace.prop($$props, "_headerCells", 8);
2471
2476
  let _label = $__namespace.prop($$props, "_label", 8);
2472
2477
  let _on = $__namespace.prop($$props, "_on", 8, void 0);
@@ -2479,6 +2484,9 @@ function KolTableStateless($$anchor, $$props) {
2479
2484
  const setProp = (prop, value) => {
2480
2485
  if ($__namespace.get(__ref)) $__namespace.mutate(__ref, $__namespace.get(__ref)[prop] = value);
2481
2486
  };
2487
+ $__namespace.legacy_pre_effect(() => ($__namespace.get(__mounted), $__namespace.deep_read_state(_fixedCols())), () => {
2488
+ if ($__namespace.get(__mounted)) setProp("_fixedCols", _fixedCols());
2489
+ });
2482
2490
  $__namespace.legacy_pre_effect(() => ($__namespace.get(__mounted), $__namespace.deep_read_state(_on())), () => {
2483
2491
  if ($__namespace.get(__mounted)) setProp("_on", _on());
2484
2492
  });
package/dist/index.mjs CHANGED
@@ -2402,6 +2402,7 @@ function KolTableStateful($$anchor, $$props) {
2402
2402
  let _allowMultiSort = $.prop($$props, "_allowMultiSort", 8, void 0);
2403
2403
  let _data = $.prop($$props, "_data", 8);
2404
2404
  let _dataFoot = $.prop($$props, "_dataFoot", 8, void 0);
2405
+ let _fixedCols = $.prop($$props, "_fixedCols", 8, void 0);
2405
2406
  let _headers = $.prop($$props, "_headers", 8);
2406
2407
  let _label = $.prop($$props, "_label", 8);
2407
2408
  let _pagination = $.prop($$props, "_pagination", 8, void 0);
@@ -2417,6 +2418,9 @@ function KolTableStateful($$anchor, $$props) {
2417
2418
  const setProp = (prop, value) => {
2418
2419
  if ($.get(__ref)) $.mutate(__ref, $.get(__ref)[prop] = value);
2419
2420
  };
2421
+ $.legacy_pre_effect(() => ($.get(__mounted), $.deep_read_state(_fixedCols())), () => {
2422
+ if ($.get(__mounted)) setProp("_fixedCols", _fixedCols());
2423
+ });
2420
2424
  $.legacy_pre_effect(() => ($.get(__mounted), $.deep_read_state(_on())), () => {
2421
2425
  if ($.get(__mounted)) setProp("_on", _on());
2422
2426
  });
@@ -2451,6 +2455,7 @@ function KolTableStateless($$anchor, $$props) {
2451
2455
  createEventDispatcher();
2452
2456
  let _data = $.prop($$props, "_data", 8);
2453
2457
  let _dataFoot = $.prop($$props, "_dataFoot", 8, void 0);
2458
+ let _fixedCols = $.prop($$props, "_fixedCols", 8, void 0);
2454
2459
  let _headerCells = $.prop($$props, "_headerCells", 8);
2455
2460
  let _label = $.prop($$props, "_label", 8);
2456
2461
  let _on = $.prop($$props, "_on", 8, void 0);
@@ -2463,6 +2468,9 @@ function KolTableStateless($$anchor, $$props) {
2463
2468
  const setProp = (prop, value) => {
2464
2469
  if ($.get(__ref)) $.mutate(__ref, $.get(__ref)[prop] = value);
2465
2470
  };
2471
+ $.legacy_pre_effect(() => ($.get(__mounted), $.deep_read_state(_fixedCols())), () => {
2472
+ if ($.get(__mounted)) setProp("_fixedCols", _fixedCols());
2473
+ });
2466
2474
  $.legacy_pre_effect(() => ($.get(__mounted), $.deep_read_state(_on())), () => {
2467
2475
  if ($.get(__mounted)) setProp("_on", _on());
2468
2476
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@public-ui/svelte",
3
- "version": "4.1.1-rc.1",
3
+ "version": "4.1.1-rc.2",
4
4
  "license": "EUPL-1.2",
5
5
  "homepage": "https://public-ui.github.io",
6
6
  "repository": {
@@ -50,11 +50,11 @@
50
50
  "svelte": "5.53.7",
51
51
  "typescript": "5.9.3",
52
52
  "unbuild": "3.6.1",
53
- "@public-ui/components": "4.1.1-rc.1"
53
+ "@public-ui/components": "4.1.1-rc.2"
54
54
  },
55
55
  "peerDependencies": {
56
56
  "svelte": "^5.53.7",
57
- "@public-ui/components": "4.1.1-rc.1"
57
+ "@public-ui/components": "4.1.1-rc.2"
58
58
  },
59
59
  "sideEffects": false,
60
60
  "type": "module",