@alis-build/design-system 0.11.0 → 0.11.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
@@ -779,6 +779,7 @@ a.app-attachment{color:inherit;text-decoration:none}
779
779
  .app-thread__event .app-icon{font-size:16px}
780
780
  .app-thread__typing{margin:0;color:var(--on-surface-variant)}
781
781
  .app-thread__status{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
782
+ .app-turn__bubble.prose{white-space:normal;--prose-gap:12px;--prose-item-gap:4px;--prose-h1-size:16px;--prose-h1-line:24px;--prose-h1-tracking:0;--prose-h1-weight:600;--prose-h1-above:16px;--prose-h1-below:4px;--prose-h2-size:16px;--prose-h2-line:24px;--prose-h2-weight:600;--prose-h2-above:16px;--prose-h3-above:12px;--prose-code-size:14px}
782
783
  .app-turn__request{display:flex;align-items:center;gap:var(--space-8);margin-bottom:var(--space-4);white-space:normal}
783
784
  .app-turn__request .app-icon{font-size:20px;color:var(--on-surface-variant)}
784
785
 
@@ -15,7 +15,7 @@ See [page.md](../rules/page.md).
15
15
  - **The filter row** is the first thing in `.app-shell__content` (which pads it), one row that narrows the list: search first, then the filters, then the count at the far end ("12 interviews", "3 of 12" while something narrows). Below 600px, search takes the whole first line.
16
16
  - **When the list is empty**, keep the name and the verb; hide search and the filter row.
17
17
 
18
- **Detail bar** (`app-titlebar--detail`), the bar of a detail pane beside a list: a close icon button leading, the selected thing's name in section-title (the screen already has its page-title), and its verbs as text buttons on a row of their own under the name, so a 360px pane never truncates the name. No search, no tabs. The pane pads it; add nothing.
18
+ **Detail bar** (`app-titlebar--detail`), the bar of a detail pane beside a list: a close icon button leading, the selected thing's name in section-title (the screen already has its page-title), and one row under the name: the thing's state first when it has one (a small chip), then its verbs as text buttons, wrapping in a narrow pane, so a 360px pane never truncates the name and the bar stays two rows. Where the pane's content is a centred column (a conversation at the prose measure), the bar aligns to that column. No search, no tabs. The pane pads it; add nothing.
19
19
 
20
20
  ## Markup
21
21
 
@@ -12,10 +12,11 @@ One turn in a conversation, in an `.app-thread`. **You write in a bubble; Alis w
12
12
 
13
13
  | Turn | How it reads | Class |
14
14
  |---|---|---|
15
- | **You** | A bubble on the right: `surface-container-low`, `radius-lg` (16, the tiles' corner), at most 80% of the measure (85% on a phone). Your words as written, line breaks kept, not rendered as markdown; a mention or a command stays the token it was in the composer, and opens what it names ([AppMenu](AppMenu.md)). No avatar, no name | `.app-turn--you` |
15
+ | **You** | A bubble on the right: `surface-container-low`, `radius-lg` (16, the tiles' corner), at most 80% of the measure (85% on a phone). Your words as written, line breaks kept (markdown: below); a mention or a command stays the token it was in the composer, and opens what it names ([AppMenu](AppMenu.md)). No avatar, no name | `.app-turn--you` |
16
16
  | **Alis** | Prose at the full measure, on the ground. Her latest turn opens with the mark ([colour.md](../rules/colour.md) § `signal`) | `.app-turn--alis` |
17
17
  | **Anyone else** | A bubble on the left, same fill and corner, under a who-line | `.app-turn--them` |
18
18
 
19
+ - **Markdown in a bubble.** With Alis, your words stay as written and markdown isn't rendered. In a conversation with people, where messages also arrive from the CLI and from agents, every bubble renders its markdown: `.prose` on the bubble keeps body type, and headings step down to body size at 600, so lists, code and links read and nothing outgrows the bubble.
19
20
  - **The who-line** appears only when someone besides you and Alis is in the thread, and opens each run of turns by anyone but you: a 24px avatar (a photo, else initials), the name in label, then role and time in meta. **Alis's avatar is the mark**, so in a group thread it marks each of her runs. Two bubbles in one run sit 8 apart under one who-line.
20
21
  - **The mark is where Alis is now.** In a one-to-one it stands only at the top of her latest turn, 20px, in the turn's head: animated while she thinks, still once she writes, and it moves on to her next turn. Earlier turns carry none: a column of red marks stops meaning *Alis is on it*. In a group thread the who-line carries it instead.
21
22
 
@@ -74,7 +75,8 @@ Alis is never typing or seen: her phases already say what she is doing.
74
75
  | Done | `check` "Granted by Jan Krynauw", or what it made: "Ready: open acme to start building" |
75
76
  | Declined | `block` "Declined by Jan Krynauw: use the existing shared product". Nothing failed, so nothing is red |
76
77
  | Failed | `error`, `is-error`: "Couldn't set it up: the quota is used", with Try again for whoever decided |
77
- | Shared, or not | When they asked you to produce something: `check` "Shared by Martha", or `block` "Not shared by Martha" |
78
+ | Waiting on them | When you asked them to produce something: `schedule` "Waiting for Martha" |
79
+ | Shared, or not | `check` "Shared by Martha", or `block` "Not shared by Martha" |
78
80
 
79
81
  This line is the request's state in the thread. **On a list row** the same state is a chip ([chips-alerts.md](../rules/chips-alerts.md) § States of a thing): waiting is a label with `schedule`, under way `info`, done `success`, declined a label with `cancel`, failed `error`.
80
82
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alis-build/design-system",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
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",
@@ -77,6 +77,11 @@ not started and draft are labels.
77
77
  In progress is never `signal`: signal is the mark and the caret, never a state.
78
78
  [AppChip](../components/AppChip.md) has the full table.
79
79
 
80
+ **A state that names a party is worded from where the viewer sits**: the person
81
+ who asked reads "Waiting on you", the specialist reads "Waiting on Martha".
82
+ Waiting on someone is a label with `schedule`, never `warning`: *Needs you*
83
+ (`warning`) is kept for an open ask ([AppAsk](../components/AppAsk.md)).
84
+
80
85
  **Severity is a state too**, so it takes the statuses rather than a scale of its
81
86
  own: blocking or critical is `error`, major is `warning`, and minor or lower is a
82
87
  label. A kind of report (a bug, a feature request) is not a severity: it is a
package/rules/page.md CHANGED
@@ -62,7 +62,12 @@ button, and never the name again as a title in the body.
62
62
 
63
63
  **A detail pane** beside a list is part of the same screen, which already has its
64
64
  page-title, so its bar names the selected thing in `text-section-title`
65
- (`.app-titlebar--detail`). A notice about that thing sits at the top of the pane.
65
+ (`.app-titlebar--detail`). The row under the name holds the thing's state first,
66
+ when it has one, then its verbs, and wraps when the pane is narrow: the name never
67
+ truncates and the bar stays two rows. Where the pane's content is a centred column
68
+ (a conversation at the prose measure), the bar aligns to that column, as all
69
+ persistent chrome does ([spacing.md](spacing.md) § Measure). A notice about that thing sits at
70
+ the top of the pane.
66
71
 
67
72
  ## The filter row
68
73
 
@@ -71,8 +76,12 @@ scrolling with it: **one row that narrows the list**, and wraps.
71
76
 
72
77
  - **Search first**, when the screen has one (§ Search).
73
78
  - **Then the filters.** The one used most, usually the one whose choice reveals
74
- the others, comes first, so it never moves as they come and go; selects follow
79
+ the others, comes first, so it never moves as they come and go; the rest follow
75
80
  it.
81
+ - **A choice among several options is a button that names its choice**, with a
82
+ trailing `expand_more`, opening a menu whose chosen row is checked (§ Menus).
83
+ It keeps the row at the control height, where a field wouldn't. A select field
84
+ ([AppSelect](../components/AppSelect.md)) belongs in a form.
76
85
  - **The count closes the row**, at the far end, and answers it: what the scope
77
86
  produces ("24 projects"), and "3 of 24" while a query or a filter narrows.
78
87
  - One row of controls before the first result, never two.