@csszyx/dynamic 0.8.0 → 0.9.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/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 } from './shared/dynamic.
|
|
2
|
+
export { a as cleanup, d as dynamic, b as preloadManifest } from './shared/dynamic.DJAOP9e8.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.DJAOP9e8.mjs';
|
|
3
3
|
import '@csszyx/compiler/browser';
|
|
4
4
|
|
|
5
5
|
const CsszyxContext = createContext({
|
|
@@ -510,7 +510,7 @@ const OPACITY_NAMED = {
|
|
|
510
510
|
};
|
|
511
511
|
const RADIUS_SIZES = /* @__PURE__ */ new Set(["sm", "md", "lg", "xl", "2xl", "3xl", "4xl"]);
|
|
512
512
|
function escapeCSSSelector(cls) {
|
|
513
|
-
return cls.replace(/[
|
|
513
|
+
return cls.replace(/[^\w-]/g, (c) => `\\${c}`);
|
|
514
514
|
}
|
|
515
515
|
const MIN_BREAKPOINTS = /* @__PURE__ */ new Set(["sm", "md", "lg", "xl", "2xl"]);
|
|
516
516
|
const MAX_BREAKPOINTS = /* @__PURE__ */ new Set(["max-sm", "max-md", "max-lg", "max-xl", "max-2xl"]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@csszyx/dynamic",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.1",
|
|
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
|
"main": "./dist/index.mjs",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"node": ">=22.12.0"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@csszyx/compiler": "0.
|
|
36
|
+
"@csszyx/compiler": "0.9.1"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"react": ">=18.0.0"
|