full site update

This commit is contained in:
2025-07-24 18:46:24 +02:00
parent bfe2b90d8d
commit 37a6e0ab31
6912 changed files with 540482 additions and 361712 deletions

32
node_modules/css-tree/cjs/syntax/atrule/container.cjs generated vendored Normal file
View File

@@ -0,0 +1,32 @@
'use strict';
const types = require('../../tokenizer/types.cjs');
// https://drafts.csswg.org/css-contain-3/#container-rule
// The keywords `none`, `and`, `not`, and `or` are excluded from the <custom-ident> above.
const nonContainerNameKeywords = new Set(['none', 'and', 'not', 'or']);
const container = {
parse: {
prelude() {
const children = this.createList();
if (this.tokenType === types.Ident) {
const name = this.substring(this.tokenStart, this.tokenEnd);
if (!nonContainerNameKeywords.has(name.toLowerCase())) {
children.push(this.Identifier());
}
}
children.push(this.Condition('container'));
return children;
},
block(nested = false) {
return this.Block(nested);
}
}
};
module.exports = container;

12
node_modules/css-tree/cjs/syntax/atrule/font-face.cjs generated vendored Normal file
View File

@@ -0,0 +1,12 @@
'use strict';
const fontFace = {
parse: {
prelude: null,
block() {
return this.Block(true);
}
}
};
module.exports = fontFace;

101
node_modules/css-tree/cjs/syntax/atrule/import.cjs generated vendored Normal file
View File

@@ -0,0 +1,101 @@
'use strict';
const types = require('../../tokenizer/types.cjs');
function parseWithFallback(parse, fallback) {
return this.parseWithFallback(
() => {
try {
return parse.call(this);
} finally {
this.skipSC();
if (this.lookupNonWSType(0) !== types.RightParenthesis) {
this.error();
}
}
},
fallback || (() => this.Raw(null, true))
);
}
const parseFunctions = {
layer() {
this.skipSC();
const children = this.createList();
const node = parseWithFallback.call(this, this.Layer);
if (node.type !== 'Raw' || node.value !== '') {
children.push(node);
}
return children;
},
supports() {
this.skipSC();
const children = this.createList();
const node = parseWithFallback.call(
this,
this.Declaration,
() => parseWithFallback.call(this, () => this.Condition('supports'))
);
if (node.type !== 'Raw' || node.value !== '') {
children.push(node);
}
return children;
}
};
const importAtrule = {
parse: {
prelude() {
const children = this.createList();
switch (this.tokenType) {
case types.String:
children.push(this.String());
break;
case types.Url:
case types.Function:
children.push(this.Url());
break;
default:
this.error('String or url() is expected');
}
this.skipSC();
if (this.tokenType === types.Ident &&
this.cmpStr(this.tokenStart, this.tokenEnd, 'layer')) {
children.push(this.Identifier());
} else if (
this.tokenType === types.Function &&
this.cmpStr(this.tokenStart, this.tokenEnd, 'layer(')
) {
children.push(this.Function(null, parseFunctions));
}
this.skipSC();
if (this.tokenType === types.Function &&
this.cmpStr(this.tokenStart, this.tokenEnd, 'supports(')) {
children.push(this.Function(null, parseFunctions));
}
if (this.lookupNonWSType(0) === types.Ident ||
this.lookupNonWSType(0) === types.LeftParenthesis) {
children.push(this.MediaQueryList());
}
return children;
},
block: null
}
};
module.exports = importAtrule;

27
node_modules/css-tree/cjs/syntax/atrule/index.cjs generated vendored Normal file
View File

@@ -0,0 +1,27 @@
'use strict';
const container = require('./container.cjs');
const fontFace = require('./font-face.cjs');
const _import = require('./import.cjs');
const layer = require('./layer.cjs');
const media = require('./media.cjs');
const nest = require('./nest.cjs');
const page = require('./page.cjs');
const scope = require('./scope.cjs');
const startingStyle = require('./starting-style.cjs');
const supports = require('./supports.cjs');
const atrule = {
container,
'font-face': fontFace,
import: _import,
layer,
media,
nest,
page,
scope,
'starting-style': startingStyle,
supports
};
module.exports = atrule;

16
node_modules/css-tree/cjs/syntax/atrule/layer.cjs generated vendored Normal file
View File

@@ -0,0 +1,16 @@
'use strict';
const layer = {
parse: {
prelude() {
return this.createSingleNodeList(
this.LayerList()
);
},
block() {
return this.Block(false);
}
}
};
module.exports = layer;

16
node_modules/css-tree/cjs/syntax/atrule/media.cjs generated vendored Normal file
View File

@@ -0,0 +1,16 @@
'use strict';
const media = {
parse: {
prelude() {
return this.createSingleNodeList(
this.MediaQueryList()
);
},
block(nested = false) {
return this.Block(nested);
}
}
};
module.exports = media;

16
node_modules/css-tree/cjs/syntax/atrule/nest.cjs generated vendored Normal file
View File

@@ -0,0 +1,16 @@
'use strict';
const nest = {
parse: {
prelude() {
return this.createSingleNodeList(
this.SelectorList()
);
},
block() {
return this.Block(true);
}
}
};
module.exports = nest;

16
node_modules/css-tree/cjs/syntax/atrule/page.cjs generated vendored Normal file
View File

@@ -0,0 +1,16 @@
'use strict';
const page = {
parse: {
prelude() {
return this.createSingleNodeList(
this.SelectorList()
);
},
block() {
return this.Block(true);
}
}
};
module.exports = page;

16
node_modules/css-tree/cjs/syntax/atrule/scope.cjs generated vendored Normal file
View File

@@ -0,0 +1,16 @@
'use strict';
const scope = {
parse: {
prelude() {
return this.createSingleNodeList(
this.Scope()
);
},
block(nested = false) {
return this.Block(nested);
}
}
};
module.exports = scope;

View File

@@ -0,0 +1,12 @@
'use strict';
const startingStyle = {
parse: {
prelude: null,
block(nested = false) {
return this.Block(nested);
}
}
};
module.exports = startingStyle;

16
node_modules/css-tree/cjs/syntax/atrule/supports.cjs generated vendored Normal file
View File

@@ -0,0 +1,16 @@
'use strict';
const supports = {
parse: {
prelude() {
return this.createSingleNodeList(
this.Condition('supports')
);
},
block(nested = false) {
return this.Block(nested);
}
}
};
module.exports = supports;