@csszyx/dynamic 0.10.8 → 0.10.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/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import '@csszyx/compiler/browser';
|
|
2
|
-
export { a as cleanup, d as dynamic, b as preloadManifest, e as purifySz } from './shared/dynamic.
|
|
2
|
+
export { a as cleanup, d as dynamic, b as preloadManifest, e as purifySz } from './shared/dynamic.2EVb-qef.mjs';
|
package/dist/react.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createContext, useEffect, createElement, useContext, useCallback } from 'react';
|
|
2
|
-
import { d as dynamic, p as preloadManifest, c as cleanup, r as resetManifest, s as setManifestUrl } from './shared/dynamic.
|
|
2
|
+
import { d as dynamic, p as preloadManifest, c as cleanup, r as resetManifest, s as setManifestUrl } from './shared/dynamic.2EVb-qef.mjs';
|
|
3
3
|
import '@csszyx/compiler/browser';
|
|
4
4
|
|
|
5
5
|
const CsszyxContext = createContext({
|
|
@@ -1087,9 +1087,8 @@ function resolveTier(className) {
|
|
|
1087
1087
|
return "base";
|
|
1088
1088
|
}
|
|
1089
1089
|
const prefix = className.slice(0, colonIdx);
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
return normalizedPrefix;
|
|
1090
|
+
if (TIER_SET.has(prefix)) {
|
|
1091
|
+
return prefix;
|
|
1093
1092
|
}
|
|
1094
1093
|
return "base";
|
|
1095
1094
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@csszyx/dynamic",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.10",
|
|
4
4
|
"description": "Runtime CSS injection engine for @csszyx — injects only CSS not already in the pre-built stylesheet",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"node": ">=22.12.0"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@csszyx/compiler": "0.10.
|
|
41
|
+
"@csszyx/compiler": "0.10.10"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"react": ">=17.0.0"
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@types/react": "^18.0.0",
|
|
54
54
|
"typescript": "^6.0.3",
|
|
55
55
|
"unbuild": "^3.6.1",
|
|
56
|
-
"vitest": "^4.1.
|
|
56
|
+
"vitest": "^4.1.9"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
59
|
"build": "unbuild",
|