anentrypoint-design 0.0.414 → 0.0.416

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 (102) hide show
  1. package/dist/247420.js +62 -12
  2. package/dist/app-shell.css +40 -594
  3. package/dist/colors_and_type.css +607 -47
  4. package/dist/index.html +227 -277
  5. package/dist/preview/buttons.html +39 -28
  6. package/dist/preview/colors-core.html +18 -8
  7. package/dist/preview/colors-lore.html +26 -17
  8. package/dist/preview/colors-semantic.html +24 -18
  9. package/dist/preview/dateline.html +6 -5
  10. package/dist/preview/dropzone.html +4 -3
  11. package/dist/preview/file-grid.html +10 -9
  12. package/dist/preview/file-row.html +14 -13
  13. package/dist/preview/file-toolbar.html +4 -3
  14. package/dist/preview/file-viewer.html +4 -3
  15. package/dist/preview/header.html +26 -24
  16. package/dist/preview/icons-unicode.html +8 -5
  17. package/dist/preview/index-row.html +17 -9
  18. package/dist/preview/inputs.html +4 -3
  19. package/dist/preview/manifesto.html +34 -17
  20. package/dist/preview/motion-default.js +77 -57
  21. package/dist/preview/rules.html +4 -3
  22. package/dist/preview/spacing.html +13 -12
  23. package/dist/preview/stamps-lore.html +5 -4
  24. package/dist/preview/stamps.html +4 -3
  25. package/dist/preview/theme-ink.html +7 -6
  26. package/dist/preview/type-display.html +14 -5
  27. package/dist/preview/type-mono.html +6 -5
  28. package/dist/preview/type-prose.html +12 -10
  29. package/dist/preview/type-scale.html +4 -3
  30. package/dist/preview/wordmarks.html +10 -7
  31. package/dist/site/content/globals/site.yaml +5 -3
  32. package/dist/site/content/pages/freddie.yaml +2 -2
  33. package/dist/site/content/pages/home.yaml +55 -55
  34. package/dist/site/theme.mjs +96 -348
  35. package/dist/slides/index.html +13 -13
  36. package/dist/src/bootstrap.js +10 -1
  37. package/dist/src/components/chat.js +43 -195
  38. package/dist/src/components/community.js +18 -166
  39. package/dist/src/components/content.js +30 -210
  40. package/dist/src/components/files-modals.js +14 -106
  41. package/dist/src/components/files.js +15 -116
  42. package/dist/src/components/freddie/helpers.js +53 -8
  43. package/dist/src/components/freddie.js +35 -25
  44. package/dist/src/components/shell.js +16 -114
  45. package/dist/src/components/theme-toggle.js +69 -25
  46. package/dist/src/components.js +92 -13
  47. package/dist/src/deck-stage.js +6 -4
  48. package/dist/src/highlight.js +51 -7
  49. package/dist/src/index.js +58 -12
  50. package/dist/src/kits/os/about-app.js +2 -3
  51. package/dist/src/kits/os/app-panes.css +46 -70
  52. package/dist/src/kits/os/browser-app.js +28 -1
  53. package/dist/src/kits/os/files-app.js +7 -0
  54. package/dist/src/kits/os/freddie/pages-chat.js +90 -75
  55. package/dist/src/kits/os/freddie/pages-core.js +9 -9
  56. package/dist/src/kits/os/freddie/pages-os.js +8 -8
  57. package/dist/src/kits/os/freddie/pages-tools.js +14 -14
  58. package/dist/src/kits/os/freddie/routes.js +21 -19
  59. package/dist/src/kits/os/freddie-dashboard.css +42 -21
  60. package/dist/src/kits/os/freddie-dashboard.js +6 -6
  61. package/dist/src/kits/os/icons.js +38 -16
  62. package/dist/src/kits/os/index.js +11 -0
  63. package/dist/src/kits/os/launcher.css +26 -10
  64. package/dist/src/kits/os/launcher.js +3 -0
  65. package/dist/src/kits/os/shell.js +72 -108
  66. package/dist/src/kits/os/terminal-app.js +1 -1
  67. package/dist/src/kits/os/theme.css +1330 -150
  68. package/dist/src/kits/os/wm.css +68 -15
  69. package/dist/src/kits/os/wm.js +93 -17
  70. package/dist/src/markdown.js +121 -12
  71. package/dist/src/motion.js +18 -2
  72. package/dist/src/page-html.js +62 -134
  73. package/dist/src/theme.js +106 -13
  74. package/dist/src/web-components/ds-chat.js +80 -9
  75. package/dist/ui_kits/aicat/app.js +54 -6
  76. package/dist/ui_kits/aicat/index.html +2 -0
  77. package/dist/ui_kits/blog/index.html +33 -17
  78. package/dist/ui_kits/chat/app.js +90 -22
  79. package/dist/ui_kits/chat/index.html +2 -0
  80. package/dist/ui_kits/community/app.js +86 -24
  81. package/dist/ui_kits/community/index.html +1 -0
  82. package/dist/ui_kits/dashboard/app.js +123 -34
  83. package/dist/ui_kits/dashboard/index.html +1 -0
  84. package/dist/ui_kits/docs/index.html +43 -33
  85. package/dist/ui_kits/error_404/app.js +78 -23
  86. package/dist/ui_kits/file_browser/README.md +1 -1
  87. package/dist/ui_kits/file_browser/app.js +45 -10
  88. package/dist/ui_kits/file_browser/index.html +1 -0
  89. package/dist/ui_kits/gallery/app.js +130 -51
  90. package/dist/ui_kits/homepage/app.js +156 -138
  91. package/dist/ui_kits/project_page/app.js +142 -125
  92. package/dist/ui_kits/project_page/index.html +2 -1
  93. package/dist/ui_kits/search/app.js +52 -15
  94. package/dist/ui_kits/settings/app.js +166 -39
  95. package/dist/ui_kits/signin/app.js +175 -49
  96. package/dist/ui_kits/signin/index.html +1 -0
  97. package/dist/ui_kits/slide_deck/app.js +83 -49
  98. package/dist/ui_kits/system_primer/app.js +57 -40
  99. package/dist/ui_kits/terminal/app.js +160 -43
  100. package/package.json +1 -1
  101. package/src/page-html/client-script.js +40 -11
  102. package/src/page-html/page-styles.js +22 -1
