@master/internal-site 0.2.3 → 0.2.5
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/dist/astro.mjs +1868 -8
- package/dist/{localization-LfIbIysE.mjs → localization-IeZXkrNw.mjs} +11 -2
- package/dist/localization.mjs +1 -1
- package/package.json +3 -2
- package/src/astro/image-variants.ts +96 -0
- package/src/astro/index.ts +14 -4
- package/src/astro/island-scripts.ts +31 -0
- package/src/astro/site-translations.ts +31 -0
- package/src/astro/style-assets.ts +2 -2
- package/src/astro/svelte-client.ts +13 -0
- package/src/docs-shell/components/Image.svelte +7 -4
- package/src/docs-shell/components/SearchButton.svelte +5 -3
- package/src/docs-shell/components/SearchDialog.svelte +47 -161
- package/src/docs-shell/components/SearchDialogPanel.svelte +182 -0
- package/src/docs-shell/contexts/search.ts +8 -0
- package/src/docs-shell/contexts/theme-mode.svelte.ts +6 -1
- package/src/docs-shell/scripts/code.ts +9 -4
- package/src/docs-shell/site-dictionary.ts +36 -0
- package/src/docs-shell/types/StaticImage.ts +2 -0
- package/src/examples/components/ArticleTransitionScene.svelte +16 -14
- package/src/home/home-lamp.ts +35 -13
- package/src/home/icons/artwork/render-prerender-dark.webp +0 -0
- package/src/home/icons/artwork/render-prerender-light.webp +0 -0
- package/src/home/icons/artwork/source.json +6 -0
- package/src/home/icons/artwork.ts +3 -0
- package/src/home/icons/catalog.ts +9 -1
- package/src/home/icons/render-prerender.svg +12 -0
- package/src/layouts/Document.astro +28 -11
- package/src/scripts/localization.ts +13 -4
- package/src/styles/blog-article.css +5 -4
- package/src/styles/system/DESIGN.md +1 -1
|
@@ -313,12 +313,13 @@
|
|
|
313
313
|
* clear of the rails and their rulers. Narrower (below a 1392px window), the contents disclosure the post places in
|
|
314
314
|
* its text stands in.
|
|
315
315
|
*/
|
|
316
|
-
.
|
|
316
|
+
/* The article owns visibility even when the shared .ui-toc stylesheet loads later. */
|
|
317
|
+
.blog-article-contents.ui-toc {
|
|
317
318
|
display: none;
|
|
318
319
|
}
|
|
319
320
|
|
|
320
321
|
@container blog-article (width >= 80rem) {
|
|
321
|
-
.blog-article-contents {
|
|
322
|
+
.blog-article-contents.ui-toc {
|
|
322
323
|
/* Its ticks start on the header logo's edge, without the documentation rail's inset, so the titles keep their
|
|
323
324
|
room beside the wide frame; air is kept before the left ruler (2rem outside the frame). The caption sits on
|
|
324
325
|
the first line of text. */
|
|
@@ -366,7 +367,7 @@
|
|
|
366
367
|
}
|
|
367
368
|
|
|
368
369
|
@container blog-article (width >= 88rem) {
|
|
369
|
-
.blog-article-contents {
|
|
370
|
+
.blog-article-contents.ui-toc {
|
|
370
371
|
--air: 2.5rem;
|
|
371
372
|
}
|
|
372
373
|
}
|
|
@@ -613,7 +614,7 @@
|
|
|
613
614
|
background: none;
|
|
614
615
|
}
|
|
615
616
|
|
|
616
|
-
.blog-article-contents,
|
|
617
|
+
.blog-article-contents.ui-toc,
|
|
617
618
|
.blog-article-end,
|
|
618
619
|
.blog-article-footer {
|
|
619
620
|
display: none;
|
|
@@ -27,7 +27,7 @@ Pages load foundation → interface → documents → component styles in that o
|
|
|
27
27
|
|
|
28
28
|
MDX imports only the Markdown mappings and built-in JSX components used by its transformed AST. The legacy `markdownComponents` export remains available to explicit consumers. Do not restore its blanket style side effects or substitute a runtime registry. Nested MDX keeps its own static imports.
|
|
29
29
|
|
|
30
|
-
The shared Astro build integration flattens only unconditional same-directory compiler fragments, preserving order and repeated occurrences. Entries with unresolved imports stay intact. It combines adjacent plain stylesheet links only when their complete route usage is identical; foundation, interface and documents remain separate. Original assets remain available for JS references. This changes delivery, never
|
|
30
|
+
The shared Astro build integration flattens only unconditional same-directory compiler fragments, preserving order and repeated occurrences. Entries with unresolved imports stay intact. It combines adjacent plain stylesheet links only when their complete route usage is identical; foundation, interface and documents remain separate. Original assets remain available for JS references. This changes delivery, never the pre-rendered Master CSS of a page.
|
|
31
31
|
|
|
32
32
|
Use native classes for roles, tokens for shared semantic values, mixins for repeated declarations, and utilities for local decisions. Keep global native pruning disabled. Explicit opt-in currently covers `menu`, `logos`, `scroll` and `checks`; their finite native classes are present in shared sources. Product homepage rules opt in in the product repository, with full literal class maps for dynamic states. Other files retain native rules until their states and dependency closure can be proven. A package must opt in at its own source. Coverage alone cannot justify removing a rule.
|
|
33
33
|
|