@functionalcms/svelte-components 2.1.6 → 2.1.10

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.
@@ -17,6 +17,8 @@
17
17
  }
18
18
  </style>
19
19
 
20
+ <script></script>
21
+
20
22
  <div>
21
23
  {#if $$slots.header}
22
24
  <header>
@@ -1,25 +1,6 @@
1
- /** @typedef {typeof __propDef.props} LayoutProps */
2
- /** @typedef {typeof __propDef.events} LayoutEvents */
3
- /** @typedef {typeof __propDef.slots} LayoutSlots */
4
- export default class Layout extends SvelteComponent<{
5
- [x: string]: never;
6
- }, {
7
- [evt: string]: CustomEvent<any>;
8
- }, {
9
- header: {};
10
- default: {};
11
- footer: {};
12
- sticky_footer: {};
13
- }> {
14
- }
15
- export type LayoutProps = typeof __propDef.props;
16
- export type LayoutEvents = typeof __propDef.events;
17
- export type LayoutSlots = typeof __propDef.slots;
18
1
  import { SvelteComponent } from "svelte";
19
2
  declare const __propDef: {
20
- props: {
21
- [x: string]: never;
22
- };
3
+ props: Record<string, never>;
23
4
  events: {
24
5
  [evt: string]: CustomEvent<any>;
25
6
  };
@@ -30,4 +11,9 @@ declare const __propDef: {
30
11
  sticky_footer: {};
31
12
  };
32
13
  };
14
+ export type LayoutProps = typeof __propDef.props;
15
+ export type LayoutEvents = typeof __propDef.events;
16
+ export type LayoutSlots = typeof __propDef.slots;
17
+ export default class Layout extends SvelteComponent<LayoutProps, LayoutEvents, LayoutSlots> {
18
+ }
33
19
  export {};
package/package.json CHANGED
@@ -1,12 +1,11 @@
1
1
  {
2
2
  "name": "@functionalcms/svelte-components",
3
- "version": "2.1.6",
3
+ "version": "2.1.10",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run package",
7
7
  "preview": "vite preview",
8
- "package": "svelte-kit sync && svelte-package && publint && xcopy package.json dist",
9
- "pub": "npm publish ./dist",
8
+ "package": "svelte-kit sync && svelte-package && publint",
10
9
  "prepublishOnly": "npm run package",
11
10
  "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
12
11
  "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
@@ -15,10 +14,13 @@
15
14
  ".": {
16
15
  "types": "./dist/index.d.ts",
17
16
  "svelte": "./dist/index.js"
18
- }
17
+ },
18
+ "./dist/css/properties.css": "./css/properties.css",
19
+ "./package.json": "./package.json"
19
20
  },
20
21
  "files": [
21
22
  "dist",
23
+ "dist/css",
22
24
  "!dist/**/*.test.*",
23
25
  "!dist/**/*.spec.*"
24
26
  ],
package/dist/package.json DELETED
@@ -1,45 +0,0 @@
1
- {
2
- "name": "@functionalcms/svelte-components",
3
- "version": "2.1.6",
4
- "scripts": {
5
- "dev": "vite dev",
6
- "build": "vite build && npm run package",
7
- "preview": "vite preview",
8
- "package": "svelte-kit sync && svelte-package && publint && xcopy package.json dist",
9
- "pub": "npm publish ./dist",
10
- "prepublishOnly": "npm run package",
11
- "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
12
- "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
13
- },
14
- "exports": {
15
- ".": {
16
- "types": "./dist/index.d.ts",
17
- "svelte": "./dist/index.js"
18
- }
19
- },
20
- "files": [
21
- "dist",
22
- "!dist/**/*.test.*",
23
- "!dist/**/*.spec.*"
24
- ],
25
- "peerDependencies": {
26
- "agnostic-svelte": "^1.1.27",
27
- "svelte": "^4.2.8",
28
- "@sveltejs/kit": "^2.3.2"
29
- },
30
- "devDependencies": {
31
- "@sveltejs/adapter-auto": "^3.1.0",
32
- "@sveltejs/package": "^2.2.5",
33
- "@sveltejs/vite-plugin-svelte": "^3.0.1",
34
- "agnostic-svelte": "^1.1.27",
35
- "publint": "^0.2.7",
36
- "svelte": "^4.2.8",
37
- "svelte-check": "^3.6.2",
38
- "tslib": "^2.6.2",
39
- "typescript": "^5.3.3",
40
- "vite": "^5.0.10"
41
- },
42
- "svelte": "./dist/index.js",
43
- "types": "./dist/index.d.ts",
44
- "type": "module"
45
- }