@aleph-alpha/config-css 0.18.9 → 0.18.10

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/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## 0.18.10 (2025-10-17)
2
+
3
+ ### 🩹 Fixes
4
+
5
+ - **deps:** update dependency unocss-preset-animations to v1.3.0
6
+
7
+ ### ❤️ Thank You
8
+
9
+ - Renovatebot
10
+
1
11
  ## 0.18.9 (2025-10-17)
2
12
 
3
13
  ### 🧱 Updated Dependencies
package/dist/index.js CHANGED
@@ -508,7 +508,9 @@ const q = "0", x = "0", v = "30deg", mr = "100%", g = "(t|b|l|r|top|bottom|left|
508
508
  ];
509
509
  function ur(r) {
510
510
  const { unit: i = "ms" } = r, e = (t) => ({
511
- "animation-duration": r.duration ? `${r.duration}${i}` : t.duration?.DEFAULT,
511
+ // theme.duration?.DEFAULT is undefined if `presetWind4.preflights.theme.mode` is 'on-demand' by default
512
+ // so we fallback to '150ms' if theme.duration?.DEFAULT is undefined
513
+ "animation-duration": r.duration ? `${r.duration}${i}` : t.duration?.DEFAULT || "150ms",
512
514
  ...r.delay && { "animation-delay": `${r.delay}${i}` },
513
515
  ...r.direction && { "animation-direction": r.direction },
514
516
  ...r.fillMode && { "animation-fill-mode": r.fillMode },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aleph-alpha/config-css",
3
3
  "license": "Apache-2.0",
4
- "version": "0.18.9",
4
+ "version": "0.18.10",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
7
7
  "prettier": "@aleph-alpha/prettier-config-frontend",
@@ -18,14 +18,14 @@
18
18
  "@unocss/preset-legacy-compat": "66.5.3",
19
19
  "token-transformer": "0.0.33",
20
20
  "unocss": "66.4.1",
21
- "unocss-preset-animations": "1.2.1",
21
+ "unocss-preset-animations": "1.3.0",
22
22
  "unocss-preset-theme": "0.14.1"
23
23
  },
24
24
  "devDependencies": {
25
25
  "style-dictionary": "^4.0.1",
26
26
  "vite-plugin-dts": "^4.0.0",
27
- "@aleph-alpha/eslint-config-frontend": "0.3.62",
28
- "@aleph-alpha/prettier-config-frontend": "0.2.1"
27
+ "@aleph-alpha/prettier-config-frontend": "0.2.1",
28
+ "@aleph-alpha/eslint-config-frontend": "0.3.62"
29
29
  },
30
30
  "scripts": {
31
31
  "transform:global": "npx token-transformer ./tokens.json ./transformed-tokens/global.json global,\"Spark Border Radius/Mode 1\",\"Spark Spacings/Mode 1\",\"Spark Text/Mode 1\" \"Spark Colors/Light mode/primitives\" --throwErrorWhenNotResolved",