package/dist/247420.js CHANGED
@@ -183,8 +183,29 @@ ${a?`<meta property="og:image" content="${a}">`:""}
183
183
  ${i?`<meta name="twitter:site" content="${i}">`:""}
184
184
  ${a?`<meta name="twitter:image" content="${a}">`:""}`;if(n.ldJson!==!1&&(n.description||r)){let m=JSON.stringify({"@context":"https://schema.org","@type":"WebSite",name:e,url:n.url||"",description:n.description||"",inLanguage:n.lang||"en"}).replace(/</g,"\\u003c");p+=`
185
185
  <script type="application/ld+json">${m}<\/script>`}return p}function Am({faviconHref:e,faviconGlyph:t}){return e?`<link rel="icon" href="${Be(e)}">`:t?`<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctext y='26' font-size='26'%3E${encodeURIComponent(t)}%3C/text%3E%3C/svg%3E">`:""}function Tm({cssHref:e,pkgVersion:t}){return e?`<link rel="stylesheet" href="${e}">`:`<link rel="stylesheet" href="https://unpkg.com/anentrypoint-design@${t}/dist/247420.css">`}var Rm=`
186
- .app-stage { width: 100%; max-width: var(--stage-wide, min(96vw, 1440px)); margin-inline: auto; padding: var(--space-6, 48px) var(--space-4, 24px) var(--space-8, 96px); display: grid; gap: var(--space-6, 48px); box-sizing: border-box }
186
+ .app-stage { width: 100%; max-width: var(--stage-wide, min(96%, 1600px)); margin-inline: auto; padding: var(--space-6, 48px) var(--space-4, 24px) var(--space-8, 96px); display: grid; gap: var(--space-6, 48px); box-sizing: border-box }
187
187
  @media (max-width: 768px) { .app-stage { padding: var(--space-4, 24px) var(--space-3, 16px) var(--space-6, 48px); gap: var(--space-5, 32px) } }
