From e2ae0d10eab3c6e1fdba0ee7ecb099bfbbc83fa9 Mon Sep 17 00:00:00 2001 From: aiongg Date: Wed, 11 Nov 2026 16:15:47 +0000 Subject: [PATCH] docs(dialogs, docking, themes): name the library crate behind each craft_ui module --- docs/suite-themes.md | 2 +- docs/ui-dialogs.md | 4 ++-- docs/ui-docking.md | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/suite-themes.md b/docs/suite-themes.md index bfc09320c..d946054ba 100644 --- a/docs/suite-themes.md +++ b/docs/suite-themes.md @@ -21,7 +21,7 @@ derived. data and caption colours, plus shape, size, space, motion and type tokens. 3. **Component tokens**: the slider thumb's width and height (`slider.thumb_width`, `slider.thumb_height`). Every other component computes its look from the semantic tokens, in - its style in `craft-ui`. + its style in the UI library crates. `resolve(theme, appearance, app)` builds the tokens for one appearance: mode (light, dark), contrast (standard, high), size (compact, comfortable), text size (small, default, large and diff --git a/docs/ui-dialogs.md b/docs/ui-dialogs.md index 4d3a7fe0b..7627a5f1c 100644 --- a/docs/ui-dialogs.md +++ b/docs/ui-dialogs.md @@ -1,6 +1,6 @@ # Dialogs -`craft_ui::dialog` holds the dialog shells, the prompts, and the host that runs an app's dialogs and keeps their answers. +`craft_ui::dialog` holds the dialog shells, the prompts, and the host that runs an app's dialogs and keeps their answers. craft-ui-panels defines it; craft-ui-canvas adds `FullWindowDialog` and its parts, and the `craft-ui` facade re-exports that combined module. | Type | Is | | --- | --- | @@ -13,7 +13,7 @@ | `DialogHost` | Runs the open dialogs of a window and keeps their results. | | `DialogStack` | Which open modal dialog takes the input. | -Form dialogs (`ParamDialog`, image size, properties, new document and others) build on these in `craft_ui::patterns::form_dialogs`. +Form dialogs (`ParamDialog`, image size, properties, new document and others) build on these in `craft_ui::patterns::form_dialogs` (craft-ui-patterns). ## Dialog diff --git a/docs/ui-docking.md b/docs/ui-docking.md index 5e2289a7a..74f03f8e2 100644 --- a/docs/ui-docking.md +++ b/docs/ui-docking.md @@ -4,9 +4,9 @@ Docking has three layers: | Layer | Holds | | --- | --- | -| `craft_behavior::dock` | The model: `Workspace`, `Layout`, `Node`, `Action`, `Permissions`, `WorkspaceSet`. No egui; this is the saved data. | -| `craft_ui::docking` | The parts: `SplitArea`, `DockGroup`, `DockColumn`, `IconicColumn`, `Flyout`, `FloatingGroup`, `DockRoot`, `Splitter`; drop resolution; the dock commands. | -| `craft_ui::patterns::dock` | The patterns an app shows: `DockArea` over a workspace, `PaneArea` for task panes, `WorkspaceSwitcher`. | +| `craft_behavior::dock` (craft-behavior) | The model: `Workspace`, `Layout`, `Node`, `Action`, `Permissions`, `WorkspaceSet`. No egui; this is the saved data. | +| `craft_ui::docking` (craft-ui-panels) | The parts: `SplitArea`, `DockGroup`, `DockColumn`, `IconicColumn`, `Flyout`, `FloatingGroup`, `DockRoot`, `Splitter`; drop resolution; the dock commands. | +| `craft_ui::patterns::dock` (craft-ui-patterns) | The patterns an app shows: `DockArea` over a workspace, `PaneArea` for task panes, `WorkspaceSwitcher`. | An app with dockable panels shows a `DockArea`. The parts are for patterns that need one piece, such as a two-body split.