svelte-common 4.6.0 → 4.6.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svelte-common",
3
- "version": "4.6.0",
3
+ "version": "4.6.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -32,8 +32,8 @@
32
32
  "preview": "vite preview"
33
33
  },
34
34
  "dependencies": {
35
- "svelte-command": "^1.1.12",
36
- "svelte-entitlement": "^1.2.22"
35
+ "svelte-command": "^1.1.13",
36
+ "svelte-entitlement": "^1.2.23"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@semantic-release/commit-analyzer": "^9.0.2",
@@ -64,9 +64,7 @@
64
64
  "homepage": "https://github.com/arlac77/svelte-common#readme",
65
65
  "pkgbuild": {
66
66
  "content": {
67
- "${install.dir}": {
68
- "base": "build"
69
- },
67
+ "${install.dir}": "build/",
70
68
  "${nginx.sites.dir}${name}.conf": "pkg/nginx.conf"
71
69
  },
72
70
  "hooks": "pkg/hooks.sh",
@@ -2,6 +2,8 @@
2
2
  import { setContext } from "svelte";
3
3
 
4
4
  export let columns = [];
5
+ export let source = { entries: [] };
6
+
5
7
  const dataGrid = {
6
8
  columns,
7
9
  addColumn: c => {
@@ -12,7 +14,6 @@
12
14
 
13
15
  setContext("DATA_GRID", dataGrid);
14
16
 
15
- export let source = { entries: [] };
16
17
  </script>
17
18
 
18
19
  <table>
@@ -1,12 +1,13 @@
1
1
  <script>
2
2
  import { getContext } from "svelte";
3
3
 
4
+ export let id;
5
+
4
6
  const dataGrid = getContext("DATA_GRID");
5
7
 
6
8
  let component;
7
9
 
8
10
  dataGrid.addColumn({ id, component });
9
- export let id;
10
11
  </script>
11
12
 
12
13
  <th {id} bind:this={component}>