@skillcdn/console 0.5.1 → 0.5.3

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.
Files changed (292) hide show
  1. package/README.md +20 -2
  2. package/dist/agent-page.d.ts.map +1 -1
  3. package/dist/agent-page.js +4 -4
  4. package/dist/agent-page.js.map +1 -1
  5. package/dist/api.d.ts +5 -4
  6. package/dist/api.d.ts.map +1 -1
  7. package/dist/api.js +5 -4
  8. package/dist/api.js.map +1 -1
  9. package/dist/cli/cli.d.ts +32 -0
  10. package/dist/cli/cli.d.ts.map +1 -1
  11. package/dist/cli/cli.js +442 -93
  12. package/dist/cli/cli.js.map +1 -1
  13. package/dist/cli/format.d.ts +6 -2
  14. package/dist/cli/format.d.ts.map +1 -1
  15. package/dist/cli/format.js +25 -3
  16. package/dist/cli/format.js.map +1 -1
  17. package/dist/cli/help.d.ts.map +1 -1
  18. package/dist/cli/help.js +10 -5
  19. package/dist/cli/help.js.map +1 -1
  20. package/dist/cli/machine-check.d.ts +36 -0
  21. package/dist/cli/machine-check.d.ts.map +1 -0
  22. package/dist/cli/machine-check.js +151 -0
  23. package/dist/cli/machine-check.js.map +1 -0
  24. package/dist/cli/runner-host.d.ts +7 -0
  25. package/dist/cli/runner-host.d.ts.map +1 -1
  26. package/dist/cli/runner-host.js +2 -0
  27. package/dist/cli/runner-host.js.map +1 -1
  28. package/dist/cli/secret-notes.d.ts +8 -0
  29. package/dist/cli/secret-notes.d.ts.map +1 -0
  30. package/dist/cli/secret-notes.js +48 -0
  31. package/dist/cli/secret-notes.js.map +1 -0
  32. package/dist/client.d.ts +7 -1
  33. package/dist/client.d.ts.map +1 -1
  34. package/dist/client.js +6 -1
  35. package/dist/client.js.map +1 -1
  36. package/dist/components/agent-page.d.ts +106 -13
  37. package/dist/components/agent-page.d.ts.map +1 -1
  38. package/dist/components/agent-page.js +391 -102
  39. package/dist/components/agent-page.js.map +1 -1
  40. package/dist/components/agents.d.ts.map +1 -1
  41. package/dist/components/agents.js +1 -1
  42. package/dist/components/agents.js.map +1 -1
  43. package/dist/components/board.d.ts.map +1 -1
  44. package/dist/components/board.js +3 -2
  45. package/dist/components/board.js.map +1 -1
  46. package/dist/components/categories.js +1 -1
  47. package/dist/components/categories.js.map +1 -1
  48. package/dist/components/decision-list.d.ts.map +1 -1
  49. package/dist/components/decision-list.js +1 -1
  50. package/dist/components/decision-list.js.map +1 -1
  51. package/dist/components/event-feed.d.ts.map +1 -1
  52. package/dist/components/event-feed.js +3 -2
  53. package/dist/components/event-feed.js.map +1 -1
  54. package/dist/components/goals.d.ts +2 -0
  55. package/dist/components/goals.d.ts.map +1 -1
  56. package/dist/components/goals.js +1 -1
  57. package/dist/components/goals.js.map +1 -1
  58. package/dist/components/home.d.ts.map +1 -1
  59. package/dist/components/home.js +13 -15
  60. package/dist/components/home.js.map +1 -1
  61. package/dist/components/icon.d.ts +31 -0
  62. package/dist/components/icon.d.ts.map +1 -0
  63. package/dist/components/icon.js +169 -0
  64. package/dist/components/icon.js.map +1 -0
  65. package/dist/components/markdown.d.ts +6 -0
  66. package/dist/components/markdown.d.ts.map +1 -1
  67. package/dist/components/markdown.js +10 -2
  68. package/dist/components/markdown.js.map +1 -1
  69. package/dist/components/people.js +1 -1
  70. package/dist/components/people.js.map +1 -1
  71. package/dist/components/plugin-frame.d.ts.map +1 -1
  72. package/dist/components/plugin-frame.js +7 -0
  73. package/dist/components/plugin-frame.js.map +1 -1
  74. package/dist/components/projects.d.ts +17 -4
  75. package/dist/components/projects.d.ts.map +1 -1
  76. package/dist/components/projects.js +25 -6
  77. package/dist/components/projects.js.map +1 -1
  78. package/dist/components/sessions.d.ts.map +1 -1
  79. package/dist/components/sessions.js +3 -2
  80. package/dist/components/sessions.js.map +1 -1
  81. package/dist/components/setup.d.ts.map +1 -1
  82. package/dist/components/setup.js +2 -2
  83. package/dist/components/setup.js.map +1 -1
  84. package/dist/components/shell.d.ts.map +1 -1
  85. package/dist/components/shell.js +3 -2
  86. package/dist/components/shell.js.map +1 -1
  87. package/dist/components/tokens.js +1 -1
  88. package/dist/components/tokens.js.map +1 -1
  89. package/dist/components/ui.d.ts +5 -2
  90. package/dist/components/ui.d.ts.map +1 -1
  91. package/dist/components/ui.js +10 -7
  92. package/dist/components/ui.js.map +1 -1
  93. package/dist/connect-page.js +1 -1
  94. package/dist/connect-page.js.map +1 -1
  95. package/dist/console.css +473 -77
  96. package/dist/console.d.ts.map +1 -1
  97. package/dist/console.js +38 -31
  98. package/dist/console.js.map +1 -1
  99. package/dist/home-tiles.d.ts +24 -33
  100. package/dist/home-tiles.d.ts.map +1 -1
  101. package/dist/home-tiles.js +65 -259
  102. package/dist/home-tiles.js.map +1 -1
  103. package/dist/i18n/en.d.ts +49 -2
  104. package/dist/i18n/en.d.ts.map +1 -1
  105. package/dist/i18n/en.js +126 -3
  106. package/dist/i18n/en.js.map +1 -1
  107. package/dist/i18n/ko.d.ts.map +1 -1
  108. package/dist/i18n/ko.js +197 -79
  109. package/dist/i18n/ko.js.map +1 -1
  110. package/dist/i18n/particles.d.ts +7 -0
  111. package/dist/i18n/particles.d.ts.map +1 -0
  112. package/dist/i18n/particles.js +72 -0
  113. package/dist/i18n/particles.js.map +1 -0
  114. package/dist/icons/glyphs.d.ts +605 -0
  115. package/dist/icons/glyphs.d.ts.map +1 -0
  116. package/dist/icons/glyphs.js +104 -0
  117. package/dist/icons/glyphs.js.map +1 -0
  118. package/dist/icons/index.d.ts +59 -0
  119. package/dist/icons/index.d.ts.map +1 -0
  120. package/dist/icons/index.js +157 -0
  121. package/dist/icons/index.js.map +1 -0
  122. package/dist/index.d.ts +1 -0
  123. package/dist/index.d.ts.map +1 -1
  124. package/dist/index.js +1 -0
  125. package/dist/index.js.map +1 -1
  126. package/dist/limits.d.ts +9 -0
  127. package/dist/limits.d.ts.map +1 -1
  128. package/dist/limits.js +9 -0
  129. package/dist/limits.js.map +1 -1
  130. package/dist/marks.d.ts +9 -0
  131. package/dist/marks.d.ts.map +1 -1
  132. package/dist/marks.js +9 -0
  133. package/dist/marks.js.map +1 -1
  134. package/dist/onboarding.js +3 -3
  135. package/dist/onboarding.js.map +1 -1
  136. package/dist/plugin/manifest.d.ts.map +1 -1
  137. package/dist/plugin/manifest.js +3 -2
  138. package/dist/plugin/manifest.js.map +1 -1
  139. package/dist/plugin/web.d.ts +3 -0
  140. package/dist/plugin/web.d.ts.map +1 -1
  141. package/dist/plugin/web.js +5 -1
  142. package/dist/plugin/web.js.map +1 -1
  143. package/dist/runner/acp.d.ts.map +1 -1
  144. package/dist/runner/acp.js +2 -2
  145. package/dist/runner/acp.js.map +1 -1
  146. package/dist/runner/awake.d.ts +35 -0
  147. package/dist/runner/awake.d.ts.map +1 -0
  148. package/dist/runner/awake.js +95 -0
  149. package/dist/runner/awake.js.map +1 -0
  150. package/dist/runner/claude.d.ts.map +1 -1
  151. package/dist/runner/claude.js +19 -7
  152. package/dist/runner/claude.js.map +1 -1
  153. package/dist/runner/codex.d.ts.map +1 -1
  154. package/dist/runner/codex.js +2 -2
  155. package/dist/runner/codex.js.map +1 -1
  156. package/dist/runner/config.d.ts +5 -0
  157. package/dist/runner/config.d.ts.map +1 -1
  158. package/dist/runner/config.js +9 -0
  159. package/dist/runner/config.js.map +1 -1
  160. package/dist/runner/desk.d.ts.map +1 -1
  161. package/dist/runner/desk.js +5 -6
  162. package/dist/runner/desk.js.map +1 -1
  163. package/dist/runner/runner.d.ts +13 -2
  164. package/dist/runner/runner.d.ts.map +1 -1
  165. package/dist/runner/runner.js +141 -22
  166. package/dist/runner/runner.js.map +1 -1
  167. package/dist/runner/slack.d.ts.map +1 -1
  168. package/dist/runner/slack.js +10 -4
  169. package/dist/runner/slack.js.map +1 -1
  170. package/dist/runner/types.d.ts +15 -0
  171. package/dist/runner/types.d.ts.map +1 -1
  172. package/dist/runner/types.js +9 -0
  173. package/dist/runner/types.js.map +1 -1
  174. package/dist/schemas.d.ts +94 -1
  175. package/dist/schemas.d.ts.map +1 -1
  176. package/dist/schemas.js +81 -5
  177. package/dist/schemas.js.map +1 -1
  178. package/dist/services.d.ts.map +1 -1
  179. package/dist/services.js +9 -5
  180. package/dist/services.js.map +1 -1
  181. package/dist/setup-guide.d.ts +14 -3
  182. package/dist/setup-guide.d.ts.map +1 -1
  183. package/dist/setup-guide.js +41 -37
  184. package/dist/setup-guide.js.map +1 -1
  185. package/dist/tokens.d.ts.map +1 -1
  186. package/dist/tokens.js +5 -1
  187. package/dist/tokens.js.map +1 -1
  188. package/dist/vocabulary.d.ts +7 -0
  189. package/dist/vocabulary.d.ts.map +1 -1
  190. package/dist/vocabulary.js +6 -0
  191. package/dist/vocabulary.js.map +1 -1
  192. package/docs/specs/cli.md +10 -7
  193. package/docs/specs/plugins.md +18 -7
  194. package/docs/specs/rest.md +10 -8
  195. package/docs/specs/runner.md +26 -8
  196. package/package.json +7 -3
  197. package/skills/building-a-console/SKILL.md +2 -2
  198. package/skills/building-a-plugin/SKILL.md +3 -3
  199. package/skills/keeping-a-desk/SKILL.md +2 -2
  200. package/skills/running-an-agent/SKILL.md +47 -57
  201. package/skills/working-the-board/SKILL.md +5 -4
  202. package/skills/working-the-board/references/the-pack.md +1 -1
  203. package/src/agent-page.tsx +13 -1
  204. package/src/api.ts +32 -1
  205. package/src/cli/cli.ts +530 -106
  206. package/src/cli/format.ts +31 -3
  207. package/src/cli/help.ts +12 -4
  208. package/src/cli/machine-check.ts +223 -0
  209. package/src/cli/runner-host.ts +8 -0
  210. package/src/cli/secret-notes.ts +63 -0
  211. package/src/client.ts +23 -0
  212. package/src/components/agent-page.tsx +629 -112
  213. package/src/components/agents.tsx +9 -5
  214. package/src/components/board.tsx +3 -15
  215. package/src/components/categories.tsx +2 -2
  216. package/src/components/decision-list.tsx +11 -7
  217. package/src/components/event-feed.tsx +7 -2
  218. package/src/components/goals.tsx +33 -25
  219. package/src/components/home.tsx +29 -26
  220. package/src/components/icon.tsx +337 -0
  221. package/src/components/markdown.tsx +22 -2
  222. package/src/components/people.tsx +1 -1
  223. package/src/components/plugin-frame.tsx +7 -0
  224. package/src/components/projects.tsx +39 -5
  225. package/src/components/sessions.tsx +2 -13
  226. package/src/components/setup.tsx +2 -2
  227. package/src/components/shell.tsx +3 -20
  228. package/src/components/tokens.tsx +1 -1
  229. package/src/components/ui.tsx +16 -8
  230. package/src/connect-page.tsx +1 -1
  231. package/src/console.tsx +87 -53
  232. package/src/home-tiles.ts +76 -291
  233. package/src/i18n/en.ts +128 -3
  234. package/src/i18n/ko.ts +200 -79
  235. package/src/i18n/particles.ts +79 -0
  236. package/src/icons/glyphs.ts +112 -0
  237. package/src/icons/index.ts +195 -0
  238. package/src/index.ts +7 -0
  239. package/src/limits.ts +9 -0
  240. package/src/marks.ts +12 -0
  241. package/src/onboarding.ts +3 -3
  242. package/src/plugin/manifest.ts +3 -2
  243. package/src/plugin/web.ts +9 -2
  244. package/src/runner/acp.ts +2 -1
  245. package/src/runner/awake.ts +135 -0
  246. package/src/runner/claude.ts +19 -4
  247. package/src/runner/codex.ts +2 -1
  248. package/src/runner/config.ts +9 -0
  249. package/src/runner/desk.ts +5 -6
  250. package/src/runner/runner.ts +183 -23
  251. package/src/runner/slack.ts +10 -4
  252. package/src/runner/types.ts +20 -0
  253. package/src/schemas.ts +94 -3
  254. package/src/services.ts +9 -5
  255. package/src/setup-guide.ts +43 -38
  256. package/src/styles/README.md +5 -4
  257. package/src/styles/base.css +17 -0
  258. package/src/styles/console.css +1 -0
  259. package/src/styles/drawn-by-pages.json +1 -1
  260. package/src/styles/pages/agents.css +103 -1
  261. package/src/styles/pages/board.css +0 -10
  262. package/src/styles/pages/calendar.css +1 -1
  263. package/src/styles/pages/connect.css +0 -10
  264. package/src/styles/pages/decisions.css +3 -1
  265. package/src/styles/pages/feed.css +5 -2
  266. package/src/styles/pages/home.css +5 -0
  267. package/src/styles/pages/roadmap.css +2 -2
  268. package/src/styles/pages/settings.css +11 -0
  269. package/src/styles/pages/task.css +0 -20
  270. package/src/styles/pages/thread.css +1 -1
  271. package/src/styles/parts/calendar.css +1 -1
  272. package/src/styles/parts/callout.css +1 -0
  273. package/src/styles/parts/detail.css +22 -0
  274. package/src/styles/parts/empty.css +2 -0
  275. package/src/styles/parts/eyebrow.css +1 -1
  276. package/src/styles/parts/facts.css +1 -1
  277. package/src/styles/parts/figures.css +1 -1
  278. package/src/styles/parts/form.css +2 -1
  279. package/src/styles/parts/icon.css +191 -0
  280. package/src/styles/parts/input.css +14 -4
  281. package/src/styles/parts/mark.css +36 -0
  282. package/src/styles/parts/menu.css +1 -7
  283. package/src/styles/parts/page.css +1 -1
  284. package/src/styles/parts/panel.css +10 -0
  285. package/src/styles/parts/person.css +5 -2
  286. package/src/styles/parts/progress.css +5 -2
  287. package/src/styles/parts/rows.css +1 -0
  288. package/src/styles/parts/settings.css +5 -0
  289. package/src/styles/parts/stat.css +1 -1
  290. package/src/styles/tokens.css +22 -7
  291. package/src/tokens.ts +5 -1
  292. package/src/vocabulary.ts +9 -0
