svelte-tably 1.0.2-next.1 → 1.0.2-next.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.
@@ -648,7 +648,7 @@
648
648
  {/if}
649
649
 
650
650
  <caption class="panel" style="width: {panelTween.current}px;">
651
- {#if properties.panel && properties.panel in table.panels}
651
+ {#if mount.isMounted && properties.panel && properties.panel in table.panels}
652
652
  <div
653
653
  class="panel-content"
654
654
  bind:offsetWidth={panelTween.size}
@@ -668,7 +668,7 @@
668
668
  </caption>
669
669
  <caption
670
670
  class="backdrop"
671
- aria-hidden={properties.panel && table.panels[properties.panel]?.backdrop ? false : true}
671
+ aria-hidden={!mount.isMounted || (properties.panel && table.panels[properties.panel]?.backdrop ? false : true)}
672
672
  >
673
673
  <button
674
674
  aria-label="Panel backdrop"
package/package.json CHANGED
@@ -1,30 +1,30 @@
1
1
  {
2
- "name": "svelte-tably",
3
- "version": "1.0.2-next.1",
4
- "description": "A high performant dynamic table for Svelte 5",
5
- "license": "MIT",
6
- "repository": {
7
- "type": "git",
8
- "url": "git+https://github.com/Refzlund/svelte-tably.git"
9
- },
10
- "bugs": {
11
- "url": "https://github.com/Refzlund/svelte-tably/issues"
12
- },
13
- "files": [
14
- "dist"
15
- ],
16
- "type": "module",
17
- "exports": {
18
- ".": {
19
- "types": "./dist/index.d.ts",
20
- "default": "./dist/index.js",
21
- "svelte": "./dist/index.js"
22
- }
23
- },
24
- "dependencies": {
25
- "runic-reorder": "^1"
26
- },
27
- "peerDependencies": {
28
- "svelte": "^5"
29
- }
2
+ "name": "svelte-tably",
3
+ "version": "1.0.2-next.2",
4
+ "description": "A high performant dynamic table for Svelte 5",
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/Refzlund/svelte-tably.git"
9
+ },
10
+ "bugs": {
11
+ "url": "https://github.com/Refzlund/svelte-tably/issues"
12
+ },
13
+ "files": [
14
+ "dist"
15
+ ],
16
+ "type": "module",
17
+ "exports": {
18
+ ".": {
19
+ "types": "./dist/index.d.ts",
20
+ "default": "./dist/index.js",
21
+ "svelte": "./dist/index.js"
22
+ }
23
+ },
24
+ "dependencies": {
25
+ "runic-reorder": "^1"
26
+ },
27
+ "peerDependencies": {
28
+ "svelte": "^5"
29
+ }
30
30
  }