slint-ui 1.9.0-nightly.2024121316 → 1.9.0-nightly.2024121622

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 = "bf66b9756fb3e8cb3542b0eacee94704e2b28fca", version = "=1.9.0", default-features = false }
45
- i-slint-core = { features = ["default", "gettext-rs"] , git = "https://github.com/slint-ui/slint", rev = "bf66b9756fb3e8cb3542b0eacee94704e2b28fca", version = "=1.9.0", default-features = false }
46
- i-slint-backend-selector = { git = "https://github.com/slint-ui/slint", rev = "bf66b9756fb3e8cb3542b0eacee94704e2b28fca", 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 = "bf66b9756fb3e8cb3542b0eacee94704e2b28fca", version = "=1.9.0"}
44
+ i-slint-compiler = { features = ["default"] , git = "https://github.com/slint-ui/slint", rev = "920d2ba674f7ce15717cb6aae96dc879a5cb6924", version = "=1.9.0", default-features = false }
45
+ i-slint-core = { features = ["default", "gettext-rs"] , git = "https://github.com/slint-ui/slint", rev = "920d2ba674f7ce15717cb6aae96dc879a5cb6924", version = "=1.9.0", default-features = false }
46
+ i-slint-backend-selector = { git = "https://github.com/slint-ui/slint", rev = "920d2ba674f7ce15717cb6aae96dc879a5cb6924", 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 = "920d2ba674f7ce15717cb6aae96dc879a5cb6924", 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/cover.md CHANGED
@@ -420,3 +420,6 @@ component.Logic.to_upper_case = (str) => {
420
420
  **Note**: Global singletons are instantiated once per component. When declaring multiple components for `export` to JavaScript,
421
421
  each instance will have their own instance of associated globals singletons.
422
422
 
423
+ ## Third-Party Licenses
424
+
425
+ For a list of the third-party licenses of all dependencies, see the separate [Third-Party Licenses page](thirdparty.html).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slint-ui",
3
- "version": "1.9.0-nightly.2024121316",
3
+ "version": "1.9.0-nightly.2024121622",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "homepage": "https://github.com/slint-ui/slint",
@@ -41,7 +41,7 @@
41
41
  "build:debug": "napi build --platform --js rust-module.cjs --dts rust-module.d.ts -c binaries.json && pnpm compile",
42
42
  "build:testing": "napi build --platform --js rust-module.cjs --dts rust-module.d.ts -c binaries.json --features testing && pnpm compile",
43
43
  "install": "node build-on-demand.mjs",
44
- "docs": "pnpm build && typedoc --hideGenerator --treatWarningsAsErrors --readme cover.md typescript/index.ts",
44
+ "docs": "pnpm build && typedoc --hideGenerator --treatWarningsAsErrors --readme cover.md typescript/index.ts && cargo about generate thirdparty.hbs -o docs/thirdparty.html",
45
45
  "check": "biome check",
46
46
  "format": "biome format",
47
47
  "format:fix": "biome format --write",
@@ -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.2024121316",
71
- "@slint-ui/slint-ui-binary-linux-arm64-gnu": "1.9.0-nightly.2024121316",
72
- "@slint-ui/slint-ui-binary-darwin-x64": "1.9.0-nightly.2024121316",
73
- "@slint-ui/slint-ui-binary-darwin-arm64": "1.9.0-nightly.2024121316",
74
- "@slint-ui/slint-ui-binary-win32-x64-msvc": "1.9.0-nightly.2024121316",
75
- "@slint-ui/slint-ui-binary-win32-ia32-msvc": "1.9.0-nightly.2024121316"
70
+ "@slint-ui/slint-ui-binary-linux-x64-gnu": "1.9.0-nightly.2024121622",
71
+ "@slint-ui/slint-ui-binary-linux-arm64-gnu": "1.9.0-nightly.2024121622",
72
+ "@slint-ui/slint-ui-binary-darwin-x64": "1.9.0-nightly.2024121622",
73
+ "@slint-ui/slint-ui-binary-darwin-arm64": "1.9.0-nightly.2024121622",
74
+ "@slint-ui/slint-ui-binary-win32-x64-msvc": "1.9.0-nightly.2024121622",
75
+ "@slint-ui/slint-ui-binary-win32-ia32-msvc": "1.9.0-nightly.2024121622"
76
76
  }
77
77
  }
package/thirdparty.hbs ADDED
@@ -0,0 +1,81 @@
1
+ <!DOCTYPE html>
2
+ <!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0 -->
3
+
4
+ <html>
5
+
6
+ <head>
7
+ <style>
8
+ @media (prefers-color-scheme: dark) {
9
+ body {
10
+ background: #333;
11
+ color: white;
12
+ }
13
+
14
+ a {
15
+ color: skyblue;
16
+ }
17
+ }
18
+
19
+ .container {
20
+ font-family: sans-serif;
21
+ max-width: 800px;
22
+ margin: 0 auto;
23
+ }
24
+
25
+ .intro {
26
+ text-align: center;
27
+ }
28
+
29
+ .licenses-list {
30
+ list-style-type: none;
31
+ margin: 0;
32
+ padding: 0;
33
+ }
34
+
35
+ .license-used-by {
36
+ margin-top: -10px;
37
+ }
38
+
39
+ .license-text {
40
+ max-height: 200px;
41
+ overflow-y: scroll;
42
+ white-space: pre-wrap;
43
+ }
44
+ </style>
45
+ </head>
46
+
47
+ <body>
48
+ <main class="container">
49
+ <div class="intro">
50
+ <h1>Third Party Licenses</h1>
51
+ <p>This page lists the licenses of the dependencies used by Slint.</p>
52
+ </div>
53
+
54
+ <h2>Overview of licenses:</h2>
55
+ <ul class="licenses-overview">
56
+ {{#each overview}}
57
+ <li><a href="#{{id}}">{{name}}</a> ({{count}})</li>
58
+ {{/each}}
59
+ </ul>
60
+
61
+ <h2>All license text:</h2>
62
+ <ul class="licenses-list">
63
+ {{#each licenses}}
64
+ <li class="license">
65
+ <h3 id="{{id}}">{{name}}</h3>
66
+ <h4>Used by:</h4>
67
+ <ul class="license-used-by">
68
+ {{#each used_by}}
69
+ <li><a
70
+ href="{{#if crate.repository}} {{crate.repository}} {{else}} https://crates.io/crates/{{crate.name}} {{/if}}">{{crate.name}}
71
+ {{crate.version}}</a></li>
72
+ {{/each}}
73
+ </ul>
74
+ <pre class="license-text">{{text}}</pre>
75
+ </li>
76
+ {{/each}}
77
+ </ul>
78
+ <main>
79
+ </body>
80
+
81
+ </html>