@wix/himalaya-cli 0.993.0 → 0.995.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.
|
Binary file
|
package/guides/tokens.md
CHANGED
|
@@ -15,7 +15,7 @@ one registry, mirrored byte-for-byte by the iOS + Android decoders.
|
|
|
15
15
|
| `radius` | name → number (px) | **required** |
|
|
16
16
|
| `shadows` | name → { opacity, radius, color?, x?, y? } | optional |
|
|
17
17
|
| `gradients` | name → { colors[], angle?, locations? } | optional (`colors` = token NAMES) |
|
|
18
|
-
| `motions` | name → { duration, easing? } | optional |
|
|
18
|
+
| `motions` | name → { duration, easing?, spring? } | optional |
|
|
19
19
|
| `materials` | name → { style, tint?, opacity?, blur? } | optional |
|
|
20
20
|
| `tabBar` / `drawer` / `sidebar` | nav-chrome style blocks | optional |
|
|
21
21
|
| `kit` | { material?, variant?, density?, motion? } | optional — the active design kit |
|
|
@@ -34,6 +34,15 @@ the missing field), so the bug passes web review and only breaks on device. CI g
|
|
|
34
34
|
A color is a hex string, OR a per-scheme object `{ light, dark?, highContrast? }`. In the
|
|
35
35
|
object form **`light` is required**; `dark`/`highContrast` fall back to it.
|
|
36
36
|
|
|
37
|
+
## Motion
|
|
38
|
+
|
|
39
|
+
`easing` is `linear`, `easeIn`, `easeOut`, `easeInOut`, `spring` or `emphasized` (Material 3's
|
|
40
|
+
emphasized curve). A `spring` may declare its physics as SwiftUI's two parameters —
|
|
41
|
+
`"spring": { "response": 0.5, "dampingFraction": 0.6 }` (period in seconds; 1 = no overshoot) —
|
|
42
|
+
and iOS, Android and the web then draw that same spring until it settles (`duration` no longer
|
|
43
|
+
bounds it; React Native keeps its own fixed entrance curve). Values are held to `response` 0.05–10 and
|
|
44
|
+
`dampingFraction` 0.1–4. Declare none and each keeps its own default spring.
|
|
45
|
+
|
|
37
46
|
## Baseline — copy this, then extend
|
|
38
47
|
|
|
39
48
|
The starter set `himi init` writes (complete, valid, minimal):
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.995.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "himi — the Himalaya authoring CLI. Build a Tier-5 content package on your own machine, push it to the production serve as a draft, preview it on web + Himi Player, and read worker logs back — the remote dev loop. Wraps @himalaya/serve-cli for transport.",
|
|
6
6
|
"keywords": [
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"artifactId": "himalaya-cli"
|
|
66
66
|
}
|
|
67
67
|
},
|
|
68
|
-
"falconPackageHash": "
|
|
68
|
+
"falconPackageHash": "5b0f23dafc9d3aeac20f9bc73a248437fbcc9e65b1a8a25e8bb80cac"
|
|
69
69
|
}
|