@torpor/view 0.4.17 → 0.4.18
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/compile.cjs +1 -1
- package/dist/compile.mjs +1 -1
- package/dist/compile.mjs.map +1 -1
- package/dist/dev.d.cts.map +1 -1
- package/dist/dev.d.mts.map +1 -1
- package/dist/devContext-CQ8RhBX-.mjs.map +1 -1
- package/dist/formatText-BNP3P38F.d.cts.map +1 -1
- package/dist/formatText-D6Ov8Ub0.d.mts.map +1 -1
- package/dist/{formatText-B8u71S_K.mjs → formatText-DTIRmc3X.mjs} +23 -4
- package/dist/formatText-DTIRmc3X.mjs.map +1 -0
- package/dist/{formatText--9zsK5Nq.cjs → formatText-Dhl2O0Ee.cjs} +39 -2
- package/dist/index.cjs +14 -30
- package/dist/index.mjs +2 -18
- package/dist/index.mjs.map +1 -1
- package/dist/ssr.cjs +1 -1
- package/dist/ssr.mjs +1 -1
- package/package.json +1 -1
- package/dist/formatText-B8u71S_K.mjs.map +0 -1
package/dist/compile.cjs
CHANGED
|
@@ -3615,7 +3615,7 @@ function scopeStylesOnNode(node, selectors) {
|
|
|
3615
3615
|
if (isParentNode(node)) for (let child of node.children) scopeStylesOnNode(child, selectors);
|
|
3616
3616
|
}
|
|
3617
3617
|
function collectStyleSelectors(block, selectors) {
|
|
3618
|
-
for (let s of block.selector.split(/[\s*,>+~]/)) selectors.push(s);
|
|
3618
|
+
for (let s of block.selector.split(/[\s*,>+~[\]]/)) selectors.push(s);
|
|
3619
3619
|
}
|
|
3620
3620
|
|
|
3621
3621
|
//#endregion
|
package/dist/compile.mjs
CHANGED
|
@@ -3614,7 +3614,7 @@ function scopeStylesOnNode(node, selectors) {
|
|
|
3614
3614
|
if (isParentNode(node)) for (let child of node.children) scopeStylesOnNode(child, selectors);
|
|
3615
3615
|
}
|
|
3616
3616
|
function collectStyleSelectors(block, selectors) {
|
|
3617
|
-
for (let s of block.selector.split(/[\s*,>+~]/)) selectors.push(s);
|
|
3617
|
+
for (let s of block.selector.split(/[\s*,>+~[\]]/)) selectors.push(s);
|
|
3618
3618
|
}
|
|
3619
3619
|
|
|
3620
3620
|
//#endregion
|