@aleph-alpha/config-css 0.12.0 → 0.12.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/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## 0.12.1 (2025-05-04)
2
+
3
+ ### 🩹 Fixes
4
+
5
+ - **deps:** update unocss monorepo to v66.1.0
6
+
7
+ ### ❤️ Thank You
8
+
9
+ - Renovatebot
10
+
1
11
  ## 0.12.0 (2025-05-02)
2
12
 
3
13
  ### 🚀 Features
package/dist/index.js CHANGED
@@ -107,7 +107,7 @@ const z = [
107
107
  "revert",
108
108
  "revert-layer",
109
109
  "unset"
110
- ], u = /^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i, E = /^(-?\d*(?:\.\d+)?)$/, W = /^(px|[sld]?v[wh])$/i, U = {
110
+ ], p = /^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i, E = /^(-?\d*(?:\.\d+)?)$/, W = /^(px|[sld]?v[wh])$/i, U = {
111
111
  px: 1,
112
112
  vw: 100,
113
113
  vh: 100,
@@ -181,7 +181,7 @@ function c(e) {
181
181
  return +e.toFixed(10);
182
182
  }
183
183
  function k(e) {
184
- const i = e.match(u);
184
+ const i = e.match(p);
185
185
  if (!i)
186
186
  return;
187
187
  const [, r, t] = i, a = Number.parseFloat(r);
@@ -197,7 +197,7 @@ function B(e) {
197
197
  return;
198
198
  if (W.test(e))
199
199
  return `${U[e]}${e}`;
200
- const i = e.match(u);
200
+ const i = e.match(p);
201
201
  if (!i)
202
202
  return;
203
203
  const [, r, t] = i, a = Number.parseFloat(r);
@@ -207,7 +207,7 @@ function B(e) {
207
207
  function G(e) {
208
208
  if (W.test(e))
209
209
  return `${U[e]}${e}`;
210
- const i = e.match(u);
210
+ const i = e.match(p);
211
211
  if (!i)
212
212
  return;
213
213
  const [, r, t] = i, a = Number.parseFloat(r);
@@ -260,7 +260,7 @@ function A(e, i) {
260
260
  }
261
261
  return r.replace(/(url\(.*?\))/g, (f) => f.replace(/_/g, "\\_")).replace(/(^|[^\\])_/g, "$1 ").replace(/\\_/g, "_").replace(/(?:calc|clamp|max|min)\((.*)/g, (f) => {
262
262
  const s = [];
263
- return f.replace(/var\((--.+?)[,)]/g, (S, p) => (s.push(p), S.replace(p, "--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g, "$1 $2 ").replace(/--un-calc/g, () => s.shift());
263
+ return f.replace(/var\((--.+?)[,)]/g, (S, u) => (s.push(u), S.replace(u, "--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g, "$1 $2 ").replace(/--un-calc/g, () => s.shift());
264
264
  });
265
265
  }
266
266
  }
@@ -509,7 +509,7 @@ function be(e) {
509
509
  return o && f.push(o), `${r}(${f.filter(Boolean).join(", ")})`;
510
510
  });
511
511
  }
512
- const ue = (e = {}) => {
512
+ const pe = (e = {}) => {
513
513
  const {
514
514
  commaStyleColorFunction: i = !1,
515
515
  legacyColorSpace: r = !1
@@ -523,9 +523,9 @@ const ue = (e = {}) => {
523
523
  });
524
524
  }
525
525
  };
526
- }, pe = "0px 1px 6px 0px #0000001f", ve = {
526
+ }, ue = "0px 1px 6px 0px #0000001f", ve = {
527
527
  "pop-ups-and-modals": "0px 1px 20px 0px #0000001f",
528
- dropdowns: pe,
528
+ dropdowns: ue,
529
529
  "banner-and-snackbars": "0px 4px 24px 0px #00000033",
530
530
  "left-elevated-card": "5px 5px 6px 0px #0000001f",
531
531
  "right-elevated-card": "-5px 5px 6px 0px #0000001f"
@@ -939,7 +939,7 @@ const ue = (e = {}) => {
939
939
  }
940
940
  })
941
941
  ), e.push(
942
- ue({
942
+ pe({
943
943
  legacyColorSpace: !0
944
944
  })
945
945
  ), e;
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.12.0",
4
+ "version": "0.12.1",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
7
7
  "prettier": "@aleph-alpha/prettier-config-frontend",
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "@tokens-studio/sd-transforms": "1.3.0",
18
- "@unocss/preset-legacy-compat": "66.1.0-beta.13",
18
+ "@unocss/preset-legacy-compat": "66.1.0",
19
19
  "token-transformer": "0.0.33",
20
20
  "unocss": "^66.0.0",
21
21
  "unocss-preset-animations": "1.2.1",