@skillcdn/console 0.4.0 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -2
- package/SKILLCDN.md +7 -5
- package/dist/api.d.ts +5 -4
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +5 -4
- package/dist/api.js.map +1 -1
- package/dist/cli/cli.d.ts.map +1 -1
- package/dist/cli/cli.js +579 -45
- package/dist/cli/cli.js.map +1 -1
- package/dist/cli/format.d.ts +34 -3
- package/dist/cli/format.d.ts.map +1 -1
- package/dist/cli/format.js +277 -6
- package/dist/cli/format.js.map +1 -1
- package/dist/cli/help.d.ts.map +1 -1
- package/dist/cli/help.js +60 -7
- package/dist/cli/help.js.map +1 -1
- package/dist/cli/plugin-check.d.ts +21 -0
- package/dist/cli/plugin-check.d.ts.map +1 -0
- package/dist/cli/plugin-check.js +374 -0
- package/dist/cli/plugin-check.js.map +1 -0
- package/dist/cli/plugin-cli.d.ts +20 -0
- package/dist/cli/plugin-cli.d.ts.map +1 -0
- package/dist/cli/plugin-cli.js +123 -0
- package/dist/cli/plugin-cli.js.map +1 -0
- package/dist/cli/plugin-init.d.ts +20 -0
- package/dist/cli/plugin-init.d.ts.map +1 -0
- package/dist/cli/plugin-init.js +74 -0
- package/dist/cli/plugin-init.js.map +1 -0
- package/dist/cli/plugin-main.d.ts +3 -0
- package/dist/cli/plugin-main.d.ts.map +1 -0
- package/dist/cli/plugin-main.js +28 -0
- package/dist/cli/plugin-main.js.map +1 -0
- package/dist/client.d.ts +109 -2
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +67 -2
- package/dist/client.js.map +1 -1
- package/dist/compat.d.ts +1 -1
- package/dist/compat.js +2 -2
- package/dist/components/board.d.ts +8 -0
- package/dist/components/board.d.ts.map +1 -1
- package/dist/components/board.js +59 -15
- package/dist/components/board.js.map +1 -1
- package/dist/components/event-feed.d.ts +1 -1
- package/dist/components/event-feed.d.ts.map +1 -1
- package/dist/components/event-feed.js +33 -1
- package/dist/components/event-feed.js.map +1 -1
- package/dist/components/markdown.d.ts.map +1 -1
- package/dist/components/markdown.js +6 -3
- package/dist/components/markdown.js.map +1 -1
- package/dist/components/pack-connect.d.ts +3 -1
- package/dist/components/pack-connect.d.ts.map +1 -1
- package/dist/components/pack-connect.js +4 -4
- package/dist/components/pack-connect.js.map +1 -1
- package/dist/components/pack-token.d.ts +3 -1
- package/dist/components/pack-token.d.ts.map +1 -1
- package/dist/components/pack-token.js +1 -1
- package/dist/components/pack-token.js.map +1 -1
- package/dist/components/people.d.ts.map +1 -1
- package/dist/components/people.js +14 -3
- package/dist/components/people.js.map +1 -1
- package/dist/components/plugin-frame.d.ts +52 -0
- package/dist/components/plugin-frame.d.ts.map +1 -0
- package/dist/components/plugin-frame.js +314 -0
- package/dist/components/plugin-frame.js.map +1 -0
- package/dist/components/plugin-settings.d.ts +38 -0
- package/dist/components/plugin-settings.d.ts.map +1 -0
- package/dist/components/plugin-settings.js +348 -0
- package/dist/components/plugin-settings.js.map +1 -0
- package/dist/components/remote-pictures.d.ts +6 -0
- package/dist/components/remote-pictures.d.ts.map +1 -0
- package/dist/components/remote-pictures.js +8 -0
- package/dist/components/remote-pictures.js.map +1 -0
- package/dist/components/shell.d.ts +2 -0
- package/dist/components/shell.d.ts.map +1 -1
- package/dist/components/shell.js +26 -1
- package/dist/components/shell.js.map +1 -1
- package/dist/components/sign-in.d.ts.map +1 -1
- package/dist/components/sign-in.js +49 -2
- package/dist/components/sign-in.js.map +1 -1
- package/dist/components/ui.d.ts +3 -2
- package/dist/components/ui.d.ts.map +1 -1
- package/dist/components/ui.js +6 -3
- package/dist/components/ui.js.map +1 -1
- package/dist/components/workspace.d.ts +7 -1
- package/dist/components/workspace.d.ts.map +1 -1
- package/dist/components/workspace.js +1 -1
- package/dist/components/workspace.js.map +1 -1
- package/dist/console.css +384 -5
- package/dist/console.d.ts.map +1 -1
- package/dist/console.js +146 -29
- package/dist/console.js.map +1 -1
- package/dist/data.d.ts +11 -2
- package/dist/data.d.ts.map +1 -1
- package/dist/data.js +35 -21
- package/dist/data.js.map +1 -1
- package/dist/i18n/en.d.ts +163 -1
- package/dist/i18n/en.d.ts.map +1 -1
- package/dist/i18n/en.js +174 -1
- package/dist/i18n/en.js.map +1 -1
- package/dist/i18n/ko.d.ts.map +1 -1
- package/dist/i18n/ko.js +154 -1
- package/dist/i18n/ko.js.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- 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/plugin/args.d.ts +148 -0
- package/dist/plugin/args.d.ts.map +1 -0
- package/dist/plugin/args.js +369 -0
- package/dist/plugin/args.js.map +1 -0
- package/dist/plugin/bridge.d.ts +146 -0
- package/dist/plugin/bridge.d.ts.map +1 -0
- package/dist/plugin/bridge.js +125 -0
- package/dist/plugin/bridge.js.map +1 -0
- package/dist/plugin/capabilities.d.ts +20 -0
- package/dist/plugin/capabilities.d.ts.map +1 -0
- package/dist/plugin/capabilities.js +133 -0
- package/dist/plugin/capabilities.js.map +1 -0
- package/dist/plugin/context.d.ts +374 -0
- package/dist/plugin/context.d.ts.map +1 -0
- package/dist/plugin/context.js +2 -0
- package/dist/plugin/context.js.map +1 -0
- package/dist/plugin/define.d.ts +208 -0
- package/dist/plugin/define.d.ts.map +1 -0
- package/dist/plugin/define.js +482 -0
- package/dist/plugin/define.js.map +1 -0
- package/dist/plugin/definition-error.d.ts +11 -0
- package/dist/plugin/definition-error.d.ts.map +1 -0
- package/dist/plugin/definition-error.js +17 -0
- package/dist/plugin/definition-error.js.map +1 -0
- package/dist/plugin/limits.d.ts +67 -0
- package/dist/plugin/limits.d.ts.map +1 -0
- package/dist/plugin/limits.js +70 -0
- package/dist/plugin/limits.js.map +1 -0
- package/dist/plugin/load-worker.d.ts +7 -0
- package/dist/plugin/load-worker.d.ts.map +1 -0
- package/dist/plugin/load-worker.js +41 -0
- package/dist/plugin/load-worker.js.map +1 -0
- package/dist/plugin/load.d.ts +18 -0
- package/dist/plugin/load.d.ts.map +1 -0
- package/dist/plugin/load.js +62 -0
- package/dist/plugin/load.js.map +1 -0
- package/dist/plugin/manifest.d.ts +237 -0
- package/dist/plugin/manifest.d.ts.map +1 -0
- package/dist/plugin/manifest.js +411 -0
- package/dist/plugin/manifest.js.map +1 -0
- package/dist/plugin/refusals.d.ts +49 -0
- package/dist/plugin/refusals.d.ts.map +1 -0
- package/dist/plugin/refusals.js +79 -0
- package/dist/plugin/refusals.js.map +1 -0
- package/dist/plugin/rest-schemas.d.ts +556 -0
- package/dist/plugin/rest-schemas.d.ts.map +1 -0
- package/dist/plugin/rest-schemas.js +262 -0
- package/dist/plugin/rest-schemas.js.map +1 -0
- package/dist/plugin/sandbox.d.ts +23 -0
- package/dist/plugin/sandbox.d.ts.map +1 -0
- package/dist/plugin/sandbox.js +99 -0
- package/dist/plugin/sandbox.js.map +1 -0
- package/dist/plugin/testing.d.ts +45 -0
- package/dist/plugin/testing.d.ts.map +1 -0
- package/dist/plugin/testing.js +420 -0
- package/dist/plugin/testing.js.map +1 -0
- package/dist/plugin/web-react.d.ts +11 -0
- package/dist/plugin/web-react.d.ts.map +1 -0
- package/dist/plugin/web-react.js +34 -0
- package/dist/plugin/web-react.js.map +1 -0
- package/dist/plugin/web.d.ts +95 -0
- package/dist/plugin/web.d.ts.map +1 -0
- package/dist/plugin/web.js +245 -0
- package/dist/plugin/web.js.map +1 -0
- package/dist/plugin-nav.d.ts +29 -0
- package/dist/plugin-nav.d.ts.map +1 -0
- package/dist/plugin-nav.js +92 -0
- package/dist/plugin-nav.js.map +1 -0
- package/dist/plugin-testing.d.ts +2 -0
- package/dist/plugin-testing.d.ts.map +1 -0
- package/dist/plugin-testing.js +4 -0
- package/dist/plugin-testing.js.map +1 -0
- package/dist/plugin-web-react.d.ts +3 -0
- package/dist/plugin-web-react.d.ts.map +1 -0
- package/dist/plugin-web-react.js +3 -0
- package/dist/plugin-web-react.js.map +1 -0
- package/dist/plugin-web.d.ts +4 -0
- package/dist/plugin-web.d.ts.map +1 -0
- package/dist/plugin-web.js +5 -0
- package/dist/plugin-web.js.map +1 -0
- package/dist/plugin.d.ts +11 -0
- package/dist/plugin.d.ts.map +1 -0
- package/dist/plugin.js +15 -0
- package/dist/plugin.js.map +1 -0
- package/dist/router.d.ts +28 -0
- package/dist/router.d.ts.map +1 -1
- package/dist/router.js +47 -0
- package/dist/router.js.map +1 -1
- package/dist/routes.d.ts +6 -0
- package/dist/routes.d.ts.map +1 -1
- package/dist/routes.js +8 -0
- package/dist/routes.js.map +1 -1
- package/dist/schemas.d.ts +147 -1
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +55 -5
- package/dist/schemas.js.map +1 -1
- package/dist/tokens.d.ts +2 -0
- package/dist/tokens.d.ts.map +1 -0
- package/dist/tokens.js +101 -0
- package/dist/tokens.js.map +1 -0
- package/dist/vocabulary.d.ts +11 -1
- package/dist/vocabulary.d.ts.map +1 -1
- package/dist/vocabulary.js +24 -0
- package/dist/vocabulary.js.map +1 -1
- package/dist/web.d.ts.map +1 -1
- package/dist/web.js +5 -2
- package/dist/web.js.map +1 -1
- package/docs/specs/cli.md +16 -9
- package/docs/specs/plugins.md +487 -0
- package/docs/specs/rest.md +25 -13
- package/package.json +21 -3
- package/skills/building-a-console/SKILL.md +25 -26
- package/skills/building-a-console/references/configuring.md +40 -0
- package/skills/building-a-console/references/the-default-console.md +1 -1
- package/skills/building-a-console/references/the-look-from-a-website.md +5 -5
- package/skills/building-a-plugin/SKILL.md +137 -0
- package/skills/deploying-a-console/SKILL.md +24 -26
- package/skills/deploying-a-console/references/access.md +13 -9
- package/skills/deploying-a-console/references/resources.md +25 -10
- package/skills/deploying-a-console/references/running-it-again.md +15 -0
- package/skills/deploying-a-console/references/sizing.md +2 -0
- package/skills/planning-the-board/SKILL.md +96 -0
- package/skills/planning-the-board/references/a-task.md +36 -0
- package/skills/planning-the-board/references/setting-up.md +44 -0
- package/skills/working-the-board/SKILL.md +43 -34
- package/skills/working-the-board/references/the-pack.md +19 -0
- package/src/api.ts +16 -0
- package/src/cli/cli.ts +736 -45
- package/src/cli/format.ts +356 -9
- package/src/cli/help.ts +71 -6
- package/src/cli/plugin-check.ts +470 -0
- package/src/cli/plugin-cli.ts +148 -0
- package/src/cli/plugin-init.ts +90 -0
- package/src/cli/plugin-main.ts +30 -0
- package/src/client.ts +324 -1
- package/src/compat.ts +2 -2
- package/src/components/board.tsx +62 -14
- package/src/components/event-feed.tsx +42 -1
- package/src/components/markdown.tsx +6 -3
- package/src/components/pack-connect.tsx +10 -7
- package/src/components/pack-token.tsx +4 -1
- package/src/components/people.tsx +17 -7
- package/src/components/plugin-frame.tsx +437 -0
- package/src/components/plugin-settings.tsx +1111 -0
- package/src/components/remote-pictures.ts +19 -0
- package/src/components/shell.tsx +82 -14
- package/src/components/sign-in.tsx +114 -13
- package/src/components/ui.tsx +6 -3
- package/src/components/workspace.tsx +18 -0
- package/src/console.tsx +309 -23
- package/src/data.ts +47 -22
- package/src/i18n/en.ts +183 -1
- package/src/i18n/ko.ts +159 -1
- package/src/index.ts +12 -0
- package/src/limits.ts +14 -0
- package/src/plugin/args.ts +526 -0
- package/src/plugin/bridge.ts +314 -0
- package/src/plugin/capabilities.ts +150 -0
- package/src/plugin/context.ts +416 -0
- package/src/plugin/define.ts +792 -0
- package/src/plugin/definition-error.ts +19 -0
- package/src/plugin/limits.ts +70 -0
- package/src/plugin/load-worker.ts +50 -0
- package/src/plugin/load.ts +82 -0
- package/src/plugin/manifest.ts +561 -0
- package/src/plugin/refusals.ts +94 -0
- package/src/plugin/rest-schemas.ts +354 -0
- package/src/plugin/sandbox.ts +123 -0
- package/src/plugin/testing.ts +612 -0
- package/src/plugin/web-react.ts +45 -0
- package/src/plugin/web.ts +403 -0
- package/src/plugin-nav.ts +132 -0
- package/src/plugin-testing.ts +10 -0
- package/src/plugin-web-react.ts +4 -0
- package/src/plugin-web.ts +35 -0
- package/src/plugin.ts +126 -0
- package/src/router.ts +73 -0
- package/src/routes.ts +9 -0
- package/src/schemas.ts +60 -4
- package/src/styles/console.css +384 -5
- package/src/tokens.ts +101 -0
- package/src/vocabulary.ts +30 -0
- package/src/web.ts +5 -2
- package/template/plugin/.gitignore +2 -0
- package/template/plugin/README.md +26 -0
- package/template/plugin/SKILLCDN.md +13 -0
- package/template/plugin/build.mjs +40 -0
- package/template/plugin/console-plugin.json +50 -0
- package/template/plugin/package.json +27 -0
- package/template/plugin/skills/__key__/SKILL.md +23 -0
- package/template/plugin/src/check.test.ts +34 -0
- package/template/plugin/src/server/index.test.ts +41 -0
- package/template/plugin/src/server/index.ts +72 -0
- package/template/plugin/src/web/index.css +51 -0
- package/template/plugin/src/web/index.ts +115 -0
- package/template/plugin/tsconfig.json +17 -0
- package/skills/working-the-board/references/setting-up.md +0 -3
- /package/skills/{working-the-board → planning-the-board}/references/project-rules.md +0 -0
package/dist/console.css
CHANGED
|
@@ -41,6 +41,18 @@
|
|
|
41
41
|
--sc-color-warning-subtle: #fff4cc;
|
|
42
42
|
--sc-color-danger: #b0273a;
|
|
43
43
|
--sc-color-danger-subtle: #fadadf;
|
|
44
|
+
/* For the plugins' pages (ADR-0054): a state that informs, one neither good nor bad, a palette for figures, tabular numerals. */
|
|
45
|
+
--sc-color-info: #1d4ed8;
|
|
46
|
+
--sc-color-info-subtle: #dbe6ff;
|
|
47
|
+
--sc-color-neutral: #4b5563;
|
|
48
|
+
--sc-color-neutral-subtle: #e7eaf0;
|
|
49
|
+
--sc-series-1: #2c5bc4;
|
|
50
|
+
--sc-series-2: #c2410c;
|
|
51
|
+
--sc-series-3: #146b44;
|
|
52
|
+
--sc-series-4: #8f6100;
|
|
53
|
+
--sc-series-5: #7c3aed;
|
|
54
|
+
--sc-series-6: #0e7490;
|
|
55
|
+
--sc-numeric: "tnum" 1, "lnum" 1;
|
|
44
56
|
|
|
45
57
|
/* The ground: a pale field, one gradient from the top. The default UI provides the field's
|
|
46
58
|
face (the shell); a custom console may paint its own. */
|
|
@@ -473,6 +485,108 @@ table {
|
|
|
473
485
|
color: var(--sc-color-text);
|
|
474
486
|
}
|
|
475
487
|
|
|
488
|
+
/* A tab that opens a list of pages: a group of several plugins (ADR-0054). */
|
|
489
|
+
|
|
490
|
+
.sc-tab-group {
|
|
491
|
+
position: relative;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
.sc-tab-summary {
|
|
495
|
+
list-style: none;
|
|
496
|
+
cursor: pointer;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
.sc-tab-summary::-webkit-details-marker {
|
|
500
|
+
display: none;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
.sc-tab-group-panel {
|
|
504
|
+
right: auto;
|
|
505
|
+
left: 0;
|
|
506
|
+
top: 100%;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
/* The sub-tabs of a plugin with several pages, above its frame. */
|
|
510
|
+
|
|
511
|
+
.sc-subtabs {
|
|
512
|
+
display: flex;
|
|
513
|
+
gap: var(--sc-space-4);
|
|
514
|
+
margin-bottom: var(--sc-space-4);
|
|
515
|
+
border-bottom: var(--sc-border);
|
|
516
|
+
overflow: auto hidden;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
/* A plugin's frame: the width of the page, as tall as the frame says. */
|
|
520
|
+
|
|
521
|
+
.sc-plugin-frame {
|
|
522
|
+
display: block;
|
|
523
|
+
width: 100%;
|
|
524
|
+
min-height: 2.5rem;
|
|
525
|
+
border: 0;
|
|
526
|
+
border-radius: var(--sc-radius-lg);
|
|
527
|
+
background: transparent;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
/* A plugin's frame document, which the console serves marked with data-console: it paints no
|
|
531
|
+
background and is as tall as its content, so that the box the console draws shows through and
|
|
532
|
+
the frame shrinks as well as grows; no room is kept for a scrollbar it never shows. */
|
|
533
|
+
|
|
534
|
+
html[data-console] {
|
|
535
|
+
scrollbar-gutter: auto;
|
|
536
|
+
scroll-padding-top: 0;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
html[data-console] body {
|
|
540
|
+
min-height: 0;
|
|
541
|
+
background: transparent;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
/* The widgets of the front page: a grid of six columns, above or below the projects. The page's
|
|
545
|
+
head keeps its own distance above the top ones. */
|
|
546
|
+
|
|
547
|
+
.sc-widgets {
|
|
548
|
+
display: grid;
|
|
549
|
+
grid-template-columns: repeat(6, minmax(0, 1fr));
|
|
550
|
+
gap: var(--sc-space-4);
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
.sc-widgets-top {
|
|
554
|
+
margin: 0 0 var(--sc-space-5);
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
.sc-widgets-bottom {
|
|
558
|
+
margin: var(--sc-space-5) 0 0;
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
.sc-widget {
|
|
562
|
+
grid-column: span 6;
|
|
563
|
+
padding: var(--sc-space-3) var(--sc-space-4);
|
|
564
|
+
border: var(--sc-border);
|
|
565
|
+
border-radius: var(--sc-radius-lg);
|
|
566
|
+
background: var(--sc-color-bg-raised);
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
.sc-widget-title {
|
|
570
|
+
margin: 0 0 var(--sc-space-2);
|
|
571
|
+
font-size: var(--sc-text-sm);
|
|
572
|
+
font-weight: var(--sc-weight-medium);
|
|
573
|
+
color: var(--sc-color-text-muted);
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
@media (min-width: 48rem) {
|
|
577
|
+
.sc-widget-third {
|
|
578
|
+
grid-column: span 2;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
.sc-widget-half {
|
|
582
|
+
grid-column: span 3;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
.sc-widget-full {
|
|
586
|
+
grid-column: span 6;
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
|
|
476
590
|
/* What waits, beside a tab's name: a count in the point colour, so it reads before the words. */
|
|
477
591
|
.sc-nav-count {
|
|
478
592
|
display: inline-flex;
|
|
@@ -2168,15 +2282,67 @@ select.sc-input {
|
|
|
2168
2282
|
text-align: left;
|
|
2169
2283
|
}
|
|
2170
2284
|
|
|
2285
|
+
/* The ways in, one under the other, each a button with who gets in through it under it. */
|
|
2171
2286
|
.sc-sign-in-ways {
|
|
2172
|
-
display:
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2287
|
+
display: grid;
|
|
2288
|
+
justify-items: center;
|
|
2289
|
+
gap: var(--sc-space-4);
|
|
2290
|
+
margin-top: var(--sc-space-2);
|
|
2176
2291
|
}
|
|
2177
2292
|
|
|
2293
|
+
.sc-sign-in-way {
|
|
2294
|
+
display: grid;
|
|
2295
|
+
justify-items: center;
|
|
2296
|
+
gap: var(--sc-space-2);
|
|
2297
|
+
width: 100%;
|
|
2298
|
+
}
|
|
2299
|
+
|
|
2300
|
+
/* The button is the page's one call: wide, a step taller than a control, the provider's mark
|
|
2301
|
+
before its words. */
|
|
2178
2302
|
.sc-sign-in-button {
|
|
2179
|
-
|
|
2303
|
+
width: 100%;
|
|
2304
|
+
max-width: 20rem;
|
|
2305
|
+
min-height: 2.75rem;
|
|
2306
|
+
gap: var(--sc-space-3);
|
|
2307
|
+
font-size: var(--sc-text-md);
|
|
2308
|
+
}
|
|
2309
|
+
|
|
2310
|
+
.sc-sign-in-button:focus-visible {
|
|
2311
|
+
outline: var(--sc-focus-ring);
|
|
2312
|
+
outline-offset: 3px;
|
|
2313
|
+
border-radius: var(--sc-radius-md);
|
|
2314
|
+
}
|
|
2315
|
+
|
|
2316
|
+
/* On the way to the provider: the button keeps its color and turns its ring in the text's color. */
|
|
2317
|
+
.sc-sign-in-button-going {
|
|
2318
|
+
cursor: progress;
|
|
2319
|
+
}
|
|
2320
|
+
|
|
2321
|
+
.sc-sign-in-spinner .sc-spinner-ring {
|
|
2322
|
+
width: 1rem;
|
|
2323
|
+
height: 1rem;
|
|
2324
|
+
border-color: color-mix(in srgb, var(--sc-color-accent-contrast) 40%, transparent);
|
|
2325
|
+
border-top-color: var(--sc-color-accent-contrast);
|
|
2326
|
+
}
|
|
2327
|
+
|
|
2328
|
+
.sc-sign-in-mark {
|
|
2329
|
+
flex: none;
|
|
2330
|
+
}
|
|
2331
|
+
|
|
2332
|
+
/* A mark in colors of its own sits on a light tile, whatever the button's color. */
|
|
2333
|
+
.sc-sign-in-mark-tile {
|
|
2334
|
+
display: grid;
|
|
2335
|
+
place-items: center;
|
|
2336
|
+
width: 1.5rem;
|
|
2337
|
+
height: 1.5rem;
|
|
2338
|
+
border-radius: var(--sc-radius-full);
|
|
2339
|
+
background: var(--sc-color-accent-contrast);
|
|
2340
|
+
}
|
|
2341
|
+
|
|
2342
|
+
.sc-sign-in-admits {
|
|
2343
|
+
margin: 0;
|
|
2344
|
+
color: var(--sc-color-text-muted);
|
|
2345
|
+
font-size: var(--sc-text-xs);
|
|
2180
2346
|
}
|
|
2181
2347
|
|
|
2182
2348
|
/* Prose: what people and agents write, rendered from Markdown. Element selectors on purpose. */
|
|
@@ -5647,3 +5813,216 @@ select.sc-input {
|
|
|
5647
5813
|
padding-inline: var(--sc-space-4);
|
|
5648
5814
|
font-size: var(--sc-text-sm);
|
|
5649
5815
|
}
|
|
5816
|
+
|
|
5817
|
+
/* The plugins' settings (docs/specs/plugins.md, "The settings pages"): one plugin's page. */
|
|
5818
|
+
|
|
5819
|
+
/* A choice with its box or its dot, on one line with its word. */
|
|
5820
|
+
.sc-check {
|
|
5821
|
+
display: inline-flex;
|
|
5822
|
+
align-items: center;
|
|
5823
|
+
gap: var(--sc-space-2);
|
|
5824
|
+
padding-block: var(--sc-space-1);
|
|
5825
|
+
}
|
|
5826
|
+
|
|
5827
|
+
.sc-radio-row {
|
|
5828
|
+
display: flex;
|
|
5829
|
+
flex-wrap: wrap;
|
|
5830
|
+
gap: var(--sc-space-4);
|
|
5831
|
+
}
|
|
5832
|
+
|
|
5833
|
+
/* The form that enables a plugin: its parts one under the other, a hairline between. */
|
|
5834
|
+
.sc-plugin-enable {
|
|
5835
|
+
gap: 0;
|
|
5836
|
+
}
|
|
5837
|
+
|
|
5838
|
+
.sc-plugin-group {
|
|
5839
|
+
display: grid;
|
|
5840
|
+
gap: var(--sc-space-2);
|
|
5841
|
+
padding-block: var(--sc-space-4);
|
|
5842
|
+
border-top: var(--sc-hairline);
|
|
5843
|
+
}
|
|
5844
|
+
|
|
5845
|
+
.sc-plugin-group:first-child {
|
|
5846
|
+
padding-top: 0;
|
|
5847
|
+
border-top: 0;
|
|
5848
|
+
}
|
|
5849
|
+
|
|
5850
|
+
.sc-plugin-group:last-child {
|
|
5851
|
+
padding-bottom: 0;
|
|
5852
|
+
}
|
|
5853
|
+
|
|
5854
|
+
.sc-plugin-group-title {
|
|
5855
|
+
margin: 0;
|
|
5856
|
+
font-size: var(--sc-text-md);
|
|
5857
|
+
font-weight: var(--sc-weight-medium);
|
|
5858
|
+
}
|
|
5859
|
+
|
|
5860
|
+
.sc-plugin-group > .sc-settings-hint {
|
|
5861
|
+
margin-top: calc(-1 * var(--sc-space-1));
|
|
5862
|
+
}
|
|
5863
|
+
|
|
5864
|
+
/* The fields of the board project to make: as wide as a form is comfortable, no wider. */
|
|
5865
|
+
.sc-plugin-fields {
|
|
5866
|
+
display: grid;
|
|
5867
|
+
gap: var(--sc-space-3);
|
|
5868
|
+
max-width: 32rem;
|
|
5869
|
+
}
|
|
5870
|
+
|
|
5871
|
+
/* A list to tick: each row a sheet with its box, a name and a word under the name. */
|
|
5872
|
+
.sc-plugin-ticks {
|
|
5873
|
+
display: grid;
|
|
5874
|
+
gap: var(--sc-space-2);
|
|
5875
|
+
margin: 0;
|
|
5876
|
+
padding: 0;
|
|
5877
|
+
list-style: none;
|
|
5878
|
+
}
|
|
5879
|
+
|
|
5880
|
+
.sc-plugin-tick {
|
|
5881
|
+
display: grid;
|
|
5882
|
+
grid-template-columns: auto minmax(0, 1fr);
|
|
5883
|
+
gap: var(--sc-space-3);
|
|
5884
|
+
align-items: start;
|
|
5885
|
+
padding: var(--sc-space-3) var(--sc-space-4);
|
|
5886
|
+
border: var(--sc-border);
|
|
5887
|
+
border-radius: var(--sc-radius-md);
|
|
5888
|
+
background: var(--sc-color-sheet);
|
|
5889
|
+
cursor: pointer;
|
|
5890
|
+
}
|
|
5891
|
+
|
|
5892
|
+
.sc-plugin-tick input {
|
|
5893
|
+
margin-top: 0.25em;
|
|
5894
|
+
}
|
|
5895
|
+
|
|
5896
|
+
.sc-plugin-tick-words {
|
|
5897
|
+
display: grid;
|
|
5898
|
+
gap: 2px;
|
|
5899
|
+
}
|
|
5900
|
+
|
|
5901
|
+
.sc-plugin-tick-name {
|
|
5902
|
+
font-weight: var(--sc-weight-medium);
|
|
5903
|
+
}
|
|
5904
|
+
|
|
5905
|
+
.sc-plugin-tick-under {
|
|
5906
|
+
color: var(--sc-color-text-muted);
|
|
5907
|
+
font-size: var(--sc-text-sm);
|
|
5908
|
+
}
|
|
5909
|
+
|
|
5910
|
+
/* The capabilities an enabled plugin holds, one a line; its commands as words side by side. */
|
|
5911
|
+
.sc-plugin-held {
|
|
5912
|
+
display: grid;
|
|
5913
|
+
gap: var(--sc-space-1);
|
|
5914
|
+
margin: 0;
|
|
5915
|
+
padding: 0;
|
|
5916
|
+
list-style: none;
|
|
5917
|
+
}
|
|
5918
|
+
|
|
5919
|
+
.sc-plugin-codes {
|
|
5920
|
+
display: inline-flex;
|
|
5921
|
+
flex-wrap: wrap;
|
|
5922
|
+
gap: var(--sc-space-2);
|
|
5923
|
+
}
|
|
5924
|
+
|
|
5925
|
+
/* A field with its buttons on one line: a secret to set, the key to type before a purge. */
|
|
5926
|
+
.sc-plugin-line {
|
|
5927
|
+
display: flex;
|
|
5928
|
+
flex-wrap: wrap;
|
|
5929
|
+
gap: var(--sc-space-2);
|
|
5930
|
+
width: 100%;
|
|
5931
|
+
}
|
|
5932
|
+
|
|
5933
|
+
.sc-plugin-line-input {
|
|
5934
|
+
flex: 1 1 8rem;
|
|
5935
|
+
width: auto;
|
|
5936
|
+
}
|
|
5937
|
+
|
|
5938
|
+
/* The roles: one a row, its name and what it is for beside who holds it and the way to grant it. */
|
|
5939
|
+
.sc-plugin-roles {
|
|
5940
|
+
display: grid;
|
|
5941
|
+
margin: 0;
|
|
5942
|
+
padding: 0;
|
|
5943
|
+
list-style: none;
|
|
5944
|
+
}
|
|
5945
|
+
|
|
5946
|
+
.sc-plugin-role {
|
|
5947
|
+
display: grid;
|
|
5948
|
+
grid-template-columns: minmax(10rem, 16rem) minmax(0, 1fr);
|
|
5949
|
+
gap: var(--sc-space-2) var(--sc-space-5);
|
|
5950
|
+
padding: var(--sc-space-4) 0;
|
|
5951
|
+
border-top: var(--sc-hairline);
|
|
5952
|
+
}
|
|
5953
|
+
|
|
5954
|
+
.sc-plugin-role:first-child {
|
|
5955
|
+
padding-top: 0;
|
|
5956
|
+
border-top: 0;
|
|
5957
|
+
}
|
|
5958
|
+
|
|
5959
|
+
.sc-plugin-role:last-child {
|
|
5960
|
+
padding-bottom: 0;
|
|
5961
|
+
}
|
|
5962
|
+
|
|
5963
|
+
.sc-plugin-role-name {
|
|
5964
|
+
display: flex;
|
|
5965
|
+
flex-wrap: wrap;
|
|
5966
|
+
align-items: center;
|
|
5967
|
+
gap: var(--sc-space-2);
|
|
5968
|
+
font-weight: var(--sc-weight-medium);
|
|
5969
|
+
}
|
|
5970
|
+
|
|
5971
|
+
.sc-plugin-role-key {
|
|
5972
|
+
color: var(--sc-color-text-muted);
|
|
5973
|
+
font-weight: normal;
|
|
5974
|
+
}
|
|
5975
|
+
|
|
5976
|
+
.sc-plugin-holders {
|
|
5977
|
+
display: flex;
|
|
5978
|
+
flex-wrap: wrap;
|
|
5979
|
+
align-items: center;
|
|
5980
|
+
gap: var(--sc-space-2);
|
|
5981
|
+
}
|
|
5982
|
+
|
|
5983
|
+
/* Who holds a role, a chip each, with the way to revoke a grant in it. */
|
|
5984
|
+
.sc-plugin-holder {
|
|
5985
|
+
display: inline-flex;
|
|
5986
|
+
align-items: center;
|
|
5987
|
+
gap: var(--sc-space-1);
|
|
5988
|
+
min-height: 2rem;
|
|
5989
|
+
padding-inline: var(--sc-space-3) var(--sc-space-1);
|
|
5990
|
+
border: var(--sc-border);
|
|
5991
|
+
border-radius: var(--sc-radius-full);
|
|
5992
|
+
background: var(--sc-color-sheet);
|
|
5993
|
+
font-size: var(--sc-text-sm);
|
|
5994
|
+
}
|
|
5995
|
+
|
|
5996
|
+
.sc-plugin-holder-fixed {
|
|
5997
|
+
padding-inline-end: var(--sc-space-3);
|
|
5998
|
+
}
|
|
5999
|
+
|
|
6000
|
+
.sc-plugin-holder .sc-button {
|
|
6001
|
+
min-height: 1.5rem;
|
|
6002
|
+
padding-inline: var(--sc-space-2);
|
|
6003
|
+
font-size: var(--sc-text-md);
|
|
6004
|
+
line-height: 1;
|
|
6005
|
+
}
|
|
6006
|
+
|
|
6007
|
+
.sc-plugin-grant {
|
|
6008
|
+
display: flex;
|
|
6009
|
+
flex-wrap: wrap;
|
|
6010
|
+
gap: var(--sc-space-2);
|
|
6011
|
+
margin-top: var(--sc-space-3);
|
|
6012
|
+
}
|
|
6013
|
+
|
|
6014
|
+
.sc-plugin-grant-input {
|
|
6015
|
+
flex: 0 1 20rem;
|
|
6016
|
+
width: auto;
|
|
6017
|
+
}
|
|
6018
|
+
|
|
6019
|
+
.sc-plugin-problems {
|
|
6020
|
+
margin: 0;
|
|
6021
|
+
padding-left: var(--sc-space-5);
|
|
6022
|
+
}
|
|
6023
|
+
|
|
6024
|
+
@media (max-width: 40rem) {
|
|
6025
|
+
.sc-plugin-role {
|
|
6026
|
+
grid-template-columns: minmax(0, 1fr);
|
|
6027
|
+
}
|
|
6028
|
+
}
|
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,EACL,KAAK,aAAa,EAClB,KAAK,SAAS,EAMf,MAAM,OAAO,CAAC;AAEf,OAAO,EAEL,KAAK,aAAa,
|
|
1
|
+
{"version":3,"file":"console.d.ts","sourceRoot":"","sources":["../src/console.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,SAAS,EAMf,MAAM,OAAO,CAAC;AAEf,OAAO,EAEL,KAAK,aAAa,EAclB,KAAK,WAAW,EAcjB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAuB,KAAK,UAAU,EAAsB,MAAM,uBAAuB,CAAC;AACjG,OAAO,EAAY,KAAK,aAAa,EAAY,MAAM,0BAA0B,CAAC;AAClF,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAGlF,OAAO,EAA8B,KAAK,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AACnG,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAAsB,KAAK,aAAa,EAAuB,MAAM,uBAAuB,CAAC;AAIpG,OAAO,EAA2B,KAAK,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAGvF,OAAO,EAEL,KAAK,eAAe,EAGpB,KAAK,gBAAgB,EAEtB,MAAM,0BAA0B,CAAC;AAIlC,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;AAGxE,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,EAAkC,KAAK,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAY7F,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,sBAAsB,CAAC;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