domflax 0.1.4 → 0.2.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.
- package/README.md +47 -29
- package/dist/{chunk-EVENAJYI.js → chunk-EYQXQQQH.js} +3 -3
- package/dist/{chunk-3Z5ZWLXX.js → chunk-FPT4EJ6Q.js} +805 -1612
- package/dist/chunk-FPT4EJ6Q.js.map +1 -0
- package/dist/{chunk-5FWENSD2.js → chunk-JBM3MJRM.js} +149 -10
- package/dist/chunk-JBM3MJRM.js.map +1 -0
- package/dist/{chunk-H5KTGI3A.js → chunk-TTJEXWAC.js} +172 -5
- package/dist/chunk-TTJEXWAC.js.map +1 -0
- package/dist/cli.cjs +1032 -1640
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +30 -10
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +1116 -1627
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +226 -485
- package/dist/index.d.ts +226 -485
- package/dist/index.js +16 -36
- package/dist/{pattern-CP9_HpVK.d.cts → pattern-DotR_dHs.d.cts} +1 -1
- package/dist/pattern-kit.cjs +60 -1
- package/dist/pattern-kit.cjs.map +1 -1
- package/dist/pattern-kit.d.cts +2 -2
- package/dist/pattern-kit.d.ts +2 -2
- package/dist/pattern-kit.js +1 -1
- package/dist/{pattern-CYgsv-jO.d.ts → pattern-urm5uuwj.d.ts} +1 -1
- package/dist/{resolve-ops-Ci7LgYHC.d.ts → resolve-ops-D8aQina5.d.cts} +11 -0
- package/dist/{resolve-ops-Ci7LgYHC.d.cts → resolve-ops-D8aQina5.d.ts} +11 -0
- package/dist/verify.d.cts +1 -1
- package/dist/verify.d.ts +1 -1
- package/dist/webpack-loader.cjs +1014 -1578
- package/dist/webpack-loader.cjs.map +1 -1
- package/dist/webpack-loader.d.cts +8 -2
- package/dist/webpack-loader.d.ts +8 -2
- package/dist/webpack-loader.js +7 -4
- package/dist/webpack-loader.js.map +1 -1
- package/dist/worker.cjs +983 -1601
- package/dist/worker.cjs.map +1 -1
- package/dist/worker.js +3 -3
- package/package.json +1 -1
- package/dist/chunk-3Z5ZWLXX.js.map +0 -1
- package/dist/chunk-5FWENSD2.js.map +0 -1
- package/dist/chunk-H5KTGI3A.js.map +0 -1
- /package/dist/{chunk-EVENAJYI.js.map → chunk-EYQXQQQH.js.map} +0 -0
|
@@ -132,6 +132,17 @@ interface NodeMeta {
|
|
|
132
132
|
hasDynamicChildren: boolean;
|
|
133
133
|
isComponent: boolean;
|
|
134
134
|
hasDangerousHtml: boolean;
|
|
135
|
+
/**
|
|
136
|
+
* SAFETY (Layer 2): at least one of THIS element's static class tokens could not be resolved by the
|
|
137
|
+
* style provider — a real, non-empty token that yielded no declarations and is not a known no-op
|
|
138
|
+
* utility (e.g. a Tailwind-v4 project the v3 resolver cannot drive, a JS-hook class like `js-toggle`,
|
|
139
|
+
* or a typo). The element's TRUE style is therefore UNKNOWN, so it must be treated as OPAQUE for
|
|
140
|
+
* flatten purposes (never removed/unwrapped as "inert"). Set by the frontends from
|
|
141
|
+
* `ResolveResult.unknown`; distinct from an element that RESOLVED to no paint (all tokens known,
|
|
142
|
+
* collectively non-painting) which stays flatten-eligible. Compress is unaffected — it only rewrites
|
|
143
|
+
* the element's own RESOLVED tokens and preserves unknown ones verbatim.
|
|
144
|
+
*/
|
|
145
|
+
hasUnresolvedClasses: boolean;
|
|
135
146
|
targetedByCombinator: boolean;
|
|
136
147
|
targetedByStructuralPseudo: boolean;
|
|
137
148
|
selectorDependents: number;
|
|
@@ -132,6 +132,17 @@ interface NodeMeta {
|
|
|
132
132
|
hasDynamicChildren: boolean;
|
|
133
133
|
isComponent: boolean;
|
|
134
134
|
hasDangerousHtml: boolean;
|
|
135
|
+
/**
|
|
136
|
+
* SAFETY (Layer 2): at least one of THIS element's static class tokens could not be resolved by the
|
|
137
|
+
* style provider — a real, non-empty token that yielded no declarations and is not a known no-op
|
|
138
|
+
* utility (e.g. a Tailwind-v4 project the v3 resolver cannot drive, a JS-hook class like `js-toggle`,
|
|
139
|
+
* or a typo). The element's TRUE style is therefore UNKNOWN, so it must be treated as OPAQUE for
|
|
140
|
+
* flatten purposes (never removed/unwrapped as "inert"). Set by the frontends from
|
|
141
|
+
* `ResolveResult.unknown`; distinct from an element that RESOLVED to no paint (all tokens known,
|
|
142
|
+
* collectively non-painting) which stays flatten-eligible. Compress is unaffected — it only rewrites
|
|
143
|
+
* the element's own RESOLVED tokens and preserves unknown ones verbatim.
|
|
144
|
+
*/
|
|
145
|
+
hasUnresolvedClasses: boolean;
|
|
135
146
|
targetedByCombinator: boolean;
|
|
136
147
|
targetedByStructuralPseudo: boolean;
|
|
137
148
|
selectorDependents: number;
|
package/dist/verify.d.cts
CHANGED
package/dist/verify.d.ts
CHANGED