@alis-build/design-system 0.26.2 → 0.27.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/alisx.css CHANGED
@@ -1126,7 +1126,7 @@ a.app-token,button.app-token{border:0;font:inherit;font-weight:600;cursor:pointe
1126
1126
  .app-checkbox{border-radius:var(--radius-xs)}
1127
1127
  .app-radio{width:20px;height:20px;margin:2px;border-radius:var(--radius-pill)}
1128
1128
  .app-checkbox:checked,.app-checkbox:indeterminate,.app-checkbox.is-checked{border-color:var(--primary);background:var(--primary)}
1129
- .app-checkbox:checked::before,.app-checkbox.is-checked::before{content:"";position:absolute;left:3px;top:-1px;width:5px;height:10px;border:solid var(--on-primary);border-width:0 2px 2px 0;transform:rotate(45deg)}
1129
+ .app-checkbox:checked::before,.app-checkbox.is-checked::before{content:"";position:absolute;left:4.5px;top:1px;width:5px;height:10px;border:solid var(--on-primary);border-width:0 2px 2px 0;transform:rotate(45deg)}
1130
1130
  .app-checkbox:indeterminate::before{content:"";position:absolute;left:2px;right:2px;top:6px;height:2px;background:var(--on-primary)}
1131
1131
  .app-radio:checked{border-color:var(--primary)}
1132
1132
  .app-radio:checked::before{content:"";position:absolute;inset:3px;border-radius:inherit;background:var(--primary)}
@@ -17,7 +17,7 @@ Where you write to Alis, an agent or a person. One floating surface with three b
17
17
  | **Editor** | Body type, 16/24. Grows to eight lines, then scrolls inside itself. The placeholder says what to write | The product writes the placeholder |
18
18
  | **Suggestions** (only while you type `/` or `@`) | An [AppMenu](AppMenu.md) band right above the editor, divided by a hairline: commands, or people and things to mention. Below an open ask | The product supplies the commands and what can be mentioned |
19
19
  | **Row**: Add | `add` icon button: an [AppMenu](AppMenu.md) of what you can bring in, then the commands | The product fills the menu |
20
- | **Row**: Context | Label [AppChip](AppChip.md)s you can remove, for what Alis can see or act on *in this conversation* (a project, chosen resources, staged comments). Sticky until removed, where the tray goes with one message. Never a mode or a setting. A file open in [AppFilePane](AppFilePane.md) is the chip while it is open: its glyph and file name; removing the chip keeps the pane, closing the pane removes the chip | The product decides which, if any |
20
+ | **Row**: Context | Label [AppChip](AppChip.md)s you can remove, for **what you opened beside the conversation, to point at it**: a file open in [AppFilePane](AppFilePane.md) (its glyph and file name), or anything opened in the detail pane from the chat. **Never where you are**: the page you're on goes with every message as references and is never shown. Never a mode or a setting. Removing the chip keeps the pane and leaves it out of the message; closing the pane removes the chip. What you write on a file goes in the tray | The product decides what opens beside the conversation |
21
21
  | **Row**: voice | A plain mic icon button beside live (see below) | The product decides whether there's voice, and which mic mode |
22
22
  | **Row**: trailing button | The one filled icon button in the system: `primary`, 40px, round | The system |
23
23
  | **Line** (below the surface) | One line at most, meta type, 20 in: a hint, the trust note, why it's locked, or an error | The product writes it |
@@ -64,8 +64,6 @@ Where you write to Alis, an agent or a person. One floating surface with three b
64
64
  </div>
65
65
  <div class="app-composer__row">
66
66
  <button type="button" class="app-icon-btn app-state app-target" aria-label="Add files and more" title="Add files and more"><span class="app-icon" aria-hidden="true">add</span></button>
67
- <span class="app-chip"><span class="app-icon" aria-hidden="true">folder</span><span>Pricing rethink</span>
68
- <button type="button" class="app-chip__close app-state" aria-label="Remove Pricing rethink"><span class="app-icon" aria-hidden="true">close</span></button></span>
69
67
  <span class="app-composer__spacer"></span>
70
68
  <button type="button" class="app-icon-btn app-state app-target" aria-label="Dictate" title="Dictate"><span class="app-icon" aria-hidden="true">mic</span></button>
71
69
  <button type="button" class="app-composer__go app-state" aria-label="Talk to Alis" title="Talk to Alis"><span class="app-icon" aria-hidden="true">graphic_eq</span></button>
@@ -10,6 +10,7 @@ See [page.md](../rules/page.md).
10
10
  - **It may lead with one icon tile**, above the headline: the avatar's thing tile at 80 ([AppAvatar](AppAvatar.md)), holding the icon of what the screen is about. Neutral, as every tile is, and never a status colour: a result says how it went in its headline. Leave it out when no icon is plainly the thing's own.
11
11
  - It takes the drafting field, one per screen. In `.app-shell__content` or the detail pane the field bleeds to the pane's edges (the CSS cancels the pane padding). Where the list pane and the detail pane are both empty, the detail pane takes the field and the list pane's empty state goes without it.
12
12
  - Keep the title bar's name and verb; hide search and the filter row.
13
+ - A detail pane with nothing open, beside a list that has items, takes it without a button: choosing from the list is the first step, and the bar already holds New. Its headline says what opens here.
13
14
  - It sits in the centre of the pane, from the title bar's foot to the window's, as the pane's only content: a view switch or a drop hint goes with the list, and a docked composer floats over the pane rather than shortening it. `.app-empty` centres itself in what it is given, so give it the whole pane.
14
15
  - **A pane that can't show its content** (it couldn't load, they may not open it, it isn't there) is this same block without the drafting field: a headline in ink that says what couldn't happen, one line that says what to do, one outlined action. Never red: nothing they did failed. In a detail pane or a card the headline is `text-section-title`. The words for each case are in [errors.md](../rules/errors.md).
15
16
  - **One section that couldn't load** is an empty line with Try again beside it (`.app-empty-line__action`); the rest of the screen stays.
@@ -44,7 +44,7 @@ One turn in a conversation, in an `.app-thread`. **You write in a bubble; Alis w
44
44
 
45
45
  ## What you send
46
46
 
47
- - **What it was about**: when the composer's context chip went with your message, a meta line above your bubble names it, in `on-surface-variant` (`.app-turn__about`): "About Pricing rethink", "About pricing.html". The chip as it was when you sent, so the thread says what Alis was looking at.
47
+ - **What it was about**: when the composer's context chip went with your message, a meta line above your bubble names it, in `on-surface-variant` (`.app-turn__about`): "About pricing.html". The chip as it was when you sent, so the thread says what you pointed at. Never the page you were on: that went as references and isn't shown.
48
48
  - **Files and things** keep their [AppAttachment](AppAttachment.md) tile from the tray, without remove, stacked right above your bubble; the tile opens what it names. A thing shared into the conversation (a meeting, its notes, an interview, diagnostics, a skill, an issue, an agent session) is the same tile, never a card with a button in it. An image shows itself, 240 wide. A file or a thing sent alone is a turn with no bubble.
49
49
  - **A voice note** is its own bubble (`.app-voice-note`): play, the waveform (played in `primary`, the rest in `outline`) and the time, then the transcript in body, three lines and Show all. The transcript is what Alis acted on, so a misheard word is in plain sight.
50
50
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alis-build/design-system",
3
- "version": "0.26.2",
3
+ "version": "0.27.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/page.md CHANGED
@@ -166,6 +166,9 @@ leads its content with it, or leaves it out. What a failure shows, and where, is
166
166
  - **When the screen's list is empty**, the title bar keeps the name and the
167
167
  verb, and drops search and the filter row: there is nothing to search or
168
168
  narrow.
169
+ - **A detail pane with nothing open**, beside a list that has items, takes the
170
+ empty state without a button: choosing from the list is the first step, and
171
+ the bar already holds New.
169
172
  - **An empty state sits in the centre of its pane**, the space from the title
170
173
  bar's foot to the window's, so it is in the same place on every screen. It is
171
174
  the pane's only content: a view switch, a drop hint and anything else that