slint-ui 1.8.0 → 1.9.0-nightly.2024092618
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/Cargo.toml +6 -6
- package/README.md +1 -1
- package/binaries.json +1 -1
- package/cover.md +2 -3
- package/package.json +6 -6
package/Cargo.toml
CHANGED
|
@@ -11,8 +11,8 @@ homepage = "https://slint.dev"
|
|
|
11
11
|
keywords = ["gui", "toolkit", "graphics", "design", "ui"]
|
|
12
12
|
license = "GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0"
|
|
13
13
|
repository = "https://github.com/slint-ui/slint"
|
|
14
|
-
rust-version = "1.
|
|
15
|
-
version = "1.
|
|
14
|
+
rust-version = "1.77"
|
|
15
|
+
version = "1.9.0"
|
|
16
16
|
categories = ["gui", "development-tools"]
|
|
17
17
|
build = "build.rs"
|
|
18
18
|
|
|
@@ -40,10 +40,10 @@ accessibility = ["slint-interpreter/accessibility"]
|
|
|
40
40
|
[dependencies]
|
|
41
41
|
napi = { version = "2.14.0", default-features = false, features = ["napi8"] }
|
|
42
42
|
napi-derive = "2.14.0"
|
|
43
|
-
i-slint-compiler = { features = ["default"] , version = "=1.
|
|
44
|
-
i-slint-core = { features = ["default"] , version = "=1.
|
|
45
|
-
i-slint-backend-selector = { version = "=1.
|
|
46
|
-
slint-interpreter = { default-features = false , features = ["display-diagnostics", "internal", "compat-1-2"] , version = "=1.
|
|
43
|
+
i-slint-compiler = { features = ["default"] , git = "https://github.com/slint-ui/slint", rev = "cfa115affafc48293a545860d5368de28c7e6467", version = "=1.9.0", default-features = false }
|
|
44
|
+
i-slint-core = { features = ["default"] , git = "https://github.com/slint-ui/slint", rev = "cfa115affafc48293a545860d5368de28c7e6467", version = "=1.9.0", default-features = false }
|
|
45
|
+
i-slint-backend-selector = { git = "https://github.com/slint-ui/slint", rev = "cfa115affafc48293a545860d5368de28c7e6467", version = "=1.9.0", default-features = false }
|
|
46
|
+
slint-interpreter = { default-features = false , features = ["display-diagnostics", "internal", "compat-1-2"] , git = "https://github.com/slint-ui/slint", rev = "cfa115affafc48293a545860d5368de28c7e6467", version = "=1.9.0"}
|
|
47
47
|
spin_on = { version = "0.1" }
|
|
48
48
|
css-color-parser2 = { version = "1.0.1" }
|
|
49
49
|
itertools = { version = "0.13" }
|
package/README.md
CHANGED
|
@@ -33,7 +33,7 @@ You need to install the following components:
|
|
|
33
33
|
|
|
34
34
|
* **[Node.js](https://nodejs.org/download/release/)** (v16. or newer)
|
|
35
35
|
* **[npm](https://www.npmjs.com/)**
|
|
36
|
-
* **[Rust compiler](https://www.rust-lang.org/tools/install)** (1.
|
|
36
|
+
* **[Rust compiler](https://www.rust-lang.org/tools/install)** (1.77 or newer)
|
|
37
37
|
|
|
38
38
|
You will also need a few more dependencies, see <https://github.com/slint-ui/slint/blob/master/docs/building.md#prerequisites>
|
|
39
39
|
|
package/binaries.json
CHANGED
package/cover.md
CHANGED
|
@@ -34,8 +34,7 @@ To use Slint with Deno, ensure the following programs are installed:
|
|
|
34
34
|
Slint-node comes with pre-built binaries for macOS, Linux, and Windows. If you'd like to use Slint-node on a system
|
|
35
35
|
without pre-built binaries, you need to additional software:
|
|
36
36
|
|
|
37
|
-
* **[Rust compiler](https://www.rust-lang.org/tools/install)** (1.
|
|
38
|
-
* Depending on your operating system, you may need additional components. For a list of required system libraries,
|
|
37
|
+
* **[Rust compiler](https://www.rust-lang.org/tools/install)** (1.77 or newer) * Depending on your operating system, you may need additional components. For a list of required system libraries,
|
|
39
38
|
see <https://github.com/slint-ui/slint/blob/master/docs/building.md#prerequisites>.
|
|
40
39
|
|
|
41
40
|
## Getting Started (Node.js)
|
|
@@ -259,7 +258,7 @@ The types used for properties in .slint design markup each translate to specific
|
|
|
259
258
|
[Array properties](../slint/src/language/syntax/types#arrays-and-models) can be set from JavaScript by passing
|
|
260
259
|
either `Array` objects or implementations of the {@link Model} interface.
|
|
261
260
|
|
|
262
|
-
When passing a JavaScript `Array` object, the contents of the array are copied. Any changes to the JavaScript afterwards will not be visible on the Slint side.
|
|
261
|
+
When passing a JavaScript `Array` object, the contents of the array are copied. Any changes to the JavaScript afterwards will not be visible on the Slint side.
|
|
263
262
|
|
|
264
263
|
Reading a Slint array property from JavaScript will always return a @{link Model}.
|
|
265
264
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "slint-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0-nightly.2024092618",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"homepage": "https://github.com/slint-ui/slint",
|
|
@@ -65,10 +65,10 @@
|
|
|
65
65
|
"@napi-rs/cli": "^2.16.5"
|
|
66
66
|
},
|
|
67
67
|
"optionalDependencies": {
|
|
68
|
-
"@slint-ui/slint-ui-binary-linux-x64-gnu": "1.
|
|
69
|
-
"@slint-ui/slint-ui-binary-darwin-x64": "1.
|
|
70
|
-
"@slint-ui/slint-ui-binary-darwin-arm64": "1.
|
|
71
|
-
"@slint-ui/slint-ui-binary-win32-x64-msvc": "1.
|
|
72
|
-
"@slint-ui/slint-ui-binary-win32-ia32-msvc": "1.
|
|
68
|
+
"@slint-ui/slint-ui-binary-linux-x64-gnu": "1.9.0-nightly.2024092618",
|
|
69
|
+
"@slint-ui/slint-ui-binary-darwin-x64": "1.9.0-nightly.2024092618",
|
|
70
|
+
"@slint-ui/slint-ui-binary-darwin-arm64": "1.9.0-nightly.2024092618",
|
|
71
|
+
"@slint-ui/slint-ui-binary-win32-x64-msvc": "1.9.0-nightly.2024092618",
|
|
72
|
+
"@slint-ui/slint-ui-binary-win32-ia32-msvc": "1.9.0-nightly.2024092618"
|
|
73
73
|
}
|
|
74
74
|
}
|