@alis-build/design-system 0.25.0 → 0.25.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/rules/buttons.md +5 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alis-build/design-system",
|
|
3
|
-
"version": "0.25.
|
|
3
|
+
"version": "0.25.1",
|
|
4
4
|
"description": "The AlisX design system for coding agents: tokens, product CSS, component markup, capability marks, words and rules.",
|
|
5
5
|
"keywords": ["alisx", "design-system", "design-tokens", "css"],
|
|
6
6
|
"homepage": "https://alisx.com",
|
package/rules/buttons.md
CHANGED
|
@@ -113,10 +113,13 @@ similar controls people scan repeatedly, and the glyph is conventional.
|
|
|
113
113
|
last**: a dialog's, a card's, a form's, a step's, a sheet's. It is the last
|
|
114
114
|
thing read and the last thing done, so it sits where reading ends. Back takes
|
|
115
115
|
the leading edge (`.app-btn-row__start`), so the row shows which way the flow
|
|
116
|
-
runs. `.app-btn-row` does this by itself.
|
|
116
|
+
runs. `.app-btn-row` does this by itself. A line that explains the row (a
|
|
117
|
+
count, why it can't go yet) may lead it; Back is still the only button there.
|
|
117
118
|
- **A button among content stays with the content**: an empty state's action, a
|
|
118
119
|
section's action in its heading row, Add beside its field, Change photo beside
|
|
119
|
-
the photo, the actions on an item in a list (`.app-btn-row--start`)
|
|
120
|
+
the photo, the actions on an item in a list (`.app-btn-row--start`), the one
|
|
121
|
+
action of a screen that addresses someone, centred under its words ("Join
|
|
122
|
+
interview"), and a control that works a thing in place (Start recording).
|
|
120
123
|
- **Dialogs:** a dialog is its own screen, so
|
|
121
124
|
its affirmative is filled when it commits, in `error` when it destroys, and
|
|
122
125
|
the rest are text. "Cancel" is always text. An affirmative that doesn't commit
|