slint-ui 1.7.0-nightly.2024071700 → 1.7.0-nightly.2024071821

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 (3) hide show
  1. package/Cargo.toml +4 -4
  2. package/cover.md +5 -2
  3. package/package.json +6 -6
package/Cargo.toml CHANGED
@@ -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"] , git = "https://github.com/slint-ui/slint", rev = "18bbd6ba1ca733581f0e59dd8a2ecec905ef3806", version = "=1.7.0", default-features = false }
44
- i-slint-core = { features = ["default"] , git = "https://github.com/slint-ui/slint", rev = "18bbd6ba1ca733581f0e59dd8a2ecec905ef3806", version = "=1.7.0", default-features = false }
45
- i-slint-backend-selector = { git = "https://github.com/slint-ui/slint", rev = "18bbd6ba1ca733581f0e59dd8a2ecec905ef3806", version = "=1.7.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 = "18bbd6ba1ca733581f0e59dd8a2ecec905ef3806", version = "=1.7.0"}
43
+ i-slint-compiler = { features = ["default"] , git = "https://github.com/slint-ui/slint", rev = "7d00f0a80b87efe3854deb46c01775f1d14c1b83", version = "=1.7.0", default-features = false }
44
+ i-slint-core = { features = ["default"] , git = "https://github.com/slint-ui/slint", rev = "7d00f0a80b87efe3854deb46c01775f1d14c1b83", version = "=1.7.0", default-features = false }
45
+ i-slint-backend-selector = { git = "https://github.com/slint-ui/slint", rev = "7d00f0a80b87efe3854deb46c01775f1d14c1b83", version = "=1.7.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 = "7d00f0a80b87efe3854deb46c01775f1d14c1b83", version = "=1.7.0"}
47
47
  spin_on = { version = "0.1" }
48
48
  css-color-parser2 = { version = "1.0.1" }
49
49
  itertools = { version = "0.13" }
package/cover.md CHANGED
@@ -46,7 +46,7 @@ without pre-built binaries, you need to additional software:
46
46
 
47
47
  ```
48
48
  import { AboutSlint, Button, VerticalBox } from "std-widgets.slint";
49
- export component Demo {
49
+ export component Demo inherits Window {
50
50
  in-out property <string> greeting <=> label.text;
51
51
  VerticalBox {
52
52
  alignment: start;
@@ -93,7 +93,7 @@ For a complete example, see [/examples/todo/node](https://github.com/slint-ui/sl
93
93
 
94
94
  ```
95
95
  import { AboutSlint, Button, VerticalBox } from "std-widgets.slint";
96
- export component Demo {
96
+ export component Demo inherits Window {
97
97
  in-out property <string> greeting <=> label.text;
98
98
  VerticalBox {
99
99
  alignment: start;
@@ -300,3 +300,6 @@ component.Logic.to_upper_case = (str) => {
300
300
  return str.toUpperCase();
301
301
  };
302
302
  ```
303
+
304
+ **Note**: Global singletons are instantiated once per component. When declaring multiple components for `export` to JavaScript,
305
+ each instance will have their own instance of associated globals singletons.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slint-ui",
3
- "version": "1.7.0-nightly.2024071700",
3
+ "version": "1.7.0-nightly.2024071821",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "homepage": "https://github.com/slint-ui/slint",
@@ -59,10 +59,10 @@
59
59
  "@napi-rs/cli": "^2.16.5"
60
60
  },
61
61
  "optionalDependencies": {
62
- "@slint-ui/slint-ui-binary-linux-x64-gnu": "1.7.0-nightly.2024071700",
63
- "@slint-ui/slint-ui-binary-darwin-x64": "1.7.0-nightly.2024071700",
64
- "@slint-ui/slint-ui-binary-darwin-arm64": "1.7.0-nightly.2024071700",
65
- "@slint-ui/slint-ui-binary-win32-x64-msvc": "1.7.0-nightly.2024071700",
66
- "@slint-ui/slint-ui-binary-win32-ia32-msvc": "1.7.0-nightly.2024071700"
62
+ "@slint-ui/slint-ui-binary-linux-x64-gnu": "1.7.0-nightly.2024071821",
63
+ "@slint-ui/slint-ui-binary-darwin-x64": "1.7.0-nightly.2024071821",
64
+ "@slint-ui/slint-ui-binary-darwin-arm64": "1.7.0-nightly.2024071821",
65
+ "@slint-ui/slint-ui-binary-win32-x64-msvc": "1.7.0-nightly.2024071821",
66
+ "@slint-ui/slint-ui-binary-win32-ia32-msvc": "1.7.0-nightly.2024071821"
67
67
  }
68
68
  }