@@ -5,7 +5,7 @@
5
5
  font-size: var(--sc-text-xs);
6
6
  font-weight: var(--sc-weight-medium);
7
7
  letter-spacing: var(--sc-tracking-wide);
8
- text-transform: uppercase;
8
+ text-transform: var(--sc-label-case);
9
9
  }
10
10
 
11
11
  /* Who has what: a table on a sheet of its own, a quiet band for the headings, a hairline
@@ -105,16 +105,6 @@
105
105
  color: var(--sc-color-accent);
106
106
  }
107
107
 
108
- .sc-session-icon svg {
109
- width: 1.25rem;
110
- height: 1.25rem;
111
- fill: none;
112
- stroke: currentColor;
113
- stroke-width: 1.5;
114
- stroke-linecap: round;
115
- stroke-linejoin: round;
116
- }
117
-
118
108
  .sc-session-body {
119
109
  flex: 1;
120
110
  min-width: 0;
@@ -14,7 +14,7 @@
14
14
  font-size: var(--sc-text-xs);
15
15
  font-weight: var(--sc-weight-medium);
16
16
  letter-spacing: var(--sc-tracking-wide);
17
- text-transform: uppercase;
17
+ text-transform: var(--sc-label-case);
18
18
  }
19
19
 
20
20
  .sc-decision {
@@ -76,6 +76,7 @@
76
76
  .sc-decision-question {
77
77
  font-size: var(--sc-text-lg);
78
78
  overflow-wrap: anywhere;
79
+ text-wrap: balance;
79
80
  }
80
81
 
81
82
  .sc-decision-question a {
@@ -297,6 +298,7 @@
297
298
  .sc-decision-record-question {
298
299
  font-weight: var(--sc-weight-medium);
299
300
  overflow-wrap: anywhere;
301
+ text-wrap: balance;
300
302
  }
301
303
 
302
304
  .sc-decision-record-question a {
@@ -9,7 +9,7 @@
9
9
  font-size: var(--sc-text-xs);
10
10
  font-weight: var(--sc-weight-medium);
11
11
  letter-spacing: var(--sc-tracking-wide);
12
- text-transform: uppercase;
12
+ text-transform: var(--sc-label-case);
13
13
  }
14
14
 
15
15
  /* The feed: a line per event, newest first. */
