File tree Expand file tree Collapse file tree 2 files changed +3
-23
lines changed
Expand file tree Collapse file tree 2 files changed +3
-23
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ export namespace Css {
3030 type : 'Rule' ;
3131 prelude : SelectorList ;
3232 block : Block ;
33+ /** @internal */
3334 metadata : {
3435 parent_rule : null | Rule ;
3536 has_local_selectors : boolean ;
@@ -60,6 +61,7 @@ export namespace Css {
6061 * The `a`, `b` and `c` in `a b c {}`
6162 */
6263 children : RelativeSelector [ ] ;
64+ /** @internal */
6365 metadata : {
6466 rule : null | Rule ;
6567 /** True if this selector applies to an element. For global selectors, this is defined in css-analyze, for others in css-prune while scoping */
@@ -80,6 +82,7 @@ export namespace Css {
8082 * The `b:is(...)` in `> b:is(...)`
8183 */
8284 selectors : SimpleSelector [ ] ;
85+ /** @internal */
8386 metadata : {
8487 /**
8588 * `true` if the whole selector is unscoped, e.g. `:global(...)` or `:global` or `:global.x`.
Original file line number Diff line number Diff line change @@ -1299,14 +1299,6 @@ declare module 'svelte/compiler' {
12991299 type : 'Rule' ;
13001300 prelude : SelectorList ;
13011301 block : Block ;
1302- metadata : {
1303- parent_rule : null | Rule ;
1304- has_local_selectors : boolean ;
1305- /**
1306- * `true` if the rule contains a `:global` selector, and therefore everything inside should be unscoped
1307- */
1308- is_global_block : boolean ;
1309- } ;
13101302 }
13111303
13121304 /**
@@ -1329,11 +1321,6 @@ declare module 'svelte/compiler' {
13291321 * The `a`, `b` and `c` in `a b c {}`
13301322 */
13311323 children : RelativeSelector [ ] ;
1332- metadata : {
1333- rule : null | Rule ;
1334- /** True if this selector applies to an element. For global selectors, this is defined in css-analyze, for others in css-prune while scoping */
1335- used : boolean ;
1336- } ;
13371324 }
13381325
13391326 /**
@@ -1349,16 +1336,6 @@ declare module 'svelte/compiler' {
13491336 * The `b:is(...)` in `> b:is(...)`
13501337 */
13511338 selectors : SimpleSelector [ ] ;
1352- metadata : {
1353- /**
1354- * `true` if the whole selector is unscoped, e.g. `:global(...)` or `:global` or `:global.x`.
1355- * Selectors like `:global(...).x` are not considered global, because they still need scoping.
1356- */
1357- is_global : boolean ;
1358- /** `:root`, `:host`, `::view-transition`, or selectors after a `:global` */
1359- is_global_like : boolean ;
1360- scoped : boolean ;
1361- } ;
13621339 }
13631340
13641341 export interface TypeSelector extends BaseNode {
You can’t perform that action at this time.
0 commit comments