@orangecheck/app-design 0.3.1 → 0.4.0
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/brand.d.mts +26 -4
- package/dist/brand.d.ts +26 -4
- package/dist/brand.js +342 -49
- package/dist/brand.js.map +1 -1
- package/dist/brand.mjs +341 -50
- package/dist/brand.mjs.map +1 -1
- package/dist/components.d.mts +43 -2
- package/dist/components.d.ts +43 -2
- package/dist/components.js +206 -0
- package/dist/components.js.map +1 -1
- package/dist/components.mjs +200 -1
- package/dist/components.mjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +547 -49
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +539 -50
- package/dist/index.mjs.map +1 -1
- package/dist/styles/motion.css +52 -0
- package/dist/styles/tokens.css +2 -0
- package/package.json +1 -1
package/dist/styles/motion.css
CHANGED
|
@@ -78,3 +78,55 @@
|
|
|
78
78
|
@utility oca-animate-pulse-dot {
|
|
79
79
|
animation: oca-pulse-dot 1.6s ease-in-out infinite;
|
|
80
80
|
}
|
|
81
|
+
|
|
82
|
+
/* ── Crowd story ──────────────────────────────────────────────────────────
|
|
83
|
+
A ScrollStory sets --p from 0 to 1. Each copy (--t) falls away just after
|
|
84
|
+
--p passes it; the real figures grow and their halo lights. */
|
|
85
|
+
[data-oc-app='ochk'] .oca-crowd-bot {
|
|
86
|
+
transform-box: fill-box;
|
|
87
|
+
transform-origin: 50% 100%;
|
|
88
|
+
opacity: clamp(0, calc(1 - (var(--p, 0) - var(--t)) * 7), 1);
|
|
89
|
+
transform: translateY(calc(clamp(0, (var(--p, 0) - var(--t)) * 7, 1) * 16px))
|
|
90
|
+
scale(calc(1 - clamp(0, (var(--p, 0) - var(--t)) * 7, 1) * 0.3));
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
[data-oc-app='ochk'] .oca-crowd-real {
|
|
94
|
+
transform-box: fill-box;
|
|
95
|
+
transform-origin: 50% 100%;
|
|
96
|
+
transform: scale(calc(1 + clamp(0, var(--p, 0) * 1.4 - 0.4, 1) * 0.45));
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
[data-oc-app='ochk'] .oca-crowd-halo {
|
|
100
|
+
opacity: clamp(0, calc(var(--p, 0) * 1.6 - 0.5), 1);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/* ── Reveal ───────────────────────────────────────────────────────────────
|
|
104
|
+
Set by Reveal only for content below the fold at mount, so nothing is
|
|
105
|
+
hidden without script and nothing above the fold flashes. */
|
|
106
|
+
[data-oc-app='ochk'] [data-reveal='pending'] {
|
|
107
|
+
opacity: 0;
|
|
108
|
+
transform: translateY(18px);
|
|
109
|
+
filter: blur(6px);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
[data-oc-app='ochk'] [data-reveal] {
|
|
113
|
+
transition:
|
|
114
|
+
opacity 800ms cubic-bezier(0.2, 0.7, 0.2, 1),
|
|
115
|
+
transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1),
|
|
116
|
+
filter 800ms cubic-bezier(0.2, 0.7, 0.2, 1);
|
|
117
|
+
transition-delay: var(--reveal-delay, 0ms);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
@keyframes oca-drift {
|
|
121
|
+
0%,
|
|
122
|
+
100% {
|
|
123
|
+
transform: translate3d(0, 0, 0);
|
|
124
|
+
}
|
|
125
|
+
50% {
|
|
126
|
+
transform: translate3d(0, -8px, 0);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
@utility oca-animate-drift {
|
|
131
|
+
animation: oca-drift 7s ease-in-out infinite;
|
|
132
|
+
}
|
package/dist/styles/tokens.css
CHANGED
|
@@ -104,6 +104,8 @@
|
|
|
104
104
|
--oc-signin-radius: 0.875rem;
|
|
105
105
|
--oc-signin-button-radius: 9999px;
|
|
106
106
|
--oc-signin-strong: 500;
|
|
107
|
+
/* Sentence-case labels carry no trailing arrow (auth-client ≥ 2.29). */
|
|
108
|
+
--oc-signin-arrow: none;
|
|
107
109
|
|
|
108
110
|
/* The deck has no shadows. Overlays get one, so a dialog still separates. */
|
|
109
111
|
--oc-shadow-2xs: none;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orangecheck/app-design",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "The ochk.app design system: tokens, type, the isometric check, halftone photography, primitives and app chrome. Its own system, scoped under data-oc-app=\"ochk\" so it never reaches the .ochk.io family sites.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"orangecheck",
|