@@ -76,9 +76,12 @@
76
76
  margin-inline-start: 0;
77
77
  }
78
78
 
79
+ /* Each row is a grid of its own, so the hour's column is given a width every row shares: an
80
+ hour is written as the language writes one, a figure more or less from row to row, and the
81
+ sentences beside it start on one line down the feed all the same. */
79
82
  .sc-feed-item {
80
83
  display: grid;
81
- grid-template-columns: auto minmax(0, 1fr);
84
+ grid-template-columns: minmax(4.25rem, auto) minmax(0, 1fr);
82
85
  align-items: baseline;
83
86
  gap: var(--sc-space-3);
84
87
  padding: var(--sc-space-1) 0;
@@ -492,10 +492,15 @@ a.sc-tile-glance:focus-visible {
492
492
  font-size: var(--sc-text-sm);
493
493
  }
494
494
 
495
+ /* The ways out of arranging and the ways to put the page right, four of them: on a phone they
496
+ take a second line, so that the one that keeps the page is never past its edge. */
495
497
  .sc-home-bar-actions {
496
498
  display: flex;
499
+ flex-wrap: wrap;
497
500
  gap: var(--sc-space-2);
498
501
  align-items: center;
502
+ justify-content: flex-end;
503
+ min-width: 0;
499
504
  }
500
505
 
501
506
  .sc-home-tray {
@@ -5,7 +5,7 @@
5
5
  font-size: var(--sc-text-xs);
6
6
  font-weight: var(--sc-weight-medium);
7
7
  letter-spacing: var(--sc-tracking-wide);
8
- text-transform: uppercase;
8
+ text-transform: var(--sc-label-case);
9
9
  }
10
10
 
11
11
  /* The roadmap: a goal a pane, with how far it is as a bar. */
@@ -93,7 +93,7 @@
93
93
 
94
94
  .sc-timeline-row {
95
95
  display: grid;
96
- grid-template-columns: minmax(8rem, 14rem) minmax(20rem, 1fr);
96
+ grid-template-columns: minmax(8rem, 22rem) minmax(20rem, 1fr);
97
97
  align-items: center;
98
98
  gap: var(--sc-space-2);
99
99
  }
@@ -99,6 +99,17 @@
99
99
  flex: 1 1 10rem;
100
100
  }
