mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-05 00:56:23 +00:00
chore(catalog): remove internal source markers
This commit is contained in:
@@ -15,7 +15,7 @@ import { VariablesExplorer } from "/snippets/variables-explorer.jsx";
|
||||
|
||||
```html shared-axis-z.html
|
||||
<!--
|
||||
Shared Axis Z - remocn typography primitive for HyperFrames.
|
||||
Shared Axis Z - 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.
|
||||
@@ -41,7 +41,7 @@ import { VariablesExplorer } from "/snippets/variables-explorer.jsx";
|
||||
-->
|
||||
|
||||
<div
|
||||
class="hf-remocn-shared-axis-z"
|
||||
class="hf-catalog-shared-axis-z"
|
||||
data-composition-variables='[
|
||||
{ "id": "direction", "type": "enum", "role": "motion", "label": "Direction", "description": "Which way the words travel along the z axis: in swells up from small, out settles down from large.", "default": "in", "options": [{ "value": "in", "label": "In" }, { "value": "out", "label": "Out" }] },
|
||||
{ "id": "depth", "type": "enum", "role": "motion", "label": "Depth", "description": "Scales how far the words start from their final size, so the push covers a shorter or longer run in the same time.", "default": "standard", "options": [{ "value": "shallow", "label": "Shallow" }, { "value": "standard", "label": "Standard" }, { "value": "deep", "label": "Deep" }] },
|
||||
@@ -52,19 +52,19 @@ import { VariablesExplorer } from "/snippets/variables-explorer.jsx";
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.hf-remocn-shared-axis-z {
|
||||
.hf-catalog-shared-axis-z {
|
||||
color: var(--hf-word-color, #18181b);
|
||||
font-family: Inter, system-ui, sans-serif;
|
||||
font-weight: 900;
|
||||
letter-spacing: -0.04em;
|
||||
}
|
||||
.hf-remocn-shared-axis-z {
|
||||
.hf-catalog-shared-axis-z {
|
||||
display: inline-flex;
|
||||
gap: 12px;
|
||||
font-size: 56px;
|
||||
line-height: 1;
|
||||
}
|
||||
.hf-remocn-shared-axis-z span {
|
||||
.hf-catalog-shared-axis-z span {
|
||||
display: inline-block;
|
||||
transform: translate(var(--hf-word-x, 0px), var(--hf-word-y, 0px))
|
||||
scale(calc(1 + (var(--hf-word-scale, 1) - 1) * var(--hf-word-depth, 1)));
|
||||
@@ -99,7 +99,7 @@ import { VariablesExplorer } from "/snippets/variables-explorer.jsx";
|
||||
var reach = reaches[pick(reaches, vars.depth, "standard")];
|
||||
var tone = tones[pick(tones, vars.tone, "ink")];
|
||||
|
||||
var roots = document.querySelectorAll(".hf-remocn-shared-axis-z");
|
||||
var roots = document.querySelectorAll(".hf-catalog-shared-axis-z");
|
||||
for (var i = 0; i < roots.length; i += 1) {
|
||||
roots[i].style.setProperty("--hf-word-depth", String(sign * reach));
|
||||
roots[i].style.setProperty("--hf-word-color", tone);
|
||||
@@ -109,7 +109,7 @@ import { VariablesExplorer } from "/snippets/variables-explorer.jsx";
|
||||
|
||||
<!--
|
||||
Timeline integration:
|
||||
tl.fromTo('.hf-remocn-shared-axis-z span', { opacity: 0, '--hf-word-scale': 0.72 }, { opacity: 1, '--hf-word-scale': 1, duration: 0.34, stagger: 0.06, ease: 'back.out(1.8)' }, startTime);
|
||||
tl.fromTo('.hf-catalog-shared-axis-z span', { opacity: 0, '--hf-word-scale': 0.72 }, { opacity: 1, '--hf-word-scale': 1, duration: 0.34, stagger: 0.06, ease: 'back.out(1.8)' }, startTime);
|
||||
-->
|
||||
```
|
||||
|
||||
@@ -149,7 +149,7 @@ defaults, so this behaves exactly like the preview above until you change one:
|
||||
|
||||
```html
|
||||
<!--
|
||||
Shared Axis Z - remocn typography primitive for HyperFrames.
|
||||
Shared Axis Z - 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.
|
||||
@@ -175,7 +175,7 @@ defaults, so this behaves exactly like the preview above until you change one:
|
||||
-->
|
||||
|
||||
<div
|
||||
class="hf-remocn-shared-axis-z"
|
||||
class="hf-catalog-shared-axis-z"
|
||||
data-composition-variables='[
|
||||
{ "id": "direction", "type": "enum", "role": "motion", "label": "Direction", "description": "Which way the words travel along the z axis: in swells up from small, out settles down from large.", "default": "in", "options": [{ "value": "in", "label": "In" }, { "value": "out", "label": "Out" }] },
|
||||
{ "id": "depth", "type": "enum", "role": "motion", "label": "Depth", "description": "Scales how far the words start from their final size, so the push covers a shorter or longer run in the same time.", "default": "standard", "options": [{ "value": "shallow", "label": "Shallow" }, { "value": "standard", "label": "Standard" }, { "value": "deep", "label": "Deep" }] },
|
||||
@@ -186,19 +186,19 @@ defaults, so this behaves exactly like the preview above until you change one:
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.hf-remocn-shared-axis-z {
|
||||
.hf-catalog-shared-axis-z {
|
||||
color: var(--hf-word-color, #18181b);
|
||||
font-family: Inter, system-ui, sans-serif;
|
||||
font-weight: 900;
|
||||
letter-spacing: -0.04em;
|
||||
}
|
||||
.hf-remocn-shared-axis-z {
|
||||
.hf-catalog-shared-axis-z {
|
||||
display: inline-flex;
|
||||
gap: 12px;
|
||||
font-size: 56px;
|
||||
line-height: 1;
|
||||
}
|
||||
.hf-remocn-shared-axis-z span {
|
||||
.hf-catalog-shared-axis-z span {
|
||||
display: inline-block;
|
||||
transform: translate(var(--hf-word-x, 0px), var(--hf-word-y, 0px))
|
||||
scale(calc(1 + (var(--hf-word-scale, 1) - 1) * var(--hf-word-depth, 1)));
|
||||
@@ -233,7 +233,7 @@ defaults, so this behaves exactly like the preview above until you change one:
|
||||
var reach = reaches[pick(reaches, vars.depth, "standard")];
|
||||
var tone = tones[pick(tones, vars.tone, "ink")];
|
||||
|
||||
var roots = document.querySelectorAll(".hf-remocn-shared-axis-z");
|
||||
var roots = document.querySelectorAll(".hf-catalog-shared-axis-z");
|
||||
for (var i = 0; i < roots.length; i += 1) {
|
||||
roots[i].style.setProperty("--hf-word-depth", String(sign * reach));
|
||||
roots[i].style.setProperty("--hf-word-color", tone);
|
||||
@@ -243,7 +243,7 @@ defaults, so this behaves exactly like the preview above until you change one:
|
||||
|
||||
<!--
|
||||
Timeline integration:
|
||||
tl.fromTo('.hf-remocn-shared-axis-z span', { opacity: 0, '--hf-word-scale': 0.72 }, { opacity: 1, '--hf-word-scale': 1, duration: 0.34, stagger: 0.06, ease: 'back.out(1.8)' }, startTime);
|
||||
tl.fromTo('.hf-catalog-shared-axis-z span', { opacity: 0, '--hf-word-scale': 0.72 }, { opacity: 1, '--hf-word-scale': 1, duration: 0.34, stagger: 0.06, ease: 'back.out(1.8)' }, startTime);
|
||||
-->
|
||||
```
|
||||
|
||||
@@ -255,7 +255,7 @@ Open `compositions/components/shared-axis-z.html` and paste its contents into yo
|
||||
|
||||
{/* hf:generated-footer */}
|
||||
|
||||
Tagged `motion-primitive` `remocn-port` `typography`.
|
||||
Tagged `motion-primitive` `typography`.
|
||||
|
||||
## Related topics
|
||||
|
||||
|
||||
Reference in New Issue
Block a user