@addiscorp/kit 0.2.0 → 0.2.1

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 CHANGED
@@ -60,7 +60,7 @@ import { Header, Footer, HeaderButton, PersonIcon, themeBoot } from '@addiscorp/
60
60
 
61
61
  Every Addis tool (rixse, mirab, woreda, kebele, gelada, harar, p8) gets the
62
62
  same site, after zega.dev: a hero with the install commands under the
63
- headline and a demo reel beside it, three benefits, the family of tools; and
63
+ headline and a demo reel beside it, three benefits, the other Addis tools; and
64
64
  docs after rixse.dev. **Structure = kit, content = per site**: a site passes
65
65
  words, commands and demo lines, never markup of its own. The tools' marks and
66
66
  colours live here too, so every site and the family list agree.
@@ -75,7 +75,7 @@ import { ToolSite, Hero, Why, DocsLayout, Code, Step, Callout } from '@addiscorp
75
75
  headline={{ before: 'Agents in VMs on ', accent: 'your own machine', after: '.' }}
76
76
  sub="The agent never holds a credential."
77
77
  github="https://github.com/addiscorp/mirab"
78
- installs={[{ label: 'install the cli', command: 'curl -fsSL https://mirab.addis.gg/install.sh | sh' }]}
78
+ installs={[{ label: 'install the cli', command: 'curl -fsSL https://mirab-releases.addis.gg/install.sh | sh' }]}
79
79
  reel={[{ title: '~/ops', caption: 'an agent is a folder', lines: [{ text: 'mirab init ops', kind: 'command' }] }]}
80
80
  />
81
81
  <Why tool="mirab" benefits={[…three…]} />
@@ -63,7 +63,7 @@ export type Benefit = {
63
63
  title: string;
64
64
  text: string;
65
65
  };
66
- /** "Why <tool> · the short version": three benefits, and the family of Addis tools. */
66
+ /** "Why <tool> · the short version": three benefits, and the other Addis tools. */
67
67
  export declare function Why({ tool, benefits }: {
68
68
  tool: ToolId;
69
69
  benefits: [Benefit, Benefit, Benefit];
@@ -34,9 +34,9 @@ export function Reel({ scenes }) {
34
34
  + `@keyframes akt-dot-${scenes.length}{0%,${(share - 0.01).toFixed(2)}%{background:var(--akt-accent);width:28px}${share.toFixed(2)}%,100%{background:var(--akt-dotoff);width:14px}}`;
35
35
  return (_jsxs("div", { children: [_jsx("style", { children: css }), _jsx("div", { className: "akt-reel", children: _jsx("div", { className: "akt-stage", children: scenes.map((scene, i) => (_jsxs("div", { className: "akt-scene", style: { animation: `akt-scene-${scenes.length} ${cycle}s ${i * SCENE_SECONDS}s infinite both` }, children: [_jsxs("div", { className: "akt-tab", children: [_jsx("i", {}), scene.title] }), _jsx("div", { className: "akt-term", children: scene.lines.map((line, j) => (_jsxs("div", { className: `akt-ln akt-${line.kind ?? 'output'}`, style: { animation: `akt-line ${cycle}s ${(i * SCENE_SECONDS + 0.3 + j * 0.45).toFixed(2)}s infinite both` }, children: [_jsx("span", { className: "akt-no", children: j + 1 }), _jsx("span", { className: "akt-tx", children: line.text })] }, j))) }), _jsx("div", { className: "akt-cap", children: scene.caption })] }, i))) }) }), _jsx("div", { className: "akt-dots", "aria-hidden": "true", children: scenes.map((_, i) => _jsx("i", { style: { animation: `akt-dot-${scenes.length} ${cycle}s ${i * SCENE_SECONDS}s infinite` } }, i)) })] }));
36
36
  }
37
- /** "Why <tool> · the short version": three benefits, and the family of Addis tools. */
37
+ /** "Why <tool> · the short version": three benefits, and the other Addis tools. */
38
38
  export function Why({ tool, benefits }) {
39
- return (_jsxs("section", { className: "akt-why", children: [_jsxs("h2", { children: ["Why ", tool, _jsx("small", { children: "the short version" })] }), _jsxs("div", { className: "akt-cards", children: [benefits.map((benefit) => (_jsxs("div", { className: "akt-card", children: [_jsx("div", { className: "akt-dash" }), _jsx("h3", { children: benefit.title }), _jsx("p", { children: benefit.text })] }, benefit.title))), _jsxs("div", { className: "akt-card", children: [_jsxs("h3", { children: ["Addis tools", _jsx("small", { children: "they work together" })] }), _jsx("div", { className: "akt-family", children: TOOLS.map((t) => (_jsxs("a", { className: "akt-row", href: `https://${t.domain}`, "aria-current": t.id === tool ? 'page' : undefined, children: [_jsxs("strong", { children: [_jsx(Mark, { tool: t.id, size: 18 }), t.id] }), _jsx("span", { children: t.short })] }, t.id))) })] })] })] }));
39
+ return (_jsxs("section", { className: "akt-why", children: [_jsxs("h2", { children: ["Why ", tool, _jsx("small", { children: "the short version" })] }), _jsxs("div", { className: "akt-cards", children: [benefits.map((benefit) => (_jsxs("div", { className: "akt-card", children: [_jsx("div", { className: "akt-dash" }), _jsx("h3", { children: benefit.title }), _jsx("p", { children: benefit.text })] }, benefit.title))), _jsxs("div", { className: "akt-card", children: [_jsxs("h3", { children: ["Addis tools", _jsx("small", { children: "they work together" })] }), _jsx("div", { className: "akt-family", children: TOOLS.filter((t) => t.id !== tool).map((t) => (_jsxs("a", { className: "akt-row", href: `https://${t.domain}`, children: [_jsxs("strong", { children: [_jsx(Mark, { tool: t.id, size: 18 }), t.id] }), _jsx("span", { children: t.short })] }, t.id))) })] })] })] }));
40
40
  }
41
41
  /** The docs, after rixse.dev: the pages down the side, the page on the right. */
42
42
  export function DocsLayout({ tool, pages, pathname, eyebrow = 'Documentation', title, lede, note, home = '/', Link = PlainLink, children }) {
package/dist/tool.css CHANGED
@@ -97,7 +97,7 @@
97
97
  .akt-row:last-child { border-bottom: 0; }
98
98
  .akt-row strong { display: flex; align-items: center; gap: 8px; font: var(--akt-wm-weight) 16px/1 var(--akt-display); letter-spacing: var(--akt-wm-spacing); }
99
99
  .akt-row span { color: var(--akt-soft); }
100
- .akt-row[aria-current="page"] span, .akt-row:hover span { color: var(--akt-ink); }
100
+ .akt-row:hover span { color: var(--akt-ink); }
101
101
 
102
102
  /* Docs, after rixse.dev: the pages down the side, the page on the right. */
103
103
  .akt-docs { background-image: none; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@addiscorp/kit",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "The header, footer, theme and tool-site layout every Addis site shares, in each project's own brand colours.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",