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 {
30
30
type : 'Rule' ;
31
31
prelude : SelectorList ;
32
32
block : Block ;
33
+ /** @internal */
33
34
metadata : {
34
35
parent_rule : null | Rule ;
35
36
has_local_selectors : boolean ;
@@ -60,6 +61,7 @@ export namespace Css {
60
61
* The `a`, `b` and `c` in `a b c {}`
61
62
*/
62
63
children : RelativeSelector [ ] ;
64
+ /** @internal */
63
65
metadata : {
64
66
rule : null | Rule ;
65
67
/** 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 {
80
82
* The `b:is(...)` in `> b:is(...)`
81
83
*/
82
84
selectors : SimpleSelector [ ] ;
85
+ /** @internal */
83
86
metadata : {
84
87
/**
85
88
* `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' {
1299
1299
type : 'Rule' ;
1300
1300
prelude : SelectorList ;
1301
1301
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
- } ;
1310
1302
}
1311
1303
1312
1304
/**
@@ -1329,11 +1321,6 @@ declare module 'svelte/compiler' {
1329
1321
* The `a`, `b` and `c` in `a b c {}`
1330
1322
*/
1331
1323
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
- } ;
1337
1324
}
1338
1325
1339
1326
/**
@@ -1349,16 +1336,6 @@ declare module 'svelte/compiler' {
1349
1336
* The `b:is(...)` in `> b:is(...)`
1350
1337
*/
1351
1338
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
- } ;
1362
1339
}
1363
1340
1364
1341
export interface TypeSelector extends BaseNode {
You can’t perform that action at this time.
0 commit comments