Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ Also, as previews that follow the main version: `TKCode.Arc.Graphics3D`, `TKCode
- `SegmentedItem` (`TKCode.Arc`) is now public (it was internal), so that XAML styles and Rider's checks can address `arc|SegmentedItem` (#231). It has a token of its own, `SegmentedItemToken` (identity `SegmentedControlItem`, because `TKCode.Arc.Mobile` already has a `SegmentedItem` token). `TKCode.Arc.Mobile` also has a `SegmentedItem` in its own namespace; a C# file that imports both namespaces aliases one side.
- `ArcWindow` / `TitleBar` / `WindowCaptionButtons` (`TKCode.Arc`): `CaptionButtonVariant` (`Round` | `Rectangle`, #230) picks the shape of the drawn caption buttons. `Round` is the default and the look is unchanged; `Rectangle` draws Windows-style flat buttons that are as tall as the title bar, 46 wide (`WindowCaptionButtonsToken.RectangleButtonWidth`), touch each other and the window's right edge (`TitleBarToken.RectangleButtonsPadding`), with square corners, and the close button turns solid danger under the pointer. Inherited, so setting it on the `ArcWindow` is enough; it applies only while the bar draws the buttons (`CaptionButtons` `Drawn`, or `Auto` outside macOS). New token entries: `WindowCaptionButtonsTokenKind.RectangleButtonWidth` and `RectangleCloseHoverForeground`, `TitleBarTokenKind.RectangleButtonsPadding`.

### Fixed

- `CodeEditor` (`TKCode.Arc.Editor.Controls`): the hover, parameter hints and problem cards cut their shadow off at the card's rectangle, which left gray patches in the four rounded corners and no soft shadow around the card. The card no longer clips its shadow.

## 1.3.3-preview.2 - 2026-12-01

A patch preview fixing spurious `HoverCard` openings, with no public API changes. Install it with `--version 1.3.3-preview.2` (or `--prerelease`).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
<Setter Property="FontSize" Value="{arc:ArcDesignTokenResource TypeSM}" />
<Setter Property="RowPadding" Value="{arc:CodeEditorTokenResource HoverRowPadding}" />
<Setter Property="MaxWidth" Value="{arc:CodeEditorTokenResource HoverMaxWidth}" />
<Setter Property="ClipToBounds" Value="False" />
<Setter Property="Focusable" Value="False" />
<Setter Property="Template">
<ControlTemplate TargetType="arc:CodeEditorHoverSurface">
Expand Down
Loading