svelte-tably 1.0.2-next.0 → 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.
- package/dist/table/Table.svelte +7 -12
- package/package.json +28 -28
package/dist/table/Table.svelte
CHANGED
|
@@ -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"
|
|
@@ -962,8 +962,8 @@
|
|
|
962
962
|
right: 0px;
|
|
963
963
|
background-color: hsla(0, 0%, 0%, 0.3);
|
|
964
964
|
z-index: 3;
|
|
965
|
-
opacity:
|
|
966
|
-
pointer-events:
|
|
965
|
+
opacity: 0;
|
|
966
|
+
pointer-events: none;
|
|
967
967
|
transition: 0.15s ease;
|
|
968
968
|
border: none;
|
|
969
969
|
outline: none;
|
|
@@ -977,14 +977,9 @@
|
|
|
977
977
|
right: 0px;
|
|
978
978
|
}
|
|
979
979
|
|
|
980
|
-
&[aria-hidden='
|
|
981
|
-
opacity:
|
|
982
|
-
pointer-events:
|
|
983
|
-
}
|
|
984
|
-
|
|
985
|
-
&[aria-hidden='true'] {
|
|
986
|
-
opacity: 0;
|
|
987
|
-
pointer-events: none;
|
|
980
|
+
&[aria-hidden='false'], &:not([aria-hidden]) {
|
|
981
|
+
opacity: 1;
|
|
982
|
+
pointer-events: all;
|
|
988
983
|
}
|
|
989
984
|
|
|
990
985
|
@starting-style {
|
package/package.json
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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
|
}
|