101
101
 
102
+ /* Where there is room a row stands on columns every row shares: the colour, the name, the key,
103
+ the colour's name, and what is done to it, each under the same thing above. The columns
104
+ take some thirty-nine rem with the row's own padding, which a page has from a window of
105
+ forty-eight on: narrower, a row wraps as its words need, and never runs past the page. */
106
+ @media (min-width: 48rem) {
107
+ .sc-category-form {
108
+ display: grid;
109
+ grid-template-columns: auto minmax(8rem, 1fr) 8rem 9rem auto auto;
110
+ }
111
+ }
112
+
102
113
  /* The pack token (ADR-0028, ADR-0036): what it is for first, then the two ways to one side by
103
114
  side, each a card with its words before its controls, and the code shown large while the
104
115
  page waits for the approval. */
@@ -21,18 +21,6 @@
21
21
  max-width: var(--sc-width-prose);
22
22
  }
23
23
 
24
- .sc-task-heading {
25
- display: grid;
26
- flex: 1 1 28rem;
27
- gap: var(--sc-space-2);
28
- min-width: 0;
29
- }
30
-
31
- .sc-task-parent {
32
- color: var(--sc-color-text-muted);
33
- font-size: var(--sc-text-sm);
34
- }
35
-
36
24
  .sc-subtasks {
37
25
  display: grid;
38
26
  gap: var(--sc-space-2);
@@ -98,11 +86,3 @@
98
86
  grid-template-columns: minmax(0, 1fr);
99
87
  }
