@skillcdn/console 0.1.2 → 0.1.4
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/README.md +9 -5
- package/dist/api.d.ts +7 -5
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +6 -4
- package/dist/api.js.map +1 -1
- package/dist/cli/cli.d.ts +3 -3
- package/dist/cli/cli.d.ts.map +1 -1
- package/dist/cli/cli.js +202 -18
- package/dist/cli/cli.js.map +1 -1
- package/dist/cli/credentials.d.ts +1 -1
- package/dist/cli/format.d.ts +10 -1
- package/dist/cli/format.d.ts.map +1 -1
- package/dist/cli/format.js +67 -0
- package/dist/cli/format.js.map +1 -1
- package/dist/cli/help.d.ts.map +1 -1
- package/dist/cli/help.js +66 -7
- package/dist/cli/help.js.map +1 -1
- package/dist/cli/main.js +3 -2
- package/dist/cli/main.js.map +1 -1
- package/dist/cli/terminal.d.ts +0 -5
- package/dist/cli/terminal.d.ts.map +1 -1
- package/dist/cli/terminal.js +0 -43
- package/dist/cli/terminal.js.map +1 -1
- package/dist/client.d.ts +51 -2
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +36 -11
- package/dist/client.js.map +1 -1
- package/dist/components/board.d.ts.map +1 -1
- package/dist/components/board.js +6 -3
- package/dist/components/board.js.map +1 -1
- package/dist/components/connect.d.ts +28 -0
- package/dist/components/connect.d.ts.map +1 -0
- package/dist/components/connect.js +30 -0
- package/dist/components/connect.js.map +1 -0
- package/dist/components/decision-form.d.ts.map +1 -1
- package/dist/components/decision-form.js +4 -1
- package/dist/components/decision-form.js.map +1 -1
- package/dist/components/decision-list.d.ts +11 -1
- package/dist/components/decision-list.d.ts.map +1 -1
- package/dist/components/decision-list.js +30 -5
- package/dist/components/decision-list.js.map +1 -1
- package/dist/components/documents.d.ts +87 -0
- package/dist/components/documents.d.ts.map +1 -0
- package/dist/components/documents.js +115 -0
- package/dist/components/documents.js.map +1 -0
- package/dist/components/event-feed.d.ts +3 -2
- package/dist/components/event-feed.d.ts.map +1 -1
- package/dist/components/event-feed.js +55 -45
- package/dist/components/event-feed.js.map +1 -1
- package/dist/components/markdown.d.ts +5 -2
- package/dist/components/markdown.d.ts.map +1 -1
- package/dist/components/markdown.js +8 -1
- package/dist/components/markdown.js.map +1 -1
- package/dist/components/people.d.ts +2 -0
- package/dist/components/people.d.ts.map +1 -1
- package/dist/components/people.js +4 -2
- package/dist/components/people.js.map +1 -1
- package/dist/components/projects.d.ts +1 -0
- package/dist/components/projects.d.ts.map +1 -1
- package/dist/components/projects.js +16 -10
- package/dist/components/projects.js.map +1 -1
- package/dist/components/runs.d.ts +4 -0
- package/dist/components/runs.d.ts.map +1 -1
- package/dist/components/runs.js +7 -3
- package/dist/components/runs.js.map +1 -1
- package/dist/components/shell.d.ts +30 -1
- package/dist/components/shell.d.ts.map +1 -1
- package/dist/components/shell.js +56 -8
- package/dist/components/shell.js.map +1 -1
- package/dist/components/sign-in.d.ts +3 -0
- package/dist/components/sign-in.d.ts.map +1 -1
- package/dist/components/sign-in.js +3 -9
- package/dist/components/sign-in.js.map +1 -1
- package/dist/components/skills.d.ts.map +1 -1
- package/dist/components/skills.js +8 -12
- package/dist/components/skills.js.map +1 -1
- package/dist/components/task-form.d.ts.map +1 -1
- package/dist/components/task-form.js +5 -2
- package/dist/components/task-form.js.map +1 -1
- package/dist/components/task-view.d.ts +12 -1
- package/dist/components/task-view.d.ts.map +1 -1
- package/dist/components/task-view.js +7 -14
- package/dist/components/task-view.js.map +1 -1
- package/dist/components/tokens.d.ts +12 -0
- package/dist/components/tokens.d.ts.map +1 -1
- package/dist/components/tokens.js +25 -10
- package/dist/components/tokens.js.map +1 -1
- package/dist/components/ui.d.ts +3 -3
- package/dist/components/ui.d.ts.map +1 -1
- package/dist/components/ui.js +15 -9
- package/dist/components/ui.js.map +1 -1
- package/dist/connect-page.d.ts +10 -0
- package/dist/connect-page.d.ts.map +1 -0
- package/dist/connect-page.js +67 -0
- package/dist/connect-page.js.map +1 -0
- package/dist/connect.d.ts +11 -0
- package/dist/connect.d.ts.map +1 -0
- package/dist/connect.js +24 -0
- package/dist/connect.js.map +1 -0
- package/dist/console.css +310 -10
- package/dist/console.d.ts +6 -1
- package/dist/console.d.ts.map +1 -1
- package/dist/console.js +339 -151
- package/dist/console.js.map +1 -1
- package/dist/data.d.ts +21 -1
- package/dist/data.d.ts.map +1 -1
- package/dist/data.js +23 -0
- package/dist/data.js.map +1 -1
- package/dist/docs-page.d.ts +14 -0
- package/dist/docs-page.d.ts.map +1 -0
- package/dist/docs-page.js +166 -0
- package/dist/docs-page.js.map +1 -0
- package/dist/documents.d.ts +19 -0
- package/dist/documents.d.ts.map +1 -0
- package/dist/documents.js +64 -0
- package/dist/documents.js.map +1 -0
- package/dist/i18n/en.d.ts +471 -0
- package/dist/i18n/en.d.ts.map +1 -0
- package/dist/i18n/en.js +481 -0
- package/dist/i18n/en.js.map +1 -0
- package/dist/i18n/index.d.ts +26 -0
- package/dist/i18n/index.d.ts.map +1 -0
- package/dist/i18n/index.js +46 -0
- package/dist/i18n/index.js.map +1 -0
- package/dist/i18n/ko.d.ts +3 -0
- package/dist/i18n/ko.d.ts.map +1 -0
- package/dist/i18n/ko.js +470 -0
- package/dist/i18n/ko.js.map +1 -0
- package/dist/index.d.ts +9 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/dist/limits.d.ts +14 -0
- package/dist/limits.d.ts.map +1 -1
- package/dist/limits.js +14 -0
- package/dist/limits.js.map +1 -1
- package/dist/router.d.ts +93 -10
- package/dist/router.d.ts.map +1 -1
- package/dist/router.js +168 -24
- package/dist/router.js.map +1 -1
- package/dist/routes.d.ts +11 -1
- package/dist/routes.d.ts.map +1 -1
- package/dist/routes.js +17 -0
- package/dist/routes.js.map +1 -1
- package/dist/schemas.d.ts +310 -2
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +162 -11
- package/dist/schemas.js.map +1 -1
- package/dist/use-action.d.ts +9 -0
- package/dist/use-action.d.ts.map +1 -0
- package/dist/use-action.js +34 -0
- package/dist/use-action.js.map +1 -0
- package/dist/vocabulary.d.ts +4 -1
- package/dist/vocabulary.d.ts.map +1 -1
- package/dist/vocabulary.js +7 -0
- package/dist/vocabulary.js.map +1 -1
- package/package.json +1 -1
package/dist/console.css
CHANGED
|
@@ -192,7 +192,7 @@ svg {
|
|
|
192
192
|
color: var(--sc-color-text-muted);
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
/* The shell: a header with the
|
|
195
|
+
/* The shell: a header with the workspace, the project and the person, the tabs under it, and the page below (ADR-0010). */
|
|
196
196
|
|
|
197
197
|
.sc-shell {
|
|
198
198
|
display: flex;
|
|
@@ -244,6 +244,20 @@ svg {
|
|
|
244
244
|
white-space: nowrap;
|
|
245
245
|
}
|
|
246
246
|
|
|
247
|
+
.sc-brand-symbol {
|
|
248
|
+
width: 1.5rem;
|
|
249
|
+
height: 1.5rem;
|
|
250
|
+
margin-right: var(--sc-space-2);
|
|
251
|
+
vertical-align: middle;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.sc-sign-in-wordmark {
|
|
255
|
+
display: block;
|
|
256
|
+
max-width: 14rem;
|
|
257
|
+
height: 2rem;
|
|
258
|
+
margin-bottom: var(--sc-space-4);
|
|
259
|
+
}
|
|
260
|
+
|
|
247
261
|
.sc-crumb {
|
|
248
262
|
display: inline-flex;
|
|
249
263
|
align-items: center;
|
|
@@ -265,35 +279,151 @@ svg {
|
|
|
265
279
|
text-overflow: ellipsis;
|
|
266
280
|
}
|
|
267
281
|
|
|
268
|
-
.
|
|
282
|
+
/* The tabs: the pages of the level the person is on, under the header's first row. */
|
|
283
|
+
|
|
284
|
+
.sc-tabs {
|
|
285
|
+
max-width: var(--sc-width-page);
|
|
286
|
+
margin-inline: auto;
|
|
287
|
+
padding-inline: var(--sc-space-5);
|
|
288
|
+
overflow-x: auto;
|
|
289
|
+
scrollbar-width: none;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.sc-tabs-inner {
|
|
269
293
|
display: flex;
|
|
270
|
-
flex-wrap: wrap;
|
|
271
294
|
gap: var(--sc-space-1);
|
|
272
295
|
}
|
|
273
296
|
|
|
274
|
-
.sc-
|
|
297
|
+
.sc-tab {
|
|
275
298
|
display: inline-flex;
|
|
276
299
|
align-items: center;
|
|
277
300
|
gap: var(--sc-space-2);
|
|
278
|
-
padding: var(--sc-space-
|
|
279
|
-
|
|
301
|
+
padding: var(--sc-space-2) var(--sc-space-3);
|
|
302
|
+
margin-bottom: -1px;
|
|
303
|
+
border-bottom: 2px solid transparent;
|
|
280
304
|
color: var(--sc-color-text-muted);
|
|
281
305
|
font-size: var(--sc-text-sm);
|
|
282
306
|
font-weight: var(--sc-weight-medium);
|
|
283
307
|
text-decoration: none;
|
|
308
|
+
white-space: nowrap;
|
|
284
309
|
transition:
|
|
285
|
-
|
|
310
|
+
border-color var(--sc-transition),
|
|
286
311
|
color var(--sc-transition);
|
|
287
312
|
}
|
|
288
313
|
|
|
289
|
-
.sc-
|
|
290
|
-
background: var(--sc-color-bg-inset);
|
|
314
|
+
.sc-tab:hover {
|
|
291
315
|
color: var(--sc-color-text);
|
|
292
316
|
}
|
|
293
317
|
|
|
294
|
-
.sc-
|
|
318
|
+
.sc-tab-current {
|
|
319
|
+
border-bottom-color: var(--sc-color-accent);
|
|
320
|
+
color: var(--sc-color-text);
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
/* The person's menu: a disclosure at the end of the header, with the workspace's pages. */
|
|
324
|
+
|
|
325
|
+
.sc-menu {
|
|
326
|
+
position: relative;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
.sc-menu-summary {
|
|
330
|
+
display: inline-flex;
|
|
331
|
+
align-items: center;
|
|
332
|
+
gap: var(--sc-space-2);
|
|
333
|
+
padding: var(--sc-space-1) var(--sc-space-2);
|
|
334
|
+
border-radius: var(--sc-radius-md);
|
|
335
|
+
list-style: none;
|
|
336
|
+
cursor: pointer;
|
|
337
|
+
transition: background var(--sc-transition);
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.sc-menu-summary::-webkit-details-marker {
|
|
341
|
+
display: none;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.sc-menu-summary:hover,
|
|
345
|
+
.sc-menu[open] > .sc-menu-summary {
|
|
295
346
|
background: var(--sc-color-bg-inset);
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
.sc-menu-panel {
|
|
350
|
+
position: absolute;
|
|
351
|
+
top: calc(100% + var(--sc-space-1));
|
|
352
|
+
right: 0;
|
|
353
|
+
z-index: 20;
|
|
354
|
+
min-width: 14rem;
|
|
355
|
+
padding: var(--sc-space-2);
|
|
356
|
+
border: var(--sc-border);
|
|
357
|
+
border-radius: var(--sc-radius-lg);
|
|
358
|
+
background: var(--sc-color-bg-raised);
|
|
359
|
+
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
.sc-menu-who {
|
|
363
|
+
display: flex;
|
|
364
|
+
flex-direction: column;
|
|
365
|
+
padding: var(--sc-space-2) var(--sc-space-3) var(--sc-space-3);
|
|
366
|
+
margin-bottom: var(--sc-space-1);
|
|
367
|
+
border-bottom: var(--sc-border);
|
|
368
|
+
font-size: var(--sc-text-sm);
|
|
369
|
+
font-weight: var(--sc-weight-medium);
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.sc-menu-list {
|
|
373
|
+
display: flex;
|
|
374
|
+
flex-direction: column;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.sc-menu-link {
|
|
378
|
+
display: block;
|
|
379
|
+
width: 100%;
|
|
380
|
+
padding: var(--sc-space-2) var(--sc-space-3);
|
|
381
|
+
border: 0;
|
|
382
|
+
border-radius: var(--sc-radius-md);
|
|
383
|
+
background: none;
|
|
296
384
|
color: var(--sc-color-text);
|
|
385
|
+
font: inherit;
|
|
386
|
+
font-size: var(--sc-text-sm);
|
|
387
|
+
text-align: left;
|
|
388
|
+
text-decoration: none;
|
|
389
|
+
cursor: pointer;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
.sc-menu-link:hover {
|
|
393
|
+
background: var(--sc-color-bg-inset);
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
.sc-menu-link[aria-current="page"] {
|
|
397
|
+
color: var(--sc-color-accent);
|
|
398
|
+
font-weight: var(--sc-weight-medium);
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
.sc-menu-languages {
|
|
402
|
+
margin: var(--sc-space-1) 0 0;
|
|
403
|
+
padding: var(--sc-space-1) 0 0;
|
|
404
|
+
border: 0;
|
|
405
|
+
border-top: var(--sc-border);
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.sc-menu-heading {
|
|
409
|
+
display: block;
|
|
410
|
+
padding: var(--sc-space-1) var(--sc-space-3);
|
|
411
|
+
color: var(--sc-color-text-muted);
|
|
412
|
+
font-size: var(--sc-text-xs);
|
|
413
|
+
text-transform: uppercase;
|
|
414
|
+
letter-spacing: 0.04em;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
.sc-menu-chosen {
|
|
418
|
+
color: var(--sc-color-accent);
|
|
419
|
+
font-weight: var(--sc-weight-medium);
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
.sc-menu-out {
|
|
423
|
+
margin-top: var(--sc-space-1);
|
|
424
|
+
border-top: var(--sc-border);
|
|
425
|
+
border-radius: 0;
|
|
426
|
+
color: var(--sc-color-text-muted);
|
|
297
427
|
}
|
|
298
428
|
|
|
299
429
|
.sc-nav-count {
|
|
@@ -1188,6 +1318,14 @@ svg {
|
|
|
1188
1318
|
padding-inline: var(--sc-space-4);
|
|
1189
1319
|
}
|
|
1190
1320
|
|
|
1321
|
+
.sc-tabs {
|
|
1322
|
+
padding-inline: var(--sc-space-4);
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1325
|
+
.sc-menu-summary .sc-person-login {
|
|
1326
|
+
display: none;
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1191
1329
|
.sc-main {
|
|
1192
1330
|
padding-inline: var(--sc-space-4);
|
|
1193
1331
|
}
|
|
@@ -1470,3 +1608,165 @@ svg {
|
|
|
1470
1608
|
white-space: pre-wrap;
|
|
1471
1609
|
word-break: break-all;
|
|
1472
1610
|
}
|
|
1611
|
+
|
|
1612
|
+
/* Documents: a folder's pages, one page with its versions, its links both ways and its files. */
|
|
1613
|
+
|
|
1614
|
+
.sc-doc-crumbs {
|
|
1615
|
+
margin-bottom: var(--sc-space-3);
|
|
1616
|
+
color: var(--sc-color-text-muted);
|
|
1617
|
+
font-size: var(--sc-text-sm);
|
|
1618
|
+
}
|
|
1619
|
+
|
|
1620
|
+
.sc-doc-crumbs a {
|
|
1621
|
+
color: var(--sc-color-text-muted);
|
|
1622
|
+
text-decoration: none;
|
|
1623
|
+
}
|
|
1624
|
+
|
|
1625
|
+
.sc-doc-crumbs a:hover {
|
|
1626
|
+
color: var(--sc-color-accent);
|
|
1627
|
+
}
|
|
1628
|
+
|
|
1629
|
+
.sc-doc-search {
|
|
1630
|
+
display: flex;
|
|
1631
|
+
gap: var(--sc-space-2);
|
|
1632
|
+
margin-bottom: var(--sc-space-4);
|
|
1633
|
+
}
|
|
1634
|
+
|
|
1635
|
+
.sc-doc-search .sc-input {
|
|
1636
|
+
flex: 1;
|
|
1637
|
+
max-width: 32rem;
|
|
1638
|
+
}
|
|
1639
|
+
|
|
1640
|
+
.sc-folder {
|
|
1641
|
+
display: grid;
|
|
1642
|
+
gap: var(--sc-space-3);
|
|
1643
|
+
}
|
|
1644
|
+
|
|
1645
|
+
.sc-folders {
|
|
1646
|
+
display: flex;
|
|
1647
|
+
flex-wrap: wrap;
|
|
1648
|
+
gap: var(--sc-space-2);
|
|
1649
|
+
margin: 0;
|
|
1650
|
+
padding: 0;
|
|
1651
|
+
list-style: none;
|
|
1652
|
+
}
|
|
1653
|
+
|
|
1654
|
+
.sc-folder-link {
|
|
1655
|
+
display: inline-block;
|
|
1656
|
+
padding: var(--sc-space-1) var(--sc-space-3);
|
|
1657
|
+
border: var(--sc-border);
|
|
1658
|
+
border-radius: var(--sc-radius-md);
|
|
1659
|
+
background: var(--sc-color-bg-subtle);
|
|
1660
|
+
color: var(--sc-color-text);
|
|
1661
|
+
font-family: var(--sc-font-mono);
|
|
1662
|
+
font-size: var(--sc-text-sm);
|
|
1663
|
+
text-decoration: none;
|
|
1664
|
+
}
|
|
1665
|
+
|
|
1666
|
+
.sc-folder-link:hover {
|
|
1667
|
+
border-color: var(--sc-color-border-strong);
|
|
1668
|
+
color: var(--sc-color-accent);
|
|
1669
|
+
}
|
|
1670
|
+
|
|
1671
|
+
.sc-docs {
|
|
1672
|
+
display: grid;
|
|
1673
|
+
gap: var(--sc-space-2);
|
|
1674
|
+
margin: 0;
|
|
1675
|
+
padding: 0;
|
|
1676
|
+
list-style: none;
|
|
1677
|
+
}
|
|
1678
|
+
|
|
1679
|
+
.sc-doc-row {
|
|
1680
|
+
display: flex;
|
|
1681
|
+
flex-wrap: wrap;
|
|
1682
|
+
align-items: baseline;
|
|
1683
|
+
gap: var(--sc-space-2) var(--sc-space-3);
|
|
1684
|
+
padding: var(--sc-space-3) var(--sc-space-4);
|
|
1685
|
+
border: var(--sc-border);
|
|
1686
|
+
border-radius: var(--sc-radius-md);
|
|
1687
|
+
background: var(--sc-color-bg-subtle);
|
|
1688
|
+
}
|
|
1689
|
+
|
|
1690
|
+
.sc-doc-title {
|
|
1691
|
+
color: var(--sc-color-text);
|
|
1692
|
+
font-weight: var(--sc-weight-medium);
|
|
1693
|
+
text-decoration: none;
|
|
1694
|
+
}
|
|
1695
|
+
|
|
1696
|
+
.sc-doc-title:hover {
|
|
1697
|
+
color: var(--sc-color-accent);
|
|
1698
|
+
}
|
|
1699
|
+
|
|
1700
|
+
.sc-doc-meta {
|
|
1701
|
+
color: var(--sc-color-text-muted);
|
|
1702
|
+
font-size: var(--sc-text-sm);
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1705
|
+
.sc-doc-path {
|
|
1706
|
+
font-family: var(--sc-font-mono);
|
|
1707
|
+
font-size: var(--sc-text-xs);
|
|
1708
|
+
color: var(--sc-color-text-faint);
|
|
1709
|
+
}
|
|
1710
|
+
|
|
1711
|
+
.sc-doc-editor {
|
|
1712
|
+
min-height: 20rem;
|
|
1713
|
+
font-family: var(--sc-font-mono);
|
|
1714
|
+
font-size: var(--sc-text-sm);
|
|
1715
|
+
}
|
|
1716
|
+
|
|
1717
|
+
.sc-doc-notice {
|
|
1718
|
+
margin-bottom: var(--sc-space-4);
|
|
1719
|
+
padding: var(--sc-space-3) var(--sc-space-4);
|
|
1720
|
+
border: var(--sc-border);
|
|
1721
|
+
border-radius: var(--sc-radius-md);
|
|
1722
|
+
background: var(--sc-color-bg-inset);
|
|
1723
|
+
color: var(--sc-color-text-muted);
|
|
1724
|
+
}
|
|
1725
|
+
|
|
1726
|
+
.sc-doc-archived .sc-prose {
|
|
1727
|
+
opacity: 0.85;
|
|
1728
|
+
}
|
|
1729
|
+
|
|
1730
|
+
.sc-doc-attach {
|
|
1731
|
+
display: flex;
|
|
1732
|
+
flex-wrap: wrap;
|
|
1733
|
+
gap: var(--sc-space-2);
|
|
1734
|
+
margin-top: var(--sc-space-3);
|
|
1735
|
+
}
|
|
1736
|
+
|
|
1737
|
+
.sc-versions {
|
|
1738
|
+
margin: 0;
|
|
1739
|
+
padding: 0;
|
|
1740
|
+
list-style: none;
|
|
1741
|
+
}
|
|
1742
|
+
|
|
1743
|
+
.sc-version + .sc-version {
|
|
1744
|
+
margin-top: var(--sc-space-2);
|
|
1745
|
+
}
|
|
1746
|
+
|
|
1747
|
+
.sc-version-number {
|
|
1748
|
+
display: inline-block;
|
|
1749
|
+
min-width: 2.5rem;
|
|
1750
|
+
font-family: var(--sc-font-mono);
|
|
1751
|
+
font-size: var(--sc-text-sm);
|
|
1752
|
+
}
|
|
1753
|
+
|
|
1754
|
+
/* A decision as a record: its context, its answer, and what followed. */
|
|
1755
|
+
|
|
1756
|
+
.sc-decision-section {
|
|
1757
|
+
margin-top: var(--sc-space-3);
|
|
1758
|
+
}
|
|
1759
|
+
|
|
1760
|
+
.sc-decision-label {
|
|
1761
|
+
margin: 0 0 var(--sc-space-1);
|
|
1762
|
+
color: var(--sc-color-text-faint);
|
|
1763
|
+
font-size: var(--sc-text-xs);
|
|
1764
|
+
font-weight: var(--sc-weight-medium);
|
|
1765
|
+
letter-spacing: 0.04em;
|
|
1766
|
+
text-transform: uppercase;
|
|
1767
|
+
}
|
|
1768
|
+
|
|
1769
|
+
.sc-outcome-form {
|
|
1770
|
+
display: grid;
|
|
1771
|
+
gap: var(--sc-space-2);
|
|
1772
|
+
}
|
package/dist/console.d.ts
CHANGED
|
@@ -5,11 +5,12 @@ import { type DecisionListProps } from "./components/decision-list.js";
|
|
|
5
5
|
import { type EventFeedProps } from "./components/event-feed.js";
|
|
6
6
|
import { type PeopleListProps } from "./components/people.js";
|
|
7
7
|
import { type MemberListProps, type ProjectListProps } from "./components/projects.js";
|
|
8
|
-
import { type ShellProps } from "./components/shell.js";
|
|
8
|
+
import { type Brand, type ShellProps } from "./components/shell.js";
|
|
9
9
|
import { type SignInProps } from "./components/sign-in.js";
|
|
10
10
|
import { type SkillListProps } from "./components/skills.js";
|
|
11
11
|
import { type TaskViewProps } from "./components/task-view.js";
|
|
12
12
|
import { type TokenListProps } from "./components/tokens.js";
|
|
13
|
+
import { type LanguagePack } from "./i18n/index.js";
|
|
13
14
|
/** The components a custom console may replace, each with the props the default one takes. */
|
|
14
15
|
export interface ConsoleComponents {
|
|
15
16
|
readonly Shell: ComponentType<ShellProps>;
|
|
@@ -32,6 +33,10 @@ export interface ConsoleConfig {
|
|
|
32
33
|
readonly title?: string | undefined;
|
|
33
34
|
/** The components to use in place of the default ones. */
|
|
34
35
|
readonly components?: Partial<ConsoleComponents> | undefined;
|
|
36
|
+
/** The languages the pages speak, the first being the one spoken when nothing else decides; the package's when left out. */
|
|
37
|
+
readonly languages?: readonly LanguagePack[] | undefined;
|
|
38
|
+
/** The marks beside the name (ADR-0013); none shows the name alone. A custom console brings its own. */
|
|
39
|
+
readonly brand?: Brand | undefined;
|
|
35
40
|
/** The client to talk to the server with; made from `baseUrl` when left out. For tests. */
|
|
36
41
|
readonly client?: ConsoleClient | undefined;
|
|
37
42
|
}
|
package/dist/console.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"console.d.ts","sourceRoot":"","sources":["../src/console.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAyD,MAAM,OAAO,CAAC;AAElG,OAAO,
|
|
1
|
+
{"version":3,"file":"console.d.ts","sourceRoot":"","sources":["../src/console.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAyD,MAAM,OAAO,CAAC;AAElG,OAAO,EACL,KAAK,aAAa,EAenB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAG/D,OAAO,EAA8B,KAAK,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AACnG,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC1E,OAAO,EAEL,KAAK,eAAe,EAGpB,KAAK,gBAAgB,EACtB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,KAAK,KAAK,EAIV,KAAK,UAAU,EAChB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExE,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,EAAkC,KAAK,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAK7F,OAAO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