@weft-js/warp-core 0.1.0 → 0.1.1

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @weft-js/warp-core
2
2
 
3
- > **Early release (0.1.0).** APIs will change between minor versions.
3
+ > **Early release (0.1.1).** APIs will change between minor versions.
4
4
 
5
5
  warp's behaviour, tokens and CSS, with no components: plain TypeScript over the DOM. `@weft-js/warp` builds its components
6
6
  on it. Nothing in the main entry imports a framework, so it works under weft, React, Solid or no framework at all.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@weft-js/warp-core",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "warp core: tokens, CSS and framework-agnostic behaviour",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -27,7 +27,7 @@
27
27
  "./styles/*": "./styles/*"
28
28
  },
29
29
  "peerDependencies": {
30
- "@weft-js/core": "^0.1.0"
30
+ "@weft-js/core": "^0.1.1"
31
31
  },
32
32
  "peerDependenciesMeta": {
33
33
  "weft": {
@@ -3,7 +3,8 @@
3
3
  /* -- keyframes ---------------------------------------------------------- */
4
4
  @keyframes warp-field-spin { to { rotate: 1turn; } }
5
5
  @keyframes warp-caret { 50% { opacity: 0; } }
6
- @keyframes warp-field-pop { from { scale: calc(1 - 0.18 * var(--warp-motion-scale)); opacity: 0.4; } }
6
+ /* scale only: a fade would leave the text under 4.5:1 while it lands, and tags already on the page play it at load */
7
+ @keyframes warp-field-pop { from { scale: calc(1 - 0.18 * var(--warp-motion-scale)); } }
7
8
  @keyframes warp-field-shake {
8
9
  15% { translate: calc(var(--_shk) * -6) 0; }
9
10
  35% { translate: calc(var(--_shk) * 5) 0; }