rebuild hrm

This commit is contained in:
2026-04-13 09:30:59 +08:00
parent 44a98495ab
commit cd31c74da8
12034 changed files with 548007 additions and 451275 deletions

View File

@@ -61,6 +61,10 @@ export type Rule<D = Declaration, M = MediaQuery> = | {
type: "nesting";
value: NestingRule<D, M>;
}
| {
type: "nested-declarations";
value: NestedDeclarationsRule<D>;
}
| {
type: "viewport";
value: ViewportRule<D>;
@@ -6860,6 +6864,12 @@ export type PseudoElement =
| {
kind: "first-letter";
}
| {
kind: "details-content";
}
| {
kind: "target-text";
}
| {
kind: "selection";
vendorPrefix: VendorPrefix;
@@ -7453,9 +7463,13 @@ export type ContainerSizeFeatureId = "width" | "height" | "inline-size" | "block
* Represents a style query within a container condition.
*/
export type StyleQuery<D = Declaration> = | {
type: "feature";
type: "declaration";
value: D;
}
| {
type: "property";
value: PropertyId;
}
| {
type: "not";
value: StyleQuery<D>;
@@ -9513,6 +9527,19 @@ export interface NestingRule<D = Declaration, M = MediaQuery> {
*/
style: StyleRule<D, M>;
}
/**
* A [nested declarations](https://drafts.csswg.org/css-nesting/#nested-declarations-rule) rule.
*/
export interface NestedDeclarationsRule<D = Declaration> {
/**
* The style rule that defines the selector and declarations for the `@nest` rule.
*/
declarations: DeclarationBlock<D>;
/**
* The location of the rule in the source file.
*/
loc: Location2;
}
/**
* A [@viewport](https://drafts.csswg.org/css-device-adapt/#atviewport-rule) rule.
*/

View File

@@ -62,6 +62,10 @@ export type Rule<D = Declaration, M = MediaQuery> =
type: "nesting",
value: NestingRule<D, M>,
|}
| {|
type: "nested-declarations",
value: NestedDeclarationsRule<D>,
|}
| {|
type: "viewport",
value: ViewportRule<D>,
@@ -7224,6 +7228,12 @@ export type PseudoElement =
| {|
kind: "first-letter",
|}
| {|
kind: "details-content",
|}
| {|
kind: "target-text",
|}
| {|
kind: "selection",
vendorPrefix: VendorPrefix,
@@ -7842,9 +7852,13 @@ export type ContainerSizeFeatureId =
*/
export type StyleQuery<D = Declaration> =
| {|
type: "feature",
type: "declaration",
value: D,
|}
| {|
type: "property",
value: PropertyId,
|}
| {|
type: "not",
value: StyleQuery<D>,
@@ -10121,6 +10135,20 @@ export interface NestingRule<D = Declaration, M = MediaQuery> {
*/
style: StyleRule<D, M>;
}
/**
* A [nested declarations](https://drafts.csswg.org/css-nesting/#nested-declarations-rule) rule.
*/
export interface NestedDeclarationsRule<D = Declaration> {
/**
* The style rule that defines the selector and declarations for the `@nest` rule.
*/
declarations: DeclarationBlock<D>;
/**
* The location of the rule in the source file.
*/
loc: Location2;
}
/**
* A [@viewport](https://drafts.csswg.org/css-device-adapt/#atviewport-rule) rule.
*/

View File

@@ -1,6 +1,7 @@
let parts = [process.platform, process.arch];
if (process.platform === 'linux') {
const { MUSL, family } = require('detect-libc');
const { MUSL, familySync } = require('detect-libc');
const family = familySync();
if (family === MUSL) {
parts.push('musl');
} else if (process.arch === 'arm') {