slint-ui 1.9.0-nightly.2024121716 → 1.9.0-nightly.2024121819

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 CHANGED
@@ -41,10 +41,10 @@ accessibility = ["slint-interpreter/accessibility"]
41
41
  [dependencies]
42
42
  napi = { version = "2.14.0", default-features = false, features = ["napi8"] }
43
43
  napi-derive = "2.14.0"
44
- i-slint-compiler = { features = ["default"] , git = "https://github.com/slint-ui/slint", rev = "dc4bda958ebfda6184825bdacf6cb0bbd6fc7bd2", version = "=1.9.0", default-features = false }
45
- i-slint-core = { features = ["default", "gettext-rs"] , git = "https://github.com/slint-ui/slint", rev = "dc4bda958ebfda6184825bdacf6cb0bbd6fc7bd2", version = "=1.9.0", default-features = false }
46
- i-slint-backend-selector = { git = "https://github.com/slint-ui/slint", rev = "dc4bda958ebfda6184825bdacf6cb0bbd6fc7bd2", version = "=1.9.0", default-features = false }
47
- slint-interpreter = { default-features = false , features = ["display-diagnostics", "internal", "compat-1-2"] , git = "https://github.com/slint-ui/slint", rev = "dc4bda958ebfda6184825bdacf6cb0bbd6fc7bd2", version = "=1.9.0"}
44
+ i-slint-compiler = { features = ["default"] , git = "https://github.com/slint-ui/slint", rev = "09c9857082ff0e5cef6cdb4ed4396aab9eafb9d4", version = "=1.9.0", default-features = false }
45
+ i-slint-core = { features = ["default", "gettext-rs"] , git = "https://github.com/slint-ui/slint", rev = "09c9857082ff0e5cef6cdb4ed4396aab9eafb9d4", version = "=1.9.0", default-features = false }
46
+ i-slint-backend-selector = { git = "https://github.com/slint-ui/slint", rev = "09c9857082ff0e5cef6cdb4ed4396aab9eafb9d4", version = "=1.9.0", default-features = false }
47
+ slint-interpreter = { default-features = false , features = ["display-diagnostics", "internal", "compat-1-2"] , git = "https://github.com/slint-ui/slint", rev = "09c9857082ff0e5cef6cdb4ed4396aab9eafb9d4", version = "=1.9.0"}
48
48
  spin_on = { version = "0.1" }
49
49
  css-color-parser2 = { version = "1.0.1" }
