@alis-build/design-system 0.26.1 → 0.26.2

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.
@@ -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
+ - 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.
13
14
  - **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).
14
15
  - **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.
15
16
  - An empty line inside working content ("No files yet" in a tab) is not this: use one supporting line, `.app-empty-line`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alis-build/design-system",
3
- "version": "0.26.1",
3
+ "version": "0.26.2",
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,11 @@ 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
+ - **An empty state sits in the centre of its pane**, the space from the title
170
+ bar's foot to the window's, so it is in the same place on every screen. It is
171
+ the pane's only content: a view switch, a drop hint and anything else that
172
+ works on the list go with the list, and a composer docked at the foot floats
173
+ over the pane without taking its height.
169
174
  - **An empty state that fills its pane speaks to the user**
170
175
  ([AppEmptyState](../components/AppEmptyState.md)). Its headline says why you
171
176
  would act and never repeats the screen's name: "Hear from the people closest to