anentrypoint-design 0.0.441 → 0.0.445

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anentrypoint-design",
3
- "version": "0.0.441",
3
+ "version": "0.0.445",
4
4
  "description": "247420 design system SDK — webjsx + modified ripple-ui, single-file ESM bundle for reproducible use of the AnEntrypoint design.",
5
5
  "type": "module",
6
6
  "main": "./dist/247420.js",
@@ -190,8 +190,20 @@ h4, .t-h4 { font-family: var(--ff-display); font-size: var(--fs-h4); line-height
190
190
  }
191
191
  .ds-prose p { margin: 0 0 var(--space-4); }
192
192
  .ds-prose h1 { font-size: clamp(34px, 5.4cqi, 64px); margin-bottom: var(--space-3); }
193
- .ds-prose h2 { margin: var(--space-6) 0 var(--space-3); }
194
- .ds-prose h3 { margin: var(--space-5) 0 var(--space-2); font-size: var(--fs-lg); font-weight: 600; }
193
+ .ds-prose h2 { margin: var(--space-6) 0 var(--space-3); font-size: var(--fs-h3); }
194
+ .ds-prose h3 { margin: var(--space-5) 0 var(--space-2); font-size: var(--fs-h4); font-weight: 600; }
195
+ .ds-prose h4 { margin: var(--space-5) 0 var(--space-2); font-size: var(--fs-xl); font-weight: 600; }
196
+ .ds-prose hr { border: none; border-top: var(--bw-hair) solid var(--rule); margin: var(--space-6) 0; }
197
+ .ds-prose blockquote {
198
+ margin: var(--space-5) 0;
199
+ padding: var(--space-3) var(--space-4);
200
+ border-left: var(--bw-chunk, 3px) solid var(--panel-accent);
201
+ background: var(--panel-hover);
202
+ border-radius: var(--r-1);
203
+ color: var(--panel-text-2);
204
+ font-family: var(--ff-body);
205
+ }
206
+ .ds-prose blockquote p:last-child { margin-bottom: 0; }
195
207
  /* Closing line of an article ("end. reply by opening a pr."), set off from the
196
208
  body it terminates. Quieter and smaller than the prose around it: it takes
197
209
  the mono face and the --fg-3 tone the house uses for ancillary voices
@@ -7,8 +7,14 @@
7
7
  // and is not force-unified here.
8
8
  export { escapeHtml, escapeJson, extractArticle, rewriteLegacyLinks } from './html-utils.js';
9
9
 
10
+ import { createRequire } from 'node:module';
11
+ const require = createRequire(import.meta.url);
12
+ const { version } = require('../../../package.json');
13
+
10
14
  // Canonical unpkg URLs every theme.mjs's importmap/<link> points at, kept in
11
15
  // one place so a future SDK CDN path change is a single-file edit instead of
12
- // a 3-repo grep-and-replace.
13
- export const SDK_CSS_URL = 'https://unpkg.com/anentrypoint-design@latest/dist/247420.css';
14
- export const SDK_JS_URL = 'https://unpkg.com/anentrypoint-design@latest/dist/247420.js';
16
+ // a 3-repo grep-and-replace. Pinned to the exact installed package version
17
+ // (not @latest) so a consumer site's build serves what it actually built
18
+ // against, immune to unpkg's alias-level cache TTL.
19
+ export const SDK_CSS_URL = `https://unpkg.com/anentrypoint-design@${version}/dist/247420.css`;
20
+ export const SDK_JS_URL = `https://unpkg.com/anentrypoint-design@${version}/dist/247420.js`;