188
+ /* Tier movements \u2014 the stage's uniform gap is deliberately overridden here.
189
+ Panels inside one tier sit tight (--space-3, 16px) because they are peers;
190
+ between tiers that reopens to --space-5 on top of the stage's own --space-6,
191
+ so the three movements read as distinct instead of one repeating slab. */
192
+ .app-stage > .ds-tier { display: grid; gap: var(--space-3, 16px) }
193
+ .app-stage > .ds-tier + .ds-tier { margin-top: var(--space-5, 32px) }
194
+ .ds-tier-head { display: grid; gap: var(--space-2, 8px); margin-bottom: var(--space-1, 4px); justify-items: start }
195
+ /* The tier label is an h2 so the three movements are real landmarks in the
196
+ accessibility tree; it keeps the .eyebrow voice, so the UA heading margin
197
+ and size are reset back onto the mono kicker scale. */
198
+ .ds-tier-head > h2.eyebrow { margin: 0; font-size: var(--fs-tiny, 11px); line-height: 1.2 }
199
+ .ds-tier-lede { margin: 0; max-width: var(--measure, 68ch); color: var(--fg-3); font-size: var(--fs-sm, 15px) }
200
+ /* The lead tier carries the accent spine so the primary path is visible at a
201
+ squint; supporting tiers stay unmarked rather than competing. The head div
202
+ is the tier's first child, so the marker is an explicit class rather than a
203
+ positional :first-of-type, which would not match past it. */
204
+ .ds-tier-lead { border-radius: 0 var(--r-2, 14px) var(--r-2, 14px) 0; padding-left: calc(var(--space-3, 16px) + var(--bw-chunk, 6px)); position: relative }
205
+ .ds-tier-lead::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: var(--bw-chunk, 6px); background: var(--accent); border-radius: var(--bw-chunk, 6px) 0 0 var(--bw-chunk, 6px) }
206
+ /* Tertiary tier reads at prose weight: quieter rows, no panel fill competition. */
207
+ .ds-tier-read .panel { background: var(--panel-1, var(--bg)) }
208
+ .ds-tier-read .row .meta { color: var(--fg-3) }
188
209
  .page-body > :first-child { margin-top: 0 }
189
210
  .page-body h1 { margin-top: 0 } .page-body h2 { margin-top: var(--space-5, 32px) } .page-body h3 { margin-top: var(--space-4, 24px) }
190
211
  .page-body > * + * { margin-top: var(--space-3, 16px) }
