svelte-common 4.5.0 → 4.5.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.5.0",
3
+ "version": "4.5.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -43,7 +43,7 @@
43
43
  "ava": "^4.3.0",
44
44
  "documentation": "^13.2.5",
45
45
  "mf-styling": "^1.2.22",
46
- "npm-pkgbuild": "^10.7.10",
46
+ "npm-pkgbuild": "^10.8.0",
47
47
  "semantic-release": "^19.0.3",
48
48
  "stylelint": "^14.9.1",
49
49
  "stylelint-config-standard": "^26.0.0",
@@ -1,12 +1,14 @@
1
1
  <script>
2
- import { setContext, getContext } from "svelte";
2
+ import { getContext } from "svelte";
3
3
 
4
4
  const dataGrid = getContext("DATA_GRID");
5
5
 
6
- dataGrid.addColumn({ id, component: this});
6
+ let component;
7
+
8
+ dataGrid.addColumn({ id, component });
7
9
  export let id;
8
10
  </script>
9
11
 
10
- <th {id}>
12
+ <th {id} bind:this={component}>
11
13
  <slot />
12
14
  </th>
package/.stylelintrc.json DELETED
@@ -1,3 +0,0 @@
1
- {
2
- "extends": "stylelint-config-standard"
3
- }
package/pkg/hooks.sh DELETED
@@ -1,12 +0,0 @@
1
-
2
- post_install() {
3
- systemctl reload nginx
4
- }
5
-
6
- post_upgrade() {
7
- systemctl reload nginx
8
- }
9
-
10
- post_remove() {
11
- systemctl reload nginx
12
- }
package/pkg/nginx.conf DELETED
@@ -1,5 +0,0 @@
1
- location {{http.path}} {
2
- alias {{install.dir}};
3
- gzip_static on;
4
- add_header Content-Security-Policy "{{csp.header}}" always;
5
- }