wx-svelte-core 2.0.0-beta-1 → 2.0.0-beta-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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/readme.md +16 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wx-svelte-core",
3
- "version": "2.0.0-beta-1",
3
+ "version": "2.0.0-beta-2",
4
4
  "description": "SVAR Svelte Core library, a collection of form controls and UI components",
5
5
  "productTag": "core",
6
6
  "productTrial": false,
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "license": "MIT",
26
26
  "dependencies": {
27
- "wx-core-locales": "2.0.0-beta-1",
27
+ "wx-core-locales": "2.0.0-beta-2",
28
28
  "wx-lib-dom": "0.6.0"
29
29
  },
30
30
  "files": [
package/readme.md CHANGED
@@ -29,6 +29,22 @@ In addition to the Core library, you can use the following SVAR components to bu
29
29
  - [Toolbar](https://www.npmjs.com/package/wx-svelte-toolbar)
30
30
  - [File uploader](https://www.npmjs.com/package/wx-svelte-uploader)
31
31
 
32
+ ### Svelte 4 and Svelte 5 versions
33
+
34
+ There are two versions of the library: the 1.x version, designed to work with Svelte 4, and the 2.x version, created for Svelte 5. Please note that the 2.x version is in beta and may contain some instabilities.
35
+
36
+ To use the SVAR Core beta for Svelte 5, install it as follows:
37
+
38
+ ```
39
+ npm install wx-svelte-core
40
+ ```
41
+
42
+ To use the SVAR Core for Svelte 4:
43
+
44
+ ```
45
+ npm install wx-svelte-core@1.3.0
46
+ ```
47
+
32
48
  # :hammer_and_wrench: How to Use
33
49
 
34
50
  To use any of the Core components, simply import the package and include the desired component in your Svelte file: