@awc-ui/svelte 1.0.0 → 1.0.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/README.md CHANGED
@@ -1,7 +1,8 @@
1
1
  # Svelte Web Components and SvelteKit SSR — @awc-ui/svelte
2
2
 
3
- `@awc-ui/svelte` supplies types for AWC UI's native custom elements in Svelte 4
4
- and 5. Property types and custom-event payloads come from the core declarations.
3
+ `@awc-ui/svelte` supplies types for AWC UI's native custom elements in Svelte
4
+ 5.57 or later. Property types and custom-event payloads come from the core
5
+ declarations.
5
6
 
6
7
  ```bash
7
8
  npm install @awc-ui/svelte @awc-ui/core
@@ -46,7 +47,7 @@ components you use.
46
47
 
47
48
  ## SvelteKit server-side rendering
48
49
 
49
- Use SvelteKit 2.10 or later for the client initialization hook. On the server,
50
+ Use SvelteKit 2.70.3 or later for the client initialization hook. On the server,
50
51
  transform the completed HTML response with `renderToString` from
51
52
  `@awc-ui/core/hydrate`; `createPageTransform` from `@awc-ui/core/ssr/sveltekit`
52
53
  buffers response chunks until the document is complete.
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Svelte 4/5 custom-element types and optional lazy-loader registration.
2
+ * Svelte 5 custom-element types and optional lazy-loader registration.
3
3
  *
4
4
  * In a client-rendered Vite app, load types and statically register what you use:
5
5
  * @example
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@awc-ui/svelte",
3
- "version": "1.0.0",
4
- "description": "Svelte 4 and 5 components for accessible Material Design 3 Web Components, with SvelteKit SSR and server-rendering guidance",
3
+ "version": "1.0.1",
4
+ "description": "Svelte 5 components for accessible Material Design 3 Web Components, with SvelteKit SSR and server-rendering guidance",
5
5
  "keywords": [
6
6
  "svelte",
7
7
  "svelte-component",
@@ -47,13 +47,14 @@
47
47
  "LICENSE"
48
48
  ],
49
49
  "peerDependencies": {
50
- "svelte": ">=4",
51
- "@awc-ui/core": "1.0.0"
50
+ "svelte": ">=5.57.0",
51
+ "@awc-ui/core": "1.0.1"
52
52
  },
53
53
  "devDependencies": {
54
54
  "esbuild": "^0.25.12",
55
+ "svelte": "^5.57.0",
55
56
  "typescript": "^5.4.0",
56
- "@awc-ui/core": "1.0.0"
57
+ "@awc-ui/core": "1.0.1"
57
58
  },
58
59
  "license": "MIT",
59
60
  "author": "AWC UI",
package/src/index.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Svelte 4/5 custom-element types and optional lazy-loader registration.
2
+ * Svelte 5 custom-element types and optional lazy-loader registration.
3
3
  *
4
4
  * In a client-rendered Vite app, load types and statically register what you use:
5
5
  * @example