Eva Marco 9977a4fbc6
♻️ Use the DS button in the Design tab export menu (#13275)
* ♻️ Use the DS button in the Design tab export menu

The "Export N elements" button of the Export menu was a raw button with
the deprecated %button-secondary placeholder. It becomes a secondary
button*, as the Inspect export button already is, so it takes the DS
label, hover and disabled look. The btn-disabled class goes away: the
.scss never defined it, and button* styles the disabled state.

A zero-tolerance visual test shows the button at rest, on hover and
while exporting (the export request is held so the state stays), and
the export row, which the styles commit that follows must not change.

AI-assisted-by: claude-opus-5-5

* ♻️ Move the Design tab export menu styles to the DS

exports.scss drops the deprecated spacing, flex-row and typography
mixins and the %mixed-bar placeholder: DS sizes, borders, spacing
tokens and px2rem take their place, with logical properties. The
mixed bar colors resolve to their DS tokens. The format and size
selects share one rule. The refactor/ import stays only for
%input-element, which the suffix input keeps until the text inputs
group moves it.

The mixed bar and the suffix input take body-small (line height 1.4
to 1.3). The visual test shows 0 px against the previous commit; the
mixed bar is not in it, because the test file cannot reach that state.

AI-assisted-by: claude-opus-5-5
2026-11-26 09:40:55 +01:00
..
2024-07-01 10:29:57 +02:00