Repository navigation
feat(selects): Ghost variant for Select, Combobox, MultiSelect and DropdownMenu; DropdownMenu.Size - #235
Merged
Conversation
…mentedItem, rectangle caption buttons - CodeEditor (#228, #233): public cursor and selection API (Get/SetPosition, Get/SetSelection(s), Reveal*), CursorPositionChanged / CursorSelectionChanged, CanUndo / CanRedo / Undo / Redo / PushUndoStop / UndoRedoStateChanged, and ShowFind / ShowFindReplace / CloseFind. - ToggleGroup and SegmentedControl (#227): SelectedItemBackground and SelectedItemForeground. - SegmentedItem is public (#231), with its own token (identity SegmentedControlItem); Mobile shares the class name. - ArcWindow / TitleBar / WindowCaptionButtons (#230): CaptionButtonVariant (Round by default, Rectangle for Windows-style buttons). - Token baselines regenerated for the new token entries. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…opdownMenu; DropdownMenu.Size - FieldVariant (Outline default | Ghost) in Core; Variant on Select (defined there), Combobox, MultiSelect and DropdownMenu (#229). Ghost: no border, fill or minimum width at rest, SurfaceMuted on hover / press / open, focus ring kept, GhostTriggerPadding token (8, compact 6). - DropdownMenu.Size for its built-in trigger, defaulting to Small so the look does not change; Ghost uses ButtonVariant.Ghost for that trigger. - Fix: the select triggers' resting fill, border and padding were local values on the template parts, so the theme's hover, pressed, open and focus styles never applied; they are style setters now. - ControlSize docs: heights depend on density. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
….Variant The gallery's API tables cannot resolve an inheritdoc to another type's field. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #229 (first batch). Stacked on #234: merge #234 first, after which this PR shows only its own commit (0b3a73f).
Changes
FieldVariant(Outlineby default,Ghost) inTKCode.Arc.Core.Variantis defined onSelectand added toCombobox,MultiSelectandDropdownMenuwithAddOwner; it is not onFieldyet.SurfaceMutedfill (on raised surfaces, the ghost Button's raised hover fill), and the keyboard focus ring stays. The padding comes from the new token propertyGhostTriggerPadding(8, or 6 in compact density).DropdownMenu.Sizesets the size of the built-in trigger. It defaults toSmall, so the look does not change. With Ghost, that trigger usesButtonVariant.Ghost.ControlSizedocs: the heights depend on the density.XSmallsize, a no-padding "Text" variant, and changing whatSize=Smalldoes. For smaller controls, the issue reply points toArcDensity.Compact/ArcThemeScope.Density.Verification (local)
SelectVariantTests(26, new),SelectTests,SelectFieldSizeTests,ComboboxTests,MultiSelectTestsandDropdownMenuTestsall pass.TokenBaselineTestspass (31); the baselines only addGhostTriggerPadding.🤖 Generated with Claude Code