@usefragments/core 1.6.0 → 1.7.0
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/chunk-RANPUC6C.js +72 -0
- package/dist/chunk-RANPUC6C.js.map +1 -0
- package/dist/{chunk-WVFNDPM4.js → chunk-WNMWKUYG.js} +26 -14
- package/dist/chunk-WNMWKUYG.js.map +1 -0
- package/dist/codes/index.d.ts +1 -1
- package/dist/codes/index.js +1 -1
- package/dist/compiled-types/index.d.ts +1 -1
- package/dist/compiled-types/index.js +8 -0
- package/dist/generate/index.d.ts +1 -1
- package/dist/{governance-DxFipN5V.d.ts → governance-D9KtH-vg.d.ts} +9 -3
- package/dist/index.d.ts +165 -139
- package/dist/index.js +700 -201
- package/dist/index.js.map +1 -1
- package/dist/react-types.d.ts +1 -1
- package/dist/registry.d.ts +36 -36
- package/dist/schemas/index.d.ts +1 -1
- package/dist/test-utils.d.ts +1 -1
- package/package.json +2 -1
- package/src/agent-format.test.ts +13 -0
- package/src/agent-format.ts +9 -3
- package/src/codes/__tests__/codes.test.ts +0 -1
- package/src/codes/codes.ts +1 -2
- package/src/compiled-types/index.ts +81 -0
- package/src/compiled-types/parse.test.ts +47 -0
- package/src/facts/builders.ts +13 -0
- package/src/facts/compile.ts +13 -13
- package/src/facts/facts.test.ts +38 -1
- package/src/facts/index.ts +2 -0
- package/src/facts/types.ts +15 -0
- package/src/governance-integrity.test.ts +98 -1
- package/src/governance-integrity.ts +40 -20
- package/src/index.ts +8 -0
- package/src/rules/a11y-required-accessible-name.ts +175 -28
- package/src/rules/a11y-standard.ts +102 -0
- package/src/rules/a11y-utils.ts +7 -0
- package/src/rules/components-prefer-library.test.ts +75 -28
- package/src/rules/components-prefer-library.ts +35 -15
- package/src/rules/components-shadow-component.test.ts +21 -9
- package/src/rules/emit-gate.test.ts +74 -4
- package/src/rules/emit-gate.ts +24 -9
- package/src/rules/families.ts +1 -1
- package/src/rules/fix-availability.ts +1 -0
- package/src/rules/index.ts +12 -2
- package/src/rules/rules.test.ts +63 -7
- package/src/rules/tiers.ts +1 -0
- package/src/tokens/design-token-parser.test.ts +131 -0
- package/src/tokens/design-token-parser.ts +362 -49
- package/src/types.ts +2 -2
- package/dist/chunk-WVFNDPM4.js.map +0 -1
- package/dist/{index-DbkPE46t.d.ts → index-hZAlYCli.d.ts} +8 -8
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { F as Finding, A as AgentFormat, E as EvidenceGrade, a as FindingFix } from './index-
|
|
2
|
-
export { b as AGENT_FORMAT_SCHEMA_VERSION, c as AgentErrorEnvelope, d as AgentOutput, G as CanonicalGovernanceVerdict, e as EVIDENCE_ORDER, f as FindingReplaceClassTokenFix, g as FindingReplaceComponentFix, h as FindingReplaceImportFix, i as FindingReplacePropValueFix, j as FindingReplaceStyleValueFix, k as Fix, l as GovernanceVerdictMetadata, I as InspectClaim, m as InspectClaimTier, S as SuppressionDirective, V as ValidatorResult, n as Violation, o as agentErrorEnvelopeSchema, p as agentFormatSchema, q as agentIntegritySchema, r as agentOutputSchema, s as canBlock, t as factEvidenceSchema, u as factLocationSchema, v as findingFixSchema, w as findingReplaceClassTokenFixSchema, x as findingReplaceComponentFixSchema, y as findingReplaceImportFixSchema, z as findingReplacePropValueFixSchema, B as findingReplaceStyleValueFixSchema, C as findingSchema, D as fixSchema, H as governanceVerdictMetadataSchema, J as governanceVerdictSchema, K as normalizeFinding, L as normalizeSeverity, M as normalizeViolation, N as suppressionDirectiveSchema, O as validatorResultSchema, P as violationSchema } from './index-
|
|
1
|
+
import { F as Finding, A as AgentFormat, E as EvidenceGrade, a as FindingFix } from './index-hZAlYCli.js';
|
|
2
|
+
export { b as AGENT_FORMAT_SCHEMA_VERSION, c as AgentErrorEnvelope, d as AgentOutput, G as CanonicalGovernanceVerdict, e as EVIDENCE_ORDER, f as FindingReplaceClassTokenFix, g as FindingReplaceComponentFix, h as FindingReplaceImportFix, i as FindingReplacePropValueFix, j as FindingReplaceStyleValueFix, k as Fix, l as GovernanceVerdictMetadata, I as InspectClaim, m as InspectClaimTier, S as SuppressionDirective, V as ValidatorResult, n as Violation, o as agentErrorEnvelopeSchema, p as agentFormatSchema, q as agentIntegritySchema, r as agentOutputSchema, s as canBlock, t as factEvidenceSchema, u as factLocationSchema, v as findingFixSchema, w as findingReplaceClassTokenFixSchema, x as findingReplaceComponentFixSchema, y as findingReplaceImportFixSchema, z as findingReplacePropValueFixSchema, B as findingReplaceStyleValueFixSchema, C as findingSchema, D as fixSchema, H as governanceVerdictMetadataSchema, J as governanceVerdictSchema, K as normalizeFinding, L as normalizeSeverity, M as normalizeViolation, N as suppressionDirectiveSchema, O as validatorResultSchema, P as violationSchema } from './index-hZAlYCli.js';
|
|
3
3
|
import { Severity } from './severity.js';
|
|
4
4
|
export { SEVERITIES, SEVERITY_RANK, SEVERITY_WEIGHTS, SeverityLevel, compareSeverity, maxSeverity, severityLevel, severitySchema, sortBySeverity } from './severity.js';
|
|
5
5
|
export { BridgeViolationInput, CODES, CodeCategory, CodeLifecycle, EXPLAIN_URL_BASE, FuiCode, bridgeSourceViolation, bridgeSourceViolations, byCode, byRuleId, explainUrlForCode } from './codes/index.js';
|
|
6
|
-
import { c as ContractDomain, d as ContractCatalogInput, G as GovernanceSeverity, b as CompiledFragment, e as GovernedFragmentDefinition, R as ResolvedGovernedFragmentDefinition, f as GovernanceConfig, g as FragmentsConfig, T as TokenConfig, h as FragmentComponent, B as BlockDefinition, C as CompiledBlock, F as FragmentDefinition, a as FragmentDefinitionV2, S as StorybookFilterConfig, i as FigmaStringMapping, j as FigmaBooleanMapping, k as FigmaEnumMapping, l as FigmaInstanceMapping, m as FigmaChildrenMapping, n as FigmaTextContentMapping, o as RelationshipType, V as VariantRenderOptions, p as VariantLoader, q as CanonicalSource, r as CanonicalBridgeV1, s as ContractCanonicalMappingInput } from './governance-
|
|
7
|
-
export { A as AIMetadata, t as AccessibilityGovernanceBuilder, u as AppConfig, v as BaselineInfo, w as BoundingBox, x as CONTRACT_DOMAINS, y as CONTRACT_PREIMAGE_CAPABILITY_HEADER, z as CONTRACT_PREIMAGE_SCHEMA, D as CanonicalMappingStatus, E as CompiledFragmentsFile, H as
|
|
6
|
+
import { c as ContractDomain, d as ContractCatalogInput, G as GovernanceSeverity, b as CompiledFragment, e as GovernedFragmentDefinition, R as ResolvedGovernedFragmentDefinition, f as GovernanceConfig, g as FragmentsConfig, T as TokenConfig, h as FragmentComponent, B as BlockDefinition, C as CompiledBlock, F as FragmentDefinition, a as FragmentDefinitionV2, S as StorybookFilterConfig, i as FigmaStringMapping, j as FigmaBooleanMapping, k as FigmaEnumMapping, l as FigmaInstanceMapping, m as FigmaChildrenMapping, n as FigmaTextContentMapping, o as RelationshipType, V as VariantRenderOptions, p as VariantLoader, q as CanonicalSource, r as CanonicalBridgeV1, s as ContractCanonicalMappingInput } from './governance-D9KtH-vg.js';
|
|
7
|
+
export { A as AIMetadata, t as AccessibilityGovernanceBuilder, u as AppConfig, v as BaselineInfo, w as BoundingBox, x as CONTRACT_DOMAINS, y as CONTRACT_PREIMAGE_CAPABILITY_HEADER, z as CONTRACT_PREIMAGE_SCHEMA, D as CanonicalMappingStatus, E as CompiledFragmentsFile, H as CompiledFragmentsFileValidationError, I as CompiledRecipe, J as CompiledTokenData, K as CompiledTokenEntry, L as ComponentGovernanceBuilder, M as ComponentGovernanceRecord, N as ComponentRef, O as ComponentRelation, P as CompositionMetadata, Q as ContractComponentInput, U as ContractIdentityPin, W as ContractPolicyInput, X as ContractPreimage, Y as ContractPropMappingInput, Z as ContractTokenInput, _ as ContractWaiverInput, $ as ControlType, a0 as DesignSystemConfig, a1 as DiffResult, a2 as FigmaPropMapping, a3 as FragmentContract, a4 as FragmentExample, a5 as FragmentGenerated, a6 as FragmentGuidance, a7 as FragmentMeta, a8 as FragmentProvenance, a9 as FragmentUsage, aa as FragmentVariant, ab as GlobalGovernanceRecord, ac as GlobalJsxGovernanceRecord, ad as GlobalStyleGovernanceRecord, ae as GovernancePropValue, af as InspectConfig, ag as LocalCanonicalDeclaration, ah as LocalCanonicalResolveRule, ai as Manifest, aj as ObservedComponentUsage, ak as ObservedUsageProp, al as PlayFunction, am as PlayFunctionContext, an as PropDefinition, ao as PropGovernanceBuilder, ap as PropGovernanceOptions, aq as PropKey, ar as PropType, as as RecipeDefinition, at as RegistryOptions, au as RepoRelativePath, av as ScaleGovernanceRecord, aw as Screenshot, ax as ScreenshotConfig, ay as ScreenshotMetadata, az as ServiceConfig, aA as SnapshotConfig, aB as SnippetPolicyConfig, aC as Theme, aD as ThemeSeeds, aE as TokenSourceConfig, aF as TokenSourceFormat, aG as VerifyRequest, aH as VerifyResult, aI as Viewport, aJ as canonicalBridgeV1Schema, aK as componentGovernanceRecordSchema, aL as componentGovernanceRecordsSchema, aM as contractComponentsFromFragments, aN as contractPolicyFromGovernanceConfig, aO as diffContractDomains, aP as g, aQ as globalGovernanceRecordSchema, aR as globalJsxGovernanceRecordSchema, aS as globalStyleGovernanceRecordSchema, aT as governanceConfigSchema, aU as governanceConfigWithLocalCanonical, aV as governanceSeveritySchema, aW as isPresetSourcedRule, aX as localCanonicalContractMappings, aY as markPresetSourcedRules, aZ as normalizeGovernanceConfig, a_ as parseCompiledFragmentsFile, a$ as projectContractPreimage, b0 as scaleGovernanceRecordSchema, b1 as verifiedContractPreimageFromPin } from './governance-D9KtH-vg.js';
|
|
8
8
|
import { z } from 'zod';
|
|
9
9
|
import { RegistryArtifact, RegistryDependency, RegistryInstallReceipt } from './registry.js';
|
|
10
10
|
export { REGISTRY_ARTIFACT_SCHEMA_VERSION, REGISTRY_INSTALL_RECEIPT_SCHEMA_VERSION, REGISTRY_MANIFEST_SCHEMA_VERSION, RegistryArtifactInput, RegistryComponent, RegistryComponentExport, RegistryDependencyType, RegistryEntrypoint, RegistryFile, RegistryFileContent, RegistryFileInput, RegistryFileRole, RegistryInstallProfile, RegistryInstallReceiptComponent, RegistryInstallReceiptFile, RegistryManifest, RegistryManifestDraft, RegistrySource, assertValidRegistryArtifact, buildRegistryArtifact, buildRegistryFile, computeRegistryHash, finalizeRegistryManifest, hashRegistryFileContent, registryArtifactDigest, registryArtifactSchema, registryComponentExportSchema, registryComponentSchema, registryDependencySchema, registryDependencyTypeSchema, registryEntrypointSchema, registryFileContentSchema, registryFileRoleSchema, registryFileSchema, registryFileSize, registryInstallProfileSchema, registryInstallReceiptComponentSchema, registryInstallReceiptFileSchema, registryInstallReceiptSchema, registryManifestCanonicalPreimage, registryManifestDraftSchema, registryManifestSchema, registrySourceSchema } from './registry.js';
|
|
@@ -1083,6 +1083,19 @@ interface UsageTextChildFact extends BaseFact {
|
|
|
1083
1083
|
text: string;
|
|
1084
1084
|
index: number;
|
|
1085
1085
|
}
|
|
1086
|
+
/**
|
|
1087
|
+
* Framework-neutral summary of the rendered child content for one usage node.
|
|
1088
|
+
*
|
|
1089
|
+
* An adapter that supports semantic child analysis preserves its existing prop
|
|
1090
|
+
* facts and additionally emits exactly one summary per usage node, so rules do
|
|
1091
|
+
* not have to interpret React's `children`, Vue slots, or Svelte snippets
|
|
1092
|
+
* themselves. Adapters may add support independently.
|
|
1093
|
+
*/
|
|
1094
|
+
interface UsageChildContentFact extends BaseFact {
|
|
1095
|
+
kind: "usage_child_content";
|
|
1096
|
+
nodeId: FactId;
|
|
1097
|
+
content: "static-text" | "runtime" | "structural" | "empty";
|
|
1098
|
+
}
|
|
1086
1099
|
type ClassNameOrigin = "attribute" | "clsx" | "cn" | "classnames" | "twMerge" | "tw" | "cva-arg" | "template";
|
|
1087
1100
|
interface ClassNameLiteralFact extends BaseFact {
|
|
1088
1101
|
kind: "classname_literal";
|
|
@@ -1330,7 +1343,7 @@ interface ComponentIdentityFact extends BaseFact {
|
|
|
1330
1343
|
}
|
|
1331
1344
|
type ComponentLevelFact = ComponentMetadataFact | ComponentCapabilityFact | PropMetadataFact;
|
|
1332
1345
|
type PolicyFact = PropValueAvoidedFact | PropValueForbiddenFact | A11yNameRequiredFact | ScaleFact | ScaleValueFact | StyleRawColorForbiddenFact | StyleRawDimensionForbiddenFact | StylePropertyScaleFact | StyleFontSizeScaleFact | StyleCssVarsMustBeDefinedFact | ContractTokenFact | JsxUnknownPropsForbiddenFact | JsxInlineStyleForbiddenRawFact | JsxImportPathPreferredFact | JsxComponentPreferredFact | TokenDefinitionFact | TailwindPaletteAllowFact | TailwindPaletteDenyFact | TailwindUnknownClassEnabledFact | GovernanceRuleConfigFact;
|
|
1333
|
-
type UsageFact = UsageNodeFact | UsageComponentFact | UsageImportFact | UsagePropResolvedFact | UsageInlineStyleFact | UsageTextChildFact | StyleDeclarationFact | StyleUnsupportedFact | ClassNameLiteralFact | ClassNameDynamicFact | TailwindClassFact | ThemeDeclarationFact | SuppressionDirectiveFact | TailwindTokenResolvedFact | CanonicalCandidateFact | CanonicalMappingFact | StructuralConfidenceFact | CanonicalReplacementFact;
|
|
1346
|
+
type UsageFact = UsageNodeFact | UsageComponentFact | UsageImportFact | UsagePropResolvedFact | UsageInlineStyleFact | UsageTextChildFact | UsageChildContentFact | StyleDeclarationFact | StyleUnsupportedFact | ClassNameLiteralFact | ClassNameDynamicFact | TailwindClassFact | ThemeDeclarationFact | SuppressionDirectiveFact | TailwindTokenResolvedFact | CanonicalCandidateFact | CanonicalMappingFact | StructuralConfidenceFact | CanonicalReplacementFact;
|
|
1334
1347
|
type IdentityFact = ComponentDefinitionFact | ComponentIdentityFact;
|
|
1335
1348
|
type Fact = ComponentLevelFact | PolicyFact | UsageFact | IdentityFact;
|
|
1336
1349
|
type FactKind = Fact["kind"];
|
|
@@ -1584,6 +1597,10 @@ declare function makeUsageTextChildFact(input: {
|
|
|
1584
1597
|
text: string;
|
|
1585
1598
|
index: number;
|
|
1586
1599
|
}): UsageTextChildFact;
|
|
1600
|
+
declare function makeUsageChildContentFact(input: {
|
|
1601
|
+
nodeId: FactId;
|
|
1602
|
+
content: UsageChildContentFact["content"];
|
|
1603
|
+
}): UsageChildContentFact;
|
|
1587
1604
|
declare function makeClassNameLiteralFact(input: {
|
|
1588
1605
|
file: string;
|
|
1589
1606
|
nodeId: FactId;
|
|
@@ -2207,7 +2224,7 @@ declare const bundleManifestComponentEntrySchema: z.ZodObject<{
|
|
|
2207
2224
|
componentId: string;
|
|
2208
2225
|
name: string;
|
|
2209
2226
|
}[];
|
|
2210
|
-
tier: "
|
|
2227
|
+
tier: "composition" | "core";
|
|
2211
2228
|
publicSlug: string | null;
|
|
2212
2229
|
propCount: number;
|
|
2213
2230
|
hasExamples: boolean;
|
|
@@ -2228,7 +2245,7 @@ declare const bundleManifestComponentEntrySchema: z.ZodObject<{
|
|
|
2228
2245
|
componentId: string;
|
|
2229
2246
|
name: string;
|
|
2230
2247
|
}[];
|
|
2231
|
-
tier: "
|
|
2248
|
+
tier: "composition" | "core";
|
|
2232
2249
|
publicSlug: string | null;
|
|
2233
2250
|
propCount: number;
|
|
2234
2251
|
hasExamples: boolean;
|
|
@@ -2337,7 +2354,7 @@ declare const bundleManifestSchema: z.ZodObject<{
|
|
|
2337
2354
|
componentId: string;
|
|
2338
2355
|
name: string;
|
|
2339
2356
|
}[];
|
|
2340
|
-
tier: "
|
|
2357
|
+
tier: "composition" | "core";
|
|
2341
2358
|
publicSlug: string | null;
|
|
2342
2359
|
propCount: number;
|
|
2343
2360
|
hasExamples: boolean;
|
|
@@ -2358,7 +2375,7 @@ declare const bundleManifestSchema: z.ZodObject<{
|
|
|
2358
2375
|
componentId: string;
|
|
2359
2376
|
name: string;
|
|
2360
2377
|
}[];
|
|
2361
|
-
tier: "
|
|
2378
|
+
tier: "composition" | "core";
|
|
2362
2379
|
publicSlug: string | null;
|
|
2363
2380
|
propCount: number;
|
|
2364
2381
|
hasExamples: boolean;
|
|
@@ -2381,7 +2398,7 @@ declare const bundleManifestSchema: z.ZodObject<{
|
|
|
2381
2398
|
componentId: string;
|
|
2382
2399
|
name: string;
|
|
2383
2400
|
}[];
|
|
2384
|
-
tier: "
|
|
2401
|
+
tier: "composition" | "core";
|
|
2385
2402
|
publicSlug: string | null;
|
|
2386
2403
|
propCount: number;
|
|
2387
2404
|
hasExamples: boolean;
|
|
@@ -2427,7 +2444,7 @@ declare const bundleManifestSchema: z.ZodObject<{
|
|
|
2427
2444
|
componentId: string;
|
|
2428
2445
|
name: string;
|
|
2429
2446
|
}[];
|
|
2430
|
-
tier: "
|
|
2447
|
+
tier: "composition" | "core";
|
|
2431
2448
|
publicSlug: string | null;
|
|
2432
2449
|
propCount: number;
|
|
2433
2450
|
hasExamples: boolean;
|
|
@@ -2631,7 +2648,7 @@ declare const bundleComponentShardSchema: z.ZodObject<{
|
|
|
2631
2648
|
name: string;
|
|
2632
2649
|
}[];
|
|
2633
2650
|
source: "design-system";
|
|
2634
|
-
tier: "
|
|
2651
|
+
tier: "composition" | "core";
|
|
2635
2652
|
publicSlug: string | null;
|
|
2636
2653
|
relations: Record<string, unknown>[];
|
|
2637
2654
|
publicId: string | null;
|
|
@@ -2657,7 +2674,7 @@ declare const bundleComponentShardSchema: z.ZodObject<{
|
|
|
2657
2674
|
name: string;
|
|
2658
2675
|
}[];
|
|
2659
2676
|
source: "design-system";
|
|
2660
|
-
tier: "
|
|
2677
|
+
tier: "composition" | "core";
|
|
2661
2678
|
publicSlug: string | null;
|
|
2662
2679
|
relations: Record<string, unknown>[];
|
|
2663
2680
|
publicId: string | null;
|
|
@@ -2688,7 +2705,7 @@ declare const bundleComponentShardSchema: z.ZodObject<{
|
|
|
2688
2705
|
name: string;
|
|
2689
2706
|
}[];
|
|
2690
2707
|
source: "design-system";
|
|
2691
|
-
tier: "
|
|
2708
|
+
tier: "composition" | "core";
|
|
2692
2709
|
publicSlug: string | null;
|
|
2693
2710
|
relations: Record<string, unknown>[];
|
|
2694
2711
|
publicId: string | null;
|
|
@@ -2721,7 +2738,7 @@ declare const bundleComponentShardSchema: z.ZodObject<{
|
|
|
2721
2738
|
name: string;
|
|
2722
2739
|
}[];
|
|
2723
2740
|
source: "design-system";
|
|
2724
|
-
tier: "
|
|
2741
|
+
tier: "composition" | "core";
|
|
2725
2742
|
publicSlug: string | null;
|
|
2726
2743
|
relations: Record<string, unknown>[];
|
|
2727
2744
|
publicId: string | null;
|
|
@@ -2969,18 +2986,19 @@ declare const mcpComponentGuidanceSchema: z.ZodObject<{
|
|
|
2969
2986
|
}>, "many">>;
|
|
2970
2987
|
}, "strip", z.ZodTypeAny, {
|
|
2971
2988
|
when: string[];
|
|
2989
|
+
whenNot: string[];
|
|
2972
2990
|
patterns: {
|
|
2973
2991
|
name: string;
|
|
2974
2992
|
description?: string | undefined;
|
|
2975
2993
|
}[];
|
|
2976
2994
|
dos: string[];
|
|
2977
2995
|
donts: string[];
|
|
2978
|
-
whenNot: string[];
|
|
2979
2996
|
guidelines: string[];
|
|
2980
2997
|
accessibility: string[];
|
|
2981
2998
|
usageGuidance?: string | undefined;
|
|
2982
2999
|
}, {
|
|
2983
3000
|
when?: string[] | undefined;
|
|
3001
|
+
whenNot?: string[] | undefined;
|
|
2984
3002
|
patterns?: {
|
|
2985
3003
|
name: string;
|
|
2986
3004
|
description?: string | undefined;
|
|
@@ -2988,7 +3006,6 @@ declare const mcpComponentGuidanceSchema: z.ZodObject<{
|
|
|
2988
3006
|
usageGuidance?: string | undefined;
|
|
2989
3007
|
dos?: string[] | undefined;
|
|
2990
3008
|
donts?: string[] | undefined;
|
|
2991
|
-
whenNot?: string[] | undefined;
|
|
2992
3009
|
guidelines?: string[] | undefined;
|
|
2993
3010
|
accessibility?: string[] | undefined;
|
|
2994
3011
|
}>;
|
|
@@ -3109,18 +3126,19 @@ declare const mcpComponentSchema: z.ZodObject<{
|
|
|
3109
3126
|
}>, "many">>;
|
|
3110
3127
|
}, "strip", z.ZodTypeAny, {
|
|
3111
3128
|
when: string[];
|
|
3129
|
+
whenNot: string[];
|
|
3112
3130
|
patterns: {
|
|
3113
3131
|
name: string;
|
|
3114
3132
|
description?: string | undefined;
|
|
3115
3133
|
}[];
|
|
3116
3134
|
dos: string[];
|
|
3117
3135
|
donts: string[];
|
|
3118
|
-
whenNot: string[];
|
|
3119
3136
|
guidelines: string[];
|
|
3120
3137
|
accessibility: string[];
|
|
3121
3138
|
usageGuidance?: string | undefined;
|
|
3122
3139
|
}, {
|
|
3123
3140
|
when?: string[] | undefined;
|
|
3141
|
+
whenNot?: string[] | undefined;
|
|
3124
3142
|
patterns?: {
|
|
3125
3143
|
name: string;
|
|
3126
3144
|
description?: string | undefined;
|
|
@@ -3128,7 +3146,6 @@ declare const mcpComponentSchema: z.ZodObject<{
|
|
|
3128
3146
|
usageGuidance?: string | undefined;
|
|
3129
3147
|
dos?: string[] | undefined;
|
|
3130
3148
|
donts?: string[] | undefined;
|
|
3131
|
-
whenNot?: string[] | undefined;
|
|
3132
3149
|
guidelines?: string[] | undefined;
|
|
3133
3150
|
accessibility?: string[] | undefined;
|
|
3134
3151
|
}>>;
|
|
@@ -3241,13 +3258,13 @@ declare const mcpComponentSchema: z.ZodObject<{
|
|
|
3241
3258
|
propsSummary: string[];
|
|
3242
3259
|
guidance: {
|
|
3243
3260
|
when: string[];
|
|
3261
|
+
whenNot: string[];
|
|
3244
3262
|
patterns: {
|
|
3245
3263
|
name: string;
|
|
3246
3264
|
description?: string | undefined;
|
|
3247
3265
|
}[];
|
|
3248
3266
|
dos: string[];
|
|
3249
3267
|
donts: string[];
|
|
3250
|
-
whenNot: string[];
|
|
3251
3268
|
guidelines: string[];
|
|
3252
3269
|
accessibility: string[];
|
|
3253
3270
|
usageGuidance?: string | undefined;
|
|
@@ -3342,6 +3359,7 @@ declare const mcpComponentSchema: z.ZodObject<{
|
|
|
3342
3359
|
propsSummary?: string[] | undefined;
|
|
3343
3360
|
guidance?: {
|
|
3344
3361
|
when?: string[] | undefined;
|
|
3362
|
+
whenNot?: string[] | undefined;
|
|
3345
3363
|
patterns?: {
|
|
3346
3364
|
name: string;
|
|
3347
3365
|
description?: string | undefined;
|
|
@@ -3349,7 +3367,6 @@ declare const mcpComponentSchema: z.ZodObject<{
|
|
|
3349
3367
|
usageGuidance?: string | undefined;
|
|
3350
3368
|
dos?: string[] | undefined;
|
|
3351
3369
|
donts?: string[] | undefined;
|
|
3352
|
-
whenNot?: string[] | undefined;
|
|
3353
3370
|
guidelines?: string[] | undefined;
|
|
3354
3371
|
accessibility?: string[] | undefined;
|
|
3355
3372
|
} | undefined;
|
|
@@ -3638,18 +3655,19 @@ declare const mcpSnapshotSchema: z.ZodObject<{
|
|
|
3638
3655
|
}>, "many">>;
|
|
3639
3656
|
}, "strip", z.ZodTypeAny, {
|
|
3640
3657
|
when: string[];
|
|
3658
|
+
whenNot: string[];
|
|
3641
3659
|
patterns: {
|
|
3642
3660
|
name: string;
|
|
3643
3661
|
description?: string | undefined;
|
|
3644
3662
|
}[];
|
|
3645
3663
|
dos: string[];
|
|
3646
3664
|
donts: string[];
|
|
3647
|
-
whenNot: string[];
|
|
3648
3665
|
guidelines: string[];
|
|
3649
3666
|
accessibility: string[];
|
|
3650
3667
|
usageGuidance?: string | undefined;
|
|
3651
3668
|
}, {
|
|
3652
3669
|
when?: string[] | undefined;
|
|
3670
|
+
whenNot?: string[] | undefined;
|
|
3653
3671
|
patterns?: {
|
|
3654
3672
|
name: string;
|
|
3655
3673
|
description?: string | undefined;
|
|
@@ -3657,7 +3675,6 @@ declare const mcpSnapshotSchema: z.ZodObject<{
|
|
|
3657
3675
|
usageGuidance?: string | undefined;
|
|
3658
3676
|
dos?: string[] | undefined;
|
|
3659
3677
|
donts?: string[] | undefined;
|
|
3660
|
-
whenNot?: string[] | undefined;
|
|
3661
3678
|
guidelines?: string[] | undefined;
|
|
3662
3679
|
accessibility?: string[] | undefined;
|
|
3663
3680
|
}>>;
|
|
@@ -3770,13 +3787,13 @@ declare const mcpSnapshotSchema: z.ZodObject<{
|
|
|
3770
3787
|
propsSummary: string[];
|
|
3771
3788
|
guidance: {
|
|
3772
3789
|
when: string[];
|
|
3790
|
+
whenNot: string[];
|
|
3773
3791
|
patterns: {
|
|
3774
3792
|
name: string;
|
|
3775
3793
|
description?: string | undefined;
|
|
3776
3794
|
}[];
|
|
3777
3795
|
dos: string[];
|
|
3778
3796
|
donts: string[];
|
|
3779
|
-
whenNot: string[];
|
|
3780
3797
|
guidelines: string[];
|
|
3781
3798
|
accessibility: string[];
|
|
3782
3799
|
usageGuidance?: string | undefined;
|
|
@@ -3871,6 +3888,7 @@ declare const mcpSnapshotSchema: z.ZodObject<{
|
|
|
3871
3888
|
propsSummary?: string[] | undefined;
|
|
3872
3889
|
guidance?: {
|
|
3873
3890
|
when?: string[] | undefined;
|
|
3891
|
+
whenNot?: string[] | undefined;
|
|
3874
3892
|
patterns?: {
|
|
3875
3893
|
name: string;
|
|
3876
3894
|
description?: string | undefined;
|
|
@@ -3878,7 +3896,6 @@ declare const mcpSnapshotSchema: z.ZodObject<{
|
|
|
3878
3896
|
usageGuidance?: string | undefined;
|
|
3879
3897
|
dos?: string[] | undefined;
|
|
3880
3898
|
donts?: string[] | undefined;
|
|
3881
|
-
whenNot?: string[] | undefined;
|
|
3882
3899
|
guidelines?: string[] | undefined;
|
|
3883
3900
|
accessibility?: string[] | undefined;
|
|
3884
3901
|
} | undefined;
|
|
@@ -4061,13 +4078,13 @@ declare const mcpSnapshotSchema: z.ZodObject<{
|
|
|
4061
4078
|
propsSummary: string[];
|
|
4062
4079
|
guidance: {
|
|
4063
4080
|
when: string[];
|
|
4081
|
+
whenNot: string[];
|
|
4064
4082
|
patterns: {
|
|
4065
4083
|
name: string;
|
|
4066
4084
|
description?: string | undefined;
|
|
4067
4085
|
}[];
|
|
4068
4086
|
dos: string[];
|
|
4069
4087
|
donts: string[];
|
|
4070
|
-
whenNot: string[];
|
|
4071
4088
|
guidelines: string[];
|
|
4072
4089
|
accessibility: string[];
|
|
4073
4090
|
usageGuidance?: string | undefined;
|
|
@@ -4107,7 +4124,7 @@ declare const mcpSnapshotSchema: z.ZodObject<{
|
|
|
4107
4124
|
schemaVersion: 1;
|
|
4108
4125
|
sourceType: "fragments-json" | "cloud" | "auto-extract" | "custom-json" | "bundle";
|
|
4109
4126
|
sourceLabel: string;
|
|
4110
|
-
capabilities: ("components" | "tokens" | "performance" | "
|
|
4127
|
+
capabilities: ("components" | "tokens" | "performance" | "graph" | "blocks")[];
|
|
4111
4128
|
packageMap: Record<string, string>;
|
|
4112
4129
|
tokens?: {
|
|
4113
4130
|
flat: {
|
|
@@ -4129,6 +4146,7 @@ declare const mcpSnapshotSchema: z.ZodObject<{
|
|
|
4129
4146
|
}[]>;
|
|
4130
4147
|
total: number;
|
|
4131
4148
|
} | undefined;
|
|
4149
|
+
graph?: unknown;
|
|
4132
4150
|
blocks?: Record<string, {
|
|
4133
4151
|
components: string[];
|
|
4134
4152
|
code: string;
|
|
@@ -4138,7 +4156,6 @@ declare const mcpSnapshotSchema: z.ZodObject<{
|
|
|
4138
4156
|
id: string;
|
|
4139
4157
|
tags: string[];
|
|
4140
4158
|
}> | undefined;
|
|
4141
|
-
graph?: unknown;
|
|
4142
4159
|
performanceSummary?: {
|
|
4143
4160
|
budget: number;
|
|
4144
4161
|
overBudget: number;
|
|
@@ -4214,6 +4231,7 @@ declare const mcpSnapshotSchema: z.ZodObject<{
|
|
|
4214
4231
|
propsSummary?: string[] | undefined;
|
|
4215
4232
|
guidance?: {
|
|
4216
4233
|
when?: string[] | undefined;
|
|
4234
|
+
whenNot?: string[] | undefined;
|
|
4217
4235
|
patterns?: {
|
|
4218
4236
|
name: string;
|
|
4219
4237
|
description?: string | undefined;
|
|
@@ -4221,7 +4239,6 @@ declare const mcpSnapshotSchema: z.ZodObject<{
|
|
|
4221
4239
|
usageGuidance?: string | undefined;
|
|
4222
4240
|
dos?: string[] | undefined;
|
|
4223
4241
|
donts?: string[] | undefined;
|
|
4224
|
-
whenNot?: string[] | undefined;
|
|
4225
4242
|
guidelines?: string[] | undefined;
|
|
4226
4243
|
accessibility?: string[] | undefined;
|
|
4227
4244
|
} | undefined;
|
|
@@ -4230,7 +4247,7 @@ declare const mcpSnapshotSchema: z.ZodObject<{
|
|
|
4230
4247
|
schemaVersion: 1;
|
|
4231
4248
|
sourceType: "fragments-json" | "cloud" | "auto-extract" | "custom-json" | "bundle";
|
|
4232
4249
|
sourceLabel: string;
|
|
4233
|
-
capabilities: ("components" | "tokens" | "performance" | "
|
|
4250
|
+
capabilities: ("components" | "tokens" | "performance" | "graph" | "blocks")[];
|
|
4234
4251
|
metadata?: {
|
|
4235
4252
|
importPath?: string | undefined;
|
|
4236
4253
|
packageName?: string | undefined;
|
|
@@ -4258,6 +4275,7 @@ declare const mcpSnapshotSchema: z.ZodObject<{
|
|
|
4258
4275
|
description?: string | undefined;
|
|
4259
4276
|
}[] | undefined;
|
|
4260
4277
|
} | undefined;
|
|
4278
|
+
graph?: unknown;
|
|
4261
4279
|
blocks?: Record<string, {
|
|
4262
4280
|
name: string;
|
|
4263
4281
|
id: string;
|
|
@@ -4267,7 +4285,6 @@ declare const mcpSnapshotSchema: z.ZodObject<{
|
|
|
4267
4285
|
category?: string | undefined;
|
|
4268
4286
|
tags?: string[] | undefined;
|
|
4269
4287
|
}> | undefined;
|
|
4270
|
-
graph?: unknown;
|
|
4271
4288
|
performanceSummary?: {
|
|
4272
4289
|
budget: number;
|
|
4273
4290
|
overBudget: number;
|
|
@@ -5682,12 +5699,6 @@ declare const fragmentDefinitionSchema: z.ZodObject<{
|
|
|
5682
5699
|
layer: string;
|
|
5683
5700
|
}> | undefined;
|
|
5684
5701
|
};
|
|
5685
|
-
usage: {
|
|
5686
|
-
when: string[];
|
|
5687
|
-
whenNot: string[];
|
|
5688
|
-
guidelines?: string[] | undefined;
|
|
5689
|
-
accessibility?: string[] | undefined;
|
|
5690
|
-
};
|
|
5691
5702
|
variants: {
|
|
5692
5703
|
description: string;
|
|
5693
5704
|
name: string;
|
|
@@ -5695,6 +5706,12 @@ declare const fragmentDefinitionSchema: z.ZodObject<{
|
|
|
5695
5706
|
code?: string | undefined;
|
|
5696
5707
|
figma?: string | undefined;
|
|
5697
5708
|
}[];
|
|
5709
|
+
usage: {
|
|
5710
|
+
when: string[];
|
|
5711
|
+
whenNot: string[];
|
|
5712
|
+
guidelines?: string[] | undefined;
|
|
5713
|
+
accessibility?: string[] | undefined;
|
|
5714
|
+
};
|
|
5698
5715
|
contract?: {
|
|
5699
5716
|
composition?: {
|
|
5700
5717
|
rule: {
|
|
@@ -5810,12 +5827,6 @@ declare const fragmentDefinitionSchema: z.ZodObject<{
|
|
|
5810
5827
|
layer: string;
|
|
5811
5828
|
}> | undefined;
|
|
5812
5829
|
};
|
|
5813
|
-
usage: {
|
|
5814
|
-
when: string[];
|
|
5815
|
-
whenNot: string[];
|
|
5816
|
-
guidelines?: string[] | undefined;
|
|
5817
|
-
accessibility?: string[] | undefined;
|
|
5818
|
-
};
|
|
5819
5830
|
variants: {
|
|
5820
5831
|
description: string;
|
|
5821
5832
|
name: string;
|
|
@@ -5823,6 +5834,12 @@ declare const fragmentDefinitionSchema: z.ZodObject<{
|
|
|
5823
5834
|
code?: string | undefined;
|
|
5824
5835
|
figma?: string | undefined;
|
|
5825
5836
|
}[];
|
|
5837
|
+
usage: {
|
|
5838
|
+
when: string[];
|
|
5839
|
+
whenNot: string[];
|
|
5840
|
+
guidelines?: string[] | undefined;
|
|
5841
|
+
accessibility?: string[] | undefined;
|
|
5842
|
+
};
|
|
5826
5843
|
contract?: {
|
|
5827
5844
|
composition?: {
|
|
5828
5845
|
rule: {
|
|
@@ -7641,6 +7658,47 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
7641
7658
|
}[] | undefined;
|
|
7642
7659
|
}>>;
|
|
7643
7660
|
}, "strip", z.ZodTypeAny, {
|
|
7661
|
+
components?: string[] | undefined;
|
|
7662
|
+
screenshots?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
7663
|
+
tokens?: z.objectOutputType<{
|
|
7664
|
+
include: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
7665
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7666
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
|
7667
|
+
format: z.ZodOptional<z.ZodEnum<["auto", "css", "scss", "dtcg", "tailwind"]>>;
|
|
7668
|
+
}, "strip", z.ZodTypeAny, {
|
|
7669
|
+
path: string;
|
|
7670
|
+
format?: "tailwind" | "auto" | "css" | "scss" | "dtcg" | undefined;
|
|
7671
|
+
}, {
|
|
7672
|
+
path: string;
|
|
7673
|
+
format?: "tailwind" | "auto" | "css" | "scss" | "dtcg" | undefined;
|
|
7674
|
+
}>, "many">>;
|
|
7675
|
+
packages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7676
|
+
aliases: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7677
|
+
upstream: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7678
|
+
packageName: z.ZodString;
|
|
7679
|
+
version: z.ZodOptional<z.ZodString>;
|
|
7680
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
7681
|
+
}, "strip", z.ZodTypeAny, {
|
|
7682
|
+
packageName: string;
|
|
7683
|
+
version?: string | undefined;
|
|
7684
|
+
digest?: string | undefined;
|
|
7685
|
+
}, {
|
|
7686
|
+
packageName: string;
|
|
7687
|
+
version?: string | undefined;
|
|
7688
|
+
digest?: string | undefined;
|
|
7689
|
+
}>, "many">>;
|
|
7690
|
+
exclude: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
7691
|
+
themeSelectors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7692
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
7693
|
+
format: z.ZodOptional<z.ZodEnum<["auto", "css", "scss", "dtcg", "tailwind"]>>;
|
|
7694
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
7695
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
7696
|
+
performance?: "strict" | "relaxed" | "standard" | {
|
|
7697
|
+
preset?: "strict" | "relaxed" | "standard" | undefined;
|
|
7698
|
+
budgets?: {
|
|
7699
|
+
bundleSize?: number | undefined;
|
|
7700
|
+
} | undefined;
|
|
7701
|
+
} | undefined;
|
|
7644
7702
|
govern?: {
|
|
7645
7703
|
components?: Record<string, {
|
|
7646
7704
|
rules: ({
|
|
@@ -7869,47 +7927,6 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
7869
7927
|
failOnInert: z.ZodOptional<z.ZodBoolean>;
|
|
7870
7928
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
7871
7929
|
} | undefined;
|
|
7872
|
-
components?: string[] | undefined;
|
|
7873
|
-
screenshots?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
7874
|
-
tokens?: z.objectOutputType<{
|
|
7875
|
-
include: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
7876
|
-
sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7877
|
-
path: z.ZodEffects<z.ZodString, string, string>;
|
|
7878
|
-
format: z.ZodOptional<z.ZodEnum<["auto", "css", "scss", "dtcg", "tailwind"]>>;
|
|
7879
|
-
}, "strip", z.ZodTypeAny, {
|
|
7880
|
-
path: string;
|
|
7881
|
-
format?: "tailwind" | "auto" | "css" | "scss" | "dtcg" | undefined;
|
|
7882
|
-
}, {
|
|
7883
|
-
path: string;
|
|
7884
|
-
format?: "tailwind" | "auto" | "css" | "scss" | "dtcg" | undefined;
|
|
7885
|
-
}>, "many">>;
|
|
7886
|
-
packages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7887
|
-
aliases: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7888
|
-
upstream: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7889
|
-
packageName: z.ZodString;
|
|
7890
|
-
version: z.ZodOptional<z.ZodString>;
|
|
7891
|
-
digest: z.ZodOptional<z.ZodString>;
|
|
7892
|
-
}, "strip", z.ZodTypeAny, {
|
|
7893
|
-
packageName: string;
|
|
7894
|
-
version?: string | undefined;
|
|
7895
|
-
digest?: string | undefined;
|
|
7896
|
-
}, {
|
|
7897
|
-
packageName: string;
|
|
7898
|
-
version?: string | undefined;
|
|
7899
|
-
digest?: string | undefined;
|
|
7900
|
-
}>, "many">>;
|
|
7901
|
-
exclude: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
7902
|
-
themeSelectors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7903
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
7904
|
-
format: z.ZodOptional<z.ZodEnum<["auto", "css", "scss", "dtcg", "tailwind"]>>;
|
|
7905
|
-
namespace: z.ZodOptional<z.ZodString>;
|
|
7906
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
7907
|
-
performance?: "strict" | "relaxed" | "standard" | {
|
|
7908
|
-
preset?: "strict" | "relaxed" | "standard" | undefined;
|
|
7909
|
-
budgets?: {
|
|
7910
|
-
bundleSize?: number | undefined;
|
|
7911
|
-
} | undefined;
|
|
7912
|
-
} | undefined;
|
|
7913
7930
|
exclude?: string[] | undefined;
|
|
7914
7931
|
include?: string[] | undefined;
|
|
7915
7932
|
registry?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
@@ -7976,6 +7993,47 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
7976
7993
|
}[] | undefined;
|
|
7977
7994
|
} | undefined;
|
|
7978
7995
|
}, {
|
|
7996
|
+
components?: string[] | undefined;
|
|
7997
|
+
screenshots?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
7998
|
+
tokens?: z.objectInputType<{
|
|
7999
|
+
include: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
8000
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8001
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
|
8002
|
+
format: z.ZodOptional<z.ZodEnum<["auto", "css", "scss", "dtcg", "tailwind"]>>;
|
|
8003
|
+
}, "strip", z.ZodTypeAny, {
|
|
8004
|
+
path: string;
|
|
8005
|
+
format?: "tailwind" | "auto" | "css" | "scss" | "dtcg" | undefined;
|
|
8006
|
+
}, {
|
|
8007
|
+
path: string;
|
|
8008
|
+
format?: "tailwind" | "auto" | "css" | "scss" | "dtcg" | undefined;
|
|
8009
|
+
}>, "many">>;
|
|
8010
|
+
packages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8011
|
+
aliases: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8012
|
+
upstream: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8013
|
+
packageName: z.ZodString;
|
|
8014
|
+
version: z.ZodOptional<z.ZodString>;
|
|
8015
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
8016
|
+
}, "strip", z.ZodTypeAny, {
|
|
8017
|
+
packageName: string;
|
|
8018
|
+
version?: string | undefined;
|
|
8019
|
+
digest?: string | undefined;
|
|
8020
|
+
}, {
|
|
8021
|
+
packageName: string;
|
|
8022
|
+
version?: string | undefined;
|
|
8023
|
+
digest?: string | undefined;
|
|
8024
|
+
}>, "many">>;
|
|
8025
|
+
exclude: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
8026
|
+
themeSelectors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8027
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
8028
|
+
format: z.ZodOptional<z.ZodEnum<["auto", "css", "scss", "dtcg", "tailwind"]>>;
|
|
8029
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
8030
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
8031
|
+
performance?: "strict" | "relaxed" | "standard" | {
|
|
8032
|
+
preset?: "strict" | "relaxed" | "standard" | undefined;
|
|
8033
|
+
budgets?: {
|
|
8034
|
+
bundleSize?: number | undefined;
|
|
8035
|
+
} | undefined;
|
|
8036
|
+
} | undefined;
|
|
7979
8037
|
govern?: {
|
|
7980
8038
|
components?: Record<string, {
|
|
7981
8039
|
rules: ({
|
|
@@ -8204,47 +8262,6 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
8204
8262
|
failOnInert: z.ZodOptional<z.ZodBoolean>;
|
|
8205
8263
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
8206
8264
|
} | undefined;
|
|
8207
|
-
components?: string[] | undefined;
|
|
8208
|
-
screenshots?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
8209
|
-
tokens?: z.objectInputType<{
|
|
8210
|
-
include: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
8211
|
-
sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8212
|
-
path: z.ZodEffects<z.ZodString, string, string>;
|
|
8213
|
-
format: z.ZodOptional<z.ZodEnum<["auto", "css", "scss", "dtcg", "tailwind"]>>;
|
|
8214
|
-
}, "strip", z.ZodTypeAny, {
|
|
8215
|
-
path: string;
|
|
8216
|
-
format?: "tailwind" | "auto" | "css" | "scss" | "dtcg" | undefined;
|
|
8217
|
-
}, {
|
|
8218
|
-
path: string;
|
|
8219
|
-
format?: "tailwind" | "auto" | "css" | "scss" | "dtcg" | undefined;
|
|
8220
|
-
}>, "many">>;
|
|
8221
|
-
packages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8222
|
-
aliases: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8223
|
-
upstream: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8224
|
-
packageName: z.ZodString;
|
|
8225
|
-
version: z.ZodOptional<z.ZodString>;
|
|
8226
|
-
digest: z.ZodOptional<z.ZodString>;
|
|
8227
|
-
}, "strip", z.ZodTypeAny, {
|
|
8228
|
-
packageName: string;
|
|
8229
|
-
version?: string | undefined;
|
|
8230
|
-
digest?: string | undefined;
|
|
8231
|
-
}, {
|
|
8232
|
-
packageName: string;
|
|
8233
|
-
version?: string | undefined;
|
|
8234
|
-
digest?: string | undefined;
|
|
8235
|
-
}>, "many">>;
|
|
8236
|
-
exclude: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
8237
|
-
themeSelectors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8238
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
8239
|
-
format: z.ZodOptional<z.ZodEnum<["auto", "css", "scss", "dtcg", "tailwind"]>>;
|
|
8240
|
-
namespace: z.ZodOptional<z.ZodString>;
|
|
8241
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
8242
|
-
performance?: "strict" | "relaxed" | "standard" | {
|
|
8243
|
-
preset?: "strict" | "relaxed" | "standard" | undefined;
|
|
8244
|
-
budgets?: {
|
|
8245
|
-
bundleSize?: number | undefined;
|
|
8246
|
-
} | undefined;
|
|
8247
|
-
} | undefined;
|
|
8248
8265
|
exclude?: string[] | undefined;
|
|
8249
8266
|
include?: string[] | undefined;
|
|
8250
8267
|
registry?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
@@ -9738,7 +9755,6 @@ declare const governedFragmentDefinitionSchema: z.ZodObject<{
|
|
|
9738
9755
|
guidelines?: string[] | undefined;
|
|
9739
9756
|
accessibility?: string[] | undefined;
|
|
9740
9757
|
};
|
|
9741
|
-
govern?: ((...args: unknown[]) => unknown) | undefined;
|
|
9742
9758
|
composition?: {
|
|
9743
9759
|
pattern?: "compound" | "simple" | "controlled" | "wrapper" | undefined;
|
|
9744
9760
|
subComponents?: string[] | undefined;
|
|
@@ -9754,6 +9770,7 @@ declare const governedFragmentDefinitionSchema: z.ZodObject<{
|
|
|
9754
9770
|
constraints?: string[] | undefined;
|
|
9755
9771
|
typeDetails?: Record<string, unknown> | undefined;
|
|
9756
9772
|
}> | undefined;
|
|
9773
|
+
govern?: ((...args: unknown[]) => unknown) | undefined;
|
|
9757
9774
|
contract?: {
|
|
9758
9775
|
composition?: {
|
|
9759
9776
|
rule: {
|
|
@@ -9884,7 +9901,6 @@ declare const governedFragmentDefinitionSchema: z.ZodObject<{
|
|
|
9884
9901
|
guidelines?: string[] | undefined;
|
|
9885
9902
|
accessibility?: string[] | undefined;
|
|
9886
9903
|
};
|
|
9887
|
-
govern?: ((...args: unknown[]) => unknown) | undefined;
|
|
9888
9904
|
composition?: {
|
|
9889
9905
|
pattern?: "compound" | "simple" | "controlled" | "wrapper" | undefined;
|
|
9890
9906
|
subComponents?: string[] | undefined;
|
|
@@ -9900,6 +9916,7 @@ declare const governedFragmentDefinitionSchema: z.ZodObject<{
|
|
|
9900
9916
|
constraints?: string[] | undefined;
|
|
9901
9917
|
typeDetails?: Record<string, unknown> | undefined;
|
|
9902
9918
|
}> | undefined;
|
|
9919
|
+
govern?: ((...args: unknown[]) => unknown) | undefined;
|
|
9903
9920
|
contract?: {
|
|
9904
9921
|
composition?: {
|
|
9905
9922
|
rule: {
|
|
@@ -11310,14 +11327,16 @@ declare const componentContractSchema: z.ZodObject<{
|
|
|
11310
11327
|
name: string;
|
|
11311
11328
|
sourcePath: string;
|
|
11312
11329
|
exportName: string;
|
|
11313
|
-
propsSummary: string[];
|
|
11314
11330
|
usage: {
|
|
11315
11331
|
when: string[];
|
|
11316
11332
|
whenNot: string[];
|
|
11317
11333
|
guidelines?: string[] | undefined;
|
|
11318
11334
|
accessibility?: string[] | undefined;
|
|
11319
11335
|
};
|
|
11336
|
+
propsSummary: string[];
|
|
11320
11337
|
$schema: string;
|
|
11338
|
+
status?: "experimental" | "stable" | "deprecated" | "beta" | undefined;
|
|
11339
|
+
tokens?: string[] | undefined;
|
|
11321
11340
|
preview?: {
|
|
11322
11341
|
css?: string[] | undefined;
|
|
11323
11342
|
theme?: "light" | "dark" | undefined;
|
|
@@ -11325,8 +11344,6 @@ declare const componentContractSchema: z.ZodObject<{
|
|
|
11325
11344
|
wrapperModule?: string | undefined;
|
|
11326
11345
|
wrapperExport?: string | undefined;
|
|
11327
11346
|
} | undefined;
|
|
11328
|
-
status?: "experimental" | "stable" | "deprecated" | "beta" | undefined;
|
|
11329
|
-
tokens?: string[] | undefined;
|
|
11330
11347
|
contract?: {
|
|
11331
11348
|
compoundChildren?: Record<string, {
|
|
11332
11349
|
description?: string | undefined;
|
|
@@ -11391,14 +11408,16 @@ declare const componentContractSchema: z.ZodObject<{
|
|
|
11391
11408
|
name: string;
|
|
11392
11409
|
sourcePath: string;
|
|
11393
11410
|
exportName: string;
|
|
11394
|
-
propsSummary: string[];
|
|
11395
11411
|
usage: {
|
|
11396
11412
|
when: string[];
|
|
11397
11413
|
whenNot: string[];
|
|
11398
11414
|
guidelines?: string[] | undefined;
|
|
11399
11415
|
accessibility?: string[] | undefined;
|
|
11400
11416
|
};
|
|
11417
|
+
propsSummary: string[];
|
|
11401
11418
|
$schema: string;
|
|
11419
|
+
status?: "experimental" | "stable" | "deprecated" | "beta" | undefined;
|
|
11420
|
+
tokens?: string[] | undefined;
|
|
11402
11421
|
preview?: {
|
|
11403
11422
|
css?: string[] | undefined;
|
|
11404
11423
|
theme?: "light" | "dark" | undefined;
|
|
@@ -11406,8 +11425,6 @@ declare const componentContractSchema: z.ZodObject<{
|
|
|
11406
11425
|
wrapperModule?: string | undefined;
|
|
11407
11426
|
wrapperExport?: string | undefined;
|
|
11408
11427
|
} | undefined;
|
|
11409
|
-
status?: "experimental" | "stable" | "deprecated" | "beta" | undefined;
|
|
11410
|
-
tokens?: string[] | undefined;
|
|
11411
11428
|
contract?: {
|
|
11412
11429
|
compoundChildren?: Record<string, {
|
|
11413
11430
|
description?: string | undefined;
|
|
@@ -11841,9 +11858,9 @@ declare function ruleTokensRequireDualFallback(ix: FactIndex): Finding[];
|
|
|
11841
11858
|
declare function ruleThemeNoThemeCoupledLiteral(ix: FactIndex): Finding[];
|
|
11842
11859
|
|
|
11843
11860
|
/**
|
|
11844
|
-
* `a11y/required-accessible-name` — fires for
|
|
11845
|
-
* `a11y.requireName` policy
|
|
11846
|
-
* name.
|
|
11861
|
+
* `a11y/required-accessible-name` — fires for a component with an authored
|
|
11862
|
+
* `a11y.requireName` policy, or for a statically proven control when the global
|
|
11863
|
+
* rule is enabled, whose JSX usage has no discoverable accessible name.
|
|
11847
11864
|
*
|
|
11848
11865
|
* Accepted name sources (any one is enough):
|
|
11849
11866
|
* - non-empty `usage_text_child` content
|
|
@@ -11851,6 +11868,8 @@ declare function ruleThemeNoThemeCoupledLiteral(ix: FactIndex): Finding[];
|
|
|
11851
11868
|
* dynamic value is empty at scan time)
|
|
11852
11869
|
* - `aria-labelledby={...}`
|
|
11853
11870
|
* - `title="..."`
|
|
11871
|
+
* - statically non-empty or conservatively classified runtime child content
|
|
11872
|
+
* on controls whose accessible-name model permits naming from contents
|
|
11854
11873
|
*
|
|
11855
11874
|
* Components that explicitly opt out via `aria-hidden="true"` are skipped —
|
|
11856
11875
|
* they are not part of the accessibility tree.
|
|
@@ -11858,6 +11877,13 @@ declare function ruleThemeNoThemeCoupledLiteral(ix: FactIndex): Finding[];
|
|
|
11858
11877
|
|
|
11859
11878
|
declare function ruleA11yRequiredAccessibleName(ix: FactIndex): Finding[];
|
|
11860
11879
|
|
|
11880
|
+
/**
|
|
11881
|
+
* Narrow static standard check: a non-native `role="button"` needs both a
|
|
11882
|
+
* keyboard-focus path and a keyboard activation handler. This intentionally
|
|
11883
|
+
* does not claim to be a complete WCAG or axe implementation.
|
|
11884
|
+
*/
|
|
11885
|
+
declare function ruleA11yStandard(ix: FactIndex): Finding[];
|
|
11886
|
+
|
|
11861
11887
|
/**
|
|
11862
11888
|
* Rule taxonomy — the single source of truth for tier classification.
|
|
11863
11889
|
*
|
|
@@ -12393,7 +12419,7 @@ declare function resolveSpacingValue(input: {
|
|
|
12393
12419
|
*
|
|
12394
12420
|
* The load-bearing distinction is **enabled ≠ armed**. A rule can be `enabled`
|
|
12395
12421
|
* in the policy yet inert because it has no vocabulary to measure against:
|
|
12396
|
-
*
|
|
12422
|
+
* canonical-component rules with no effective canonical source enforce
|
|
12397
12423
|
* nothing; `tokens/css-vars-must-be-defined` with an empty token vocabulary
|
|
12398
12424
|
* enforces nothing. This module derives, per rule *family*, whether the family
|
|
12399
12425
|
* is armed (has both an enabled rule AND the vocabulary/signal it needs), then
|
|
@@ -12469,7 +12495,7 @@ interface GovernanceIntegrityVerdict {
|
|
|
12469
12495
|
*/
|
|
12470
12496
|
declare function isEffectiveCanonicalSource(source: CanonicalSource): boolean;
|
|
12471
12497
|
/**
|
|
12472
|
-
* Whether
|
|
12498
|
+
* Whether a canonical-component rule's effective options carry a real component
|
|
12473
12499
|
* vocabulary: at least one canonical mapping, or at least one effective
|
|
12474
12500
|
* canonical source. Accepts the raw fact `options` bag (values are `unknown`).
|
|
12475
12501
|
*/
|
|
@@ -12682,4 +12708,4 @@ interface ComponentKeyInput {
|
|
|
12682
12708
|
*/
|
|
12683
12709
|
declare function buildComponentKey({ repoRelativeFile, exportName }: ComponentKeyInput): string;
|
|
12684
12710
|
|
|
12685
|
-
export { type A11yNameRequiredFact, AGENT_CONTEXT_RELATIVE_PATH, AgentFormat, BLOCKING_RULE_ALLOWLIST, BRAND, BlockDefinition, type Brand, type BuildAgentFormatInput, type BuildRegistryInstallPlanInput, type BundleArtifactMetadata, type BundleComponentShard, type BundleManifest, type BundleManifestComponentEntry, type BundleSchemaVersion, type BundleTarget, type BundleTokenFile, CATALOG_FIXTURE_A_FCID, type CSF2Story, type CSSGeneratorOptions, type CanonicalBridgeIdentityBinding, CanonicalBridgeV1, type CanonicalCandidateFact, type CanonicalDirectionConflict, Finding as CanonicalFinding, type CanonicalIdentityReference, type CanonicalMappingFact, type CanonicalReplacementFact, CanonicalSource, type CheckStoryExclusionOpts, type CheckedSpacingValue, type ClassNameDynamicFact, type ClassNameDynamicReason, type ClassNameFact, type ClassNameLiteralFact, type ClassNameOrigin, type ClassifyIdentityInput, type CompileEffectiveGovernanceInputsOptions, CompiledBlock, type CompiledContractOutput, CompiledFragment, type ComplexityTier, type ComponentCapabilityFact, type ComponentContract, type ComponentDefinitionFact, type ComponentDefinitionRenderRoot, type ComponentFactInput, type ComponentId, type ComponentIdentityFact, type ComponentIdentityUsage, type ComponentKeyInput, type ComponentLevelFact, type ComponentMetadataFact, type CompositionAnalysis, type CompositionAuthoringEntry, type CompositionChildSelector, type CompositionConstraint, type CompositionGuideline, type CompositionPattern, type CompositionRegionSelector, type CompositionSuggestion, type CompositionWarning, type ConformChange, type ConformComponentMapping, type ConformConfidence, type ConformCoverage, type ConformInput, type ConformLocation, type ConformPropMapping, type ConformResult, type ConformSuggestion, type ConformToken, type ConformUnresolved, ContractCanonicalMappingInput, ContractCatalogInput, ContractDomain, type ContractStampPin, type ContractStampRecord, DEFAULTS, DEFAULT_ENHANCED_STYLE_PROPERTIES, DEFAULT_STYLE_PROPERTIES, type DTCGColorValue, type DTCGDimensionValue, type DTCGGroup, type DTCGToken, type DTCGTokenFile, type DTCGTokenType, type Decorator, type Defaults, type DeltaEMatch, type DesignSystemContext, type DesignToken, type DesignTokenParseOptions, type DiscoverComponentsOptions, EFFECTIVE_GOVERNANCE_INPUTS_SCHEMA, type EffectiveGovernanceInputs, type EffectiveGovernanceInputsSourceState, type EnhancedStyleComparisonResult, type EnhancedStyleDiffItem, EvidenceGrade, type ExclusionReason, type ExclusionResult, type ExternalIdentityReference, FRAGMENTS_INTERNAL_RULE_IDS, type Fact, type FactConflict, type FactEvidence, type FactId, FactIndex, type FactKind, type FactLocation, type FactOfKind, FigmaBooleanMapping, FigmaChildrenMapping, FigmaEnumMapping, FigmaInstanceMapping, FigmaStringMapping, FigmaTextContentMapping, type FigmaVariable, type FigmaVariableCollection, Finding, FindingFix, type Fragment, type FragmentAccessibility, FragmentComponent, type FragmentContextOptions, FragmentDefinition, FragmentDefinitionV2, type FragmentDoNotItem, type FragmentFigma, type FragmentIndex, type FragmentMeta as FragmentJsonMeta, type FragmentUsage as FragmentJsonUsage, type FragmentPattern, type FragmentRegistry, type FragmentRelated, FragmentsConfig, Severity as FuiSeverity, GovernanceConfig, type GovernanceIntegrityFamily, type GovernanceIntegrityFamilyId, type GovernanceIntegrityInput, type GovernanceIntegrityRoster, type GovernanceIntegrityStatus, type GovernanceIntegrityVerdict, GovernanceSeverity, GovernedFragmentDefinition, type IdentityClassification, type IdentityConfidence, type IdentityDecision, type IdentityFact, type IdentityState, type InertConfigDiagnostic, type InertConfigDiagnosticCode, type InertConfigDiagnosticKind, type InferProps, type JsxComponentPreferredFact, type JsxImportPathPreferredFact, type JsxInlineStyleForbiddenRawFact, type JsxUnknownPropsForbiddenFact, type Loader, type LocalIdentityReference, type McpBlock, type McpCapability, type McpComponent, type McpComponentExample, type McpComponentGuidance, type McpComponentMetadata, type McpComponentProp, type McpComponentRelation, type McpCompoundChild, type McpGuidancePattern, type McpPerformanceData, type McpPerformanceImport, type McpPerformanceSummary, type McpSnapshot, type McpSnapshotMetadata, type McpSnapshotSchemaVersion, type McpSourceType, type McpToken, type McpTokenData, type NearestByDeltaEOptions, type NormalizedStyleMap, type NormalizedToken, PRESET_NAMES, PROVE_DEFAULT_MAX_PASSES, PROVE_MAX_PASSES, type ParseTokensOptions, type ParsedToken, type PerformanceData as PerfData, type PerformanceSummary as PerfSummary, type PerformanceBudgets, type PerformanceConfig, type PolicyExclude, type PolicyExcludeInput, type PolicyFact, type PresetRuleState, type PreviewConfig, type PreviewRuntimeOptions, type PreviewRuntimeState, type PreviewVariantLike, PreviewVariantRuntime, type PropMetadataFact, type PropValueAvoidedFact, type PropValueForbiddenFact, type ProveCallbacks, type ProveLoopResult, type ProveOptions, type ProvePass, type ProvePassSampling, type ProveResidual, type ProveSample, type ProveSamplerArgs, type ProveVerdict, RAW_HTML_ADVISORY_TAGS, RAW_HTML_CANONICAL_TAGS, RAW_HTML_INPUT_TYPE_CANONICALS, RAW_HTML_ROLE_CANONICALS, type RGB, type RGBA, RULES, RULE_FAMILY_IDS, RULE_FAMILY_MEMBERS, RULE_TIER, type RawHtmlCanonicalMatch, type RawHtmlPrecisionTier, RegistryArtifact, type RegistryComponentEntry, RegistryDependency, type RegistryInstallPlan, RegistryInstallReceipt, type RegistryPropEntry, type RegistryWritePlan, RelationshipType, type ResolvedDTCGToken, ResolvedGovernedFragmentDefinition, type ResolvedIdentityRenderRoot, type ResolvedIntrinsicIdentityRoot, type Rule, type RuleFn, type RuleTier, type SCSSGeneratorOptions, type ScaleFact, type ScaleValueFact, Severity, type SpacingResolutionScale, type SpacingTokenLookup, type Story, type StoryArgType, type StoryContext, type StoryMeta, type StoryModule, StorybookFilterConfig, type StructuralConfidenceFact, type StyleComparisonOptions, type StyleComparisonResult, type StyleCssVarsMustBeDefinedFact, type StyleDeclarationFact, type StyleDiffItem, type StyleFontSizeScaleFact, type StylePropertyScaleFact, type StyleRawColorForbiddenFact, type StyleUnsupportedFact, type StyleValueProvenance, type SupersededImportPathPreference, type SuppressionDirectiveFact, type TailwindClassFact, type TailwindModifier, type TailwindModifierKind, type TailwindPaletteAllowFact, type TailwindPaletteDenyFact, type TailwindResolutionSource, type TailwindResolvedKind, type TailwindResolvedValue, type TailwindTokenResolvedFact, type TailwindUnknownClassEnabledFact, type TailwindValue, type ThemeDeclarationFact, type ThemeParserResult, type TokenCatalog, type TokenCatalogDefinition, type TokenCatalogDiagnostic, type TokenCatalogLocation, type TokenCatalogReference, type TokenCatalogSourceState, type TokenCategory, TokenConfig, type TokenDefinitionFact, type TokenFix, type TokenFormat, type TokenLookup, type TokenMatchRequest, type TokenMatchResult, type TokenParseError, type TokenParseOutput, type TokenParseResult, type TokenRegistry, type TokenRegistryMeta, type TokenUsageSummary, type UnsupportedStyleReason, type UsageComponentFact, type UsageFact, type UsageImportFact, type UsageInlineStyleFact, type UsageNodeFact, type UsagePropResolvedFact, type UsageTextChildFact, VariantLoader, aiMetadataSchema, analyzeComposition, asComponentId, assertPortableRegistryPath, blockDefinitionSchema, budgetBar, buildAgentFormat, buildComponentKey, buildRegistryInstallPlan, buildRegistryInstallReceipt, buildSpacingTokenLookup, bundleArtifactMetadataSchema, bundleComponentShardSchema, bundleManifestComponentEntrySchema, bundleManifestSchema, bundleSchemaVersionSchema, bundleTargetSchema, bundleTokenFileSchema, calculateDeltaE, canonicalBridgeContractMappings, canonicalBridgeIdentityBindings, canonicalBridgeIdentitySources, canonicalDirectionConflictsTarget, canonicalJson, canonicalPreimage, catalogFixtureA, catalogFixtureAContractPayload, catalogFixtureATokensDtcg, checkStoryExclusion, clampMaxPasses, classifyComplexity, classifyIdentity, collectRegistryInstallDependencies, collidingRecordDiagnostic, collidingRecordDiagnostics, colorSimilarity, compareByVocabularyRank, compareColors, compareNumericValues, compareStyleValue, compareStyles, compareStylesWithTokens, compileBlock, compileComponentFacts, compileEffectiveGovernanceInputs, compileFragment, compileGlobalGovernanceFacts, compileRecipe, componentContractSchema, componentId, componentRelationSchema, compositionAuthoringEntrySchema, compositionMetadataSchema, compositionPatternSchema, configDeclarationForDiagnostics, configRecordShape, containsTailwindV4Theme, contractHash, contractTierRuleIds, customerDefaultRuleStates, defineBlock, defineConfig, defineFragment, defineRecipe, describePolicyExclude, detectOrphanGovernanceScales, detectSubComponentPaths, detectUnconsumedConfigKeys, detectUnmatchedPolicyExcludes, discoverComponents, dtcgTokenFileSchema, emptyConformResult, evaluateGovernanceIntegrity, excludeGlobToRegExp, executeVariantLoaders, factId, familyDistance, figma, figmaPropMappingSchema, formatBytes, formatStampHeader, formatStampPin, formatStampVersionHash, formatTokenSummary, fragmentBanSchema, fragmentContractSchema, fragmentDefinitionSchema, fragmentDefinitionV2Schema, fragmentGeneratedSchema, fragmentMetaSchema, fragmentProvenanceSchema, fragmentUsageSchema, fragmentVariantSchema, fragmentsConfigSchema, fragmentsPresetRuleStates, gatesCi, generateCSSCustomProperties, generateFigmaVariables, generateSCSSVariables, generateTailwindConfig, getComplianceBadge, getPreviewConfig, governedFragmentDefinitionSchema, hasEffectiveComponentVocabulary, hash64Hex, hexToRgb, hygieneTierRuleIds, indexComponentIdentityUsage, inferTokenCategory, inferTokenGroup, isColorLike, isCompositionPattern, isConfigExcluded, isContractFile, isContractTierRule, isDTCGFile, isDenyEligible, isEffectiveCanonicalSource, isEnforceableHtmlEquivalent, isExportStory, isFigmaPropMapping, isForceIncluded, isPortableRepoPath, isRawHtmlAdvisoryTier, isReactComponent, isRuleFamilyId, lowerCompositionContract, makeA11yNameRequiredFact, makeCanonicalCandidateFact, makeCanonicalMappingFact, makeCanonicalReplacementFact, makeClassNameDynamicFact, makeClassNameLiteralFact, makeComponentCapabilityFact, makeComponentDefinitionFact, makeComponentIdentityFact, makeComponentMetadataFact, makeContractTokenFact, makeFinding, makeJsxComponentPreferredFact, makeJsxImportPathPreferredFact, makeJsxInlineStyleForbiddenRawFact, makeJsxUnknownPropsForbiddenFact, makePropMetadataFact, makePropValueAvoidedFact, makePropValueForbiddenFact, makeScaleFact, makeScaleValueFact, makeStructuralConfidenceFact, makeStyleCssVarsMustBeDefinedFact, makeStyleDeclarationFact, makeStyleFontSizeScaleFact, makeStylePropertyScaleFact, makeStyleRawColorForbiddenFact, makeStyleUnsupportedFact, makeTailwindClassFact, makeTailwindPaletteAllowFact, makeTailwindPaletteDenyFact, makeTailwindTokenResolvedFact, makeTailwindUnknownClassEnabledFact, makeThemeDeclarationFact, makeTokenDefinitionFact, makeUsageComponentFact, makeUsageImportFact, makeUsageInlineStyleFact, makeUsageNodeFact, makeUsagePropResolvedFact, makeUsageTextChildFact, matchPolicyExclude, matchesGlob, mcpBlockSchema, mcpCapabilitySchema, mcpComponentExampleSchema, mcpComponentGuidanceSchema, mcpComponentMetadataSchema, mcpComponentPropSchema, mcpComponentRelationSchema, mcpComponentSchema, mcpCompoundChildSchema, mcpGuidancePatternSchema, mcpPerformanceDataSchema, mcpPerformanceImportSchema, mcpPerformanceSummarySchema, mcpSnapshotMetadataSchema, mcpSnapshotSchema, mcpSnapshotSchemaVersionSchema, mcpSourceTypeSchema, mcpTokenDataSchema, mcpTokenSchema, nearestByDeltaE, nearestSignedScaleValue, normalizeColor, normalizeConfigPath, normalizeExcludePath, normalizePolicyExcludes, normalizeRegistryRepoPath, normalizeStyleValue, normalizeToV1, normalizeTokenGroupComment, normalizeTokenValue, overriddenRecordSeverityDiagnostic, parseColor, parseColorToRgb, parseComponentContract, parseContractStamp, parseCssTokens, parseDtcgTokens as parseDTCGFile, parseDesignTokenContent, parseDtcgTokens, parseRgb, parseScssTokens, parseScssVariables, parseTailwindV4Theme, parseTokenFile, parseTokens, policyExcludeMatchesPath, policyExcludeSchema, portableRepoPathError, projectCanonicalDirectionConflicts, projectSupersededImportPathPreferences, propDefinitionSchema, proveCompliant, proveIssueCount, recipeDefinitionSchema, resolveCanonicalForAriaRole, resolveCanonicalForRawHtml, resolveConfiguredAppPath, resolveDesignTokenValue, resolveFigmaMapping, resolvePerformanceConfig, resolvePreviewRuntimeState, resolveProveVerdict, resolveSpacingValue, resolveTokenValue, rgbToHex, ruleA11yRequiredAccessibleName, ruleComponentsForbiddenPropValue, ruleComponentsPreferLibrary, ruleComponentsShadowComponent, ruleComponentsUnknownProp, ruleFamilyMembers, ruleJsxPreferredComponent, ruleJsxPreferredImportPath, rulePropsInvalidValue, ruleStylesNoRawColor, ruleStylesNoRawDimensions, ruleStylesNoRawSpacing, ruleStylesNoRawTypography, ruleTailwindArbitraryColor, ruleTailwindArbitrarySpacing, ruleTailwindForbiddenPalette, ruleTailwindOffScaleSpacingToken, ruleTailwindRawColorViaToken, ruleTailwindUnknownClass, ruleThemeNoThemeCoupledLiteral, ruleTokensRequireDualFallback, runRules, selectedRegistryComponentNames, serializeContractStamp, setPreviewConfig, sha256Hex, sourceToRegistryTargetPath, storyModuleToFragment, storyNameFromExport, tierFor, toId, tokenIncludesFromConfig, topologyBase, usePreviewVariantRuntime, vocabularyRank };
|
|
12711
|
+
export { type A11yNameRequiredFact, AGENT_CONTEXT_RELATIVE_PATH, AgentFormat, BLOCKING_RULE_ALLOWLIST, BRAND, BlockDefinition, type Brand, type BuildAgentFormatInput, type BuildRegistryInstallPlanInput, type BundleArtifactMetadata, type BundleComponentShard, type BundleManifest, type BundleManifestComponentEntry, type BundleSchemaVersion, type BundleTarget, type BundleTokenFile, CATALOG_FIXTURE_A_FCID, type CSF2Story, type CSSGeneratorOptions, type CanonicalBridgeIdentityBinding, CanonicalBridgeV1, type CanonicalCandidateFact, type CanonicalDirectionConflict, Finding as CanonicalFinding, type CanonicalIdentityReference, type CanonicalMappingFact, type CanonicalReplacementFact, CanonicalSource, type CheckStoryExclusionOpts, type CheckedSpacingValue, type ClassNameDynamicFact, type ClassNameDynamicReason, type ClassNameFact, type ClassNameLiteralFact, type ClassNameOrigin, type ClassifyIdentityInput, type CompileEffectiveGovernanceInputsOptions, CompiledBlock, type CompiledContractOutput, CompiledFragment, type ComplexityTier, type ComponentCapabilityFact, type ComponentContract, type ComponentDefinitionFact, type ComponentDefinitionRenderRoot, type ComponentFactInput, type ComponentId, type ComponentIdentityFact, type ComponentIdentityUsage, type ComponentKeyInput, type ComponentLevelFact, type ComponentMetadataFact, type CompositionAnalysis, type CompositionAuthoringEntry, type CompositionChildSelector, type CompositionConstraint, type CompositionGuideline, type CompositionPattern, type CompositionRegionSelector, type CompositionSuggestion, type CompositionWarning, type ConformChange, type ConformComponentMapping, type ConformConfidence, type ConformCoverage, type ConformInput, type ConformLocation, type ConformPropMapping, type ConformResult, type ConformSuggestion, type ConformToken, type ConformUnresolved, ContractCanonicalMappingInput, ContractCatalogInput, ContractDomain, type ContractStampPin, type ContractStampRecord, DEFAULTS, DEFAULT_ENHANCED_STYLE_PROPERTIES, DEFAULT_STYLE_PROPERTIES, type DTCGColorValue, type DTCGDimensionValue, type DTCGGroup, type DTCGToken, type DTCGTokenFile, type DTCGTokenType, type Decorator, type Defaults, type DeltaEMatch, type DesignSystemContext, type DesignToken, type DesignTokenParseOptions, type DiscoverComponentsOptions, EFFECTIVE_GOVERNANCE_INPUTS_SCHEMA, type EffectiveGovernanceInputs, type EffectiveGovernanceInputsSourceState, type EnhancedStyleComparisonResult, type EnhancedStyleDiffItem, EvidenceGrade, type ExclusionReason, type ExclusionResult, type ExternalIdentityReference, FRAGMENTS_INTERNAL_RULE_IDS, type Fact, type FactConflict, type FactEvidence, type FactId, FactIndex, type FactKind, type FactLocation, type FactOfKind, FigmaBooleanMapping, FigmaChildrenMapping, FigmaEnumMapping, FigmaInstanceMapping, FigmaStringMapping, FigmaTextContentMapping, type FigmaVariable, type FigmaVariableCollection, Finding, FindingFix, type Fragment, type FragmentAccessibility, FragmentComponent, type FragmentContextOptions, FragmentDefinition, FragmentDefinitionV2, type FragmentDoNotItem, type FragmentFigma, type FragmentIndex, type FragmentMeta as FragmentJsonMeta, type FragmentUsage as FragmentJsonUsage, type FragmentPattern, type FragmentRegistry, type FragmentRelated, FragmentsConfig, Severity as FuiSeverity, GovernanceConfig, type GovernanceIntegrityFamily, type GovernanceIntegrityFamilyId, type GovernanceIntegrityInput, type GovernanceIntegrityRoster, type GovernanceIntegrityStatus, type GovernanceIntegrityVerdict, GovernanceSeverity, GovernedFragmentDefinition, type IdentityClassification, type IdentityConfidence, type IdentityDecision, type IdentityFact, type IdentityState, type InertConfigDiagnostic, type InertConfigDiagnosticCode, type InertConfigDiagnosticKind, type InferProps, type JsxComponentPreferredFact, type JsxImportPathPreferredFact, type JsxInlineStyleForbiddenRawFact, type JsxUnknownPropsForbiddenFact, type Loader, type LocalIdentityReference, type McpBlock, type McpCapability, type McpComponent, type McpComponentExample, type McpComponentGuidance, type McpComponentMetadata, type McpComponentProp, type McpComponentRelation, type McpCompoundChild, type McpGuidancePattern, type McpPerformanceData, type McpPerformanceImport, type McpPerformanceSummary, type McpSnapshot, type McpSnapshotMetadata, type McpSnapshotSchemaVersion, type McpSourceType, type McpToken, type McpTokenData, type NearestByDeltaEOptions, type NormalizedStyleMap, type NormalizedToken, PRESET_NAMES, PROVE_DEFAULT_MAX_PASSES, PROVE_MAX_PASSES, type ParseTokensOptions, type ParsedToken, type PerformanceData as PerfData, type PerformanceSummary as PerfSummary, type PerformanceBudgets, type PerformanceConfig, type PolicyExclude, type PolicyExcludeInput, type PolicyFact, type PresetRuleState, type PreviewConfig, type PreviewRuntimeOptions, type PreviewRuntimeState, type PreviewVariantLike, PreviewVariantRuntime, type PropMetadataFact, type PropValueAvoidedFact, type PropValueForbiddenFact, type ProveCallbacks, type ProveLoopResult, type ProveOptions, type ProvePass, type ProvePassSampling, type ProveResidual, type ProveSample, type ProveSamplerArgs, type ProveVerdict, RAW_HTML_ADVISORY_TAGS, RAW_HTML_CANONICAL_TAGS, RAW_HTML_INPUT_TYPE_CANONICALS, RAW_HTML_ROLE_CANONICALS, type RGB, type RGBA, RULES, RULE_FAMILY_IDS, RULE_FAMILY_MEMBERS, RULE_TIER, type RawHtmlCanonicalMatch, type RawHtmlPrecisionTier, RegistryArtifact, type RegistryComponentEntry, RegistryDependency, type RegistryInstallPlan, RegistryInstallReceipt, type RegistryPropEntry, type RegistryWritePlan, RelationshipType, type ResolvedDTCGToken, ResolvedGovernedFragmentDefinition, type ResolvedIdentityRenderRoot, type ResolvedIntrinsicIdentityRoot, type Rule, type RuleFn, type RuleTier, type SCSSGeneratorOptions, type ScaleFact, type ScaleValueFact, Severity, type SpacingResolutionScale, type SpacingTokenLookup, type Story, type StoryArgType, type StoryContext, type StoryMeta, type StoryModule, StorybookFilterConfig, type StructuralConfidenceFact, type StyleComparisonOptions, type StyleComparisonResult, type StyleCssVarsMustBeDefinedFact, type StyleDeclarationFact, type StyleDiffItem, type StyleFontSizeScaleFact, type StylePropertyScaleFact, type StyleRawColorForbiddenFact, type StyleUnsupportedFact, type StyleValueProvenance, type SupersededImportPathPreference, type SuppressionDirectiveFact, type TailwindClassFact, type TailwindModifier, type TailwindModifierKind, type TailwindPaletteAllowFact, type TailwindPaletteDenyFact, type TailwindResolutionSource, type TailwindResolvedKind, type TailwindResolvedValue, type TailwindTokenResolvedFact, type TailwindUnknownClassEnabledFact, type TailwindValue, type ThemeDeclarationFact, type ThemeParserResult, type TokenCatalog, type TokenCatalogDefinition, type TokenCatalogDiagnostic, type TokenCatalogLocation, type TokenCatalogReference, type TokenCatalogSourceState, type TokenCategory, TokenConfig, type TokenDefinitionFact, type TokenFix, type TokenFormat, type TokenLookup, type TokenMatchRequest, type TokenMatchResult, type TokenParseError, type TokenParseOutput, type TokenParseResult, type TokenRegistry, type TokenRegistryMeta, type TokenUsageSummary, type UnsupportedStyleReason, type UsageChildContentFact, type UsageComponentFact, type UsageFact, type UsageImportFact, type UsageInlineStyleFact, type UsageNodeFact, type UsagePropResolvedFact, type UsageTextChildFact, VariantLoader, aiMetadataSchema, analyzeComposition, asComponentId, assertPortableRegistryPath, blockDefinitionSchema, budgetBar, buildAgentFormat, buildComponentKey, buildRegistryInstallPlan, buildRegistryInstallReceipt, buildSpacingTokenLookup, bundleArtifactMetadataSchema, bundleComponentShardSchema, bundleManifestComponentEntrySchema, bundleManifestSchema, bundleSchemaVersionSchema, bundleTargetSchema, bundleTokenFileSchema, calculateDeltaE, canonicalBridgeContractMappings, canonicalBridgeIdentityBindings, canonicalBridgeIdentitySources, canonicalDirectionConflictsTarget, canonicalJson, canonicalPreimage, catalogFixtureA, catalogFixtureAContractPayload, catalogFixtureATokensDtcg, checkStoryExclusion, clampMaxPasses, classifyComplexity, classifyIdentity, collectRegistryInstallDependencies, collidingRecordDiagnostic, collidingRecordDiagnostics, colorSimilarity, compareByVocabularyRank, compareColors, compareNumericValues, compareStyleValue, compareStyles, compareStylesWithTokens, compileBlock, compileComponentFacts, compileEffectiveGovernanceInputs, compileFragment, compileGlobalGovernanceFacts, compileRecipe, componentContractSchema, componentId, componentRelationSchema, compositionAuthoringEntrySchema, compositionMetadataSchema, compositionPatternSchema, configDeclarationForDiagnostics, configRecordShape, containsTailwindV4Theme, contractHash, contractTierRuleIds, customerDefaultRuleStates, defineBlock, defineConfig, defineFragment, defineRecipe, describePolicyExclude, detectOrphanGovernanceScales, detectSubComponentPaths, detectUnconsumedConfigKeys, detectUnmatchedPolicyExcludes, discoverComponents, dtcgTokenFileSchema, emptyConformResult, evaluateGovernanceIntegrity, excludeGlobToRegExp, executeVariantLoaders, factId, familyDistance, figma, figmaPropMappingSchema, formatBytes, formatStampHeader, formatStampPin, formatStampVersionHash, formatTokenSummary, fragmentBanSchema, fragmentContractSchema, fragmentDefinitionSchema, fragmentDefinitionV2Schema, fragmentGeneratedSchema, fragmentMetaSchema, fragmentProvenanceSchema, fragmentUsageSchema, fragmentVariantSchema, fragmentsConfigSchema, fragmentsPresetRuleStates, gatesCi, generateCSSCustomProperties, generateFigmaVariables, generateSCSSVariables, generateTailwindConfig, getComplianceBadge, getPreviewConfig, governedFragmentDefinitionSchema, hasEffectiveComponentVocabulary, hash64Hex, hexToRgb, hygieneTierRuleIds, indexComponentIdentityUsage, inferTokenCategory, inferTokenGroup, isColorLike, isCompositionPattern, isConfigExcluded, isContractFile, isContractTierRule, isDTCGFile, isDenyEligible, isEffectiveCanonicalSource, isEnforceableHtmlEquivalent, isExportStory, isFigmaPropMapping, isForceIncluded, isPortableRepoPath, isRawHtmlAdvisoryTier, isReactComponent, isRuleFamilyId, lowerCompositionContract, makeA11yNameRequiredFact, makeCanonicalCandidateFact, makeCanonicalMappingFact, makeCanonicalReplacementFact, makeClassNameDynamicFact, makeClassNameLiteralFact, makeComponentCapabilityFact, makeComponentDefinitionFact, makeComponentIdentityFact, makeComponentMetadataFact, makeContractTokenFact, makeFinding, makeJsxComponentPreferredFact, makeJsxImportPathPreferredFact, makeJsxInlineStyleForbiddenRawFact, makeJsxUnknownPropsForbiddenFact, makePropMetadataFact, makePropValueAvoidedFact, makePropValueForbiddenFact, makeScaleFact, makeScaleValueFact, makeStructuralConfidenceFact, makeStyleCssVarsMustBeDefinedFact, makeStyleDeclarationFact, makeStyleFontSizeScaleFact, makeStylePropertyScaleFact, makeStyleRawColorForbiddenFact, makeStyleUnsupportedFact, makeTailwindClassFact, makeTailwindPaletteAllowFact, makeTailwindPaletteDenyFact, makeTailwindTokenResolvedFact, makeTailwindUnknownClassEnabledFact, makeThemeDeclarationFact, makeTokenDefinitionFact, makeUsageChildContentFact, makeUsageComponentFact, makeUsageImportFact, makeUsageInlineStyleFact, makeUsageNodeFact, makeUsagePropResolvedFact, makeUsageTextChildFact, matchPolicyExclude, matchesGlob, mcpBlockSchema, mcpCapabilitySchema, mcpComponentExampleSchema, mcpComponentGuidanceSchema, mcpComponentMetadataSchema, mcpComponentPropSchema, mcpComponentRelationSchema, mcpComponentSchema, mcpCompoundChildSchema, mcpGuidancePatternSchema, mcpPerformanceDataSchema, mcpPerformanceImportSchema, mcpPerformanceSummarySchema, mcpSnapshotMetadataSchema, mcpSnapshotSchema, mcpSnapshotSchemaVersionSchema, mcpSourceTypeSchema, mcpTokenDataSchema, mcpTokenSchema, nearestByDeltaE, nearestSignedScaleValue, normalizeColor, normalizeConfigPath, normalizeExcludePath, normalizePolicyExcludes, normalizeRegistryRepoPath, normalizeStyleValue, normalizeToV1, normalizeTokenGroupComment, normalizeTokenValue, overriddenRecordSeverityDiagnostic, parseColor, parseColorToRgb, parseComponentContract, parseContractStamp, parseCssTokens, parseDtcgTokens as parseDTCGFile, parseDesignTokenContent, parseDtcgTokens, parseRgb, parseScssTokens, parseScssVariables, parseTailwindV4Theme, parseTokenFile, parseTokens, policyExcludeMatchesPath, policyExcludeSchema, portableRepoPathError, projectCanonicalDirectionConflicts, projectSupersededImportPathPreferences, propDefinitionSchema, proveCompliant, proveIssueCount, recipeDefinitionSchema, resolveCanonicalForAriaRole, resolveCanonicalForRawHtml, resolveConfiguredAppPath, resolveDesignTokenValue, resolveFigmaMapping, resolvePerformanceConfig, resolvePreviewRuntimeState, resolveProveVerdict, resolveSpacingValue, resolveTokenValue, rgbToHex, ruleA11yRequiredAccessibleName, ruleA11yStandard, ruleComponentsForbiddenPropValue, ruleComponentsPreferLibrary, ruleComponentsShadowComponent, ruleComponentsUnknownProp, ruleFamilyMembers, ruleJsxPreferredComponent, ruleJsxPreferredImportPath, rulePropsInvalidValue, ruleStylesNoRawColor, ruleStylesNoRawDimensions, ruleStylesNoRawSpacing, ruleStylesNoRawTypography, ruleTailwindArbitraryColor, ruleTailwindArbitrarySpacing, ruleTailwindForbiddenPalette, ruleTailwindOffScaleSpacingToken, ruleTailwindRawColorViaToken, ruleTailwindUnknownClass, ruleThemeNoThemeCoupledLiteral, ruleTokensRequireDualFallback, runRules, selectedRegistryComponentNames, serializeContractStamp, setPreviewConfig, sha256Hex, sourceToRegistryTargetPath, storyModuleToFragment, storyNameFromExport, tierFor, toId, tokenIncludesFromConfig, topologyBase, usePreviewVariantRuntime, vocabularyRank };
|