100
88
  }
101
-
102
- @media (max-width: 40rem) {
103
- .sc-task-parent {
104
- overflow: hidden;
105
- white-space: nowrap;
106
- text-overflow: ellipsis;
107
- }
108
- }
@@ -11,7 +11,7 @@
11
11
  font-size: var(--sc-text-xs);
12
12
  font-weight: var(--sc-weight-medium);
13
13
  letter-spacing: var(--sc-tracking-wide);
14
- text-transform: uppercase;
14
+ text-transform: var(--sc-label-case);
15
15
  }
16
16
 
17
17
  .sc-run,
@@ -3,7 +3,7 @@
3
3
  font-size: var(--sc-text-xs);
4
4
  font-weight: var(--sc-weight-medium);
5
5
  letter-spacing: var(--sc-tracking-wide);
6
- text-transform: uppercase;
6
+ text-transform: var(--sc-label-case);
7
7
  }
8
8
 
9
9
  .sc-calendar-dot {
@@ -26,6 +26,7 @@
26
26
 
27
27
  .sc-callout-title {
28
28
  font-weight: var(--sc-weight-bold);
29
+ text-wrap: balance;
29
30
  }
30
31
 
31
32
  .sc-callout-body {
@@ -108,3 +108,25 @@
108
108
  min-width: 0;
109
109
  }
110
110
  }
111
+
112
+ /* The head's words where something stands over the title: what the thing is a part of, or the
113
+ way back to all of its kind, in a quiet line, then the title and its badges. */
114
+ .sc-task-heading {
115
+ display: grid;
116
+ flex: 1 1 28rem;
117
+ gap: var(--sc-space-2);
118
+ min-width: 0;
119
+ }
120
+
121
+ .sc-task-parent {
122
+ color: var(--sc-color-text-muted);
123
+ font-size: var(--sc-text-sm);
124
+ }
125
+
126
+ @media (max-width: 40rem) {
127
+ .sc-task-parent {
128
+ overflow: hidden;
129
+ white-space: nowrap;
130
+ text-overflow: ellipsis;
131
+ }
132
+ }
@@ -3,6 +3,8 @@
3
3
  border: 1px dashed var(--sc-color-border);
4
4
  border-radius: var(--sc-radius-lg);
5
5
  text-align: center;
6
+ /* Centred lines of about one length, a title's and a sentence's alike. */
7
+ text-wrap: balance;
6
8
  }
7
9
 
8
10
  .sc-empty-title {
@@ -5,5 +5,5 @@
5
5
  font-size: var(--sc-text-xs);
6
6
  font-weight: var(--sc-weight-medium);
7
7
  letter-spacing: var(--sc-tracking-wide);
8
- text-transform: uppercase;
8
+ text-transform: var(--sc-label-case);
9
9
  }
@@ -4,7 +4,7 @@
4
4
  font-size: var(--sc-text-xs);
5
5
  font-weight: var(--sc-weight-medium);
6
6
  letter-spacing: var(--sc-tracking-wide);
7
- text-transform: uppercase;
7
+ text-transform: var(--sc-label-case);
8
8
  }
9
9
 
