slint-ui 1.15.0-nightly.2025112022 → 1.15.0-nightly.2025112123

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
@@ -42,10 +42,10 @@ accessibility = ["slint-interpreter/accessibility"]
42
42
  [dependencies]
43
43
  napi = { version = "2.14.0", default-features = false, features = ["napi8"] }
44
44
  napi-derive = "2.14.0"
45
- i-slint-compiler = { features = ["default"] , git = "https://github.com/slint-ui/slint", rev = "26cdbce70ddbf3b595430908aec681bb9f59e0f1", version = "=1.15.0", default-features = false }
46
- i-slint-core = { features = ["default", "gettext-rs"] , git = "https://github.com/slint-ui/slint", rev = "26cdbce70ddbf3b595430908aec681bb9f59e0f1", version = "=1.15.0", default-features = false }
47
- i-slint-backend-selector = { git = "https://github.com/slint-ui/slint", rev = "26cdbce70ddbf3b595430908aec681bb9f59e0f1", version = "=1.15.0", default-features = false }
48
- slint-interpreter = { default-features = false , features = ["display-diagnostics", "internal", "compat-1-2"] , git = "https://github.com/slint-ui/slint", rev = "26cdbce70ddbf3b595430908aec681bb9f59e0f1", version = "=1.15.0"}
45
+ i-slint-compiler = { features = ["default"] , git = "https://github.com/slint-ui/slint", rev = "571e5497bb7b66d5ed51556979261058658ab396", version = "=1.15.0", default-features = false }
46
+ i-slint-core = { features = ["default", "gettext-rs"] , git = "https://github.com/slint-ui/slint", rev = "571e5497bb7b66d5ed51556979261058658ab396", version = "=1.15.0", default-features = false }
47
+ i-slint-backend-selector = { git = "https://github.com/slint-ui/slint", rev = "571e5497bb7b66d5ed51556979261058658ab396", version = "=1.15.0", default-features = false }
48
+ slint-interpreter = { default-features = false , features = ["display-diagnostics", "internal", "compat-1-2"] , git = "https://github.com/slint-ui/slint", rev = "571e5497bb7b66d5ed51556979261058658ab396", version = "=1.15.0"}
49
49
  spin_on = { version = "0.1" }
50
50
  css-color-parser2 = { version = "1.0.1" }
51
51
  itertools = { version = "0.14" }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slint-ui",
3
- "version": "1.15.0-nightly.2025112022",
3
+ "version": "1.15.0-nightly.2025112123",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "homepage": "https://github.com/slint-ui/slint",
@@ -36,11 +36,11 @@
36
36
  "@napi-rs/cli": "2.18.4"
37
37
  },
38
38
  "optionalDependencies": {
39
- "@slint-ui/slint-ui-binary-linux-x64-gnu": "1.15.0-nightly.2025112022",
40
- "@slint-ui/slint-ui-binary-linux-arm64-gnu": "1.15.0-nightly.2025112022",
41
- "@slint-ui/slint-ui-binary-darwin-arm64": "1.15.0-nightly.2025112022",
42
- "@slint-ui/slint-ui-binary-win32-x64-msvc": "1.15.0-nightly.2025112022",
43
- "@slint-ui/slint-ui-binary-win32-arm64-msvc": "1.15.0-nightly.2025112022"
39
+ "@slint-ui/slint-ui-binary-linux-x64-gnu": "1.15.0-nightly.2025112123",
40
+ "@slint-ui/slint-ui-binary-linux-arm64-gnu": "1.15.0-nightly.2025112123",
41
+ "@slint-ui/slint-ui-binary-darwin-arm64": "1.15.0-nightly.2025112123",
42
+ "@slint-ui/slint-ui-binary-win32-x64-msvc": "1.15.0-nightly.2025112123",
43
+ "@slint-ui/slint-ui-binary-win32-arm64-msvc": "1.15.0-nightly.2025112123"
44
44
  },
45
45
  "scripts": {
46
46
  "artifacts": "napi artifacts",
@@ -25,6 +25,7 @@ pub enum JsValueType {
25
25
  Struct,
26
26
  Brush,
27
27
  Image,
28
+ StyledText,
28
29
  }
29
30
 
30
31
  impl From<slint_interpreter::ValueType> for JsValueType {
@@ -37,6 +38,7 @@ impl From<slint_interpreter::ValueType> for JsValueType {
37
38
  slint_interpreter::ValueType::Struct => JsValueType::Struct,
38
39
  slint_interpreter::ValueType::Brush => JsValueType::Brush,
39
40
  slint_interpreter::ValueType::Image => JsValueType::Image,
41
+ slint_interpreter::ValueType::StyledText => JsValueType::StyledText,
40
42
  _ => JsValueType::Void,
41
43
  }
42
44
  }
@@ -290,7 +292,8 @@ pub fn to_value(env: &Env, unknown: JsUnknown, typ: &Type) -> Result<Value> {
290
292
  | Type::Easing
291
293
  | Type::PathData
292
294
  | Type::LayoutCache
293
- | Type::ElementReference => Err(napi::Error::from_reason("reason")),
295
+ | Type::ElementReference
296
+ | Type::StyledText => Err(napi::Error::from_reason("reason")),
294
297
  }
295
298
  }
296
299
 
package/rust-module.d.cts CHANGED
@@ -41,7 +41,8 @@ export const enum ValueType {
41
41
  Model = 4,
42
42
  Struct = 5,
43
43
  Brush = 6,
44
- Image = 7
44
+ Image = 7,
45
+ StyledText = 8
45
46
  }
46
47
  /** RgbaColor represents a color in the Slint run-time, represented using 8-bit channels for red, green, blue and the alpha (opacity). */
47
48
  export interface RgbaColor {