@alis-build/design-system 0.0.0-stage → 0.1.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.
- package/LICENSE +202 -0
- package/NOTICE +7 -0
- package/README.md +33 -2
- package/alisx.css +586 -0
- package/assets/Brand/README.md +9 -0
- package/assets/Brand/alis-exchange-icon.png +0 -0
- package/assets/Brand/alis.svg +13 -0
- package/assets/Brand/alis_build.svg +31 -0
- package/assets/Brand/alis_exchange.svg +19 -0
- package/assets/Brand/alis_ideate.png +0 -0
- package/assets/Brand/alis_ideate.svg +31 -0
- package/assets/Brand/alis_primary_logo.png +0 -0
- package/assets/Brand/favicon.svg +17 -0
- package/components/AlisMark.md +34 -0
- package/components/AppAlert.md +56 -0
- package/components/AppButton.md +63 -0
- package/components/AppCard.md +54 -0
- package/components/AppChip.md +75 -0
- package/components/AppDialog.md +42 -0
- package/components/AppEmptyState.md +51 -0
- package/components/AppIcon.md +51 -0
- package/components/AppIconButton.md +44 -0
- package/components/AppLattice.md +53 -0
- package/components/AppListRow.md +69 -0
- package/components/AppLoader.md +44 -0
- package/components/AppProgress.md +50 -0
- package/components/AppSegmented.md +36 -0
- package/components/AppSelect.md +59 -0
- package/components/AppSelectTile.md +45 -0
- package/components/AppShell.md +66 -0
- package/components/AppSkeleton.md +51 -0
- package/components/AppSwitch.md +39 -0
- package/components/AppTable.md +63 -0
- package/components/AppTextField.md +83 -0
- package/components/AppTitleBar.md +85 -0
- package/components/CapabilityMark.md +63 -0
- package/components/README.md +121 -0
- package/fonts.css +4 -0
- package/marks.json +57 -0
- package/package.json +31 -4
- package/rules/README.md +68 -0
- package/rules/anti-patterns.md +68 -0
- package/rules/buttons.md +121 -0
- package/rules/chips-alerts.md +77 -0
- package/rules/colour.md +99 -0
- package/rules/icons.md +65 -0
- package/rules/known-gaps.md +34 -0
- package/rules/loading.md +71 -0
- package/rules/page.md +155 -0
- package/rules/quick-start.md +125 -0
- package/rules/register.md +119 -0
- package/rules/selection.md +111 -0
- package/rules/spacing.md +88 -0
- package/rules/styling.md +83 -0
- package/rules/surfaces.md +75 -0
- package/rules/type.md +186 -0
- package/tokens.json +922 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# AppIconButton
|
|
2
|
+
|
|
3
|
+
A 20px glyph in a 48px target that performs one action.
|
|
4
|
+
|
|
5
|
+
## Use / don't use
|
|
6
|
+
|
|
7
|
+
- `on-surface-variant`, no fill, no border, no shadow, no product colour ([buttons.md](../rules/buttons.md)).
|
|
8
|
+
- The label is required: it is the accessible name and the tooltip.
|
|
9
|
+
- An icon button is not a selection. The one exception is a **toggle** (on or off, and stays that way): selected, it takes the `secondary-container` fill with a filled glyph.
|
|
10
|
+
- If it shows a word, use [AppButton](AppButton.md). If it does nothing on its own, it is an [AppIcon](AppIcon.md).
|
|
11
|
+
- `app-icon-btn--small` (32px box, still a 48px target) for the title bar's verbs and a detail pane's close. In a list row's trailing slot or a table cell the CSS shrinks it to 32px and drops the projected target for you.
|
|
12
|
+
|
|
13
|
+
## Markup
|
|
14
|
+
|
|
15
|
+
```html
|
|
16
|
+
<!-- One action -->
|
|
17
|
+
<button type="button" class="app-icon-btn app-state app-target" aria-label="More actions" title="More actions">
|
|
18
|
+
<span class="app-icon" aria-hidden="true">more_vert</span>
|
|
19
|
+
</button>
|
|
20
|
+
|
|
21
|
+
<!-- Small (detail pane close, title bar) -->
|
|
22
|
+
<button type="button" class="app-icon-btn app-state app-target app-icon-btn--small" aria-label="Close details" title="Close details">
|
|
23
|
+
<span class="app-icon" aria-hidden="true">close</span>
|
|
24
|
+
</button>
|
|
25
|
+
|
|
26
|
+
<!-- Toggle, off -->
|
|
27
|
+
<button type="button" class="app-icon-btn app-state app-target" aria-label="Pin" title="Pin" aria-pressed="false">
|
|
28
|
+
<span class="app-icon" aria-hidden="true">keep</span>
|
|
29
|
+
</button>
|
|
30
|
+
|
|
31
|
+
<!-- Toggle, on -->
|
|
32
|
+
<button type="button" class="app-icon-btn app-state app-target is-selected" aria-label="Pin" title="Pin" aria-pressed="true">
|
|
33
|
+
<span class="app-icon app-icon--filled" aria-hidden="true">keep</span>
|
|
34
|
+
</button>
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Behaviour you must supply
|
|
38
|
+
|
|
39
|
+
- `aria-label` and `title` carry the same label.
|
|
40
|
+
- A toggle: on press flip `aria-pressed`, `is-selected` on the button and `app-icon--filled` on the glyph together. A plain action never has `aria-pressed`.
|
|
41
|
+
|
|
42
|
+
## Classes
|
|
43
|
+
|
|
44
|
+
`.app-icon-btn`, `.app-icon-btn--small`, `.is-selected`, with `.app-state .app-target`.
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# AppLattice
|
|
2
|
+
|
|
3
|
+
Content you read: a hairline, a 44px tick, an eyebrow, then the content. No fill, no shadow, no radius, no box. With the transcript and `.prose`, the two things that go inside it.
|
|
4
|
+
|
|
5
|
+
## Use / don't use
|
|
6
|
+
|
|
7
|
+
See [surfaces.md](../rules/surfaces.md) and [type.md](../rules/type.md).
|
|
8
|
+
|
|
9
|
+
- Use it for continuous content that is read rather than manipulated: overviews, synthesis sections, agent findings, long artifacts.
|
|
10
|
+
- The tick may take a product tone (`app-lattice--ideate` or `app-lattice--build`) where the section belongs to one. The eyebrow is four words at most.
|
|
11
|
+
- **A document** (a synthesis, an overview) is a column of lattices at the prose measure, 24 apart, each with `.prose` inside.
|
|
12
|
+
- **Rendered markdown** goes in `.prose`, which sets it on the type scale. `.prose-compact` beside it sets the same scale a step smaller (14px body, 16px first heading).
|
|
13
|
+
- **A quote** is a `blockquote` in `.prose`; its attribution is a `cite` after the quote's paragraph.
|
|
14
|
+
- **A transcript** (questions and answers): each question in label type, ink `on-surface-variant`, its answer in body, 8 apart, pairs 24 apart.
|
|
15
|
+
- Something you act on is an [AppCard](AppCard.md), not a lattice.
|
|
16
|
+
|
|
17
|
+
## Markup
|
|
18
|
+
|
|
19
|
+
```html
|
|
20
|
+
<section class="app-lattice app-lattice--ideate">
|
|
21
|
+
<p class="app-lattice__eyebrow text-eyebrow">Summary</p>
|
|
22
|
+
<div class="prose">
|
|
23
|
+
<p>Teams lose a day a week to environment drift.</p>
|
|
24
|
+
<blockquote>
|
|
25
|
+
<p>We stopped trusting staging months ago.</p>
|
|
26
|
+
<cite>Platform lead, interview 4</cite>
|
|
27
|
+
</blockquote>
|
|
28
|
+
<ul><li>…</li></ul>
|
|
29
|
+
</div>
|
|
30
|
+
</section>
|
|
31
|
+
|
|
32
|
+
<!-- Transcript -->
|
|
33
|
+
<section class="app-lattice">
|
|
34
|
+
<p class="app-lattice__eyebrow text-eyebrow">Transcript</p>
|
|
35
|
+
<div class="app-qa">
|
|
36
|
+
<div class="app-qa__pair">
|
|
37
|
+
<p class="app-qa__q text-label">How do you test a branch today?</p>
|
|
38
|
+
<p class="app-qa__a text-body">We push to staging and hope nobody else did.</p>
|
|
39
|
+
</div>
|
|
40
|
+
<!-- more pairs -->
|
|
41
|
+
</div>
|
|
42
|
+
</section>
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
A column of lattices: wrap them in your own layout element (flex column, `gap: var(--space-24)`, `max-width: var(--measure-prose)`).
|
|
46
|
+
|
|
47
|
+
## Behaviour you must supply
|
|
48
|
+
|
|
49
|
+
- None. Render markdown to HTML yourself and drop it inside `.prose`; it styles bare `h1`–`h6`, `p`, `ul`/`ol`, `blockquote`, `pre`/`code`, `table`, `hr`, `img`, `a`.
|
|
50
|
+
|
|
51
|
+
## Classes
|
|
52
|
+
|
|
53
|
+
`.app-lattice`, `.app-lattice--ideate`, `.app-lattice--build`, `.app-lattice__eyebrow`; `.app-qa`, `.app-qa__pair`, `.app-qa__q`, `.app-qa__a`; `.prose`, `.prose-compact`.
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# AppListRow
|
|
2
|
+
|
|
3
|
+
A row in a list, the navigation pane or the agent chat list.
|
|
4
|
+
|
|
5
|
+
## Use / don't use
|
|
6
|
+
|
|
7
|
+
48px minimum; the whole row is the target. A list paints no surface.
|
|
8
|
+
|
|
9
|
+
- **Content** (default): a row in a content list. Title in object-title, an optional supporting line, an optional trailing slot (a small status [AppChip](AppChip.md), an [AppIconButton](AppIconButton.md)) and a meta value at the end. Selected takes the full `secondary-container` fill.
|
|
10
|
+
- **Nav** (`app-row--nav`): a destination in the navigation pane ([AppShell](AppShell.md)). 24px icon, label type, pill shape. The pane is permanent chrome, so its selected row takes the quieter `selection-chrome`. A heading over a group of rows is `.app-nav-heading text-eyebrow`.
|
|
11
|
+
- **Agent chat** (`app-row--agent-chat`): the agent chat list, 32px rows, and nothing else. It is not a density option: no other list may use it, however alike it looks ([spacing.md](../rules/spacing.md)). Its menu button is 24px and projects no target.
|
|
12
|
+
- `app-row--divided` draws a hairline between consecutive rows.
|
|
13
|
+
- Selection is always two properties: the fill, and the icon at FILL 1 with the text at 800 (the CSS does both from `is-selected`).
|
|
14
|
+
- **Three or four facts about each item?** Title, then the rest joined with " · " in the supporting line (`europe-west1 · v1.42.3 · main`), the state as a trailing chip, the time as meta. Once people compare values across items, or sort by them, use [AppTable](AppTable.md).
|
|
15
|
+
- A trailing control is 32px at most and projects no target, so the row never grows (the CSS enforces it). Below 600px a content row drops its meta so the title keeps room.
|
|
16
|
+
|
|
17
|
+
## Markup
|
|
18
|
+
|
|
19
|
+
The row is a container; its title is the one button or link (`.app-row__hit`) and stretches over the whole row, so the trailing slot can hold its own controls.
|
|
20
|
+
|
|
21
|
+
```html
|
|
22
|
+
<!-- Content list -->
|
|
23
|
+
<div class="app-list" role="list" aria-label="Environments">
|
|
24
|
+
<div class="app-row app-state app-row--divided is-selected" role="listitem">
|
|
25
|
+
<span class="app-row__text">
|
|
26
|
+
<button type="button" class="app-row__hit text-object-title" aria-pressed="true">staging</button>
|
|
27
|
+
<span class="text-supporting">europe-west1 · v1.42.3 · release/1.43</span>
|
|
28
|
+
</span>
|
|
29
|
+
<span class="app-row__trailing">
|
|
30
|
+
<span class="app-chip app-chip--success app-chip--small"><span class="app-icon" aria-hidden="true">check_circle</span>Healthy</span>
|
|
31
|
+
</span>
|
|
32
|
+
<span class="app-row__meta text-meta">3h ago</span>
|
|
33
|
+
</div>
|
|
34
|
+
<!-- An unselected row: no is-selected, aria-pressed="false". A row that navigates: <a class="app-row__hit text-object-title" href="…"> -->
|
|
35
|
+
</div>
|
|
36
|
+
|
|
37
|
+
<!-- Leading icon (content rows: 20px) -->
|
|
38
|
+
<span class="app-icon app-row__icon" aria-hidden="true">description</span>
|
|
39
|
+
|
|
40
|
+
<!-- Nav rows -->
|
|
41
|
+
<div class="app-row app-state app-row--nav is-selected">
|
|
42
|
+
<span class="app-icon app-icon--24 app-icon--filled app-row__icon" aria-hidden="true">settings</span>
|
|
43
|
+
<span class="app-row__text"><a class="app-row__hit text-label" href="/settings" aria-current="page">Settings</a></span>
|
|
44
|
+
</div>
|
|
45
|
+
<div class="app-row app-state app-row--nav">
|
|
46
|
+
<span class="app-icon app-icon--mark app-icon--24 app-row__icon" aria-hidden="true"><!-- CapabilityMark SVG at 24 --></span>
|
|
47
|
+
<span class="app-row__text"><a class="app-row__hit text-label" href="/environments">Environments</a></span>
|
|
48
|
+
</div>
|
|
49
|
+
<p class="app-nav-heading text-eyebrow">Recent chats</p>
|
|
50
|
+
|
|
51
|
+
<!-- Agent chat row -->
|
|
52
|
+
<div class="app-row app-state app-row--agent-chat">
|
|
53
|
+
<span class="app-row__text"><button type="button" class="app-row__hit text-label">Why did staging fail?</button></span>
|
|
54
|
+
<span class="app-row__trailing"><!-- 24px menu AppIconButton --></span>
|
|
55
|
+
</div>
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
Order inside the row: icon, text, trailing, meta.
|
|
59
|
+
|
|
60
|
+
## Behaviour you must supply
|
|
61
|
+
|
|
62
|
+
- **Content row you select**: on press toggle `is-selected` on the row and `aria-pressed` on the hit (and `app-icon--filled` on its icon); clear the previous selection. A row that can't be selected has no `aria-pressed`.
|
|
63
|
+
- **Nav row**: `is-selected` on the row and `aria-current="page"` on the hit for the current destination; update both on route change.
|
|
64
|
+
- Focus lands on the hit; the CSS draws the focus ring on the whole row.
|
|
65
|
+
- Controls in the trailing slot are siblings of the hit, never inside it.
|
|
66
|
+
|
|
67
|
+
## Classes
|
|
68
|
+
|
|
69
|
+
`.app-list`, `.app-row`, `.app-row--nav`, `.app-row--agent-chat`, `.app-row--divided`, `.is-selected`, `.app-row__icon`, `.app-row__text`, `.app-row__hit`, `.app-row__trailing`, `.app-row__meta`, `.app-nav-heading`, with `.app-state` on every row.
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# AppLoader
|
|
2
|
+
|
|
3
|
+
The Alis mark, in `signal`, for a wait whose shape you don't know.
|
|
4
|
+
|
|
5
|
+
## Use / don't use
|
|
6
|
+
|
|
7
|
+
See [loading.md](../rules/loading.md).
|
|
8
|
+
|
|
9
|
+
- Two sizes: 84px in a pane, centred where the content will stand; 20px on a line (`app-loader--line`).
|
|
10
|
+
- Once per wait, never per tile or row, and never inside a control (a busy button shows its own spinner: [AppButton](AppButton.md)).
|
|
11
|
+
- No "Loading…": a line under the mark names what is coming, only when the wait is long enough to need one.
|
|
12
|
+
- It holds still under reduced motion (the CSS does it).
|
|
13
|
+
- Shape known: [AppSkeleton](AppSkeleton.md). Work you can count: [AppProgress](AppProgress.md).
|
|
14
|
+
|
|
15
|
+
## Markup
|
|
16
|
+
|
|
17
|
+
```html
|
|
18
|
+
<!-- In a pane: 84px mark (width 0.6 × 84) -->
|
|
19
|
+
<div role="status" aria-label="Loading" class="app-loader">
|
|
20
|
+
<svg viewBox="0 0 30 50" width="50.4" height="84" aria-hidden="true" style="fill:var(--signal);display:block">
|
|
21
|
+
<!-- the eleven circles of AlisMark, in order -->
|
|
22
|
+
</svg>
|
|
23
|
+
<!-- Optional, for a long wait: -->
|
|
24
|
+
<span class="text-supporting">Fetching your interviews</span>
|
|
25
|
+
</div>
|
|
26
|
+
|
|
27
|
+
<!-- On a line: 20px mark -->
|
|
28
|
+
<div role="status" aria-label="Loading" class="app-loader app-loader--line">
|
|
29
|
+
<svg viewBox="0 0 30 50" width="12" height="20" aria-hidden="true" style="fill:var(--signal);display:block">
|
|
30
|
+
<!-- the eleven circles -->
|
|
31
|
+
</svg>
|
|
32
|
+
</div>
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Copy the eleven `<circle>`s from [AlisMark](AlisMark.md); the CSS staggers their animation by position.
|
|
36
|
+
|
|
37
|
+
## Behaviour you must supply
|
|
38
|
+
|
|
39
|
+
- When there is a line, use it as the `aria-label` too.
|
|
40
|
+
- Remove it when the content arrives; show it at most once for the wait.
|
|
41
|
+
|
|
42
|
+
## Classes
|
|
43
|
+
|
|
44
|
+
`.app-loader`, `.app-loader--line`.
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# AppProgress
|
|
2
|
+
|
|
3
|
+
Work you can count: a determinate bar, and steps for work that runs in named stages.
|
|
4
|
+
|
|
5
|
+
## Use / don't use
|
|
6
|
+
|
|
7
|
+
See [loading.md](../rules/loading.md). Never for a wait whose length you don't know: that is an [AppSkeleton](AppSkeleton.md) or an [AppLoader](AppLoader.md).
|
|
8
|
+
|
|
9
|
+
- **The bar**: 4px, `radius-pill`, a `surface-container-highest` track and a `primary` fill (it is the user's own action, progressing). On failure the fill turns `error` (`is-error`) and stops where it failed. A label above names the work ("Deploying v1.43.0"); the value on the right counts it ("Step 2 of 4", "48%").
|
|
10
|
+
- **The steps**: drawn under the bar, or alone. Done is a filled check, current a filled number in ink (near selection, not selection, so no 800), next an outlined number, a failure the error icon in `error`. Never `primary` ([selection.md](../rules/selection.md) § A step). Nine steps at most; group more into stages.
|
|
11
|
+
- **Where**: where the result will appear: for a deploy, at the top of the environment's detail, under its bar and any alert. One wait, one indicator: once the bar shows, the button that started it goes back to rest (and is disabled if it can't run twice).
|
|
12
|
+
- **When it ends**: success replaces the bar with the result; a snackbar ([AppAlert](AppAlert.md)) confirms it ("Deployed v1.43.0 to staging"), because a chip changing in a list is easy to miss; failure keeps the steps and puts an error alert above them that says what to do next.
|
|
13
|
+
- **A meter** (a count against a target or a limit: 8 of 12 responded, credits, seats, spend) is the same bar with a label and a value and no steps; the fill turns `error` only at a limit. On a list screen it sits at the top of the content, before the filter row; when the limit is near, a page-level warning alert says so and offers the way out ("Add seats"). Where "near" starts is the product's call.
|
|
14
|
+
|
|
15
|
+
## Markup
|
|
16
|
+
|
|
17
|
+
```html
|
|
18
|
+
<div class="app-progress">
|
|
19
|
+
<div class="app-progress__head">
|
|
20
|
+
<span class="text-label">Deploying v1.44.0</span>
|
|
21
|
+
<span class="app-progress__value text-meta">Step 2 of 4</span>
|
|
22
|
+
</div>
|
|
23
|
+
<div class="app-progress__track" role="progressbar" aria-valuemin="0" aria-valuemax="100"
|
|
24
|
+
aria-valuenow="40" aria-valuetext="Step 2 of 4" aria-label="Deploying v1.44.0">
|
|
25
|
+
<span class="app-progress__fill" style="width:40%"></span>
|
|
26
|
+
</div>
|
|
27
|
+
<!-- Optional steps -->
|
|
28
|
+
<ol class="app-steps">
|
|
29
|
+
<li class="app-step is-done"><span class="app-icon app-icon--filled" aria-hidden="true">check_circle</span><span class="text-body">Build image</span></li>
|
|
30
|
+
<li class="app-step is-current" aria-current="step"><span class="app-icon app-icon--filled" aria-hidden="true">counter_2</span><span class="text-body">Run tests</span></li>
|
|
31
|
+
<li class="app-step is-next"><span class="app-icon" aria-hidden="true">counter_3</span><span class="text-body">Push image</span></li>
|
|
32
|
+
<li class="app-step is-next"><span class="app-icon" aria-hidden="true">counter_4</span><span class="text-body">Roll out</span></li>
|
|
33
|
+
</ol>
|
|
34
|
+
</div>
|
|
35
|
+
|
|
36
|
+
<!-- Failed: is-error on .app-progress; the failed step -->
|
|
37
|
+
<li class="app-step is-failed"><span class="app-icon app-icon--filled" aria-hidden="true">error</span><span class="text-body">Roll out</span></li>
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Without a `valueText`, the value is the percentage ("48%") and `aria-valuetext` is omitted. Step icons: `check_circle` (done), `error` (failed), otherwise `counter_1` … `counter_9` by position; filled for every state but next.
|
|
41
|
+
|
|
42
|
+
## Behaviour you must supply
|
|
43
|
+
|
|
44
|
+
- Update the fill's `width`, `aria-valuenow` (0–100, rounded) and the visible value together as the work advances.
|
|
45
|
+
- Move `is-done` / `is-current` / `is-next` / `is-failed` and `aria-current="step"` as stages change, swapping each icon and its fill to match.
|
|
46
|
+
- On failure add `is-error` to `.app-progress` and stop updating.
|
|
47
|
+
|
|
48
|
+
## Classes
|
|
49
|
+
|
|
50
|
+
`.app-progress`, `.is-error`, `.app-progress__head`, `.app-progress__value`, `.app-progress__track`, `.app-progress__fill`; `.app-steps`, `.app-step`, `.is-done`, `.is-current`, `.is-next` (the default look; no rule of its own), `.is-failed`.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# AppSegmented
|
|
2
|
+
|
|
3
|
+
A fixed set of 2 to 5 options that re-parameterises content in place.
|
|
4
|
+
|
|
5
|
+
## Use / don't use
|
|
6
|
+
|
|
7
|
+
See [selection.md](../rules/selection.md).
|
|
8
|
+
|
|
9
|
+
- One pill track (`outline-variant`) with 4px of padding; the selected segment is a `secondary-container` pill at weight 800, the rest transparent in `on-surface-variant` at 650. No dividers, no per-segment border.
|
|
10
|
+
- A filter that narrows one list belongs in the filter row as one of these ([page.md](../rules/page.md)); a route is a tab in [AppTitleBar](AppTitleBar.md), not a segment.
|
|
11
|
+
- If the options don't fit (a narrow pane, long labels, a phone), use an [AppSelect](AppSelect.md) with an `aria-label` instead; a segmented control never hides options.
|
|
12
|
+
|
|
13
|
+
## Markup
|
|
14
|
+
|
|
15
|
+
```html
|
|
16
|
+
<div role="radiogroup" aria-label="Filter by status" class="app-seg">
|
|
17
|
+
<button type="button" role="radio" aria-checked="true" class="app-seg__item app-state is-selected">All</button>
|
|
18
|
+
<button type="button" role="radio" aria-checked="false" class="app-seg__item app-state">Healthy</button>
|
|
19
|
+
<button type="button" role="radio" aria-checked="false" class="app-seg__item app-state">Failed</button>
|
|
20
|
+
</div>
|
|
21
|
+
|
|
22
|
+
<!-- A segment with an icon: filled when selected -->
|
|
23
|
+
<button type="button" role="radio" aria-checked="true" class="app-seg__item app-state is-selected">
|
|
24
|
+
<span class="app-icon app-icon--filled" aria-hidden="true">view_list</span>List
|
|
25
|
+
</button>
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Behaviour you must supply
|
|
29
|
+
|
|
30
|
+
- On press move `is-selected` and `aria-checked="true"` to the pressed segment (and `app-icon--filled` to its icon), clear them on the rest, and re-parameterise the content.
|
|
31
|
+
- The group needs an `aria-label`.
|
|
32
|
+
- A radiogroup expects one tab stop and arrow keys: `tabindex="0"` on the checked segment, `-1` on the rest, Arrow keys move the choice.
|
|
33
|
+
|
|
34
|
+
## Classes
|
|
35
|
+
|
|
36
|
+
`.app-seg`, `.app-seg__item`, `.is-selected`, with `.app-state`.
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# AppSelect
|
|
2
|
+
|
|
3
|
+
One choice from a list you can name in advance: a native select in the text field's box.
|
|
4
|
+
|
|
5
|
+
## Use / don't use
|
|
6
|
+
|
|
7
|
+
- Everything about it is [AppTextField](AppTextField.md)'s: label above, 40px box at `radius-lg`, one supporting or error line. A chevron (`expand_more`) at the trailing edge says it opens. The list itself is the platform's own, so it is accessible and right on every device.
|
|
8
|
+
- Use it for 6 or more options, or when space is short. 2 to 5 options that change the content in place are an [AppSegmented](AppSegmented.md); choices that need a sentence each are [AppSelectTile](AppSelectTile.md)s.
|
|
9
|
+
- A placeholder names the choice when there is no default ("Choose a branch"); prefer a sensible default.
|
|
10
|
+
- Without a visible label (a select in the filter row, left of the main control), give the select an `aria-label`.
|
|
11
|
+
- A searchable or multi-value picker (a combobox) is not in the set yet.
|
|
12
|
+
|
|
13
|
+
## Markup
|
|
14
|
+
|
|
15
|
+
```html
|
|
16
|
+
<div class="app-field">
|
|
17
|
+
<label for="f-region" class="app-field__label text-label">Region</label>
|
|
18
|
+
<div class="app-field__box app-field__box--select">
|
|
19
|
+
<select id="f-region" class="app-field__select">
|
|
20
|
+
<option value="europe-west1" selected>europe-west1</option>
|
|
21
|
+
<option value="us-central1">us-central1</option>
|
|
22
|
+
</select>
|
|
23
|
+
<span class="app-icon" aria-hidden="true">expand_more</span>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
|
|
27
|
+
<!-- With a placeholder: a first, unselectable empty option, selected until a choice is made -->
|
|
28
|
+
<select id="f-branch" class="app-field__select">
|
|
29
|
+
<option value="" disabled selected>Choose a branch</option>
|
|
30
|
+
<!-- options -->
|
|
31
|
+
</select>
|
|
32
|
+
|
|
33
|
+
<!-- Error: is-error on .app-field, aria-invalid + aria-describedby on the select, support line as in AppTextField -->
|
|
34
|
+
<div class="app-field is-error">
|
|
35
|
+
<label for="f-r2" class="app-field__label text-label">Region</label>
|
|
36
|
+
<div class="app-field__box app-field__box--select">
|
|
37
|
+
<select id="f-r2" class="app-field__select" aria-invalid="true" aria-describedby="f-r2-s">…</select>
|
|
38
|
+
<span class="app-icon" aria-hidden="true">expand_more</span>
|
|
39
|
+
</div>
|
|
40
|
+
<p id="f-r2-s" class="app-field__support text-supporting"><span class="app-icon" aria-hidden="true">error</span>Choose a region.</p>
|
|
41
|
+
</div>
|
|
42
|
+
|
|
43
|
+
<!-- Unlabelled, in the filter row -->
|
|
44
|
+
<div class="app-field">
|
|
45
|
+
<div class="app-field__box app-field__box--select">
|
|
46
|
+
<select class="app-field__select" aria-label="Sort by">…</select>
|
|
47
|
+
<span class="app-icon" aria-hidden="true">expand_more</span>
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Behaviour you must supply
|
|
53
|
+
|
|
54
|
+
- None beyond the field's: the native select handles opening, keyboard and the platform list. While the placeholder option is chosen, the CSS shows it in `on-surface-variant`.
|
|
55
|
+
- Disabled: `disabled` on the select and `is-disabled` on `.app-field`.
|
|
56
|
+
|
|
57
|
+
## Classes
|
|
58
|
+
|
|
59
|
+
`.app-field`, `.app-field__label`, `.app-field__box`, `.app-field__box--select`, `.app-field__select`, `.app-field__support`, `.is-error`, `.is-disabled`.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# AppSelectTile
|
|
2
|
+
|
|
3
|
+
A card chosen among others, and the only way a chosen card is drawn.
|
|
4
|
+
|
|
5
|
+
## Use / don't use
|
|
6
|
+
|
|
7
|
+
See [selection.md](../rules/selection.md).
|
|
8
|
+
|
|
9
|
+
- Unselected it is the statement surface, and the check holds its place unseen; selected it takes `secondary-container`, the filled check and weight 800, at the same size so nothing moves. Padded like a card (24, 28 from 600px).
|
|
10
|
+
- One of a set is a radio, so the group is a radiogroup; when several may be chosen each is a checkbox. Label the set with a field set ([AppTextField](AppTextField.md)).
|
|
11
|
+
- Never a tint, a ring or a border swap.
|
|
12
|
+
- Check the shape first: 2 to 5 options that re-parameterise content in place are an [AppSegmented](AppSegmented.md); a data-driven set is filter [AppChip](AppChip.md)s; a list is [AppListRow](AppListRow.md)s.
|
|
13
|
+
|
|
14
|
+
## Markup
|
|
15
|
+
|
|
16
|
+
```html
|
|
17
|
+
<fieldset class="app-fieldset" role="radiogroup" aria-labelledby="plan-l">
|
|
18
|
+
<legend id="plan-l" class="app-fieldset__legend text-label">Plan</legend>
|
|
19
|
+
<div class="app-tile-group">
|
|
20
|
+
<button type="button" role="radio" aria-checked="true" class="app-tile app-state is-selected">
|
|
21
|
+
<span class="text-object-title">Team</span>
|
|
22
|
+
<span class="app-icon app-icon--filled app-tile__check" aria-hidden="true">check_circle</span>
|
|
23
|
+
<span class="text-supporting">Up to 12 seats, shared environments.</span>
|
|
24
|
+
</button>
|
|
25
|
+
<button type="button" role="radio" aria-checked="false" class="app-tile app-state">
|
|
26
|
+
<span class="text-object-title">Organisation</span>
|
|
27
|
+
<span class="app-icon app-icon--filled app-tile__check" aria-hidden="true">check_circle</span>
|
|
28
|
+
<span class="text-supporting">Unlimited seats and an admin console.</span>
|
|
29
|
+
</button>
|
|
30
|
+
</div>
|
|
31
|
+
</fieldset>
|
|
32
|
+
<!-- Several may be chosen: role="checkbox" on each tile, no radiogroup role on the set -->
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
The check is always present; the CSS hides it until the tile is selected. The supporting line is optional.
|
|
36
|
+
|
|
37
|
+
## Behaviour you must supply
|
|
38
|
+
|
|
39
|
+
- **Radio**: on press set `aria-checked="true"` and `is-selected` on the pressed tile and clear both on the others.
|
|
40
|
+
- **Checkbox**: toggle `aria-checked` and `is-selected` on the pressed tile only.
|
|
41
|
+
- A radiogroup expects arrow keys to move the choice and one tab stop for the set: give the checked tile `tabindex="0"` and the rest `tabindex="-1"`, and handle Arrow keys.
|
|
42
|
+
|
|
43
|
+
## Classes
|
|
44
|
+
|
|
45
|
+
`.app-tile`, `.app-tile__check`, `.is-selected`, `.app-tile-group`, with `.app-state`.
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# AppShell
|
|
2
|
+
|
|
3
|
+
The frame of a product screen: the navigation pane, the content, and an optional detail pane, all on the ground.
|
|
4
|
+
|
|
5
|
+
## Use / don't use
|
|
6
|
+
|
|
7
|
+
See [surfaces.md](../rules/surfaces.md) and [page.md](../rules/page.md).
|
|
8
|
+
|
|
9
|
+
- **Navigation pane** (`nav-width`, 288px): the lockup (the Alis mark at 20px, a 2px tone bar, the product name in object-title), an optional primary action, then nav [AppListRow](AppListRow.md)s sitting flush (no gap between rows), with settings and help in the pane's foot. Group headings are `.app-nav-heading`. Open objects of the product (the interviews you have open) are nav rows under a heading with `app-nav-secondary`; the agent chat list sits under its own heading. It is permanent chrome, so selection there is `selection-chrome`. Which destinations a product has is product content, not part of this system.
|
|
10
|
+
- **Products**: Ideate and Build take their tone on the lockup bar (`app-lockup--build` for Build; Ideate is the default); Admin (an organisation's settings) has no tone, so its bar is `outline` (`app-lockup--admin`).
|
|
11
|
+
- **The nav action**: at most one, the product's main "new" ("New project", icon `add`): 56px, `primary`, `radius-lg`, `elevation-2`. Most screens have none.
|
|
12
|
+
- **Content**: an [AppTitleBar](AppTitleBar.md), then `.app-shell__content`, which pads 24 on every side (32 below) and fills the pane, holding the filter row and the list, table or document.
|
|
13
|
+
- **Detail pane** (`detail-width`, 360px): what is selected in the content, led by a detail title bar. It sits on the ground behind a divider, never on a card, and scrolls on its own. Below 840px it slides over the content at `elevation-3`; below 600px the navigation collapses to a 72px column of destination icons (headings, secondary rows and agent chats hide) and the detail pane covers the full width, over a scrim. The CSS does all of this.
|
|
14
|
+
- No pane is a white card. Panes are separated by an `outline-variant` divider, not by fill.
|
|
15
|
+
|
|
16
|
+
## Markup
|
|
17
|
+
|
|
18
|
+
```html
|
|
19
|
+
<div class="app-shell app-shell--detail"> <!-- drop --detail and the aside for two columns -->
|
|
20
|
+
<nav class="app-shell__nav" aria-label="Main">
|
|
21
|
+
<div class="app-lockup app-lockup--build">
|
|
22
|
+
<svg viewBox="0 0 30 50" width="12" height="20" role="img" aria-label="Alis" style="fill:var(--alis-red);display:block">
|
|
23
|
+
<!-- the eleven circles: see AlisMark -->
|
|
24
|
+
</svg>
|
|
25
|
+
<span class="app-lockup__bar" aria-hidden="true"></span>
|
|
26
|
+
<span class="app-lockup__name text-object-title">Alis Build</span>
|
|
27
|
+
</div>
|
|
28
|
+
|
|
29
|
+
<!-- Optional: the one nav action -->
|
|
30
|
+
<button type="button" class="app-nav-action app-state">
|
|
31
|
+
<span class="app-icon app-icon--24" aria-hidden="true">add</span>New environment
|
|
32
|
+
</button>
|
|
33
|
+
|
|
34
|
+
<!-- Destinations: nav AppListRows -->
|
|
35
|
+
<!-- Optional group: -->
|
|
36
|
+
<p class="app-nav-heading text-eyebrow">Open interviews</p>
|
|
37
|
+
<!-- nav rows with app-nav-secondary added to each row -->
|
|
38
|
+
|
|
39
|
+
<div class="app-shell__nav-foot">
|
|
40
|
+
<!-- Settings, Help: nav AppListRows -->
|
|
41
|
+
</div>
|
|
42
|
+
</nav>
|
|
43
|
+
|
|
44
|
+
<main class="app-shell__main">
|
|
45
|
+
<!-- AppTitleBar -->
|
|
46
|
+
<div class="app-shell__content">
|
|
47
|
+
<!-- AppFilterRow, then the list, table or document -->
|
|
48
|
+
</div>
|
|
49
|
+
</main>
|
|
50
|
+
|
|
51
|
+
<aside class="app-shell__detail">
|
|
52
|
+
<!-- AppTitleBar (detail), then the selected thing -->
|
|
53
|
+
</aside>
|
|
54
|
+
</div>
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Product names on the lockup: "Alis Ideate", "Alis Build", "Admin".
|
|
58
|
+
|
|
59
|
+
## Behaviour you must supply
|
|
60
|
+
|
|
61
|
+
- Add `app-shell--detail` and the `<aside>` only while something is selected; remove both when the detail pane closes, and return focus to the row that opened it.
|
|
62
|
+
- Below 600px the nav action's label is hidden visually (font-size 0) but still names the button; keep the text in it.
|
|
63
|
+
|
|
64
|
+
## Classes
|
|
65
|
+
|
|
66
|
+
`.app-shell`, `.app-shell--detail`, `.app-shell__nav`, `.app-shell__nav-foot`, `.app-shell__main`, `.app-shell__content`, `.app-shell__detail`; `.app-lockup`, `.app-lockup--build`, `.app-lockup--admin`, `.app-lockup__bar`, `.app-lockup__name`; `.app-nav-action`, `.app-nav-heading`, `.app-nav-secondary`.
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# AppSkeleton
|
|
2
|
+
|
|
3
|
+
The layout with the words taken out, for content whose shape you know.
|
|
4
|
+
|
|
5
|
+
## Use / don't use
|
|
6
|
+
|
|
7
|
+
See [loading.md](../rules/loading.md).
|
|
8
|
+
|
|
9
|
+
- Draw the rows and rhythm the content will take, fill what is visible once, paint no surface, and shimmer (held still under reduced motion, by the CSS).
|
|
10
|
+
- What is already on screen stays on screen: a refetch never turns content back into a skeleton.
|
|
11
|
+
- Shapes: a list (with or without a leading icon), a card, text. Compose `.app-skel__bar`, `__row`, `__dot` for any other shape (table rows in the table's columns, for instance).
|
|
12
|
+
- A wait whose shape you don't know is an [AppLoader](AppLoader.md); work you can count is an [AppProgress](AppProgress.md).
|
|
13
|
+
|
|
14
|
+
## Markup
|
|
15
|
+
|
|
16
|
+
```html
|
|
17
|
+
<!-- List: one .app-skel__row per row that will be visible -->
|
|
18
|
+
<div class="app-skel" aria-busy="true" aria-label="Loading">
|
|
19
|
+
<div class="app-skel__row">
|
|
20
|
+
<span class="app-skel__dot"></span>
|
|
21
|
+
<span class="app-skel__lines">
|
|
22
|
+
<span class="app-skel__bar app-skel__bar--title"></span>
|
|
23
|
+
<span class="app-skel__bar app-skel__bar--short"></span>
|
|
24
|
+
</span>
|
|
25
|
+
</div>
|
|
26
|
+
<!-- rows without a leading icon: app-skel__row app-skel__row--plain -->
|
|
27
|
+
</div>
|
|
28
|
+
|
|
29
|
+
<!-- Card -->
|
|
30
|
+
<div class="app-skel" aria-busy="true" aria-label="Loading">
|
|
31
|
+
<span class="app-skel__bar app-skel__bar--title"></span>
|
|
32
|
+
<span class="app-skel__bar app-skel__bar--block"></span>
|
|
33
|
+
<span class="app-skel__bar app-skel__bar--short"></span>
|
|
34
|
+
</div>
|
|
35
|
+
|
|
36
|
+
<!-- Text: full bars, the last one short -->
|
|
37
|
+
<div class="app-skel" aria-busy="true" aria-label="Loading">
|
|
38
|
+
<span class="app-skel__bar"></span>
|
|
39
|
+
<span class="app-skel__bar"></span>
|
|
40
|
+
<span class="app-skel__bar app-skel__bar--short"></span>
|
|
41
|
+
</div>
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Behaviour you must supply
|
|
45
|
+
|
|
46
|
+
- Swap the skeleton for the content in one step when it arrives; never back again on refetch.
|
|
47
|
+
- `aria-label` on a plain `div` isn't reliably announced: if the wait needs announcing, add `role="status"` to the container.
|
|
48
|
+
|
|
49
|
+
## Classes
|
|
50
|
+
|
|
51
|
+
`.app-skel`, `.app-skel__row`, `.app-skel__row--plain`, `.app-skel__dot`, `.app-skel__lines`, `.app-skel__bar`, `.app-skel__bar--title`, `.app-skel__bar--short`, `.app-skel__bar--block`.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# AppSwitch
|
|
2
|
+
|
|
3
|
+
An on/off setting: a label and one supporting line on the left, the switch on the right. The whole row is the target.
|
|
4
|
+
|
|
5
|
+
## Use / don't use
|
|
6
|
+
|
|
7
|
+
- The M3 switch: a 52×32 track. Off: `surface-container-highest` with an `outline` border and a 16px `outline` handle. On: `primary` with a 24px `on-primary` handle, because a switch is a control you press.
|
|
8
|
+
- **On its own, a switch applies at once**, like a light switch: no Save.
|
|
9
|
+
- **Inside a form with a Save button** it is one of the form's answers and applies with the rest when the user saves. That needs no extra wording.
|
|
10
|
+
- The label says what is on, as a statement: "Deploy on every push", not "Auto-deploy?". Never "Enable …".
|
|
11
|
+
- Hovering the row shows the state layer as a halo round the switch (the CSS does it).
|
|
12
|
+
|
|
13
|
+
## Markup
|
|
14
|
+
|
|
15
|
+
```html
|
|
16
|
+
<label for="s-auto" class="app-switch-row">
|
|
17
|
+
<span class="app-switch-row__text">
|
|
18
|
+
<span class="text-body">Deploy on every push</span>
|
|
19
|
+
<span id="s-auto-s" class="text-supporting">Every push to the branch deploys here.</span>
|
|
20
|
+
</span>
|
|
21
|
+
<input id="s-auto" type="checkbox" role="switch" class="app-switch" aria-describedby="s-auto-s" checked>
|
|
22
|
+
</label>
|
|
23
|
+
|
|
24
|
+
<!-- Disabled -->
|
|
25
|
+
<label for="s-x" class="app-switch-row is-disabled">
|
|
26
|
+
<span class="app-switch-row__text"><span class="text-body">Deploy on every push</span></span>
|
|
27
|
+
<input id="s-x" type="checkbox" role="switch" class="app-switch" disabled>
|
|
28
|
+
</label>
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Behaviour you must supply
|
|
32
|
+
|
|
33
|
+
- The native checkbox toggles itself and announces on/off through `role="switch"`. Read `checked` on `change`.
|
|
34
|
+
- Standalone: apply the setting on `change`. Inside a form: just read it on submit.
|
|
35
|
+
- Disabled: `disabled` on the input and `is-disabled` on the row.
|
|
36
|
+
|
|
37
|
+
## Classes
|
|
38
|
+
|
|
39
|
+
`.app-switch-row`, `.app-switch-row__text`, `.app-switch-row.is-disabled`, `.app-switch`.
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# AppTable
|
|
2
|
+
|
|
3
|
+
Rows of items with the same few attributes, scanned and compared: columns, a header, 48px rows.
|
|
4
|
+
|
|
5
|
+
## Use / don't use
|
|
6
|
+
|
|
7
|
+
See [spacing.md](../rules/spacing.md) and [surfaces.md](../rules/surfaces.md).
|
|
8
|
+
|
|
9
|
+
- A table is scanned, not read: as a view of its own it takes the full width of the content; inside prose it caps at the prose measure. Radius 0 and no surface of its own: on the ground it takes the ground, inside a card it takes the card's white. An `outline-variant` hairline under the header and every row.
|
|
10
|
+
- **Table or list?** A list row ([AppListRow](AppListRow.md)) carries a title and a line; a table when people compare values across items (region, version, size, date) or need to sort.
|
|
11
|
+
- **Header**: label type in `on-surface` ink, 48px; `app-table--sticky` keeps it in view, opaque in the ground (white inside a card). **Cells** ([type.md](../rules/type.md) § The shapes): the cell naming the row in object-title, the others supporting, a value (a date, a count) in meta, aligned end with tabular figures (`is-numeric`).
|
|
12
|
+
- **The row is the target** when it opens something: the first cell's name is the button and stretches over the row. Selected takes `secondary-container` and the name at 800.
|
|
13
|
+
- **In a row**, status is a small [AppChip](AppChip.md), actions are small text buttons or 32px icon buttons with no projected target (the CSS shrinks them), and the row stays 48.
|
|
14
|
+
- A second line in a cell (an email under a name) is `.text-supporting .text-on-surface-variant`.
|
|
15
|
+
- Below 600px a table scrolls sideways with the name column first; a screen that is mostly used on a phone takes list rows instead.
|
|
16
|
+
- Loading is skeleton rows in the same columns ([AppSkeleton](AppSkeleton.md)); empty is one supporting line in the table's place.
|
|
17
|
+
|
|
18
|
+
## Markup
|
|
19
|
+
|
|
20
|
+
```html
|
|
21
|
+
<div class="app-table-wrap">
|
|
22
|
+
<table class="app-table app-table--sticky" aria-label="Environments">
|
|
23
|
+
<thead>
|
|
24
|
+
<tr>
|
|
25
|
+
<th scope="col" class="text-label">Name</th>
|
|
26
|
+
<th scope="col" class="text-label">Region</th>
|
|
27
|
+
<th scope="col" class="text-label">Status</th>
|
|
28
|
+
<th scope="col" class="text-label is-numeric">Instances</th>
|
|
29
|
+
</tr>
|
|
30
|
+
</thead>
|
|
31
|
+
<tbody>
|
|
32
|
+
<!-- Interactive row: the first cell's name is the hit -->
|
|
33
|
+
<tr class="is-interactive is-selected">
|
|
34
|
+
<td class="text-object-title">
|
|
35
|
+
<button type="button" class="app-row__hit app-table__primary" aria-pressed="true">staging</button>
|
|
36
|
+
</td>
|
|
37
|
+
<td class="text-supporting">europe-west1</td>
|
|
38
|
+
<td class="text-supporting"><span class="app-chip app-chip--success app-chip--small"><span class="app-icon" aria-hidden="true">check_circle</span>Healthy</span></td>
|
|
39
|
+
<td class="text-meta is-numeric">4</td>
|
|
40
|
+
</tr>
|
|
41
|
+
<!-- Static row -->
|
|
42
|
+
<tr>
|
|
43
|
+
<td class="text-object-title"><span class="app-table__primary">dev</span></td>
|
|
44
|
+
<td class="text-supporting">europe-west2</td>
|
|
45
|
+
<td class="text-supporting">…</td>
|
|
46
|
+
<td class="text-meta is-numeric">1</td>
|
|
47
|
+
</tr>
|
|
48
|
+
</tbody>
|
|
49
|
+
</table>
|
|
50
|
+
</div>
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
A column width, when you need one, is a `width` style on its `<th>`.
|
|
54
|
+
|
|
55
|
+
## Behaviour you must supply
|
|
56
|
+
|
|
57
|
+
- **Interactive rows**: `is-interactive` on every `<tr>`, the hit button in the first cell; open the item on its click. Other buttons in the row are siblings of the hit and sit above it (the CSS lifts them).
|
|
58
|
+
- **Selection**: `is-selected` on the `<tr>` and `aria-pressed="true"` on its hit; clear the previous one. Without selection, omit `aria-pressed`.
|
|
59
|
+
- Give the table an accessible name (`aria-label` or a `<caption>`).
|
|
60
|
+
|
|
61
|
+
## Classes
|
|
62
|
+
|
|
63
|
+
`.app-table-wrap`, `.app-table`, `.app-table--sticky`, `.is-interactive`, `.is-selected`, `.is-numeric`, `.app-table__primary`, `.app-row__hit`.
|