50
50
  itertools = { version = "0.13" }
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  [Slint](https://slint.dev/) is a UI toolkit that supports different programming languages.
8
8
  Slint-node is the integration with Node.js.
9
9
 
10
- To get started you use the [walk-through tutorial](https://slint.dev/docs/slint/src/quickstart/).
10
+ To get started you use the [walk-through tutorial](https://slint.dev/docs/slint/tutorial/quickstart).
11
11
  We also have a [Getting Started Template](https://github.com/slint-ui/slint-nodejs-template) repository with
12
12
  the code of a minimal application using Slint that can be used as a starting point to your program.
13
13
 
package/cover.md CHANGED
@@ -6,7 +6,7 @@
6
6
  [Slint](https://slint.dev/) is a UI toolkit that supports different programming languages.
7
7
  Slint-node is the integration with [Node.js](https://nodejs.org/en) and [Deno](https://deno.com).
8
8
 
9
- To get started you use the [walk-through tutorial](https://slint.dev/docs/slint/src/quickstart).
9
+ To get started you use the [walk-through tutorial](https://slint.dev/docs/slint/tutorial/quickstart).
10
10
  We also have a [Getting Started Template](https://github.com/slint-ui/slint-nodejs-template) repository with
11
11
  the code of a minimal application using Slint that can be used as a starting point to your program.
12
12
 
@@ -194,7 +194,7 @@ This is your main TypeScript entry point:
194
194
 
195
195
  ### Instantiating a Component
196
196
 
197
- Use the {@link loadFile} function to load a `.slint` file. Instantiate the [exported component](http://slint.dev/docs/slint/src/language/concepts/file)
197
+ Use the {@link loadFile} function to load a `.slint` file. Instantiate the [exported component](http://slint.dev/docs/slint/guide/language/coding/file/)
198
198
  with the new operator. Access exported callbacks and properties as JavaScript properties on the instantiated component. In addition,
199
199
  the returned object implements the {@link ComponentHandle} interface, to show/hide the instance or access the window.
200
200
 
@@ -233,7 +233,7 @@ let component = new ui.MainWindow({
233
233
 
234
234
  ### Accessing a Properties
235
235
 
236
- [Properties](http://slint.dev/docs/slint/src/language/syntax/properties) declared as `out` or `in-out` in `.slint` files are visible as JavaScript properties on the component instance.
236
+ [Properties](http://slint.dev/docs/slint/guide/language/coding/properties/) declared as `out` or `in-out` in `.slint` files are visible as JavaScript properties on the component instance.
237
237
 
238
238
  **`main.slint`**
239
239
  export component MainWindow {
@@ -250,7 +250,7 @@ instance.name = "Joe";
250
250
 
251
251
  ### Setting and Invoking Callbacks
252
252
 
253
- [Callbacks](http://slint.dev/docs/slint/src/language/syntax/callbacks) declared in `.slint` files are visible as JavaScript function properties on the component instance. Invoke them
253
+ [Callbacks](http://slint.dev/docs/slint/guide/language/coding/functions-and-callbacks/) declared in `.slint` files are visible as JavaScript function properties on the component instance. Invoke them
254
254
  as function to invoke the callback, and assign JavaScript functions to set the callback handler.
255
255
 
256
256
  **`ui/my-component.slint`**
@@ -303,7 +303,7 @@ The types used for properties in .slint design markup each translate to specific
303
303
 
304
304
  ### Arrays and Models
305
305
 
306
- [Array properties](http://slint.dev/docs/slint/src/language/syntax/types#arrays-and-models) can be set from JavaScript by passing
306
+ [Array properties](http://slint.dev/docs/slint/guide/language/coding/repetition-and-data-models#arrays-and-models) can be set from JavaScript by passing
307
307
  either `Array` objects or implementations of the {@link Model} interface.
308
308
 
309
309
  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.
@@ -390,7 +390,7 @@ component.position = ui.Position.bottom;
390
390
 
391
391
  ### Globals
392
392
 
393
- You can declare [globally available singletons](http://slint.dev/docs/slint/src/language/syntax/globals) in your
393
+ You can declare [globally available singletons](http://slint.dev/docs/slint/guide/language/coding/globals) in your
394
394
  `.slint` files. If exported, these singletons are accessible as properties on your main
395
395
  componen instance. Each global singleton is represented by an object with properties and callbacks,
396
396
  similar to API that's created for your `.slint` component.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slint-ui",
3
- "version": "1.9.0-nightly.2024121716",
3
+ "version": "1.9.0-nightly.2024121819",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "homepage": "https://github.com/slint-ui/slint",
@@ -67,11 +67,11 @@
67
67
  "@napi-rs/cli": "2.18.4"
68
68
  },
69
69
  "optionalDependencies": {
70
- "@slint-ui/slint-ui-binary-linux-x64-gnu": "1.9.0-nightly.2024121716",
71
- "@slint-ui/slint-ui-binary-linux-arm64-gnu": "1.9.0-nightly.2024121716",
72
- "@slint-ui/slint-ui-binary-darwin-x64": "1.9.0-nightly.2024121716",
73
- "@slint-ui/slint-ui-binary-darwin-arm64": "1.9.0-nightly.2024121716",
74
- "@slint-ui/slint-ui-binary-win32-x64-msvc": "1.9.0-nightly.2024121716",
75
- "@slint-ui/slint-ui-binary-win32-ia32-msvc": "1.9.0-nightly.2024121716"
70
+ "@slint-ui/slint-ui-binary-linux-x64-gnu": "1.9.0-nightly.2024121819",
71
+ "@slint-ui/slint-ui-binary-linux-arm64-gnu": "1.9.0-nightly.2024121819",
72
+ "@slint-ui/slint-ui-binary-darwin-x64": "1.9.0-nightly.2024121819",
73
+ "@slint-ui/slint-ui-binary-darwin-arm64": "1.9.0-nightly.2024121819",
74
+ "@slint-ui/slint-ui-binary-win32-x64-msvc": "1.9.0-nightly.2024121819",
75
+ "@slint-ui/slint-ui-binary-win32-ia32-msvc": "1.9.0-nightly.2024121819"
76
76
  }
77
77
  }