@alis-build/design-system 0.43.1 → 0.44.0

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.
@@ -11,7 +11,7 @@ Emphasis is allocated, not chosen ([buttons.md](../rules/buttons.md)).
11
11
  - Cyan text is a link, never a button.
12
12
  - **Error** (`app-btn--error`) for destructive actions, at the same level. **Quiet** (`app-btn--quiet`, `on-surface-variant`) for a quiet action beside content.
13
13
  - No tonal or elevated buttons. A filled button scales to 97% and rounds to 12px when pressed (the CSS does it).
14
- - **A word or a glyph, never both, outside the lexicon** ([buttons.md](../rules/buttons.md) § The form): `add` (New, Add), `upload`, `download`, `content_copy` (Copy) and `edit` lead their verb wherever it appears; `edit_square` leads a new conversation; a trailing chevron opens a menu and a trailing `open_in_new` leaves the product, each with `app-icon--trailing` so it pulls into the end padding as a leading glyph pulls into the start; a third party's mark leads a hand-off to them. No glyph on a filled button or a dialog's affirmative.
14
+ - **A word or a glyph, never both, outside the lexicon** ([buttons.md](../rules/buttons.md) § The form): `add` (New, Add), `upload`, `download`, `content_copy` (Copy), `link` (Copy link) and `edit` lead their verb wherever it appears; `edit_square` leads a new conversation; a trailing chevron opens a menu and a trailing `open_in_new` leaves the product, each with `app-icon--trailing` so it pulls into the end padding as a leading glyph pulls into the start; a third party's mark leads a hand-off to them. No glyph on a filled button or a dialog's affirmative.
15
15
  - **A shortcut** never goes in the label. A button with one takes an [AppTooltip](AppTooltip.md) that says the label and its keys, and `aria-keyshortcuts` ([shortcuts.md](../rules/shortcuts.md)); a button without one has no tooltip.
16
16
  - The visible box is `control-height` (36px, 48 on touch), padded 24, and the target is `touch-target` ([buttons.md](../rules/buttons.md)). Text and outlined buttons are 600, the filled button 700. `app-btn--small` (32px, padded 12) belongs only in a table row. Inside a toggle group or table row, add `app-target--none`.
17
17
  - **Loading** shows the work on the control the user pressed: a 16px spinner replaces the icon and the label stays (or becomes the present participle, "Deploying"). The button is busy, not disabled: full colour, presses ignored until it settles.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alis-build/design-system",
3
- "version": "0.43.1",
3
+ "version": "0.44.0",
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
@@ -106,6 +106,7 @@ appears: a text button, a lead, a menu row in a menu with glyphs, an icon button
106
106
  | Upload | `upload` |
107
107
  | Download | `download` |
108
108
  | Copy | `content_copy` |
109
+ | Copy link | `link` |
109
110
  | Edit | `edit` |
110
111
 
111
112
  - **`add` on every New and Add.** The action that brings a thing into a screen
@@ -116,6 +117,13 @@ appears: a text button, a lead, a menu row in a menu with glyphs, an icon button
116
117
  its glyph is `add`. "Add a follow-up round" works inside a thing and keeps none,
117
118
  and so does a field's own action ("Add" beside an input, taking what you
118
119
  typed): it is that field's affirmative.
120
+ - **`link` on Copy link, `content_copy` on Copy.** Copying a link is its own
121
+ verb: what you paste opens a place, where Copy carries text you paste as text
122
+ (code, a command, an id, a message). So a copy that puts a link on the
123
+ clipboard is `link` wherever it appears, with "Copy link" or "Copy participant
124
+ link" as its word or tooltip, and every other copy is `content_copy`. Putting
125
+ a link into what you write is `add_link` ("Insert link"), so `link` means one
126
+ act.
119
127
  - **A verb joins the lexicon only when all four hold.** People know the glyph
120
128
  without its word, from the products they already use. People come to the screen
121
129
  looking for the action, rather than being offered it at the moment it fits