@kong/design-tokens 1.18.3-pr.613.857d684.0 → 1.18.3-pr.613.969ab5a.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.
@@ -36,8 +36,9 @@ const findAllTokenOccurrences = (value, token) => {
36
36
  // Enforces exact format: var(--token, $token) with exactly one space before comma
37
37
  const isTokenProperlyWrapped = (value, tokenIndex, token, cssToken) => {
38
38
  // Use regex to find all var(--token, $token) patterns
39
- // Escape special regex characters in tokens (though they should only have letters/digits/hyphens)
40
- const pattern = new RegExp(`var\\(${cssToken}, ${token}\\)`, 'g')
39
+ // Escape $ in token since it's a special regex character
40
+ const escapedToken = token.replace(/\$/g, '\\$')
41
+ const pattern = new RegExp(`var\\(${cssToken}, ${escapedToken}\\)`, 'g')
41
42
 
42
43
  // Find all matches
43
44
  let match
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Mon, 05 Jan 2026 20:33:50 GMT
3
+ * Generated on Mon, 05 Jan 2026 21:16:23 GMT
4
4
  *
5
5
  * Kong Design Tokens
6
6
  * GitHub: https://github.com/Kong/design-tokens
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Mon, 05 Jan 2026 20:33:50 GMT
3
+ * Generated on Mon, 05 Jan 2026 21:16:22 GMT
4
4
  *
5
5
  * Kong Design Tokens
6
6
  * GitHub: https://github.com/Kong/design-tokens
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Mon, 05 Jan 2026 20:33:50 GMT
3
+ * Generated on Mon, 05 Jan 2026 21:16:22 GMT
4
4
  *
5
5
  * Kong Design Tokens
6
6
  * GitHub: https://github.com/Kong/design-tokens
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Mon, 05 Jan 2026 20:33:50 GMT
3
+ * Generated on Mon, 05 Jan 2026 21:16:22 GMT
4
4
  *
5
5
  * Kong Design Tokens
6
6
  * GitHub: https://github.com/Kong/design-tokens
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Mon, 05 Jan 2026 20:33:50 GMT
3
+ * Generated on Mon, 05 Jan 2026 21:16:22 GMT
4
4
  *
5
5
  * Kong Design Tokens
6
6
  * GitHub: https://github.com/Kong/design-tokens
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly, this file was auto-generated.
3
- // Generated on Mon, 05 Jan 2026 20:33:50 GMT
3
+ // Generated on Mon, 05 Jan 2026 21:16:23 GMT
4
4
  //
5
5
  // Kong Design Tokens
6
6
  // GitHub: https://github.com/Kong/design-tokens
@@ -1,7 +1,7 @@
1
1
 
2
2
  /**
3
3
  * Do not edit directly, this file was auto-generated.
4
- * Generated on Mon, 05 Jan 2026 20:33:50 GMT
4
+ * Generated on Mon, 05 Jan 2026 21:16:23 GMT
5
5
  *
6
6
  * Kong Design Tokens
7
7
  * GitHub: https://github.com/Kong/design-tokens
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly, this file was auto-generated.
3
- // Generated on Mon, 05 Jan 2026 20:33:50 GMT
3
+ // Generated on Mon, 05 Jan 2026 21:16:23 GMT
4
4
  //
5
5
  // Kong Design Tokens
6
6
  // GitHub: https://github.com/Kong/design-tokens
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kong/design-tokens",
3
- "version": "1.18.3-pr.613.857d684.0",
3
+ "version": "1.18.3-pr.613.969ab5a.0",
4
4
  "description": "Kong UI Design Tokens and style dictionary",
5
5
  "type": "module",
6
6
  "scripts": {