chore(catalog): remove internal source markers

This commit is contained in:
Miguel Ángel
2026-08-13 21:10:12 -04:00
committed by GitHub
parent f7d2260f9d
commit 532caf7aa2
144 changed files with 1347 additions and 1425 deletions
+15 -15
View File
@@ -15,7 +15,7 @@ import { VariablesExplorer } from "/snippets/variables-explorer.jsx";
```html top-down-letters.html
<!--
Top-Down Letters - remocn typography primitive for HyperFrames.
Top-Down Letters - typography primitive for HyperFrames.
Paste the markup, CSS and script into a composition. Drive the timeline
integration from a paused GSAP timeline so renders remain deterministic.
@@ -44,7 +44,7 @@ import { VariablesExplorer } from "/snippets/variables-explorer.jsx";
-->
<div
class="hf-remocn-top-down-letters"
class="hf-catalog-top-down-letters"
data-composition-variables='[
{ "id": "text", "type": "string", "role": "content", "label": "Text", "description": "Word that cascades in. Every character becomes one letter span, in source order.", "default": "CASCADE" },
{ "id": "distance", "type": "enum", "role": "motion", "label": "Distance", "description": "Multiplies the drop the timeline drives, so the letters cover a shorter or longer run in the same time.", "default": "standard", "options": [{ "value": "close", "label": "Close" }, { "value": "standard", "label": "Standard" }, { "value": "far", "label": "Far" }] },
@@ -55,20 +55,20 @@ import { VariablesExplorer } from "/snippets/variables-explorer.jsx";
</div>
<style>
.hf-remocn-top-down-letters {
.hf-catalog-top-down-letters {
color: var(--hf-letters-color, #18181b);
font-family: Inter, system-ui, sans-serif;
font-weight: 900;
letter-spacing: -0.04em;
}
.hf-remocn-top-down-letters {
.hf-catalog-top-down-letters {
display: inline-flex;
gap: 1px;
font-size: 74px;
line-height: 0.9;
overflow: hidden;
}
.hf-remocn-top-down-letters span {
.hf-catalog-top-down-letters span {
display: inline-block;
transform: translateY(calc(var(--hf-char-y, 0px) * var(--hf-char-distance, 1)));
will-change: transform, opacity;
@@ -100,7 +100,7 @@ import { VariablesExplorer } from "/snippets/variables-explorer.jsx";
var tone = tones[pick(tones, vars.tone, "ink")];
var text = typeof vars.text === "string" && vars.text !== "" ? vars.text : null;
var roots = document.querySelectorAll(".hf-remocn-top-down-letters");
var roots = document.querySelectorAll(".hf-catalog-top-down-letters");
for (var i = 0; i < roots.length; i += 1) {
var root = roots[i];
root.style.setProperty("--hf-char-distance", String(distance));
@@ -124,7 +124,7 @@ import { VariablesExplorer } from "/snippets/variables-explorer.jsx";
<!--
Timeline integration:
tl.fromTo('.hf-remocn-top-down-letters span', { opacity: 0, '--hf-char-y': '-42px' }, { opacity: 1, '--hf-char-y': '0px', duration: 0.22, stagger: 0.035, ease: 'power3.out' }, startTime);
tl.fromTo('.hf-catalog-top-down-letters span', { opacity: 0, '--hf-char-y': '-42px' }, { opacity: 1, '--hf-char-y': '0px', duration: 0.22, stagger: 0.035, ease: 'power3.out' }, startTime);
-->
```
@@ -164,7 +164,7 @@ defaults, so this behaves exactly like the preview above until you change one:
```html
<!--
Top-Down Letters - remocn typography primitive for HyperFrames.
Top-Down Letters - typography primitive for HyperFrames.
Paste the markup, CSS and script into a composition. Drive the timeline
integration from a paused GSAP timeline so renders remain deterministic.
@@ -193,7 +193,7 @@ defaults, so this behaves exactly like the preview above until you change one:
-->
<div
class="hf-remocn-top-down-letters"
class="hf-catalog-top-down-letters"
data-composition-variables='[
{ "id": "text", "type": "string", "role": "content", "label": "Text", "description": "Word that cascades in. Every character becomes one letter span, in source order.", "default": "CASCADE" },
{ "id": "distance", "type": "enum", "role": "motion", "label": "Distance", "description": "Multiplies the drop the timeline drives, so the letters cover a shorter or longer run in the same time.", "default": "standard", "options": [{ "value": "close", "label": "Close" }, { "value": "standard", "label": "Standard" }, { "value": "far", "label": "Far" }] },
@@ -204,20 +204,20 @@ defaults, so this behaves exactly like the preview above until you change one:
</div>
<style>
.hf-remocn-top-down-letters {
.hf-catalog-top-down-letters {
color: var(--hf-letters-color, #18181b);
font-family: Inter, system-ui, sans-serif;
font-weight: 900;
letter-spacing: -0.04em;
}
.hf-remocn-top-down-letters {
.hf-catalog-top-down-letters {
display: inline-flex;
gap: 1px;
font-size: 74px;
line-height: 0.9;
overflow: hidden;
}
.hf-remocn-top-down-letters span {
.hf-catalog-top-down-letters span {
display: inline-block;
transform: translateY(calc(var(--hf-char-y, 0px) * var(--hf-char-distance, 1)));
will-change: transform, opacity;
@@ -249,7 +249,7 @@ defaults, so this behaves exactly like the preview above until you change one:
var tone = tones[pick(tones, vars.tone, "ink")];
var text = typeof vars.text === "string" && vars.text !== "" ? vars.text : null;
var roots = document.querySelectorAll(".hf-remocn-top-down-letters");
var roots = document.querySelectorAll(".hf-catalog-top-down-letters");
for (var i = 0; i < roots.length; i += 1) {
var root = roots[i];
root.style.setProperty("--hf-char-distance", String(distance));
@@ -273,7 +273,7 @@ defaults, so this behaves exactly like the preview above until you change one:
<!--
Timeline integration:
tl.fromTo('.hf-remocn-top-down-letters span', { opacity: 0, '--hf-char-y': '-42px' }, { opacity: 1, '--hf-char-y': '0px', duration: 0.22, stagger: 0.035, ease: 'power3.out' }, startTime);
tl.fromTo('.hf-catalog-top-down-letters span', { opacity: 0, '--hf-char-y': '-42px' }, { opacity: 1, '--hf-char-y': '0px', duration: 0.22, stagger: 0.035, ease: 'power3.out' }, startTime);
-->
```
@@ -285,7 +285,7 @@ Open `compositions/components/top-down-letters.html` and paste its contents into
{/* hf:generated-footer */}
Tagged `video-primitive` `motion-primitive` `remocn-port` `typography`.
Tagged `video-primitive` `motion-primitive` `typography`.
## Related topics