@alis-build/design-system 0.11.2 → 0.11.3
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 +6 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alis-build/design-system",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.3",
|
|
4
4
|
"description": "The AlisX design system for coding agents: tokens, product CSS, component markup, capability marks and rules.",
|
|
5
5
|
"keywords": ["alisx", "design-system", "design-tokens", "css"],
|
|
6
6
|
"homepage": "https://alisx.com",
|
package/rules/buttons.md
CHANGED
|
@@ -88,7 +88,9 @@ similar controls people scan repeatedly, and the glyph is conventional.
|
|
|
88
88
|
title bar's lead, an empty state, a text button in a pane, an alert. The glyph
|
|
89
89
|
names a kind of action, not the object, so never `person_add` or `note_add`;
|
|
90
90
|
in a menu the item follows the menu's rule (a glyph on every row or none), and
|
|
91
|
-
its glyph is `add`. "Add a follow-up round" works inside a thing and keeps none
|
|
91
|
+
its glyph is `add`. "Add a follow-up round" works inside a thing and keeps none,
|
|
92
|
+
and so does a field's own action ("Add" beside an input, taking what you
|
|
93
|
+
typed): it is that field's affirmative.
|
|
92
94
|
- **No other icon on a lead**, filled or outlined, and none on a dialog action:
|
|
93
95
|
"Create project" finishes what New started.
|
|
94
96
|
- One icon, leading. The only trailing icon is a chevron meaning "opens a menu".
|
|
@@ -138,6 +140,9 @@ Did this thing exist before the action?
|
|
|
138
140
|
- **One object, one label, everywhere it appears:** the title bar, an empty
|
|
139
141
|
state, a menu. Not Create, Generate new or Get started: the first two are more
|
|
140
142
|
words for New, and the last drops the object.
|
|
143
|
+
- **Upload is its own verb.** Files from your device are "Upload files", with
|
|
144
|
+
`upload`, never "Add files": Add brings a thing in, Upload says where it comes
|
|
145
|
+
from.
|
|
141
146
|
- **A product name keeps its capital and the object doesn't:** "New build
|
|
142
147
|
environment".
|
|
143
148
|
- **It names what brings a thing into a screen, not work inside one.** "Add a
|