10
10
  .sc-facts {
@@ -49,7 +49,7 @@
49
49
  font-size: var(--sc-text-xs);
50
50
  font-weight: var(--sc-weight-medium);
51
51
  letter-spacing: var(--sc-tracking-wide);
52
- text-transform: uppercase;
52
+ text-transform: var(--sc-label-case);
53
53
  }
54
54
 
55
55
  .sc-figures tbody th {
@@ -7,7 +7,7 @@
7
7
  font-size: var(--sc-text-xs);
8
8
  font-weight: var(--sc-weight-medium);
9
9
  letter-spacing: var(--sc-tracking-wide);
10
- text-transform: uppercase;
10
+ text-transform: var(--sc-label-case);
11
11
  }
12
12
 
13
13
  /* Forms */
@@ -71,6 +71,7 @@
71
71
  }
72
72
 
73
73
  .sc-field-hint {
74
+ max-width: var(--sc-width-prose);
74
75
  margin-top: var(--sc-space-2);
75
76
  color: var(--sc-color-text-muted);
76
77
  font-size: var(--sc-text-sm);
@@ -0,0 +1,191 @@
1
+ /* A glyph of the icon pack: lines on one grid, in the colour of the text it stands in. The
2
+ stroke is the pack's own, said on the grid: a glyph drawn small is given a little more of it
3
+ and one drawn large a little less, so that a line stays about as heavy as the letters beside
4
+ it at every size. */
5
+ .sc-icon {
6
+ display: inline-block;
7
+ flex: none;
8
+ fill: none;
9
+ stroke: currentColor;
10
+ stroke-width: 1.5;
11
+ stroke-linecap: round;
12
+ stroke-linejoin: round;
13
+ vertical-align: middle;
14
+ }
15
+
16
+ /* The smallest: a caret beside a word. */
17
+ .sc-icon-xs {
18
+ width: 0.75rem;
19
+ height: 0.75rem;
20
+ stroke-width: 1.875;
21
+ }
22
+
23
+ /* In a line of text, as tall as its letters with what rises above them. */
24
+ .sc-icon-sm {
25
+ width: 1rem;
26
+ height: 1rem;
27
+ stroke-width: 1.75;
28
+ }
29
+
30
+ /* By itself: in a button, a tile, a row's head. */
31
+ .sc-icon-md {
32
+ width: 1.25rem;
33
+ height: 1.25rem;
34
+ }
35
+
36
+ /* In an empty state, or on a card. */
37
+ .sc-icon-lg {
38
+ width: 2rem;
39
+ height: 2rem;
40
+ stroke-width: 1.25;
41
+ }
42
+
43
+ /* A glyph as a project's mark: on the mark's colour, in the mark's line, a little over half its
44
+ side; on the smallest mark, beside a name, a little more of the side and of the stroke, so
45
+ that it still reads at the height of a letter. */
46
+ .sc-mark > .sc-icon {
47
+ width: 62%;
48
+ height: 62%;
49
+ }
50
+
51
+ .sc-mark-sm > .sc-icon {
52
+ width: 72%;
53
+ height: 72%;
54
+ stroke-width: 2;
55
+ }
56
+
57
+ /* Choosing a glyph: the field that shows the choice, and the pack that opens under it. */
58
+ .sc-icon-picker {
59
+ position: relative;
60
+ min-width: 0;
61
+ }
62
+
63
+ .sc-icon-picker-field {
64
+ display: flex;
65
+ align-items: center;
66
+ gap: var(--sc-space-2);
67
+ font-family: inherit;
68
+ text-align: start;
69
+ cursor: pointer;
70
+ }
71
+
72
+ .sc-icon-picker-value {
73
+ flex: 1;
74
+ min-width: 0;
75
+ overflow: hidden;
76
+ text-overflow: ellipsis;
77
+ white-space: nowrap;
78
+ }
79
+
80
+ .sc-icon-picker-caret {
81
+ color: var(--sc-color-text-faint);
82
+ transition: transform var(--sc-transition);
83
+ }
84
+
85
+ .sc-icon-picker-field[aria-expanded="true"] > .sc-icon-picker-caret {
86
+ transform: rotate(180deg);
87
+ }
88
+
89
+ /* The pack: as wide as its field on a phone, where the field is as wide as the pane leaves, and
90
+ as wide as seven or eight glyphs need from there on, begun where the field begins. */
91
+ .sc-icon-picker-panel {
92
+ position: absolute;
93
+ z-index: 40;
94
+ top: calc(100% + var(--sc-space-1));
95
+ right: 0;
96
+ left: 0;
97
+ display: flex;
98
+ flex-direction: column;
99
+ gap: var(--sc-space-2);
100
+ max-height: 22rem;
101
+ padding: var(--sc-space-2);
102
+ border: var(--sc-border);
103
+ border-radius: var(--sc-radius-lg);
104
+ background: var(--sc-color-bg-raised);
105
+ box-shadow: var(--sc-shadow-menu);
106
+ font-size: var(--sc-text-sm);
107
+ }
108
+
109
+ /* A pane is a layer of its own, and the one after it is drawn over it: the pane whose pack is
110
+ open stands over the panes beside it, so that the pack is never cut where its pane ends. */
111
+ .sc-panel:has(.sc-icon-picker-panel) {
112
+ z-index: 2;
113
+ }
114
+
115
+ /* Where the window has no room below the field, and more above, the pack stands above it. */
116
+ .sc-icon-picker-panel-above {
117
+ top: auto;
118
+ bottom: calc(100% + var(--sc-space-1));
119
+ }
120
+
121
+ @media (min-width: 52rem) {
122
+ .sc-icon-picker-panel {
123
+ right: auto;
124
+ width: 21.5rem;
125
+ min-width: 100%;
126
+ }
127
+ }
128
+
129
+ .sc-icon-picker-list {
130
+ display: flex;
131
+ flex-direction: column;
132
+ gap: var(--sc-space-3);
133
+ min-height: 0;
134
+ padding: var(--sc-space-1);
135
+ overflow-y: auto;
136
+ overscroll-behavior: contain;
137
+ }
138
+
139
+ .sc-icon-picker-group {
140
+ display: flex;
141
+ flex-direction: column;
142
+ gap: var(--sc-space-1);
143
+ }
144
+
145
+ .sc-icon-picker-none {
146
+ display: flex;
147
+ }
148
+
149
+ .sc-icon-grid {
150
+ display: grid;
151
+ grid-template-columns: repeat(auto-fill, minmax(2.25rem, 1fr));
152
+ gap: var(--sc-space-1);
153
+ }
154
+
155
+ /* One choice: a glyph in a square a finger finds, the one in hand raised, the one chosen in the accent. */
156
+ .sc-icon-tile {
157
+ display: grid;
158
+ place-items: center;
159
+ min-height: 2.25rem;
160
+ border-radius: var(--sc-radius-md);
161
+ color: var(--sc-color-text-muted);
162
+ cursor: pointer;
163
+ transition:
164
+ background var(--sc-transition),
165
+ color var(--sc-transition);
166
+ }
167
+
168
+ .sc-icon-tile-none {
169
+ flex: 1;
170
+ justify-items: start;
171
+ padding-inline: var(--sc-space-2);
172
+ }
173
+
174
+ .sc-icon-tile-active {
175
+ background: var(--sc-color-bg-inset);
176
+ color: var(--sc-color-text);
177
+ }
178
+
179
+ .sc-icon-tile-chosen {
180
+ background: var(--sc-color-accent-subtle);
181
+ color: var(--sc-color-accent);
182
+ }
183
+
184
+ .sc-icon-tile-chosen.sc-icon-tile-active {
185
+ outline: var(--sc-focus-ring);
186
+ outline-offset: -2px;
187
+ }
188
+
189
+ .sc-icon-picker-note {
190
+ padding: var(--sc-space-2);
191
+ }
@@ -17,11 +17,21 @@
17
17
  }
