Dialogs: Effect Gallery, Bullets and Numbering and the text style options leave the canvas undimmed

Effect Gallery, Bullets and Numbering, Character Style Options and
Paragraph Style Options preview on the canvas, but the modal layer
dimmed it, so the preview did not show its true colors, and the wheel
over the canvas did nothing while they were open.

- Effect Gallery and Bullets and Numbering store the current window's
  canvas (`preview_canvas`) when they open and keep its view open from
  the dialog body (`Sampler::keep_view_open`), as ParamDialog does.
- Character Style Options and Paragraph Style Options pass the canvas
  to `PropertiesDialog::canvas`. New Character Style and New Paragraph
  Style do not preview and still cover the canvas.
- Every craft-libs rev moves to the head of storytold/craft-libs#5510,
  which adds `PropertiesDialog::canvas`.

Part of #10590.
This commit is contained in:
dotCooCoo committed 2026-12-05 04:03:28 -08:00
1 parent c2f50261b0
commit e69d6c6fcb
11 files changed
+222 -151

No files matched your search

Generated
+91 -91
View File
@@ -1256,7 +1256,7 @@ dependencies = [
[[package]]
name = "craft"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"craft-automation",
"craft-behavior",
@@ -1298,7 +1298,7 @@ dependencies = [
[[package]]
name = "craft-affinity"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"crc32fast",
"flate2",
@@ -1319,7 +1319,7 @@ dependencies = [
[[package]]
name = "craft-appkit"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"block2 0.6.2",
"objc2 0.6.5",
@@ -1331,7 +1331,7 @@ dependencies = [
[[package]]
name = "craft-atomic"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"rustix 1.1.6",
]
@@ -1339,7 +1339,7 @@ dependencies = [
[[package]]
name = "craft-automation"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"base64 0.23.1",
"craft-behavior",
@@ -1364,7 +1364,7 @@ dependencies = [
[[package]]
name = "craft-behavior"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"accesskit",
"bitflags 2.13.2",
@@ -1383,7 +1383,7 @@ dependencies = [
[[package]]
name = "craft-browse"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"craft-behavior",
"craft-docpath",
@@ -1401,7 +1401,7 @@ dependencies = [
[[package]]
name = "craft-cdr"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"crc32fast",
"flate2",
@@ -1410,7 +1410,7 @@ dependencies = [
[[package]]
name = "craft-cloud-ui"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"egui",
]
@@ -1418,7 +1418,7 @@ dependencies = [
[[package]]
name = "craft-cms"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"md-5",
"rayon",
@@ -1427,12 +1427,12 @@ dependencies = [
[[package]]
name = "craft-codepage"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
[[package]]
name = "craft-color-ui"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"craft-behavior",
"craft-cms",
@@ -1452,7 +1452,7 @@ dependencies = [
[[package]]
name = "craft-control"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"craft-ai-agents",
"craft-atomic",
@@ -1468,7 +1468,7 @@ dependencies = [
[[package]]
name = "craft-control-protocol"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"getrandom 0.3.4",
"serde_json",
@@ -1478,7 +1478,7 @@ dependencies = [
[[package]]
name = "craft-dds"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"rayon",
]
@@ -1486,7 +1486,7 @@ dependencies = [
[[package]]
name = "craft-dialogs"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"block2 0.6.2",
"craft-appkit",
@@ -1512,7 +1512,7 @@ dependencies = [
[[package]]
name = "craft-doc"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"blake3",
"craft-ecproj-format",
@@ -1528,7 +1528,7 @@ dependencies = [
[[package]]
name = "craft-docpath"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"serde",
]
@@ -1536,7 +1536,7 @@ dependencies = [
[[package]]
name = "craft-draw"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"craft-behavior",
"craft-color-ui",
@@ -1555,7 +1555,7 @@ dependencies = [
[[package]]
name = "craft-dwg"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"acadrust",
"craft-dxf",
@@ -1565,7 +1565,7 @@ dependencies = [
[[package]]
name = "craft-dxf"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"craft-codepage",
"encoding_rs",
@@ -1577,7 +1577,7 @@ dependencies = [
[[package]]
name = "craft-ecproj-format"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"serde",
"serde_json",
@@ -1587,12 +1587,12 @@ dependencies = [
[[package]]
name = "craft-eps"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
[[package]]
name = "craft-flags"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"craft-atomic",
"dirs",
@@ -1602,7 +1602,7 @@ dependencies = [
[[package]]
name = "craft-font-catalog"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"fontique",
"harfrust 0.13.3",
@@ -1617,7 +1617,7 @@ dependencies = [
[[package]]
name = "craft-font-manager"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"craft-behavior",
"craft-font-catalog",
@@ -1636,7 +1636,7 @@ dependencies = [
[[package]]
name = "craft-font-os-windows"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"windows-registry",
"windows-sys 0.61.2",
@@ -1645,7 +1645,7 @@ dependencies = [
[[package]]
name = "craft-font-store"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"cap-primitives",
"craft-atomic",
@@ -1668,12 +1668,12 @@ dependencies = [
[[package]]
name = "craft-fonts-build"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
[[package]]
name = "craft-gif"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"gif",
]
@@ -1681,7 +1681,7 @@ dependencies = [
[[package]]
name = "craft-gzip"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"flate2",
]
@@ -1689,7 +1689,7 @@ dependencies = [
[[package]]
name = "craft-host"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"bitflags 2.13.2",
"craft-i18n",
@@ -1702,7 +1702,7 @@ dependencies = [
[[package]]
name = "craft-i18n"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"brotli 9.1.3",
"brotli-decompressor 6.3.2",
@@ -1732,7 +1732,7 @@ dependencies = [
[[package]]
name = "craft-image-codecs"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"craft-dds",
"craft-jpeg",
@@ -1759,7 +1759,7 @@ dependencies = [
[[package]]
name = "craft-imaging"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"craft-behavior",
"craft-color-ui",
@@ -1777,7 +1777,7 @@ dependencies = [
[[package]]
name = "craft-jpeg"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"thiserror 2.0.21",
]
@@ -1785,7 +1785,7 @@ dependencies = [
[[package]]
name = "craft-jxl"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"brotli-decompressor 5.0.3",
"jixel",
@@ -1796,7 +1796,7 @@ dependencies = [
[[package]]
name = "craft-keymap"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"craft-host",
"craft-i18n",
@@ -1811,7 +1811,7 @@ dependencies = [
[[package]]
name = "craft-layers"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"craft-behavior",
"craft-i18n",
@@ -1825,7 +1825,7 @@ dependencies = [
[[package]]
name = "craft-menu"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"craft-behavior",
"craft-host",
@@ -1843,7 +1843,7 @@ dependencies = [
[[package]]
name = "craft-metadata"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"brotli-decompressor 6.3.2",
"chrono",
@@ -1855,7 +1855,7 @@ dependencies = [
[[package]]
name = "craft-metafile"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"encoding_rs",
"image",
@@ -1866,7 +1866,7 @@ dependencies = [
[[package]]
name = "craft-mime"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"chrono",
"craft-codepage",
@@ -1876,7 +1876,7 @@ dependencies = [
[[package]]
name = "craft-nightly"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"uds_windows",
"winsafe",
@@ -1885,7 +1885,7 @@ dependencies = [
[[package]]
name = "craft-pages"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"craft-behavior",
"craft-keymap",
@@ -1901,7 +1901,7 @@ dependencies = [
[[package]]
name = "craft-pbr"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"craft-texture",
"thiserror 2.0.21",
@@ -1910,7 +1910,7 @@ dependencies = [
[[package]]
name = "craft-pcraft-format"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"flate2",
"serde",
@@ -1921,7 +1921,7 @@ dependencies = [
[[package]]
name = "craft-pdf"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"hayro-interpret",
"hayro-syntax",
@@ -1933,7 +1933,7 @@ dependencies = [
[[package]]
name = "craft-platform"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"async-channel",
"async-io",
@@ -1966,7 +1966,7 @@ dependencies = [
[[package]]
name = "craft-plotter"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"kurbo 0.13.1",
"thiserror 2.0.21",
@@ -1975,7 +1975,7 @@ dependencies = [
[[package]]
name = "craft-print"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"craft-behavior",
"craft-host",
@@ -1999,7 +1999,7 @@ dependencies = [
[[package]]
name = "craft-proof"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"log",
"miniz_oxide 0.9.1",
@@ -2010,7 +2010,7 @@ dependencies = [
[[package]]
name = "craft-ps"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"craft-eps",
"flate2",
@@ -2024,7 +2024,7 @@ dependencies = [
[[package]]
name = "craft-psd"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"encoding_rs",
"flate2",
@@ -2035,7 +2035,7 @@ dependencies = [
[[package]]
name = "craft-quit"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"dispatch2",
"egui",
@@ -2048,7 +2048,7 @@ dependencies = [
[[package]]
name = "craft-raster3d"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"rayon",
"thiserror 2.0.21",
@@ -2057,7 +2057,7 @@ dependencies = [
[[package]]
name = "craft-review"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"base64 0.23.1",
"craft-behavior",
@@ -2076,7 +2076,7 @@ dependencies = [
[[package]]
name = "craft-settings"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"craft-atomic",
"craft-host",
@@ -2093,7 +2093,7 @@ dependencies = [
[[package]]
name = "craft-stream-codecs"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"fax",
"hayro-ccitt",
@@ -2104,7 +2104,7 @@ dependencies = [
[[package]]
name = "craft-svg"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"craft-image-codecs",
"craft-xml",
@@ -2125,7 +2125,7 @@ dependencies = [
[[package]]
name = "craft-table"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"craft-behavior",
"craft-keymap",
@@ -2137,7 +2137,7 @@ dependencies = [
[[package]]
name = "craft-text"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"craft-behavior",
"craft-font-manager",
@@ -2162,7 +2162,7 @@ dependencies = [
[[package]]
name = "craft-texture"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"thiserror 2.0.21",
]
@@ -2170,7 +2170,7 @@ dependencies = [
[[package]]
name = "craft-theme"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"bitflags 2.13.2",
"craft-tracked",
@@ -2185,7 +2185,7 @@ dependencies = [
[[package]]
name = "craft-theme-store"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"craft-atomic",
"craft-behavior",
@@ -2200,7 +2200,7 @@ dependencies = [
[[package]]
name = "craft-tiff"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"serde",
"thiserror 2.0.21",
@@ -2210,7 +2210,7 @@ dependencies = [
[[package]]
name = "craft-time"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"serde",
"thiserror 2.0.21",
@@ -2219,7 +2219,7 @@ dependencies = [
[[package]]
name = "craft-timeline"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"craft-behavior",
"craft-keymap",
@@ -2234,12 +2234,12 @@ dependencies = [
[[package]]
name = "craft-tracked"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
[[package]]
name = "craft-ui"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"craft-cloud-ui",
"craft-ui-canvas",
@@ -2253,7 +2253,7 @@ dependencies = [
[[package]]
name = "craft-ui-canvas"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"craft-behavior",
"craft-font-catalog",
@@ -2270,7 +2270,7 @@ dependencies = [
[[package]]
name = "craft-ui-contract"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"accesskit",
"craft-behavior",
@@ -2308,7 +2308,7 @@ dependencies = [
[[package]]
name = "craft-ui-macros"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"proc-macro-crate",
"proc-macro2",
@@ -2319,7 +2319,7 @@ dependencies = [
[[package]]
name = "craft-ui-panels"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2337,7 +2337,7 @@ dependencies = [
[[package]]
name = "craft-ui-patterns"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2358,7 +2358,7 @@ dependencies = [
[[package]]
name = "craft-ui-shell"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2379,7 +2379,7 @@ dependencies = [
[[package]]
name = "craft-ui-widgets"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2398,7 +2398,7 @@ dependencies = [
[[package]]
name = "craft-update"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"base64 0.22.1",
"chrono",
@@ -2430,7 +2430,7 @@ dependencies = [
[[package]]
name = "craft-vectorcraft-format"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"flate2",
"serde",
@@ -2441,7 +2441,7 @@ dependencies = [
[[package]]
name = "craft-wayland"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"raw-window-handle",
"wayland-backend",
@@ -2451,7 +2451,7 @@ dependencies = [
[[package]]
name = "craft-web-api"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"js-sys",
"serde_json",
@@ -2462,7 +2462,7 @@ dependencies = [
[[package]]
name = "craft-win32"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"winsafe",
]
@@ -2470,7 +2470,7 @@ dependencies = [
[[package]]
name = "craft-window"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"craft-appkit",
"craft-atomic",
@@ -2502,7 +2502,7 @@ dependencies = [
[[package]]
name = "craft-xml"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"quick-xml 0.41.0",
"serde",
@@ -3862,7 +3862,7 @@ checksum = "9f4d0e94ddd48749f06bbe4e5389fb9799a0c45bcaf00495042076ef05e3241a"
[[package]]
name = "hayro-cmap"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"brotli 8.0.4",
"hayro-postscript",
@@ -3871,7 +3871,7 @@ dependencies = [
[[package]]
name = "hayro-interpret"
version = "0.7.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"bitflags 2.13.2",
"hayro-cmap",
@@ -3889,7 +3889,7 @@ dependencies = [
[[package]]
name = "hayro-jbig2"
version = "0.3.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"fearless_simd",
"hayro-ccitt",
@@ -3907,12 +3907,12 @@ dependencies = [
[[package]]
name = "hayro-postscript"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
[[package]]
name = "hayro-syntax"
version = "0.7.2"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"flate2",
"hayro-ccitt",
@@ -4895,7 +4895,7 @@ dependencies = [
[[package]]
name = "krilla"
version = "0.8.2"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"base64 0.22.1",
"bumpalo",
@@ -5052,7 +5052,7 @@ checksum = "d4a5ff6bcca6c4867b1c4fd4ef63e4db7436ef363e0ad7531d1558856bae64f4"
[[package]]
name = "linesweeper"
version = "0.5.0"
source = "git+https://github.com/storytold/craft-libs?rev=4c330f6bd1f38dd536f830483ea9618db2cb2bd8#4c330f6bd1f38dd536f830483ea9618db2cb2bd8"
source = "git+https://github.com/storytold/craft-libs?rev=dfd876669dd3d64f0061ab510a94b866a1ae35ab#dfd876669dd3d64f0061ab510a94b866a1ae35ab"
dependencies = [
"arrayvec",
"kurbo 0.13.1",
+41 -41
View File
@@ -10,57 +10,57 @@ license = "MIT OR Apache-2.0"
rust-version = "1.95"
[workspace.dependencies]
craft-cms = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" }
craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8", default-features = false, features = ["interpret", "write"] }
craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" }
craft-proof = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" }
craft-cms = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab" }
craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab", default-features = false, features = ["interpret", "write"] }
craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab" }
craft-proof = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab" }
# Language packs: the Craft apps' shared font store installs them (#4936).
craft-font-store = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" }
craft-font-catalog = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" }
craft-font-store = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab" }
craft-font-catalog = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab" }
# The `.vectorcraft` envelope: its members, version, embedded images and the data after the JSON.
craft-vectorcraft-format = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" }
craft-gzip = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" }
craft-vectorcraft-format = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab" }
craft-gzip = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab" }
# `.pcraft` documents: their manifest, full-size composite, preview, layer pixels and ICC profile.
craft-doc = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8", features = ["pcraft-pixels"] }
craft-doc = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab", features = ["pcraft-pixels"] }
# Native Affinity documents (craft-libs#914).
craft-affinity = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" }
craft-affinity = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab" }
# Bounded CDR (v1-v27) and CMX (32-bit) reader (craft-libs#778).
craft-cdr = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" }
craft-cdr = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab" }
# SVG parsing, limits, SVGZ and writer (craft-libs#778).
craft-svg = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8", features = ["tree"] }
craft-mime = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" }
craft-svg = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab", features = ["tree"] }
craft-mime = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab" }
# EPS container, previews, ASCII85 and DSC comments (craft-libs#778).
craft-eps = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" }
craft-eps = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab" }
# DXF tags, reader and writer (craft-libs#778, #926, #927).
craft-plotter = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" }
craft-dxf = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" }
craft-plotter = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab" }
craft-dxf = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab" }
# DWG to DXF bytes, in a child process on desktop builds (acadrust 0.6.6, MPL-2.0, unmodified).
craft-dwg = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" }
craft-dwg = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab" }
# WMF, EMF and EMF+ reader (craft-libs#778).
craft-metafile = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" }
craft-xml = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" }
craft-image-codecs = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" }
craft-gif = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" }
craft-tiff = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" }
craft-ps = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8", default-features = false, features = ["read", "write"] }
craft-psd = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" }
craft-stream-codecs = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" }
craft-jxl = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" }
craft-codepage = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" }
craft-metafile = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab" }
craft-xml = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab" }
craft-image-codecs = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab" }
craft-gif = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab" }
craft-tiff = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab" }
craft-ps = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab", default-features = false, features = ["read", "write"] }
craft-psd = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab" }
craft-stream-codecs = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab" }
craft-jxl = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab" }
craft-codepage = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab" }
# The metallic-roughness BRDF and environment light the 3D effects' Roughness and Metallic shade with.
craft-pbr = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" }
craft-pbr = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab" }
# The CPU rasterizer that draws a 3D effect's Render Settings › Rendered image: depth-buffered triangles, shadow maps.
craft-raster3d = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" }
craft-raster3d = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab" }
# The framework facade (`craft::ui`, `craft::settings`, `craft::platform`, ...). No default features: each crate names
# the members it imports.
craft = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" }
craft = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab" }
# Below the egui layer, so not through the facade: the colour harmony rules and their settings (craft-color-ui
# without its `ui` feature), the colour type they work in, and the craft-fonts tables the text crate's build writes.
craft-color-ui = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" }
craft-theme = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" }
craft-fonts-build = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" }
craft-color-ui = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab" }
craft-theme = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab" }
craft-fonts-build = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab" }
# Nightly profile isolation, launch protocol, and security fence.
craft-nightly = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" }
craft-nightly = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab" }
# internal
vectorcraft-geom = { path = "crates/geom" }
vectorcraft-color = { path = "crates/color" }
@@ -200,13 +200,13 @@ lto = "thin"
codegen-units = 1
[patch.crates-io]
hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" }
hayro-interpret = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" }
hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" }
hayro-cmap = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" }
hayro-postscript = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" }
krilla = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" }
linesweeper = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" }
hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab" }
hayro-interpret = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab" }
hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab" }
hayro-cmap = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab" }
hayro-postscript = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab" }
krilla = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab" }
linesweeper = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab" }
# skrifa 0.44 (epaint, glifo, usvg) with the automatic hinter's long blue-zone exit (craft-libs vendor/skrifa).
# It stays at this rev until craft-libs#5222 merges.
skrifa = { git = "https://github.com/storytold/craft-libs", rev = "37d0532f42eb3421769c8a454e3e25a20fbcff97" }
+1 -1
View File
@@ -28,7 +28,7 @@ egui_extras = { workspace = true }
# `wgpu` pulls egui-wgpu's defaults: WebGPU plus the WebGL2 fallback.
eframe = { workspace = true, features = ["default_fonts", "wgpu", "accesskit"] }
# The page command API (storytold/craft-libs#413): the request plumbing behind window.vectorcraft.
craft-web-api = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8", version = "0.1.0" }
craft-web-api = { git = "https://github.com/storytold/craft-libs", rev = "dfd876669dd3d64f0061ab510a94b866a1ae35ab", version = "0.1.0" }
wasm-bindgen = "0.2"
serde_json = { workspace = true }
@@ -29,7 +29,7 @@ use std::sync::{Arc, Weak};
use craft::behavior::{EditEvent, EditEvents, Mixed, Selection, SelectionChange, keyed};
use craft::ui::choice::Checkbox;
use craft::ui::contract::{Bind, CollectionEvent, Entry, Props as _, SelectMode, Show as _, ShowCollection as _, ShowContainer as _};
use craft::ui::contract::{Bind, CollectionEvent, Entry, Props as _, Sampler as _, SelectMode, Show as _, ShowCollection as _, ShowContainer as _};
use craft::ui::dialog::{Dialog, DialogId, DialogOutput, DialogResult, DialogStack, FieldRefusal, HeldAnswer, HeldOk, StackDialog, dialog_id};
use craft::ui::display::Text;
use craft::ui::form::{Field, FieldGroup};
@@ -53,6 +53,7 @@ use vectorcraft_doc::text::{LIST_HANGING_INDENT, LIST_LEVELS, MAX_LIST_START, Nu
use crate::VectorcraftApp;
use crate::panels::paragraph::BulletGlyph;
use super::host::preview_canvas;
use super::preview::LivePreview;
/// The dialog kind of Bullets and Numbering.
@@ -131,6 +132,9 @@ pub(crate) struct BulletsDialog {
active_document: bool,
held: HeldAnswer<Map<String, Value>>,
open: bool,
/// The canvas the dialog previews on (from [`preview_canvas`]): the modal layer leaves it undimmed, and the wheel
/// still moves its view.
canvas: Option<egui::Id>,
}
/// The preview from the opening drawing and the interaction that owns its undo snapshot.
@@ -269,6 +273,7 @@ pub fn open(app: &mut VectorcraftApp, p: &Value) -> Result<Value, String> {
active_document: true,
held: HeldAnswer::default(),
open: true,
canvas: preview_canvas(app),
};
host.with(|h| h.open(dialog));
app.bullets_preview = Some(Preview { document, live: LivePreview::default(), selection: None });
@@ -572,11 +577,15 @@ impl StackDialog for BulletsDialog {
FooterButton::new(common.cancel.clone(), DialogRole::Cancel),
];
let mut open = self.open;
let canvas = self.canvas;
let dialog = Dialog::new(tl!("Bullets and Numbering")).buttons(buttons).opened(Bind::bound(&mut open)).refusal(move || refusal.clone());
let shown = dialog.show(ui, |ui, cx| {
if finish && !measure::active(ui.ctx()) {
cx.request_close_as(CloseReason::Activated);
}
if let Some(canvas) = canvas {
cx.keep_view_open(canvas);
}
self.body(ui);
});
self.open = open;
@@ -23,6 +23,7 @@ use serde_json::{Map, Value, json};
use vectorcraft_doc::setup::DocSetup;
use vectorcraft_engine::cmd::textstyles::NORMAL_CHAR;
use super::host::preview_canvas;
use super::preview::LivePreview;
use crate::VectorcraftApp;
@@ -1036,12 +1037,18 @@ pub(crate) fn tabs(fields: &DialogFields, opening: &Opening) -> Vec<PropertiesTa
.collect()
}
/// The dialog of style `name` over `opening`, which `title` heads, kept open by a held OK.
pub(crate) fn hosted(key: &'static str, title: &'static str, opening: &Arc<Opening>, name: &str) -> HostedPropertiesDialog {
/// The dialog of style `name` over `opening`, which `title` heads, kept open by a held OK. A dialog that previews on
/// the document passes its `canvas` (from [`preview_canvas`]): the modal layer leaves it undimmed, and the wheel still
/// moves its view.
pub(crate) fn hosted(key: &'static str, title: &'static str, opening: &Arc<Opening>, name: &str, canvas: Option<egui::Id>) -> HostedPropertiesDialog {
let rows_of = Arc::clone(opening);
HostedPropertiesDialog::new(key, opening.fields(name), move |values| {
let now = values.value().cloned().unwrap_or_else(DialogFields::new);
PropertiesDialog::new(key, title, tabs(&now, &rows_of), values).tab_layout(TabLayout::List)
let dialog = PropertiesDialog::new(key, title, tabs(&now, &rows_of), values).tab_layout(TabLayout::List);
match canvas {
Some(canvas) => dialog.canvas(canvas),
None => dialog,
}
})
.held_ok()
}
@@ -1196,6 +1203,7 @@ pub(crate) struct Preview {
pub fn open(app: &mut VectorcraftApp, name: &str) -> Result<Value, String> {
crate::panels::character::end_typing(app);
let canvas = preview_canvas(app);
let state = app.session.active().ok_or("no document open")?;
let (document, doc) = ((state.uid, state.reverts), &state.doc);
// [Normal Character Style] has no definition until it is first redefined: it sets nothing.
@@ -1205,7 +1213,7 @@ pub fn open(app: &mut VectorcraftApp, name: &str) -> Result<Value, String> {
None => return Err(format!("no character style `{name}`")),
};
let opening = Arc::new(Opening::new(name, attrs, &doc.setup, swatch_choices(doc)));
let dialog = CharStyleOptions { inner: hosted(KIND, tl!("Character Style Options"), &opening, name).previews(), opening, document };
let dialog = CharStyleOptions { inner: hosted(KIND, tl!("Character Style Options"), &opening, name, canvas).previews(), opening, document };
app.dialogs().ok_or("no window")?.with(|host| host.open(dialog));
Ok(json!({"dialog": KIND}))
}
+11 -3
View File
@@ -18,7 +18,7 @@ use craft::imaging::ui::filter_gallery::{
};
use craft::theme::variant::Tone;
use craft::ui::choice::Checkbox;
use craft::ui::contract::{Bind, Props as _, Show as _, ShowContainer as _};
use craft::ui::contract::{Bind, Props as _, Sampler as _, Show as _, ShowContainer as _};
use craft::ui::dialog::{Dialog, DialogId, DialogResult, DialogStack, FieldRefusal, HeldAnswer, HeldOk, HoldsOk, StackDialog, dialog_id};
use craft::ui::display::{Picture, PictureSize};
use craft::ui::layout_components::{Row, Stack};
@@ -39,7 +39,7 @@ use vectorcraft_geom::{Affine, Point};
use super::effect;
use super::effect_params::{EffectCx, effect_params};
use super::form::json_of;
use super::host::{HeldOptions, open_held_with};
use super::host::{HeldOptions, open_held_with, preview_canvas};
use super::preview::LivePreview;
use crate::VectorcraftApp;
use crate::file_asks::Owner;
@@ -343,6 +343,9 @@ pub(crate) struct EffectGalleryDialog {
held: HeldAnswer<Value>,
/// A Browse press waiting for the app's file dialog, with the layer it belongs to.
asked: Option<LayerId>,
/// The canvas the gallery previews on (from [`preview_canvas`]): the modal layer leaves it undimmed, and the
/// wheel still moves its view.
canvas: Option<egui::Id>,
}
impl EffectGalleryDialog {
@@ -363,6 +366,7 @@ impl EffectGalleryDialog {
preview_on: true,
held: HeldAnswer::new(),
asked: None,
canvas: preview_canvas(app),
}
}
@@ -423,7 +427,8 @@ impl StackDialog for EffectGalleryDialog {
fn show(&mut self, ui: &mut Ui, _: &DialogStack) -> Option<DialogResult<Value>> {
let words = Env::of(ui).words::<CommonWords>();
let EffectGalleryDialog { open, catalog, index, session, selected, preview_on, held, asked, .. } = self;
let EffectGalleryDialog { open, catalog, index, session, selected, preview_on, held, asked, canvas, .. } = self;
let canvas = *canvas;
// The app accepted the held OK: this pass closes the dialog with it. A measuring run closes nothing.
let finish = held.is_accepted() && !craft::ui::runtime::measure::active(ui.ctx());
// A refusal is cleared once the stack changes, so one still held is for the stack shown.
@@ -456,6 +461,9 @@ impl StackDialog for EffectGalleryDialog {
if finish {
cx.request_close_as(CloseReason::Activated);
}
if let Some(canvas) = canvas {
cx.keep_view_open(canvas);
}
let Some(layer) = effects.get(current) else { return };
let image = || color_image(&preview_rgba(&visible, PREVIEW_W, PREVIEW_H), PREVIEW_W, PREVIEW_H);
Stack::new().show(ui, |ui, _| {
+2 -2
View File
@@ -65,11 +65,11 @@ pub fn open(app: &mut VectorcraftApp, para: bool, target: Value) -> Result<Value
target["attrs"] = Value::Object(attrs.clone());
let (opening, inner) = if para {
let opening = Arc::new(para_style_options::Opening::new("", attrs, app.session.general_unit(), para_style_options::vertical_text(app)));
let inner = para_style_options::hosted(KIND, tl!("New Paragraph Style"), &opening, &name);
let inner = para_style_options::hosted(KIND, tl!("New Paragraph Style"), &opening, &name, None);
(Opening::Para(opening), inner)
} else {
let opening = Arc::new(char_style_options::Opening::new("", attrs, &doc.setup, char_style_options::swatch_choices(doc)));
let inner = char_style_options::hosted(KIND, tl!("New Character Style"), &opening, &name);
let inner = char_style_options::hosted(KIND, tl!("New Character Style"), &opening, &name, None);
(Opening::Char(opening), inner)
};
app.dialogs().ok_or("no window")?.with(|host| host.open(NewTextStyle { inner, opening, para, document, target }));
@@ -28,6 +28,7 @@ use vectorcraft_engine::cmd::textstyles::NORMAL_PARA;
use super::char_style_options::{
Refusals, Values, canonical_map, general_rows, pump_in_opening_document, rows, select, style_dialog, text, to_fields, tri_state, value_of,
};
use super::host::preview_canvas;
use crate::VectorcraftApp;
pub const KIND: &str = "paraStyleOptions";
@@ -809,13 +810,19 @@ pub(crate) fn tabs(fields: &DialogFields, opening: &Opening) -> Vec<PropertiesTa
.collect()
}
/// The dialog of style `name` over `opening`, which `title` heads, kept open by a held OK.
pub(crate) fn hosted(key: &'static str, title: &'static str, opening: &Arc<Opening>, name: &str) -> HostedPropertiesDialog {
/// The dialog of style `name` over `opening`, which `title` heads, kept open by a held OK. A dialog that previews on
/// the document passes its `canvas` (from [`preview_canvas`]): the modal layer leaves it undimmed, and the wheel still
/// moves its view.
pub(crate) fn hosted(key: &'static str, title: &'static str, opening: &Arc<Opening>, name: &str, canvas: Option<egui::Id>) -> HostedPropertiesDialog {
let rows_of = Arc::clone(opening);
HostedPropertiesDialog::new(key, opening.fields(name), move |values| {
let now = values.value().cloned().unwrap_or_else(DialogFields::new);
craft::ui::patterns::form_dialogs::PropertiesDialog::new(key, title, tabs(&now, &rows_of), values)
.tab_layout(craft::ui::patterns::form_dialogs::TabLayout::List)
let dialog = craft::ui::patterns::form_dialogs::PropertiesDialog::new(key, title, tabs(&now, &rows_of), values)
.tab_layout(craft::ui::patterns::form_dialogs::TabLayout::List);
match canvas {
Some(canvas) => dialog.canvas(canvas),
None => dialog,
}
})
.held_ok()
}
@@ -844,6 +851,7 @@ style_dialog!(ParaStyleOptions, KIND);
pub fn open(app: &mut VectorcraftApp, name: &str) -> Result<Value, String> {
crate::panels::character::end_typing(app);
let unit = app.session.general_unit();
let canvas = preview_canvas(app);
let state = app.session.active().ok_or("no document open")?;
let (document, doc) = ((state.uid, state.reverts), &state.doc);
// [Normal Paragraph Style] has no definition until it is first redefined: it sets nothing.
@@ -853,7 +861,7 @@ pub fn open(app: &mut VectorcraftApp, name: &str) -> Result<Value, String> {
None => return Err(format!("no style `{name}`")),
};
let opening = Arc::new(Opening::new(name, attrs, unit, vertical_text(app)));
let dialog = ParaStyleOptions { inner: hosted(KIND, tl!("Paragraph Style Options"), &opening, name).previews(), opening, document };
let dialog = ParaStyleOptions { inner: hosted(KIND, tl!("Paragraph Style Options"), &opening, name, canvas).previews(), opening, document };
app.dialogs().ok_or("no window")?.with(|host| host.open(dialog));
Ok(json!({"dialog": KIND}))
}
@@ -80,3 +80,40 @@ fn a_previewing_command_dialog_keeps_the_canvas_open() {
crate::dialogs::command::open(&mut app, crate::addons::pathtools::BOUNDING_RECTANGLE, "Bounding Rectangle", Map::new()).unwrap();
assert!(wheel_scrolls_the_view(&mut app, &ctx), "the wheel over the canvas scrolls the view under the command's dialog");
}
#[test]
fn the_effect_gallery_keeps_the_canvas_open() {
let (mut app, ctx) = app();
app.run("ui.effectGalleryDialog", json!({})).unwrap();
assert!(wheel_scrolls_the_view(&mut app, &ctx), "the wheel over the canvas scrolls the view under the Effect Gallery");
}
#[test]
fn bullets_and_numbering_keeps_the_canvas_open() {
let (mut app, ctx) = app();
app.run("text.create", json!({"x": 100, "y": 150, "text": "One"})).unwrap();
app.run("ui.bulletsAndNumbering", json!({})).unwrap();
assert!(wheel_scrolls_the_view(&mut app, &ctx), "the wheel over the canvas scrolls the view under Bullets and Numbering");
}
#[test]
fn character_style_options_keeps_the_canvas_open() {
let (mut app, ctx) = app();
app.run("ui.charStyleOptions", json!({"name": vectorcraft_engine::cmd::textstyles::NORMAL_CHAR})).unwrap();
assert!(wheel_scrolls_the_view(&mut app, &ctx), "the wheel over the canvas scrolls the view under Character Style Options");
}
#[test]
fn paragraph_style_options_keeps_the_canvas_open() {
let (mut app, ctx) = app();
app.run("ui.paraStyleOptions", json!({"name": vectorcraft_engine::cmd::textstyles::NORMAL_PARA})).unwrap();
assert!(wheel_scrolls_the_view(&mut app, &ctx), "the wheel over the canvas scrolls the view under Paragraph Style Options");
}
/// New Character Style shares the style dialog but does not preview, so the canvas stays covered.
#[test]
fn new_character_style_leaves_the_canvas_covered() {
let (mut app, ctx) = app();
app.run("ui.newCharStyle", json!({})).unwrap();
assert!(!wheel_scrolls_the_view(&mut app, &ctx), "the wheel over the canvas does not reach the view");
}
+3 -2
View File
@@ -17539,8 +17539,9 @@ nothing, and a call that changes no blend records no undo step. With no blend se
spacing and orientation new blends start with. The Blend panel's Ramp and Shift sliders run it on the selected blends:
a drag previews and its release records one undo step. Blend Options sends only the spacing or orientation set in the dialog.
While Blend Options previews a selected blend, the canvas of the current window is not dimmed under the dialog, and the
wheel over it still scrolls the view. Other dialogs with a Preview box on the canvas (envelope, path, Flare Tool,
Justification, Proof Setup, Swatch Options, add-on and command dialogs) work the same way.
wheel over it still scrolls the view. Other dialogs that preview on the canvas (envelope, path, Flare Tool,
Justification, Proof Setup, Swatch Options, Effect Gallery, Bullets and Numbering, Character Style Options, Paragraph
Style Options, add-on and command dialogs) work the same way.
`object.blend.setEasing {id?, easingType?, ramp?, colorShift?}` sets one blend's easing and color shift (the
first selected blend without `id`) and returns `{id, easingType, ramp, colorShift, changed}`; omitted values are kept.
+1 -1
View File
@@ -5,7 +5,7 @@ use std::process::Command;
use serde_json::Value;
const REV: &str = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8";
const REV: &str = "dfd876669dd3d64f0061ab510a94b866a1ae35ab";
const PACKAGES: &[(&str, &str, &str)] = &[
("craft-pdf", "0.1.0", REV),
("krilla", "0.8.2", REV),