@@ -271,10 +292,10 @@ function examplesNode(examples) {
271
292
  return C.Section({
272
293
  title: 'explore',
273
294
  children: examples.map((e, i) => {
274
- const kids = [
275
- h('span', { key: 'c', class: 'code' }, String(i + 1).padStart(2, '0')),
276
- h('span', { key: 't', class: 'title' }, String(e.label || e.name || e.href || '')),
277
- ];
295
+ const code = e.code == null ? '' : String(e.code).trim();
296
+ const kids = [];
297
+ if (code) kids.push(h('span', { key: 'c', class: 'code' }, code));
298
+ kids.push(h('span', { key: 't', class: 'title' }, String(e.label || e.name || e.href || '')));
278
299
  if (e.desc) kids.push(h('span', { key: 'm', class: 'meta dim' }, ' \u2014 ' + e.desc));
279
300
  kids.push(h('span', { key: 'a', class: 'ds-row-arrow' }, '->'));
280
301
  return h('a', { key: i, class: 'row', href: e.href || '#' }, ...kids);
@@ -286,10 +307,10 @@ function panelNode(panel, idx) {
286
307
  const items = Array.isArray(panel.items) ? panel.items : [];
287
308
  if (!items.length) return null;
288
309
  const rows = items.map((it, i) => {
289
- const kids = [
290
- h('span', { key: 'c', class: 'code' }, String(it.code || String(i + 1).padStart(2, '0'))),
291
- h('span', { key: 't', class: 'title' }, String(it.title || it.name || '')),
292
- ];
310
+ const code = it.code == null ? '' : String(it.code).trim();
311
+ const kids = [];
312
+ if (code) kids.push(h('span', { key: 'c', class: 'code' }, code));
313
+ kids.push(h('span', { key: 't', class: 'title' }, String(it.title || it.name || '')));
293
314
  if (it.sub || it.desc) kids.push(h('span', { key: 'm', class: 'meta dim' }, ' \u2014 ' + (it.sub || it.desc)));
294
315
  kids.push(h('span', { key: 'a', class: 'ds-row-arrow' }, it.meta || '->'));
295
316
  return h('a', { key: i, class: 'row', href: it.href || '#' }, ...kids);
@@ -339,13 +360,42 @@ function __md(md) {
339
360
 
340
361
  const bodyNode = data.bodyHtml ? C.Section({ children: h('div', { class: 'page-body', innerHTML: data.bodyHtml }) }) : null;
341
362
 
363
+ function tierNode(tier, children) {
364
+ const kids = children.filter(Boolean);
365
+ if (!kids.length) return null;
366
+ const labelId = 'tier-' + tier.key + '-label';
367
+ const head = h('div', { key: 'h', class: 'ds-tier-head' },
368
+ h('h2', { class: 'eyebrow', id: labelId }, tier.label),
369
+ tier.lede ? h('p', { class: 'ds-tier-lede' }, tier.lede) : null,
370
+ );
371
+ return h('section', { key: tier.key, class: 'ds-tier ds-tier-' + tier.key, id: tier.key, 'aria-labelledby': labelId }, head, ...kids);
372
+ }
373
+
374
+ const panelsById = new Map((data.panels || []).map((p) => [p.id || p.title || p.name || '', p]));
375
+ const takePanel = (id) => { const p = panelsById.get(id); if (p) panelsById.delete(id); return p ? panelNode(p) : null; };
376
+
377
+ const TIERS = [
378
+ { key: 'open', label: 'open', lede: 'browse and try the system running.', ids: ['kits', 'previews', 'decks'], extra: () => [examplesNode(data.examples)] },
379
+ { key: 'ships', label: 'ships', lede: 'what the package contains.', ids: ['file_browser', 'desktop_os', 'web_components', 'api_exports'], extra: () => [] },
380
+ { key: 'read', label: 'read', lede: 'understand the rules behind it.', ids: ['docs', 'features'], extra: () => [quickstartNode(data.quickstart)] },
381
+ ];
382
+
383
+ const tierNodes = TIERS.map((t) => {
384
+ const kids = [...t.ids.map(takePanel), ...t.extra()].filter(Boolean);
385
+ if (t.key === 'open' && kids.length) {
386
+ const lead = kids[0];
387
+ if (lead.props) lead.props.class = (lead.props.class || '') + ' ds-tier-lead';
388
+ }
389
+ return tierNode(t, kids);
390
+ });
391
+ const leftoverPanels = [...panelsById.values()].map(panelNode);
392
+
342
393
  const mainChildren = [
343
394
  heroNode(data.hero),
344
395
  marqueeNode(data.marquee),
345
396
  ...data.sections.map(sectionNode),
346
- ...(data.panels || []).map(panelNode),
347
- quickstartNode(data.quickstart),
348
- examplesNode(data.examples),
397
+ ...tierNodes,
398
+ ...leftoverPanels,
349
399
  bodyNode,
350
400
  ].filter(Boolean);
351
401