18
18
 
19
19
  /* A file field: as tall as any other field, what it holds on one line with its button, and
20
- the button the browser gives it drawn as a small button of the console's own. */
20
+ the button the browser gives it drawn as a small button of the console's own. A browser
21
+ lays the button and the words beside it out on a line of its own making, at the top of the
22
+ field whatever the field's display says, so what stands above and below the button is the
23
+ field's padding: half of what the button, by its line, its padding and its border as the
24
+ rule below gives them, leaves of the field's height within its border. */
21
25
  .sc-input[type="file"] {
22
- display: flex;
23
- align-items: center;
24
- padding-block: 0;
26
+ display: block;
27
+ padding-block: calc(
28
+ (
29
+ var(--sc-control-size) -
30
+ 2px -
31
+ (var(--sc-text-xs) * var(--sc-leading-snug) + 2 * (var(--sc-space-1) + 1px) + 2px)
32
+ ) /
33
+ 2
34
+ );
25
35
  color: var(--sc-color-text-muted);
26
36
  line-height: var(--sc-leading-snug);
27
37
  cursor: pointer;
@@ -36,10 +36,46 @@
36
36
  font-size: var(--sc-text-xl);
37
37
  }
38
38
 
39
+ /* A mark with what says it: its icon, its symbol, its colour, its image. The mark stands in a
40
+ column of its own and the fields beside it, one under the other, each as wide as the pane
41
+ leaves, so that a file's name has room on a phone too. What follows the fields, the way to
42
+ take the image away, stands under them and never under the mark, whose column it would widen. */
39
43
  .sc-mark-row {
44
+ grid-template-columns: auto minmax(0, 1fr);
40
45
  align-items: end;
41
46
  }
42
47
 
48
+ .sc-mark-row > * {
49
+ grid-column: 2;
50
+ }
51
+
52
+ .sc-mark-row > :first-child {
53
+ grid-column: 1;
54
+ }
55
+
56
+ .sc-mark-row > .sc-button {
57
+ justify-self: start;
58
+ }
59
+
60
+ /* Where the pane holds them, the icon, the symbol and the colour stand on the mark's row, and
61
+ the image under them with the room a file's name needs. The four columns take thirty rem,
62
+ which a pane has from a window of fifty-two on: between a phone and that, a row of four ran
63
+ past its pane. */
64
+ @media (min-width: 52rem) {
65
+ .sc-mark-row {
66
+ grid-template-columns: auto minmax(9rem, 1fr) minmax(7rem, 1fr) minmax(9rem, 1fr);
67
+ }
68
+
69
+ .sc-mark-row > * {
70
+ grid-column: auto;
71
+ }
72
+
73
+ .sc-mark-row > label:last-of-type,
74
+ .sc-mark-row > .sc-button {
75
+ grid-column: 2 / -1;
76
+ }
77
+ }
78
+
43
79
  /* A project's own image over the symbol, filling the mark; the symbol shows until the image is there. */
