@public-ui/svelte 4.1.2-rc.2 → 4.1.2-rc.4

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
@@ -2276,6 +2276,7 @@ function KolTabs($$anchor, $$props) {
2276
2276
  let _on = $__namespace.prop($$props, "_on", 8, void 0);
2277
2277
  let _selected = $__namespace.prop($$props, "_selected", 8, void 0);
2278
2278
  let _tabs = $__namespace.prop($$props, "_tabs", 8);
2279
+ const focus = (...args) => $__namespace.get(__ref).focus(...args);
2279
2280
  const getWebComponent = () => $__namespace.get(__ref);
2280
2281
  svelte.onMount(() => {
2281
2282
  $__namespace.set(__mounted, true);
@@ -2287,7 +2288,7 @@ function KolTabs($$anchor, $$props) {
2287
2288
  if ($__namespace.get(__mounted)) setProp("_on", _on());
2288
2289
  });
2289
2290
  $__namespace.legacy_pre_effect_reset();
2290
- var $$exports = { getWebComponent };
2291
+ var $$exports = { focus, getWebComponent };
2291
2292
  $__namespace.init();
2292
2293
  var kol_tabs = root$5();
2293
2294
  $__namespace.template_effect(() => $__namespace.set_custom_element_data(kol_tabs, "_align", _align()));
@@ -2301,6 +2302,7 @@ function KolTabs($$anchor, $$props) {
2301
2302
  $__namespace.reset(kol_tabs);
2302
2303
  $__namespace.bind_this(kol_tabs, ($$value) => $__namespace.set(__ref, $$value), () => $__namespace.get(__ref));
2303
2304
  $__namespace.append($$anchor, kol_tabs);
2305
+ $__namespace.bind_prop($$props, "focus", focus);
2304
2306
  $__namespace.bind_prop($$props, "getWebComponent", getWebComponent);
2305
2307
  return $__namespace.pop($$exports);
2306
2308
  }
@@ -2396,6 +2398,7 @@ function KolToolbar($$anchor, $$props) {
2396
2398
  let _label = $__namespace.prop($$props, "_label", 8);
2397
2399
  let _items = $__namespace.prop($$props, "_items", 8);
2398
2400
  let _orientation = $__namespace.prop($$props, "_orientation", 8, void 0);
2401
+ const focus = (...args) => $__namespace.get(__ref).focus(...args);
2399
2402
  const getWebComponent = () => $__namespace.get(__ref);
2400
2403
  svelte.onMount(() => {
2401
2404
  $__namespace.set(__mounted, true);
@@ -2407,7 +2410,7 @@ function KolToolbar($$anchor, $$props) {
2407
2410
  if ($__namespace.get(__mounted)) setProp("_items", _items());
2408
2411
  });
2409
2412
  $__namespace.legacy_pre_effect_reset();
2410
- var $$exports = { getWebComponent };
2413
+ var $$exports = { focus, getWebComponent };
2411
2414
  $__namespace.init();
2412
2415
  var kol_toolbar = root$3();
2413
2416
  $__namespace.template_effect(() => $__namespace.set_custom_element_data(kol_toolbar, "_label", _label()));
@@ -2417,6 +2420,7 @@ function KolToolbar($$anchor, $$props) {
2417
2420
  $__namespace.reset(kol_toolbar);
2418
2421
  $__namespace.bind_this(kol_toolbar, ($$value) => $__namespace.set(__ref, $$value), () => $__namespace.get(__ref));
2419
2422
  $__namespace.append($$anchor, kol_toolbar);
2423
+ $__namespace.bind_prop($$props, "focus", focus);
2420
2424
  $__namespace.bind_prop($$props, "getWebComponent", getWebComponent);
2421
2425
  return $__namespace.pop($$exports);
2422
2426
  }
@@ -2427,10 +2431,11 @@ function KolTree($$anchor, $$props) {
2427
2431
  let __ref = $__namespace.mutable_source();
2428
2432
  svelte.createEventDispatcher();
2429
2433
  let _label = $__namespace.prop($$props, "_label", 8);
2434
+ const focus = (...args) => $__namespace.get(__ref).focus(...args);
2430
2435
  const getWebComponent = () => $__namespace.get(__ref);
2431
2436
  svelte.onMount(() => {
2432
2437
  });
2433
- var $$exports = { getWebComponent };
2438
+ var $$exports = { focus, getWebComponent };
2434
2439
  $__namespace.init();
2435
2440
  var kol_tree = root$2();
2436
2441
  $__namespace.template_effect(() => $__namespace.set_custom_element_data(kol_tree, "_label", _label()));
@@ -2439,6 +2444,7 @@ function KolTree($$anchor, $$props) {
2439
2444
  $__namespace.reset(kol_tree);
2440
2445
  $__namespace.bind_this(kol_tree, ($$value) => $__namespace.set(__ref, $$value), () => $__namespace.get(__ref));
2441
2446
  $__namespace.append($$anchor, kol_tree);
2447
+ $__namespace.bind_prop($$props, "focus", focus);
2442
2448
  $__namespace.bind_prop($$props, "getWebComponent", getWebComponent);
2443
2449
  return $__namespace.pop($$exports);
2444
2450
  }
package/dist/index.mjs CHANGED
@@ -2260,6 +2260,7 @@ function KolTabs($$anchor, $$props) {
2260
2260
  let _on = $.prop($$props, "_on", 8, void 0);
2261
2261
  let _selected = $.prop($$props, "_selected", 8, void 0);
2262
2262
  let _tabs = $.prop($$props, "_tabs", 8);
2263
+ const focus = (...args) => $.get(__ref).focus(...args);
2263
2264
  const getWebComponent = () => $.get(__ref);
2264
2265
  onMount(() => {
2265
2266
  $.set(__mounted, true);
@@ -2271,7 +2272,7 @@ function KolTabs($$anchor, $$props) {
2271
2272
  if ($.get(__mounted)) setProp("_on", _on());
2272
2273
  });
2273
2274
  $.legacy_pre_effect_reset();
2274
- var $$exports = { getWebComponent };
2275
+ var $$exports = { focus, getWebComponent };
2275
2276
  $.init();
2276
2277
  var kol_tabs = root$5();
2277
2278
  $.template_effect(() => $.set_custom_element_data(kol_tabs, "_align", _align()));
@@ -2285,6 +2286,7 @@ function KolTabs($$anchor, $$props) {
2285
2286
  $.reset(kol_tabs);
2286
2287
  $.bind_this(kol_tabs, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
2287
2288
  $.append($$anchor, kol_tabs);
2289
+ $.bind_prop($$props, "focus", focus);
2288
2290
  $.bind_prop($$props, "getWebComponent", getWebComponent);
2289
2291
  return $.pop($$exports);
2290
2292
  }
@@ -2380,6 +2382,7 @@ function KolToolbar($$anchor, $$props) {
2380
2382
  let _label = $.prop($$props, "_label", 8);
2381
2383
  let _items = $.prop($$props, "_items", 8);
2382
2384
  let _orientation = $.prop($$props, "_orientation", 8, void 0);
2385
+ const focus = (...args) => $.get(__ref).focus(...args);
2383
2386
  const getWebComponent = () => $.get(__ref);
2384
2387
  onMount(() => {
2385
2388
  $.set(__mounted, true);
@@ -2391,7 +2394,7 @@ function KolToolbar($$anchor, $$props) {
2391
2394
  if ($.get(__mounted)) setProp("_items", _items());
2392
2395
  });
2393
2396
  $.legacy_pre_effect_reset();
2394
- var $$exports = { getWebComponent };
2397
+ var $$exports = { focus, getWebComponent };
2395
2398
  $.init();
2396
2399
  var kol_toolbar = root$3();
2397
2400
  $.template_effect(() => $.set_custom_element_data(kol_toolbar, "_label", _label()));
@@ -2401,6 +2404,7 @@ function KolToolbar($$anchor, $$props) {
2401
2404
  $.reset(kol_toolbar);
2402
2405
  $.bind_this(kol_toolbar, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
2403
2406
  $.append($$anchor, kol_toolbar);
2407
+ $.bind_prop($$props, "focus", focus);
2404
2408
  $.bind_prop($$props, "getWebComponent", getWebComponent);
2405
2409
  return $.pop($$exports);
2406
2410
  }
@@ -2411,10 +2415,11 @@ function KolTree($$anchor, $$props) {
2411
2415
  let __ref = $.mutable_source();
2412
2416
  createEventDispatcher();
2413
2417
  let _label = $.prop($$props, "_label", 8);
2418
+ const focus = (...args) => $.get(__ref).focus(...args);
2414
2419
  const getWebComponent = () => $.get(__ref);
2415
2420
  onMount(() => {
2416
2421
  });
2417
- var $$exports = { getWebComponent };
2422
+ var $$exports = { focus, getWebComponent };
2418
2423
  $.init();
2419
2424
  var kol_tree = root$2();
2420
2425
  $.template_effect(() => $.set_custom_element_data(kol_tree, "_label", _label()));
@@ -2423,6 +2428,7 @@ function KolTree($$anchor, $$props) {
2423
2428
  $.reset(kol_tree);
2424
2429
  $.bind_this(kol_tree, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
2425
2430
  $.append($$anchor, kol_tree);
2431
+ $.bind_prop($$props, "focus", focus);
2426
2432
  $.bind_prop($$props, "getWebComponent", getWebComponent);
2427
2433
  return $.pop($$exports);
2428
2434
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@public-ui/svelte",
3
- "version": "4.1.2-rc.2",
3
+ "version": "4.1.2-rc.4",
4
4
  "license": "EUPL-1.2",
5
5
  "homepage": "https://public-ui.github.io",
6
6
  "repository": {
@@ -47,14 +47,14 @@
47
47
  "devDependencies": {
48
48
  "@babel/types": "7.29.0",
49
49
  "minimatch": "10.2.4",
50
- "svelte": "5.54.0",
50
+ "svelte": "5.55.0",
51
51
  "typescript": "5.9.3",
52
52
  "unbuild": "3.6.1",
53
- "@public-ui/components": "4.1.2-rc.2"
53
+ "@public-ui/components": "4.1.2-rc.4"
54
54
  },
55
55
  "peerDependencies": {
56
- "svelte": "^5.54.0",
57
- "@public-ui/components": "4.1.2-rc.2"
56
+ "svelte": "^5.55.0",
57
+ "@public-ui/components": "4.1.2-rc.4"
58
58
  },
59
59
  "sideEffects": false,
60
60
  "type": "module",