44
80
  .sc-mark-pictured {
45
81
  padding: 0;
@@ -38,12 +38,6 @@
38
38
  color: var(--sc-color-text);
39
39
  }
40
40
 
41
- .sc-menu-caret {
42
- flex: none;
43
- width: 0.75rem;
44
- height: 0.75rem;
45
- }
46
-
47
41
  .sc-menu-panel {
48
42
  position: absolute;
49
43
  top: calc(100% + var(--sc-space-2));
@@ -118,7 +112,7 @@
118
112
  font-size: var(--sc-text-xs);
119
113
  font-weight: var(--sc-weight-medium);
120
114
  letter-spacing: var(--sc-tracking-wide);
121
- text-transform: uppercase;
115
+ text-transform: var(--sc-label-case);
122
116
  }
123
117
 
124
118
  .sc-menu-heading {
@@ -18,7 +18,7 @@
18
18
  font-size: var(--sc-text-xs);
19
19
  font-weight: var(--sc-weight-medium);
20
20
  letter-spacing: var(--sc-tracking-wide);
21
- text-transform: uppercase;
21
+ text-transform: var(--sc-label-case);
22
22
  }
23
23
 
24
24
  /* A page that takes the whole window takes the header with it, so that the lockup, the tabs and
@@ -25,6 +25,16 @@
25
25
  max-width: 56rem;
26
26
  }
27
27
 
28
+ /* A form that stands over a list is as wide as the list under it, edge to edge with it, and
29
+ what it holds keeps the width a form is comfortable at. */
30
+ .sc-panel-form-lead {
31
+ max-width: none;
32
+ }
33
+
34
+ .sc-panel-form-lead > * {
35
+ max-width: calc(56rem - var(--sc-space-5) * 2);
36
+ }
37
+
28
38
  @media (max-width: 40rem) {
29
39
  .sc-panel {
30
40
  padding: var(--sc-space-4);
@@ -119,11 +119,14 @@
119
119
  opacity: 0.7;
120
120
  }
121
121
 
122
- /* What the member does, in a line under the name (ADR-0084). */
122
+ /* What the member does, in one line under the name (ADR-0084): a long one is cut short, so
123
+ that the cards of a row keep their lines level. */
123
124
  .sc-person-card-title {
125
+ overflow: hidden;
124
126
  color: var(--sc-color-text);
125
127
  font-size: var(--sc-text-sm);
126
- overflow-wrap: anywhere;
128
+ text-overflow: ellipsis;
129
+ white-space: nowrap;
127
130
  }
128
131
 
129
132
  .sc-person-card-note {
@@ -3,8 +3,11 @@
3
3
  gap: var(--sc-space-1);
4
4
  }
5
5
 
6
+ /* The bar is drawn as a share is (ADR-0138): its parts in the colours a chart draws its series
7
+ in, the green for what is done and the blue for what is at work, and a gap between the two. */
6
8
  .sc-progress-bar {
7
9
  display: flex;
10
+ gap: 2px;
8
11
  height: 0.5rem;
9
12
  overflow: hidden;
10
13
  border-radius: var(--sc-radius-full);
@@ -12,11 +15,11 @@
12
15
  }
13
16
 
14
17
  .sc-progress-done {
15
- background: var(--sc-color-success);
18
+ background: var(--sc-series-6);
16
19
  }
17
20
 
18
21
  .sc-progress-working {
19
- background: var(--sc-color-accent);
22
+ background: var(--sc-series-1);
20
23
  }
21
24
 
22
25
  .sc-progress-words {
@@ -26,6 +26,7 @@
26
26
  font-weight: var(--sc-weight-medium);
27
27
  text-decoration: none;
28
28
  overflow-wrap: anywhere;
29
+ text-wrap: balance;
29
30
  }
30
31
 
31
32
  .sc-task-row-title:hover {
@@ -72,6 +72,11 @@
72
72
  font-size: var(--sc-text-sm);
73
73
  }
74
74
 
75
+ /* Said over what it is about, not under a name: it keeps its distance from what follows. */
76
+ .sc-section-head + .sc-settings-hint {
77
+ margin-bottom: var(--sc-space-3);
78
+ }
79
+
75
80
  .sc-settings-control {
76
81
  display: grid;
77
82
  justify-items: start;
@@ -29,7 +29,7 @@
29
29
  font-size: var(--sc-text-xs);
30
30
  font-weight: var(--sc-weight-medium);
31
31
  letter-spacing: var(--sc-tracking-wide);
32
- text-transform: uppercase;
32
+ text-transform: var(--sc-label-case);
33
33
  overflow-wrap: anywhere;
34
34
  }
35
35