@usefragments/core 1.7.0 → 1.8.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-MZ4SW3TP.js +375 -0
- package/dist/chunk-MZ4SW3TP.js.map +1 -0
- package/dist/{chunk-WNMWKUYG.js → chunk-UUREQ4HD.js} +318 -6
- package/dist/chunk-UUREQ4HD.js.map +1 -0
- package/dist/codes/index.d.ts +1 -1
- package/dist/codes/index.js +1 -2
- package/dist/compiled-types/index.d.ts +1 -1
- package/dist/generate/index.d.ts +1 -1
- package/dist/governance-telemetry.d.ts +316 -0
- package/dist/governance-telemetry.js +11 -0
- package/dist/governance-telemetry.js.map +1 -0
- package/dist/{index-hZAlYCli.d.ts → index-Cxk3SOQP.d.ts} +1005 -1005
- package/dist/index.d.ts +529 -477
- package/dist/index.js +78 -37
- package/dist/index.js.map +1 -1
- package/dist/react-types.d.ts +1 -1
- package/dist/registry.d.ts +146 -146
- package/dist/schemas/index.d.ts +1 -1
- package/dist/schemas/index.js +3 -1
- package/dist/test-utils.d.ts +1 -1
- package/package.json +5 -1
- package/src/component-contract.ts +12 -0
- package/src/contract-parser.ts +2 -0
- package/src/governance-telemetry.test.ts +18 -0
- package/src/governance-telemetry.ts +398 -0
- package/src/index.ts +17 -0
- package/src/rules/index.ts +5 -1
- package/src/rules/tokens-css-vars-must-be-defined.test.ts +66 -1
- package/src/rules/tokens-css-vars-must-be-defined.ts +88 -16
- package/src/schemas/index.ts +4 -0
- package/src/schemas/normalize-finding.test.ts +50 -0
- package/dist/chunk-WNMWKUYG.js.map +0 -1
- package/dist/chunk-ZHS52OT4.js +0 -317
- package/dist/chunk-ZHS52OT4.js.map +0 -1
- package/dist/{governance-D9KtH-vg.d.ts → governance-eEzCyfes.d.ts} +154 -154
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export { GOVERNANCE_TELEMETRY_FIELDS, GOVERNANCE_TELEMETRY_SOURCE_DISCLOSURE, GOVERNANCE_TELEMETRY_TOP_LEVEL_FIELDS, GovernanceTelemetryCarriage, GovernanceTelemetryField, GovernanceTelemetryTopLevelField } from './governance-telemetry.js';
|
|
2
|
+
import { F as Finding, A as AgentFormat, E as EvidenceGrade, a as FindingFix } from './index-Cxk3SOQP.js';
|
|
3
|
+
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-Cxk3SOQP.js';
|
|
3
4
|
import { Severity } from './severity.js';
|
|
4
5
|
export { SEVERITIES, SEVERITY_RANK, SEVERITY_WEIGHTS, SeverityLevel, compareSeverity, maxSeverity, severityLevel, severitySchema, sortBySeverity } from './severity.js';
|
|
5
6
|
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 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-
|
|
7
|
+
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-eEzCyfes.js';
|
|
8
|
+
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-eEzCyfes.js';
|
|
8
9
|
import { z } from 'zod';
|
|
9
10
|
import { RegistryArtifact, RegistryDependency, RegistryInstallReceipt } from './registry.js';
|
|
10
11
|
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';
|
|
@@ -2215,8 +2216,6 @@ declare const bundleManifestComponentEntrySchema: z.ZodObject<{
|
|
|
2215
2216
|
}>, "many">;
|
|
2216
2217
|
}, "strip", z.ZodTypeAny, {
|
|
2217
2218
|
status: string;
|
|
2218
|
-
file: string;
|
|
2219
|
-
description: string;
|
|
2220
2219
|
category: string;
|
|
2221
2220
|
componentId: string;
|
|
2222
2221
|
name: string;
|
|
@@ -2224,7 +2223,9 @@ declare const bundleManifestComponentEntrySchema: z.ZodObject<{
|
|
|
2224
2223
|
componentId: string;
|
|
2225
2224
|
name: string;
|
|
2226
2225
|
}[];
|
|
2227
|
-
|
|
2226
|
+
file: string;
|
|
2227
|
+
tier: "core" | "composition";
|
|
2228
|
+
description: string;
|
|
2228
2229
|
publicSlug: string | null;
|
|
2229
2230
|
propCount: number;
|
|
2230
2231
|
hasExamples: boolean;
|
|
@@ -2236,8 +2237,6 @@ declare const bundleManifestComponentEntrySchema: z.ZodObject<{
|
|
|
2236
2237
|
}[];
|
|
2237
2238
|
}, {
|
|
2238
2239
|
status: string;
|
|
2239
|
-
file: string;
|
|
2240
|
-
description: string;
|
|
2241
2240
|
category: string;
|
|
2242
2241
|
componentId: string;
|
|
2243
2242
|
name: string;
|
|
@@ -2245,7 +2244,9 @@ declare const bundleManifestComponentEntrySchema: z.ZodObject<{
|
|
|
2245
2244
|
componentId: string;
|
|
2246
2245
|
name: string;
|
|
2247
2246
|
}[];
|
|
2248
|
-
|
|
2247
|
+
file: string;
|
|
2248
|
+
tier: "core" | "composition";
|
|
2249
|
+
description: string;
|
|
2249
2250
|
publicSlug: string | null;
|
|
2250
2251
|
propCount: number;
|
|
2251
2252
|
hasExamples: boolean;
|
|
@@ -2293,13 +2294,13 @@ declare const bundleManifestSchema: z.ZodObject<{
|
|
|
2293
2294
|
repoFullName: z.ZodString;
|
|
2294
2295
|
resolution: z.ZodEnum<["explicit", "auto"]>;
|
|
2295
2296
|
}, "strip", z.ZodTypeAny, {
|
|
2296
|
-
resolution: "
|
|
2297
|
+
resolution: "auto" | "explicit";
|
|
2297
2298
|
bindingId: string;
|
|
2298
2299
|
projectId: string;
|
|
2299
2300
|
projectName: string;
|
|
2300
2301
|
repoFullName: string;
|
|
2301
2302
|
}, {
|
|
2302
|
-
resolution: "
|
|
2303
|
+
resolution: "auto" | "explicit";
|
|
2303
2304
|
bindingId: string;
|
|
2304
2305
|
projectId: string;
|
|
2305
2306
|
projectName: string;
|
|
@@ -2345,8 +2346,6 @@ declare const bundleManifestSchema: z.ZodObject<{
|
|
|
2345
2346
|
}>, "many">;
|
|
2346
2347
|
}, "strip", z.ZodTypeAny, {
|
|
2347
2348
|
status: string;
|
|
2348
|
-
file: string;
|
|
2349
|
-
description: string;
|
|
2350
2349
|
category: string;
|
|
2351
2350
|
componentId: string;
|
|
2352
2351
|
name: string;
|
|
@@ -2354,7 +2353,9 @@ declare const bundleManifestSchema: z.ZodObject<{
|
|
|
2354
2353
|
componentId: string;
|
|
2355
2354
|
name: string;
|
|
2356
2355
|
}[];
|
|
2357
|
-
|
|
2356
|
+
file: string;
|
|
2357
|
+
tier: "core" | "composition";
|
|
2358
|
+
description: string;
|
|
2358
2359
|
publicSlug: string | null;
|
|
2359
2360
|
propCount: number;
|
|
2360
2361
|
hasExamples: boolean;
|
|
@@ -2366,8 +2367,6 @@ declare const bundleManifestSchema: z.ZodObject<{
|
|
|
2366
2367
|
}[];
|
|
2367
2368
|
}, {
|
|
2368
2369
|
status: string;
|
|
2369
|
-
file: string;
|
|
2370
|
-
description: string;
|
|
2371
2370
|
category: string;
|
|
2372
2371
|
componentId: string;
|
|
2373
2372
|
name: string;
|
|
@@ -2375,7 +2374,9 @@ declare const bundleManifestSchema: z.ZodObject<{
|
|
|
2375
2374
|
componentId: string;
|
|
2376
2375
|
name: string;
|
|
2377
2376
|
}[];
|
|
2378
|
-
|
|
2377
|
+
file: string;
|
|
2378
|
+
tier: "core" | "composition";
|
|
2379
|
+
description: string;
|
|
2379
2380
|
publicSlug: string | null;
|
|
2380
2381
|
propCount: number;
|
|
2381
2382
|
hasExamples: boolean;
|
|
@@ -2389,8 +2390,6 @@ declare const bundleManifestSchema: z.ZodObject<{
|
|
|
2389
2390
|
}, "strip", z.ZodTypeAny, {
|
|
2390
2391
|
components: Record<string, {
|
|
2391
2392
|
status: string;
|
|
2392
|
-
file: string;
|
|
2393
|
-
description: string;
|
|
2394
2393
|
category: string;
|
|
2395
2394
|
componentId: string;
|
|
2396
2395
|
name: string;
|
|
@@ -2398,7 +2397,9 @@ declare const bundleManifestSchema: z.ZodObject<{
|
|
|
2398
2397
|
componentId: string;
|
|
2399
2398
|
name: string;
|
|
2400
2399
|
}[];
|
|
2401
|
-
|
|
2400
|
+
file: string;
|
|
2401
|
+
tier: "core" | "composition";
|
|
2402
|
+
description: string;
|
|
2402
2403
|
publicSlug: string | null;
|
|
2403
2404
|
propCount: number;
|
|
2404
2405
|
hasExamples: boolean;
|
|
@@ -2423,7 +2424,7 @@ declare const bundleManifestSchema: z.ZodObject<{
|
|
|
2423
2424
|
slug: string;
|
|
2424
2425
|
};
|
|
2425
2426
|
sourceBinding: {
|
|
2426
|
-
resolution: "
|
|
2427
|
+
resolution: "auto" | "explicit";
|
|
2427
2428
|
bindingId: string;
|
|
2428
2429
|
projectId: string;
|
|
2429
2430
|
projectName: string;
|
|
@@ -2435,8 +2436,6 @@ declare const bundleManifestSchema: z.ZodObject<{
|
|
|
2435
2436
|
}, {
|
|
2436
2437
|
components: Record<string, {
|
|
2437
2438
|
status: string;
|
|
2438
|
-
file: string;
|
|
2439
|
-
description: string;
|
|
2440
2439
|
category: string;
|
|
2441
2440
|
componentId: string;
|
|
2442
2441
|
name: string;
|
|
@@ -2444,7 +2443,9 @@ declare const bundleManifestSchema: z.ZodObject<{
|
|
|
2444
2443
|
componentId: string;
|
|
2445
2444
|
name: string;
|
|
2446
2445
|
}[];
|
|
2447
|
-
|
|
2446
|
+
file: string;
|
|
2447
|
+
tier: "core" | "composition";
|
|
2448
|
+
description: string;
|
|
2448
2449
|
publicSlug: string | null;
|
|
2449
2450
|
propCount: number;
|
|
2450
2451
|
hasExamples: boolean;
|
|
@@ -2469,7 +2470,7 @@ declare const bundleManifestSchema: z.ZodObject<{
|
|
|
2469
2470
|
slug: string;
|
|
2470
2471
|
};
|
|
2471
2472
|
sourceBinding: {
|
|
2472
|
-
resolution: "
|
|
2473
|
+
resolution: "auto" | "explicit";
|
|
2473
2474
|
bindingId: string;
|
|
2474
2475
|
projectId: string;
|
|
2475
2476
|
projectName: string;
|
|
@@ -2637,7 +2638,7 @@ declare const bundleComponentShardSchema: z.ZodObject<{
|
|
|
2637
2638
|
parentComponentKey: z.ZodOptional<z.ZodString>;
|
|
2638
2639
|
}, "strip", z.ZodTypeAny, {
|
|
2639
2640
|
status: string;
|
|
2640
|
-
|
|
2641
|
+
source: "design-system";
|
|
2641
2642
|
props: Record<string, unknown>;
|
|
2642
2643
|
category: string;
|
|
2643
2644
|
name: string;
|
|
@@ -2647,8 +2648,8 @@ declare const bundleComponentShardSchema: z.ZodObject<{
|
|
|
2647
2648
|
componentId: string;
|
|
2648
2649
|
name: string;
|
|
2649
2650
|
}[];
|
|
2650
|
-
|
|
2651
|
-
|
|
2651
|
+
tier: "core" | "composition";
|
|
2652
|
+
description: string;
|
|
2652
2653
|
publicSlug: string | null;
|
|
2653
2654
|
relations: Record<string, unknown>[];
|
|
2654
2655
|
publicId: string | null;
|
|
@@ -2663,7 +2664,7 @@ declare const bundleComponentShardSchema: z.ZodObject<{
|
|
|
2663
2664
|
parentComponentKey?: string | undefined;
|
|
2664
2665
|
}, {
|
|
2665
2666
|
status: string;
|
|
2666
|
-
|
|
2667
|
+
source: "design-system";
|
|
2667
2668
|
props: Record<string, unknown>;
|
|
2668
2669
|
category: string;
|
|
2669
2670
|
name: string;
|
|
@@ -2673,8 +2674,8 @@ declare const bundleComponentShardSchema: z.ZodObject<{
|
|
|
2673
2674
|
componentId: string;
|
|
2674
2675
|
name: string;
|
|
2675
2676
|
}[];
|
|
2676
|
-
|
|
2677
|
-
|
|
2677
|
+
tier: "core" | "composition";
|
|
2678
|
+
description: string;
|
|
2678
2679
|
publicSlug: string | null;
|
|
2679
2680
|
relations: Record<string, unknown>[];
|
|
2680
2681
|
publicId: string | null;
|
|
@@ -2689,12 +2690,12 @@ declare const bundleComponentShardSchema: z.ZodObject<{
|
|
|
2689
2690
|
parentComponentKey?: string | undefined;
|
|
2690
2691
|
}>;
|
|
2691
2692
|
}, "strip", z.ZodTypeAny, {
|
|
2692
|
-
file: string;
|
|
2693
2693
|
schemaVersion: 1;
|
|
2694
2694
|
componentId: string;
|
|
2695
|
+
file: string;
|
|
2695
2696
|
component: {
|
|
2696
2697
|
status: string;
|
|
2697
|
-
|
|
2698
|
+
source: "design-system";
|
|
2698
2699
|
props: Record<string, unknown>;
|
|
2699
2700
|
category: string;
|
|
2700
2701
|
name: string;
|
|
@@ -2704,8 +2705,8 @@ declare const bundleComponentShardSchema: z.ZodObject<{
|
|
|
2704
2705
|
componentId: string;
|
|
2705
2706
|
name: string;
|
|
2706
2707
|
}[];
|
|
2707
|
-
|
|
2708
|
-
|
|
2708
|
+
tier: "core" | "composition";
|
|
2709
|
+
description: string;
|
|
2709
2710
|
publicSlug: string | null;
|
|
2710
2711
|
relations: Record<string, unknown>[];
|
|
2711
2712
|
publicId: string | null;
|
|
@@ -2722,12 +2723,12 @@ declare const bundleComponentShardSchema: z.ZodObject<{
|
|
|
2722
2723
|
catalogRevision: string;
|
|
2723
2724
|
catalogUpdatedAt: string;
|
|
2724
2725
|
}, {
|
|
2725
|
-
file: string;
|
|
2726
2726
|
schemaVersion: 1;
|
|
2727
2727
|
componentId: string;
|
|
2728
|
+
file: string;
|
|
2728
2729
|
component: {
|
|
2729
2730
|
status: string;
|
|
2730
|
-
|
|
2731
|
+
source: "design-system";
|
|
2731
2732
|
props: Record<string, unknown>;
|
|
2732
2733
|
category: string;
|
|
2733
2734
|
name: string;
|
|
@@ -2737,8 +2738,8 @@ declare const bundleComponentShardSchema: z.ZodObject<{
|
|
|
2737
2738
|
componentId: string;
|
|
2738
2739
|
name: string;
|
|
2739
2740
|
}[];
|
|
2740
|
-
|
|
2741
|
-
|
|
2741
|
+
tier: "core" | "composition";
|
|
2742
|
+
description: string;
|
|
2742
2743
|
publicSlug: string | null;
|
|
2743
2744
|
relations: Record<string, unknown>[];
|
|
2744
2745
|
publicId: string | null;
|
|
@@ -2886,17 +2887,17 @@ declare const mcpComponentPropSchema: z.ZodObject<{
|
|
|
2886
2887
|
constraints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2887
2888
|
}, "strip", z.ZodTypeAny, {
|
|
2888
2889
|
type: string;
|
|
2889
|
-
description: string;
|
|
2890
2890
|
required: boolean;
|
|
2891
|
+
description: string;
|
|
2891
2892
|
values?: string[] | undefined;
|
|
2892
2893
|
default?: unknown;
|
|
2893
2894
|
constraints?: string[] | undefined;
|
|
2894
2895
|
}, {
|
|
2895
2896
|
type: string;
|
|
2896
2897
|
values?: string[] | undefined;
|
|
2897
|
-
description?: string | undefined;
|
|
2898
2898
|
default?: unknown;
|
|
2899
2899
|
required?: boolean | undefined;
|
|
2900
|
+
description?: string | undefined;
|
|
2900
2901
|
constraints?: string[] | undefined;
|
|
2901
2902
|
}>;
|
|
2902
2903
|
declare const mcpComponentExampleSchema: z.ZodObject<{
|
|
@@ -2924,14 +2925,14 @@ declare const mcpComponentRelationSchema: z.ZodObject<{
|
|
|
2924
2925
|
}, "strip", z.ZodTypeAny, {
|
|
2925
2926
|
componentName: string;
|
|
2926
2927
|
relationship: string;
|
|
2927
|
-
description?: string | undefined;
|
|
2928
2928
|
componentId?: string | undefined;
|
|
2929
|
+
description?: string | undefined;
|
|
2929
2930
|
note?: string | undefined;
|
|
2930
2931
|
}, {
|
|
2931
2932
|
componentName: string;
|
|
2932
2933
|
relationship: string;
|
|
2933
|
-
description?: string | undefined;
|
|
2934
2934
|
componentId?: string | undefined;
|
|
2935
|
+
description?: string | undefined;
|
|
2935
2936
|
note?: string | undefined;
|
|
2936
2937
|
}>;
|
|
2937
2938
|
declare const mcpCompoundChildSchema: z.ZodObject<{
|
|
@@ -2943,16 +2944,16 @@ declare const mcpCompoundChildSchema: z.ZodObject<{
|
|
|
2943
2944
|
visibility: z.ZodOptional<z.ZodEnum<["public", "internal"]>>;
|
|
2944
2945
|
}, "strip", z.ZodTypeAny, {
|
|
2945
2946
|
name: string;
|
|
2946
|
-
description?: string | undefined;
|
|
2947
2947
|
componentId?: string | undefined;
|
|
2948
2948
|
required?: boolean | undefined;
|
|
2949
|
+
description?: string | undefined;
|
|
2949
2950
|
accepts?: string[] | undefined;
|
|
2950
2951
|
visibility?: "public" | "internal" | undefined;
|
|
2951
2952
|
}, {
|
|
2952
2953
|
name: string;
|
|
2953
|
-
description?: string | undefined;
|
|
2954
2954
|
componentId?: string | undefined;
|
|
2955
2955
|
required?: boolean | undefined;
|
|
2956
|
+
description?: string | undefined;
|
|
2956
2957
|
accepts?: string[] | undefined;
|
|
2957
2958
|
visibility?: "public" | "internal" | undefined;
|
|
2958
2959
|
}>;
|
|
@@ -3035,17 +3036,17 @@ declare const mcpComponentSchema: z.ZodObject<{
|
|
|
3035
3036
|
constraints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3036
3037
|
}, "strip", z.ZodTypeAny, {
|
|
3037
3038
|
type: string;
|
|
3038
|
-
description: string;
|
|
3039
3039
|
required: boolean;
|
|
3040
|
+
description: string;
|
|
3040
3041
|
values?: string[] | undefined;
|
|
3041
3042
|
default?: unknown;
|
|
3042
3043
|
constraints?: string[] | undefined;
|
|
3043
3044
|
}, {
|
|
3044
3045
|
type: string;
|
|
3045
3046
|
values?: string[] | undefined;
|
|
3046
|
-
description?: string | undefined;
|
|
3047
3047
|
default?: unknown;
|
|
3048
3048
|
required?: boolean | undefined;
|
|
3049
|
+
description?: string | undefined;
|
|
3049
3050
|
constraints?: string[] | undefined;
|
|
3050
3051
|
}>>>;
|
|
3051
3052
|
propsSummary: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -3074,14 +3075,14 @@ declare const mcpComponentSchema: z.ZodObject<{
|
|
|
3074
3075
|
}, "strip", z.ZodTypeAny, {
|
|
3075
3076
|
componentName: string;
|
|
3076
3077
|
relationship: string;
|
|
3077
|
-
description?: string | undefined;
|
|
3078
3078
|
componentId?: string | undefined;
|
|
3079
|
+
description?: string | undefined;
|
|
3079
3080
|
note?: string | undefined;
|
|
3080
3081
|
}, {
|
|
3081
3082
|
componentName: string;
|
|
3082
3083
|
relationship: string;
|
|
3083
|
-
description?: string | undefined;
|
|
3084
3084
|
componentId?: string | undefined;
|
|
3085
|
+
description?: string | undefined;
|
|
3085
3086
|
note?: string | undefined;
|
|
3086
3087
|
}>, "many">>;
|
|
3087
3088
|
compoundChildren: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -3093,16 +3094,16 @@ declare const mcpComponentSchema: z.ZodObject<{
|
|
|
3093
3094
|
visibility: z.ZodOptional<z.ZodEnum<["public", "internal"]>>;
|
|
3094
3095
|
}, "strip", z.ZodTypeAny, {
|
|
3095
3096
|
name: string;
|
|
3096
|
-
description?: string | undefined;
|
|
3097
3097
|
componentId?: string | undefined;
|
|
3098
3098
|
required?: boolean | undefined;
|
|
3099
|
+
description?: string | undefined;
|
|
3099
3100
|
accepts?: string[] | undefined;
|
|
3100
3101
|
visibility?: "public" | "internal" | undefined;
|
|
3101
3102
|
}, {
|
|
3102
3103
|
name: string;
|
|
3103
|
-
description?: string | undefined;
|
|
3104
3104
|
componentId?: string | undefined;
|
|
3105
3105
|
required?: boolean | undefined;
|
|
3106
|
+
description?: string | undefined;
|
|
3106
3107
|
accepts?: string[] | undefined;
|
|
3107
3108
|
visibility?: "public" | "internal" | undefined;
|
|
3108
3109
|
}>, "many">>;
|
|
@@ -3217,35 +3218,35 @@ declare const mcpComponentSchema: z.ZodObject<{
|
|
|
3217
3218
|
}>>;
|
|
3218
3219
|
}, "strip", z.ZodTypeAny, {
|
|
3219
3220
|
status: string;
|
|
3220
|
-
description: string;
|
|
3221
|
-
metadata: {
|
|
3222
|
-
a11yRules: string[];
|
|
3223
|
-
scenarioTags: string[];
|
|
3224
|
-
};
|
|
3225
3221
|
props: Record<string, {
|
|
3226
3222
|
type: string;
|
|
3227
|
-
description: string;
|
|
3228
3223
|
required: boolean;
|
|
3224
|
+
description: string;
|
|
3229
3225
|
values?: string[] | undefined;
|
|
3230
3226
|
default?: unknown;
|
|
3231
3227
|
constraints?: string[] | undefined;
|
|
3232
3228
|
}>;
|
|
3233
3229
|
category: string;
|
|
3230
|
+
metadata: {
|
|
3231
|
+
a11yRules: string[];
|
|
3232
|
+
scenarioTags: string[];
|
|
3233
|
+
};
|
|
3234
3234
|
name: string;
|
|
3235
3235
|
compoundChildren: {
|
|
3236
3236
|
name: string;
|
|
3237
|
-
description?: string | undefined;
|
|
3238
3237
|
componentId?: string | undefined;
|
|
3239
3238
|
required?: boolean | undefined;
|
|
3239
|
+
description?: string | undefined;
|
|
3240
3240
|
accepts?: string[] | undefined;
|
|
3241
3241
|
visibility?: "public" | "internal" | undefined;
|
|
3242
3242
|
}[];
|
|
3243
3243
|
id: string;
|
|
3244
|
+
description: string;
|
|
3244
3245
|
relations: {
|
|
3245
3246
|
componentName: string;
|
|
3246
3247
|
relationship: string;
|
|
3247
|
-
description?: string | undefined;
|
|
3248
3248
|
componentId?: string | undefined;
|
|
3249
|
+
description?: string | undefined;
|
|
3249
3250
|
note?: string | undefined;
|
|
3250
3251
|
}[];
|
|
3251
3252
|
examples: {
|
|
@@ -3298,17 +3299,12 @@ declare const mcpComponentSchema: z.ZodObject<{
|
|
|
3298
3299
|
id: string;
|
|
3299
3300
|
sourceType: "fragments-json" | "cloud" | "auto-extract" | "custom-json" | "bundle";
|
|
3300
3301
|
status?: string | undefined;
|
|
3301
|
-
description?: string | undefined;
|
|
3302
|
-
metadata?: {
|
|
3303
|
-
a11yRules?: string[] | undefined;
|
|
3304
|
-
scenarioTags?: string[] | undefined;
|
|
3305
|
-
} | undefined;
|
|
3306
3302
|
props?: Record<string, {
|
|
3307
3303
|
type: string;
|
|
3308
3304
|
values?: string[] | undefined;
|
|
3309
|
-
description?: string | undefined;
|
|
3310
3305
|
default?: unknown;
|
|
3311
3306
|
required?: boolean | undefined;
|
|
3307
|
+
description?: string | undefined;
|
|
3312
3308
|
constraints?: string[] | undefined;
|
|
3313
3309
|
}> | undefined;
|
|
3314
3310
|
performance?: {
|
|
@@ -3325,25 +3321,30 @@ declare const mcpComponentSchema: z.ZodObject<{
|
|
|
3325
3321
|
}[] | undefined;
|
|
3326
3322
|
} | undefined;
|
|
3327
3323
|
category?: string | undefined;
|
|
3324
|
+
metadata?: {
|
|
3325
|
+
a11yRules?: string[] | undefined;
|
|
3326
|
+
scenarioTags?: string[] | undefined;
|
|
3327
|
+
} | undefined;
|
|
3328
3328
|
importPath?: string | undefined;
|
|
3329
3329
|
publicRef?: string | undefined;
|
|
3330
3330
|
sourcePath?: string | undefined;
|
|
3331
3331
|
compoundChildren?: {
|
|
3332
3332
|
name: string;
|
|
3333
|
-
description?: string | undefined;
|
|
3334
3333
|
componentId?: string | undefined;
|
|
3335
3334
|
required?: boolean | undefined;
|
|
3335
|
+
description?: string | undefined;
|
|
3336
3336
|
accepts?: string[] | undefined;
|
|
3337
3337
|
visibility?: "public" | "internal" | undefined;
|
|
3338
3338
|
}[] | undefined;
|
|
3339
3339
|
packageName?: string | undefined;
|
|
3340
3340
|
tier?: string | undefined;
|
|
3341
|
+
description?: string | undefined;
|
|
3341
3342
|
publicSlug?: string | null | undefined;
|
|
3342
3343
|
relations?: {
|
|
3343
3344
|
componentName: string;
|
|
3344
3345
|
relationship: string;
|
|
3345
|
-
description?: string | undefined;
|
|
3346
3346
|
componentId?: string | undefined;
|
|
3347
|
+
description?: string | undefined;
|
|
3347
3348
|
note?: string | undefined;
|
|
3348
3349
|
}[] | undefined;
|
|
3349
3350
|
isCanonical?: boolean | undefined;
|
|
@@ -3383,18 +3384,18 @@ declare const mcpBlockSchema: z.ZodObject<{
|
|
|
3383
3384
|
}, "strip", z.ZodTypeAny, {
|
|
3384
3385
|
components: string[];
|
|
3385
3386
|
code: string;
|
|
3386
|
-
description: string;
|
|
3387
3387
|
category: string;
|
|
3388
3388
|
name: string;
|
|
3389
3389
|
id: string;
|
|
3390
|
+
description: string;
|
|
3390
3391
|
tags: string[];
|
|
3391
3392
|
}, {
|
|
3392
3393
|
name: string;
|
|
3393
3394
|
id: string;
|
|
3394
3395
|
components?: string[] | undefined;
|
|
3395
3396
|
code?: string | undefined;
|
|
3396
|
-
description?: string | undefined;
|
|
3397
3397
|
category?: string | undefined;
|
|
3398
|
+
description?: string | undefined;
|
|
3398
3399
|
tags?: string[] | undefined;
|
|
3399
3400
|
}>;
|
|
3400
3401
|
declare const mcpTokenSchema: z.ZodObject<{
|
|
@@ -3564,17 +3565,17 @@ declare const mcpSnapshotSchema: z.ZodObject<{
|
|
|
3564
3565
|
constraints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3565
3566
|
}, "strip", z.ZodTypeAny, {
|
|
3566
3567
|
type: string;
|
|
3567
|
-
description: string;
|
|
3568
3568
|
required: boolean;
|
|
3569
|
+
description: string;
|
|
3569
3570
|
values?: string[] | undefined;
|
|
3570
3571
|
default?: unknown;
|
|
3571
3572
|
constraints?: string[] | undefined;
|
|
3572
3573
|
}, {
|
|
3573
3574
|
type: string;
|
|
3574
3575
|
values?: string[] | undefined;
|
|
3575
|
-
description?: string | undefined;
|
|
3576
3576
|
default?: unknown;
|
|
3577
3577
|
required?: boolean | undefined;
|
|
3578
|
+
description?: string | undefined;
|
|
3578
3579
|
constraints?: string[] | undefined;
|
|
3579
3580
|
}>>>;
|
|
3580
3581
|
propsSummary: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -3603,14 +3604,14 @@ declare const mcpSnapshotSchema: z.ZodObject<{
|
|
|
3603
3604
|
}, "strip", z.ZodTypeAny, {
|
|
3604
3605
|
componentName: string;
|
|
3605
3606
|
relationship: string;
|
|
3606
|
-
description?: string | undefined;
|
|
3607
3607
|
componentId?: string | undefined;
|
|
3608
|
+
description?: string | undefined;
|
|
3608
3609
|
note?: string | undefined;
|
|
3609
3610
|
}, {
|
|
3610
3611
|
componentName: string;
|
|
3611
3612
|
relationship: string;
|
|
3612
|
-
description?: string | undefined;
|
|
3613
3613
|
componentId?: string | undefined;
|
|
3614
|
+
description?: string | undefined;
|
|
3614
3615
|
note?: string | undefined;
|
|
3615
3616
|
}>, "many">>;
|
|
3616
3617
|
compoundChildren: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -3622,16 +3623,16 @@ declare const mcpSnapshotSchema: z.ZodObject<{
|
|
|
3622
3623
|
visibility: z.ZodOptional<z.ZodEnum<["public", "internal"]>>;
|
|
3623
3624
|
}, "strip", z.ZodTypeAny, {
|
|
3624
3625
|
name: string;
|
|
3625
|
-
description?: string | undefined;
|
|
3626
3626
|
componentId?: string | undefined;
|
|
3627
3627
|
required?: boolean | undefined;
|
|
3628
|
+
description?: string | undefined;
|
|
3628
3629
|
accepts?: string[] | undefined;
|
|
3629
3630
|
visibility?: "public" | "internal" | undefined;
|
|
3630
3631
|
}, {
|
|
3631
3632
|
name: string;
|
|
3632
|
-
description?: string | undefined;
|
|
3633
3633
|
componentId?: string | undefined;
|
|
3634
3634
|
required?: boolean | undefined;
|
|
3635
|
+
description?: string | undefined;
|
|
3635
3636
|
accepts?: string[] | undefined;
|
|
3636
3637
|
visibility?: "public" | "internal" | undefined;
|
|
3637
3638
|
}>, "many">>;
|
|
@@ -3746,35 +3747,35 @@ declare const mcpSnapshotSchema: z.ZodObject<{
|
|
|
3746
3747
|
}>>;
|
|
3747
3748
|
}, "strip", z.ZodTypeAny, {
|
|
3748
3749
|
status: string;
|
|
3749
|
-
description: string;
|
|
3750
|
-
metadata: {
|
|
3751
|
-
a11yRules: string[];
|
|
3752
|
-
scenarioTags: string[];
|
|
3753
|
-
};
|
|
3754
3750
|
props: Record<string, {
|
|
3755
3751
|
type: string;
|
|
3756
|
-
description: string;
|
|
3757
3752
|
required: boolean;
|
|
3753
|
+
description: string;
|
|
3758
3754
|
values?: string[] | undefined;
|
|
3759
3755
|
default?: unknown;
|
|
3760
3756
|
constraints?: string[] | undefined;
|
|
3761
3757
|
}>;
|
|
3762
3758
|
category: string;
|
|
3759
|
+
metadata: {
|
|
3760
|
+
a11yRules: string[];
|
|
3761
|
+
scenarioTags: string[];
|
|
3762
|
+
};
|
|
3763
3763
|
name: string;
|
|
3764
3764
|
compoundChildren: {
|
|
3765
3765
|
name: string;
|
|
3766
|
-
description?: string | undefined;
|
|
3767
3766
|
componentId?: string | undefined;
|
|
3768
3767
|
required?: boolean | undefined;
|
|
3768
|
+
description?: string | undefined;
|
|
3769
3769
|
accepts?: string[] | undefined;
|
|
3770
3770
|
visibility?: "public" | "internal" | undefined;
|
|
3771
3771
|
}[];
|
|
3772
3772
|
id: string;
|
|
3773
|
+
description: string;
|
|
3773
3774
|
relations: {
|
|
3774
3775
|
componentName: string;
|
|
3775
3776
|
relationship: string;
|
|
3776
|
-
description?: string | undefined;
|
|
3777
3777
|
componentId?: string | undefined;
|
|
3778
|
+
description?: string | undefined;
|
|
3778
3779
|
note?: string | undefined;
|
|
3779
3780
|
}[];
|
|
3780
3781
|
examples: {
|
|
@@ -3827,17 +3828,12 @@ declare const mcpSnapshotSchema: z.ZodObject<{
|
|
|
3827
3828
|
id: string;
|
|
3828
3829
|
sourceType: "fragments-json" | "cloud" | "auto-extract" | "custom-json" | "bundle";
|
|
3829
3830
|
status?: string | undefined;
|
|
3830
|
-
description?: string | undefined;
|
|
3831
|
-
metadata?: {
|
|
3832
|
-
a11yRules?: string[] | undefined;
|
|
3833
|
-
scenarioTags?: string[] | undefined;
|
|
3834
|
-
} | undefined;
|
|
3835
3831
|
props?: Record<string, {
|
|
3836
3832
|
type: string;
|
|
3837
3833
|
values?: string[] | undefined;
|
|
3838
|
-
description?: string | undefined;
|
|
3839
3834
|
default?: unknown;
|
|
3840
3835
|
required?: boolean | undefined;
|
|
3836
|
+
description?: string | undefined;
|
|
3841
3837
|
constraints?: string[] | undefined;
|
|
3842
3838
|
}> | undefined;
|
|
3843
3839
|
performance?: {
|
|
@@ -3854,25 +3850,30 @@ declare const mcpSnapshotSchema: z.ZodObject<{
|
|
|
3854
3850
|
}[] | undefined;
|
|
3855
3851
|
} | undefined;
|
|
3856
3852
|
category?: string | undefined;
|
|
3853
|
+
metadata?: {
|
|
3854
|
+
a11yRules?: string[] | undefined;
|
|
3855
|
+
scenarioTags?: string[] | undefined;
|
|
3856
|
+
} | undefined;
|
|
3857
3857
|
importPath?: string | undefined;
|
|
3858
3858
|
publicRef?: string | undefined;
|
|
3859
3859
|
sourcePath?: string | undefined;
|
|
3860
3860
|
compoundChildren?: {
|
|
3861
3861
|
name: string;
|
|
3862
|
-
description?: string | undefined;
|
|
3863
3862
|
componentId?: string | undefined;
|
|
3864
3863
|
required?: boolean | undefined;
|
|
3864
|
+
description?: string | undefined;
|
|
3865
3865
|
accepts?: string[] | undefined;
|
|
3866
3866
|
visibility?: "public" | "internal" | undefined;
|
|
3867
3867
|
}[] | undefined;
|
|
3868
3868
|
packageName?: string | undefined;
|
|
3869
3869
|
tier?: string | undefined;
|
|
3870
|
+
description?: string | undefined;
|
|
3870
3871
|
publicSlug?: string | null | undefined;
|
|
3871
3872
|
relations?: {
|
|
3872
3873
|
componentName: string;
|
|
3873
3874
|
relationship: string;
|
|
3874
|
-
description?: string | undefined;
|
|
3875
3875
|
componentId?: string | undefined;
|
|
3876
|
+
description?: string | undefined;
|
|
3876
3877
|
note?: string | undefined;
|
|
3877
3878
|
}[] | undefined;
|
|
3878
3879
|
isCanonical?: boolean | undefined;
|
|
@@ -3912,18 +3913,18 @@ declare const mcpSnapshotSchema: z.ZodObject<{
|
|
|
3912
3913
|
}, "strip", z.ZodTypeAny, {
|
|
3913
3914
|
components: string[];
|
|
3914
3915
|
code: string;
|
|
3915
|
-
description: string;
|
|
3916
3916
|
category: string;
|
|
3917
3917
|
name: string;
|
|
3918
3918
|
id: string;
|
|
3919
|
+
description: string;
|
|
3919
3920
|
tags: string[];
|
|
3920
3921
|
}, {
|
|
3921
3922
|
name: string;
|
|
3922
3923
|
id: string;
|
|
3923
3924
|
components?: string[] | undefined;
|
|
3924
3925
|
code?: string | undefined;
|
|
3925
|
-
description?: string | undefined;
|
|
3926
3926
|
category?: string | undefined;
|
|
3927
|
+
description?: string | undefined;
|
|
3927
3928
|
tags?: string[] | undefined;
|
|
3928
3929
|
}>>>;
|
|
3929
3930
|
tokens: z.ZodOptional<z.ZodObject<{
|
|
@@ -4037,35 +4038,35 @@ declare const mcpSnapshotSchema: z.ZodObject<{
|
|
|
4037
4038
|
}, "strip", z.ZodTypeAny, {
|
|
4038
4039
|
components: Record<string, {
|
|
4039
4040
|
status: string;
|
|
4040
|
-
description: string;
|
|
4041
|
-
metadata: {
|
|
4042
|
-
a11yRules: string[];
|
|
4043
|
-
scenarioTags: string[];
|
|
4044
|
-
};
|
|
4045
4041
|
props: Record<string, {
|
|
4046
4042
|
type: string;
|
|
4047
|
-
description: string;
|
|
4048
4043
|
required: boolean;
|
|
4044
|
+
description: string;
|
|
4049
4045
|
values?: string[] | undefined;
|
|
4050
4046
|
default?: unknown;
|
|
4051
4047
|
constraints?: string[] | undefined;
|
|
4052
4048
|
}>;
|
|
4053
4049
|
category: string;
|
|
4050
|
+
metadata: {
|
|
4051
|
+
a11yRules: string[];
|
|
4052
|
+
scenarioTags: string[];
|
|
4053
|
+
};
|
|
4054
4054
|
name: string;
|
|
4055
4055
|
compoundChildren: {
|
|
4056
4056
|
name: string;
|
|
4057
|
-
description?: string | undefined;
|
|
4058
4057
|
componentId?: string | undefined;
|
|
4059
4058
|
required?: boolean | undefined;
|
|
4059
|
+
description?: string | undefined;
|
|
4060
4060
|
accepts?: string[] | undefined;
|
|
4061
4061
|
visibility?: "public" | "internal" | undefined;
|
|
4062
4062
|
}[];
|
|
4063
4063
|
id: string;
|
|
4064
|
+
description: string;
|
|
4064
4065
|
relations: {
|
|
4065
4066
|
componentName: string;
|
|
4066
4067
|
relationship: string;
|
|
4067
|
-
description?: string | undefined;
|
|
4068
4068
|
componentId?: string | undefined;
|
|
4069
|
+
description?: string | undefined;
|
|
4069
4070
|
note?: string | undefined;
|
|
4070
4071
|
}[];
|
|
4071
4072
|
examples: {
|
|
@@ -4114,6 +4115,7 @@ declare const mcpSnapshotSchema: z.ZodObject<{
|
|
|
4114
4115
|
parentComponentName?: string | undefined;
|
|
4115
4116
|
parentComponentId?: string | undefined;
|
|
4116
4117
|
}>;
|
|
4118
|
+
schemaVersion: 1;
|
|
4117
4119
|
metadata: {
|
|
4118
4120
|
importPath?: string | undefined;
|
|
4119
4121
|
packageName?: string | undefined;
|
|
@@ -4121,7 +4123,6 @@ declare const mcpSnapshotSchema: z.ZodObject<{
|
|
|
4121
4123
|
designSystemName?: string | undefined;
|
|
4122
4124
|
revision?: string | undefined;
|
|
4123
4125
|
};
|
|
4124
|
-
schemaVersion: 1;
|
|
4125
4126
|
sourceType: "fragments-json" | "cloud" | "auto-extract" | "custom-json" | "bundle";
|
|
4126
4127
|
sourceLabel: string;
|
|
4127
4128
|
capabilities: ("components" | "tokens" | "performance" | "graph" | "blocks")[];
|
|
@@ -4150,10 +4151,10 @@ declare const mcpSnapshotSchema: z.ZodObject<{
|
|
|
4150
4151
|
blocks?: Record<string, {
|
|
4151
4152
|
components: string[];
|
|
4152
4153
|
code: string;
|
|
4153
|
-
description: string;
|
|
4154
4154
|
category: string;
|
|
4155
4155
|
name: string;
|
|
4156
4156
|
id: string;
|
|
4157
|
+
description: string;
|
|
4157
4158
|
tags: string[];
|
|
4158
4159
|
}> | undefined;
|
|
4159
4160
|
performanceSummary?: {
|
|
@@ -4170,17 +4171,12 @@ declare const mcpSnapshotSchema: z.ZodObject<{
|
|
|
4170
4171
|
id: string;
|
|
4171
4172
|
sourceType: "fragments-json" | "cloud" | "auto-extract" | "custom-json" | "bundle";
|
|
4172
4173
|
status?: string | undefined;
|
|
4173
|
-
description?: string | undefined;
|
|
4174
|
-
metadata?: {
|
|
4175
|
-
a11yRules?: string[] | undefined;
|
|
4176
|
-
scenarioTags?: string[] | undefined;
|
|
4177
|
-
} | undefined;
|
|
4178
4174
|
props?: Record<string, {
|
|
4179
4175
|
type: string;
|
|
4180
4176
|
values?: string[] | undefined;
|
|
4181
|
-
description?: string | undefined;
|
|
4182
4177
|
default?: unknown;
|
|
4183
4178
|
required?: boolean | undefined;
|
|
4179
|
+
description?: string | undefined;
|
|
4184
4180
|
constraints?: string[] | undefined;
|
|
4185
4181
|
}> | undefined;
|
|
4186
4182
|
performance?: {
|
|
@@ -4197,25 +4193,30 @@ declare const mcpSnapshotSchema: z.ZodObject<{
|
|
|
4197
4193
|
}[] | undefined;
|
|
4198
4194
|
} | undefined;
|
|
4199
4195
|
category?: string | undefined;
|
|
4196
|
+
metadata?: {
|
|
4197
|
+
a11yRules?: string[] | undefined;
|
|
4198
|
+
scenarioTags?: string[] | undefined;
|
|
4199
|
+
} | undefined;
|
|
4200
4200
|
importPath?: string | undefined;
|
|
4201
4201
|
publicRef?: string | undefined;
|
|
4202
4202
|
sourcePath?: string | undefined;
|
|
4203
4203
|
compoundChildren?: {
|
|
4204
4204
|
name: string;
|
|
4205
|
-
description?: string | undefined;
|
|
4206
4205
|
componentId?: string | undefined;
|
|
4207
4206
|
required?: boolean | undefined;
|
|
4207
|
+
description?: string | undefined;
|
|
4208
4208
|
accepts?: string[] | undefined;
|
|
4209
4209
|
visibility?: "public" | "internal" | undefined;
|
|
4210
4210
|
}[] | undefined;
|
|
4211
4211
|
packageName?: string | undefined;
|
|
4212
4212
|
tier?: string | undefined;
|
|
4213
|
+
description?: string | undefined;
|
|
4213
4214
|
publicSlug?: string | null | undefined;
|
|
4214
4215
|
relations?: {
|
|
4215
4216
|
componentName: string;
|
|
4216
4217
|
relationship: string;
|
|
4217
|
-
description?: string | undefined;
|
|
4218
4218
|
componentId?: string | undefined;
|
|
4219
|
+
description?: string | undefined;
|
|
4219
4220
|
note?: string | undefined;
|
|
4220
4221
|
}[] | undefined;
|
|
4221
4222
|
isCanonical?: boolean | undefined;
|
|
@@ -4248,13 +4249,6 @@ declare const mcpSnapshotSchema: z.ZodObject<{
|
|
|
4248
4249
|
sourceType: "fragments-json" | "cloud" | "auto-extract" | "custom-json" | "bundle";
|
|
4249
4250
|
sourceLabel: string;
|
|
4250
4251
|
capabilities: ("components" | "tokens" | "performance" | "graph" | "blocks")[];
|
|
4251
|
-
metadata?: {
|
|
4252
|
-
importPath?: string | undefined;
|
|
4253
|
-
packageName?: string | undefined;
|
|
4254
|
-
updatedAt?: string | undefined;
|
|
4255
|
-
designSystemName?: string | undefined;
|
|
4256
|
-
revision?: string | undefined;
|
|
4257
|
-
} | undefined;
|
|
4258
4252
|
tokens?: {
|
|
4259
4253
|
prefix: string;
|
|
4260
4254
|
categories: Record<string, {
|
|
@@ -4275,14 +4269,21 @@ declare const mcpSnapshotSchema: z.ZodObject<{
|
|
|
4275
4269
|
description?: string | undefined;
|
|
4276
4270
|
}[] | undefined;
|
|
4277
4271
|
} | undefined;
|
|
4272
|
+
metadata?: {
|
|
4273
|
+
importPath?: string | undefined;
|
|
4274
|
+
packageName?: string | undefined;
|
|
4275
|
+
updatedAt?: string | undefined;
|
|
4276
|
+
designSystemName?: string | undefined;
|
|
4277
|
+
revision?: string | undefined;
|
|
4278
|
+
} | undefined;
|
|
4278
4279
|
graph?: unknown;
|
|
4279
4280
|
blocks?: Record<string, {
|
|
4280
4281
|
name: string;
|
|
4281
4282
|
id: string;
|
|
4282
4283
|
components?: string[] | undefined;
|
|
4283
4284
|
code?: string | undefined;
|
|
4284
|
-
description?: string | undefined;
|
|
4285
4285
|
category?: string | undefined;
|
|
4286
|
+
description?: string | undefined;
|
|
4286
4287
|
tags?: string[] | undefined;
|
|
4287
4288
|
}> | undefined;
|
|
4288
4289
|
performanceSummary?: {
|
|
@@ -4666,9 +4667,9 @@ declare const fragmentMetaSchema: z.ZodObject<{
|
|
|
4666
4667
|
layer: string;
|
|
4667
4668
|
}>]>>>;
|
|
4668
4669
|
}, "strip", z.ZodTypeAny, {
|
|
4669
|
-
description: string;
|
|
4670
4670
|
category: string;
|
|
4671
4671
|
name: string;
|
|
4672
|
+
description: string;
|
|
4672
4673
|
status?: "experimental" | "stable" | "deprecated" | "beta" | undefined;
|
|
4673
4674
|
dependencies?: {
|
|
4674
4675
|
name: string;
|
|
@@ -4703,9 +4704,9 @@ declare const fragmentMetaSchema: z.ZodObject<{
|
|
|
4703
4704
|
layer: string;
|
|
4704
4705
|
}> | undefined;
|
|
4705
4706
|
}, {
|
|
4706
|
-
description: string;
|
|
4707
4707
|
category: string;
|
|
4708
4708
|
name: string;
|
|
4709
|
+
description: string;
|
|
4709
4710
|
status?: "experimental" | "stable" | "deprecated" | "beta" | undefined;
|
|
4710
4711
|
dependencies?: {
|
|
4711
4712
|
name: string;
|
|
@@ -4767,17 +4768,17 @@ declare const propDefinitionSchema: z.ZodObject<{
|
|
|
4767
4768
|
}, "strip", z.ZodTypeAny, {
|
|
4768
4769
|
type: string;
|
|
4769
4770
|
values?: readonly string[] | undefined;
|
|
4770
|
-
description?: string | undefined;
|
|
4771
4771
|
default?: unknown;
|
|
4772
4772
|
required?: boolean | undefined;
|
|
4773
|
+
description?: string | undefined;
|
|
4773
4774
|
constraints?: string[] | undefined;
|
|
4774
4775
|
typeDetails?: Record<string, unknown> | undefined;
|
|
4775
4776
|
}, {
|
|
4776
4777
|
type: string;
|
|
4777
4778
|
values?: readonly string[] | undefined;
|
|
4778
|
-
description?: string | undefined;
|
|
4779
4779
|
default?: unknown;
|
|
4780
4780
|
required?: boolean | undefined;
|
|
4781
|
+
description?: string | undefined;
|
|
4781
4782
|
constraints?: string[] | undefined;
|
|
4782
4783
|
typeDetails?: Record<string, unknown> | undefined;
|
|
4783
4784
|
}>;
|
|
@@ -4801,14 +4802,14 @@ declare const fragmentVariantSchema: z.ZodObject<{
|
|
|
4801
4802
|
code: z.ZodOptional<z.ZodString>;
|
|
4802
4803
|
figma: z.ZodOptional<z.ZodString>;
|
|
4803
4804
|
}, "strip", z.ZodTypeAny, {
|
|
4804
|
-
description: string;
|
|
4805
4805
|
name: string;
|
|
4806
|
+
description: string;
|
|
4806
4807
|
render: (...args: unknown[]) => unknown;
|
|
4807
4808
|
code?: string | undefined;
|
|
4808
4809
|
figma?: string | undefined;
|
|
4809
4810
|
}, {
|
|
4810
|
-
description: string;
|
|
4811
4811
|
name: string;
|
|
4812
|
+
description: string;
|
|
4812
4813
|
render: (...args: unknown[]) => unknown;
|
|
4813
4814
|
code?: string | undefined;
|
|
4814
4815
|
figma?: string | undefined;
|
|
@@ -4849,12 +4850,12 @@ declare const fragmentContractSchema: z.ZodObject<{
|
|
|
4849
4850
|
accepts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4850
4851
|
description: z.ZodOptional<z.ZodString>;
|
|
4851
4852
|
}, "strip", z.ZodTypeAny, {
|
|
4852
|
-
description?: string | undefined;
|
|
4853
4853
|
required?: boolean | undefined;
|
|
4854
|
+
description?: string | undefined;
|
|
4854
4855
|
accepts?: string[] | undefined;
|
|
4855
4856
|
}, {
|
|
4856
|
-
description?: string | undefined;
|
|
4857
4857
|
required?: boolean | undefined;
|
|
4858
|
+
description?: string | undefined;
|
|
4858
4859
|
accepts?: string[] | undefined;
|
|
4859
4860
|
}>>>;
|
|
4860
4861
|
canonicalUsage: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -4998,8 +4999,8 @@ declare const fragmentContractSchema: z.ZodObject<{
|
|
|
4998
4999
|
inRegion: string;
|
|
4999
5000
|
}[] | undefined;
|
|
5000
5001
|
compoundChildren?: Record<string, {
|
|
5001
|
-
description?: string | undefined;
|
|
5002
5002
|
required?: boolean | undefined;
|
|
5003
|
+
description?: string | undefined;
|
|
5003
5004
|
accepts?: string[] | undefined;
|
|
5004
5005
|
}> | undefined;
|
|
5005
5006
|
a11yRules?: string[] | undefined;
|
|
@@ -5034,8 +5035,8 @@ declare const fragmentContractSchema: z.ZodObject<{
|
|
|
5034
5035
|
inRegion: string;
|
|
5035
5036
|
}[] | undefined;
|
|
5036
5037
|
compoundChildren?: Record<string, {
|
|
5037
|
-
description?: string | undefined;
|
|
5038
5038
|
required?: boolean | undefined;
|
|
5039
|
+
description?: string | undefined;
|
|
5039
5040
|
accepts?: string[] | undefined;
|
|
5040
5041
|
}> | undefined;
|
|
5041
5042
|
a11yRules?: string[] | undefined;
|
|
@@ -5099,16 +5100,16 @@ declare const blockDefinitionSchema: z.ZodObject<{
|
|
|
5099
5100
|
}, "strip", z.ZodTypeAny, {
|
|
5100
5101
|
components: string[];
|
|
5101
5102
|
code: string;
|
|
5102
|
-
description: string;
|
|
5103
5103
|
category: string;
|
|
5104
5104
|
name: string;
|
|
5105
|
+
description: string;
|
|
5105
5106
|
tags?: string[] | undefined;
|
|
5106
5107
|
}, {
|
|
5107
5108
|
components: string[];
|
|
5108
5109
|
code: string;
|
|
5109
|
-
description: string;
|
|
5110
5110
|
category: string;
|
|
5111
5111
|
name: string;
|
|
5112
|
+
description: string;
|
|
5112
5113
|
tags?: string[] | undefined;
|
|
5113
5114
|
}>;
|
|
5114
5115
|
declare const fragmentDefinitionSchema: z.ZodObject<{
|
|
@@ -5211,9 +5212,9 @@ declare const fragmentDefinitionSchema: z.ZodObject<{
|
|
|
5211
5212
|
layer: string;
|
|
5212
5213
|
}>]>>>;
|
|
5213
5214
|
}, "strip", z.ZodTypeAny, {
|
|
5214
|
-
description: string;
|
|
5215
5215
|
category: string;
|
|
5216
5216
|
name: string;
|
|
5217
|
+
description: string;
|
|
5217
5218
|
status?: "experimental" | "stable" | "deprecated" | "beta" | undefined;
|
|
5218
5219
|
dependencies?: {
|
|
5219
5220
|
name: string;
|
|
@@ -5248,9 +5249,9 @@ declare const fragmentDefinitionSchema: z.ZodObject<{
|
|
|
5248
5249
|
layer: string;
|
|
5249
5250
|
}> | undefined;
|
|
5250
5251
|
}, {
|
|
5251
|
-
description: string;
|
|
5252
5252
|
category: string;
|
|
5253
5253
|
name: string;
|
|
5254
|
+
description: string;
|
|
5254
5255
|
status?: "experimental" | "stable" | "deprecated" | "beta" | undefined;
|
|
5255
5256
|
dependencies?: {
|
|
5256
5257
|
name: string;
|
|
@@ -5312,17 +5313,17 @@ declare const fragmentDefinitionSchema: z.ZodObject<{
|
|
|
5312
5313
|
}, "strip", z.ZodTypeAny, {
|
|
5313
5314
|
type: string;
|
|
5314
5315
|
values?: readonly string[] | undefined;
|
|
5315
|
-
description?: string | undefined;
|
|
5316
5316
|
default?: unknown;
|
|
5317
5317
|
required?: boolean | undefined;
|
|
5318
|
+
description?: string | undefined;
|
|
5318
5319
|
constraints?: string[] | undefined;
|
|
5319
5320
|
typeDetails?: Record<string, unknown> | undefined;
|
|
5320
5321
|
}, {
|
|
5321
5322
|
type: string;
|
|
5322
5323
|
values?: readonly string[] | undefined;
|
|
5323
|
-
description?: string | undefined;
|
|
5324
5324
|
default?: unknown;
|
|
5325
5325
|
required?: boolean | undefined;
|
|
5326
|
+
description?: string | undefined;
|
|
5326
5327
|
constraints?: string[] | undefined;
|
|
5327
5328
|
typeDetails?: Record<string, unknown> | undefined;
|
|
5328
5329
|
}>>;
|
|
@@ -5346,14 +5347,14 @@ declare const fragmentDefinitionSchema: z.ZodObject<{
|
|
|
5346
5347
|
code: z.ZodOptional<z.ZodString>;
|
|
5347
5348
|
figma: z.ZodOptional<z.ZodString>;
|
|
5348
5349
|
}, "strip", z.ZodTypeAny, {
|
|
5349
|
-
description: string;
|
|
5350
5350
|
name: string;
|
|
5351
|
+
description: string;
|
|
5351
5352
|
render: (...args: unknown[]) => unknown;
|
|
5352
5353
|
code?: string | undefined;
|
|
5353
5354
|
figma?: string | undefined;
|
|
5354
5355
|
}, {
|
|
5355
|
-
description: string;
|
|
5356
5356
|
name: string;
|
|
5357
|
+
description: string;
|
|
5357
5358
|
render: (...args: unknown[]) => unknown;
|
|
5358
5359
|
code?: string | undefined;
|
|
5359
5360
|
figma?: string | undefined;
|
|
@@ -5378,12 +5379,12 @@ declare const fragmentDefinitionSchema: z.ZodObject<{
|
|
|
5378
5379
|
accepts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5379
5380
|
description: z.ZodOptional<z.ZodString>;
|
|
5380
5381
|
}, "strip", z.ZodTypeAny, {
|
|
5381
|
-
description?: string | undefined;
|
|
5382
5382
|
required?: boolean | undefined;
|
|
5383
|
+
description?: string | undefined;
|
|
5383
5384
|
accepts?: string[] | undefined;
|
|
5384
5385
|
}, {
|
|
5385
|
-
description?: string | undefined;
|
|
5386
5386
|
required?: boolean | undefined;
|
|
5387
|
+
description?: string | undefined;
|
|
5387
5388
|
accepts?: string[] | undefined;
|
|
5388
5389
|
}>>>;
|
|
5389
5390
|
canonicalUsage: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -5527,8 +5528,8 @@ declare const fragmentDefinitionSchema: z.ZodObject<{
|
|
|
5527
5528
|
inRegion: string;
|
|
5528
5529
|
}[] | undefined;
|
|
5529
5530
|
compoundChildren?: Record<string, {
|
|
5530
|
-
description?: string | undefined;
|
|
5531
5531
|
required?: boolean | undefined;
|
|
5532
|
+
description?: string | undefined;
|
|
5532
5533
|
accepts?: string[] | undefined;
|
|
5533
5534
|
}> | undefined;
|
|
5534
5535
|
a11yRules?: string[] | undefined;
|
|
@@ -5563,8 +5564,8 @@ declare const fragmentDefinitionSchema: z.ZodObject<{
|
|
|
5563
5564
|
inRegion: string;
|
|
5564
5565
|
}[] | undefined;
|
|
5565
5566
|
compoundChildren?: Record<string, {
|
|
5566
|
-
description?: string | undefined;
|
|
5567
5567
|
required?: boolean | undefined;
|
|
5568
|
+
description?: string | undefined;
|
|
5568
5569
|
accepts?: string[] | undefined;
|
|
5569
5570
|
}> | undefined;
|
|
5570
5571
|
a11yRules?: string[] | undefined;
|
|
@@ -5613,25 +5614,25 @@ declare const fragmentDefinitionSchema: z.ZodObject<{
|
|
|
5613
5614
|
parentElement: z.ZodOptional<z.ZodString>;
|
|
5614
5615
|
conditional: z.ZodOptional<z.ZodBoolean>;
|
|
5615
5616
|
}, "strip", z.ZodTypeAny, {
|
|
5616
|
-
file: string;
|
|
5617
|
-
line: number;
|
|
5618
|
-
column: number;
|
|
5619
5617
|
props: {
|
|
5620
5618
|
kind: "boolean" | "null" | "jsx" | "static" | "dynamic" | "spread";
|
|
5621
5619
|
name: string;
|
|
5622
5620
|
value?: string | number | boolean | null | undefined;
|
|
5623
5621
|
}[];
|
|
5624
|
-
parentElement?: string | undefined;
|
|
5625
|
-
conditional?: boolean | undefined;
|
|
5626
|
-
}, {
|
|
5627
5622
|
file: string;
|
|
5628
5623
|
line: number;
|
|
5629
5624
|
column: number;
|
|
5630
|
-
|
|
5631
|
-
|
|
5625
|
+
parentElement?: string | undefined;
|
|
5626
|
+
conditional?: boolean | undefined;
|
|
5627
|
+
}, {
|
|
5628
|
+
props: {
|
|
5629
|
+
kind: "boolean" | "null" | "jsx" | "static" | "dynamic" | "spread";
|
|
5632
5630
|
name: string;
|
|
5633
5631
|
value?: string | number | boolean | null | undefined;
|
|
5634
5632
|
}[];
|
|
5633
|
+
file: string;
|
|
5634
|
+
line: number;
|
|
5635
|
+
column: number;
|
|
5635
5636
|
parentElement?: string | undefined;
|
|
5636
5637
|
conditional?: boolean | undefined;
|
|
5637
5638
|
}>, "many">>;
|
|
@@ -5655,16 +5656,16 @@ declare const fragmentDefinitionSchema: z.ZodObject<{
|
|
|
5655
5656
|
props: Record<string, {
|
|
5656
5657
|
type: string;
|
|
5657
5658
|
values?: readonly string[] | undefined;
|
|
5658
|
-
description?: string | undefined;
|
|
5659
5659
|
default?: unknown;
|
|
5660
5660
|
required?: boolean | undefined;
|
|
5661
|
+
description?: string | undefined;
|
|
5661
5662
|
constraints?: string[] | undefined;
|
|
5662
5663
|
typeDetails?: Record<string, unknown> | undefined;
|
|
5663
5664
|
}>;
|
|
5664
5665
|
meta: {
|
|
5665
|
-
description: string;
|
|
5666
5666
|
category: string;
|
|
5667
5667
|
name: string;
|
|
5668
|
+
description: string;
|
|
5668
5669
|
status?: "experimental" | "stable" | "deprecated" | "beta" | undefined;
|
|
5669
5670
|
dependencies?: {
|
|
5670
5671
|
name: string;
|
|
@@ -5700,8 +5701,8 @@ declare const fragmentDefinitionSchema: z.ZodObject<{
|
|
|
5700
5701
|
}> | undefined;
|
|
5701
5702
|
};
|
|
5702
5703
|
variants: {
|
|
5703
|
-
description: string;
|
|
5704
5704
|
name: string;
|
|
5705
|
+
description: string;
|
|
5705
5706
|
render: (...args: unknown[]) => unknown;
|
|
5706
5707
|
code?: string | undefined;
|
|
5707
5708
|
figma?: string | undefined;
|
|
@@ -5735,8 +5736,8 @@ declare const fragmentDefinitionSchema: z.ZodObject<{
|
|
|
5735
5736
|
inRegion: string;
|
|
5736
5737
|
}[] | undefined;
|
|
5737
5738
|
compoundChildren?: Record<string, {
|
|
5738
|
-
description?: string | undefined;
|
|
5739
5739
|
required?: boolean | undefined;
|
|
5740
|
+
description?: string | undefined;
|
|
5740
5741
|
accepts?: string[] | undefined;
|
|
5741
5742
|
}> | undefined;
|
|
5742
5743
|
a11yRules?: string[] | undefined;
|
|
@@ -5762,14 +5763,14 @@ declare const fragmentDefinitionSchema: z.ZodObject<{
|
|
|
5762
5763
|
note: string;
|
|
5763
5764
|
}[] | undefined;
|
|
5764
5765
|
usages?: {
|
|
5765
|
-
file: string;
|
|
5766
|
-
line: number;
|
|
5767
|
-
column: number;
|
|
5768
5766
|
props: {
|
|
5769
5767
|
kind: "boolean" | "null" | "jsx" | "static" | "dynamic" | "spread";
|
|
5770
5768
|
name: string;
|
|
5771
5769
|
value?: string | number | boolean | null | undefined;
|
|
5772
5770
|
}[];
|
|
5771
|
+
file: string;
|
|
5772
|
+
line: number;
|
|
5773
|
+
column: number;
|
|
5773
5774
|
parentElement?: string | undefined;
|
|
5774
5775
|
conditional?: boolean | undefined;
|
|
5775
5776
|
}[] | undefined;
|
|
@@ -5783,16 +5784,16 @@ declare const fragmentDefinitionSchema: z.ZodObject<{
|
|
|
5783
5784
|
props: Record<string, {
|
|
5784
5785
|
type: string;
|
|
5785
5786
|
values?: readonly string[] | undefined;
|
|
5786
|
-
description?: string | undefined;
|
|
5787
5787
|
default?: unknown;
|
|
5788
5788
|
required?: boolean | undefined;
|
|
5789
|
+
description?: string | undefined;
|
|
5789
5790
|
constraints?: string[] | undefined;
|
|
5790
5791
|
typeDetails?: Record<string, unknown> | undefined;
|
|
5791
5792
|
}>;
|
|
5792
5793
|
meta: {
|
|
5793
|
-
description: string;
|
|
5794
5794
|
category: string;
|
|
5795
5795
|
name: string;
|
|
5796
|
+
description: string;
|
|
5796
5797
|
status?: "experimental" | "stable" | "deprecated" | "beta" | undefined;
|
|
5797
5798
|
dependencies?: {
|
|
5798
5799
|
name: string;
|
|
@@ -5828,8 +5829,8 @@ declare const fragmentDefinitionSchema: z.ZodObject<{
|
|
|
5828
5829
|
}> | undefined;
|
|
5829
5830
|
};
|
|
5830
5831
|
variants: {
|
|
5831
|
-
description: string;
|
|
5832
5832
|
name: string;
|
|
5833
|
+
description: string;
|
|
5833
5834
|
render: (...args: unknown[]) => unknown;
|
|
5834
5835
|
code?: string | undefined;
|
|
5835
5836
|
figma?: string | undefined;
|
|
@@ -5863,8 +5864,8 @@ declare const fragmentDefinitionSchema: z.ZodObject<{
|
|
|
5863
5864
|
inRegion: string;
|
|
5864
5865
|
}[] | undefined;
|
|
5865
5866
|
compoundChildren?: Record<string, {
|
|
5866
|
-
description?: string | undefined;
|
|
5867
5867
|
required?: boolean | undefined;
|
|
5868
|
+
description?: string | undefined;
|
|
5868
5869
|
accepts?: string[] | undefined;
|
|
5869
5870
|
}> | undefined;
|
|
5870
5871
|
a11yRules?: string[] | undefined;
|
|
@@ -5890,14 +5891,14 @@ declare const fragmentDefinitionSchema: z.ZodObject<{
|
|
|
5890
5891
|
note: string;
|
|
5891
5892
|
}[] | undefined;
|
|
5892
5893
|
usages?: {
|
|
5893
|
-
file: string;
|
|
5894
|
-
line: number;
|
|
5895
|
-
column: number;
|
|
5896
5894
|
props: {
|
|
5897
5895
|
kind: "boolean" | "null" | "jsx" | "static" | "dynamic" | "spread";
|
|
5898
5896
|
name: string;
|
|
5899
5897
|
value?: string | number | boolean | null | undefined;
|
|
5900
5898
|
}[];
|
|
5899
|
+
file: string;
|
|
5900
|
+
line: number;
|
|
5901
|
+
column: number;
|
|
5901
5902
|
parentElement?: string | undefined;
|
|
5902
5903
|
conditional?: boolean | undefined;
|
|
5903
5904
|
}[] | undefined;
|
|
@@ -6180,17 +6181,17 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
6180
6181
|
routes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6181
6182
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
6182
6183
|
}, "strip", z.ZodTypeAny, {
|
|
6184
|
+
name: string;
|
|
6183
6185
|
criticality: "high" | "medium" | "low" | "revenue" | "regulated";
|
|
6184
6186
|
owners: string[];
|
|
6185
|
-
name: string;
|
|
6186
6187
|
id: string;
|
|
6187
6188
|
files: string[];
|
|
6188
6189
|
routes?: string[] | undefined;
|
|
6189
6190
|
priority?: number | undefined;
|
|
6190
6191
|
}, {
|
|
6192
|
+
name: string;
|
|
6191
6193
|
criticality: "high" | "medium" | "low" | "revenue" | "regulated";
|
|
6192
6194
|
owners: string[];
|
|
6193
|
-
name: string;
|
|
6194
6195
|
id: string;
|
|
6195
6196
|
files: string[];
|
|
6196
6197
|
routes?: string[] | undefined;
|
|
@@ -6199,9 +6200,9 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
6199
6200
|
}, "strip", z.ZodTypeAny, {
|
|
6200
6201
|
version: number;
|
|
6201
6202
|
areas: {
|
|
6203
|
+
name: string;
|
|
6202
6204
|
criticality: "high" | "medium" | "low" | "revenue" | "regulated";
|
|
6203
6205
|
owners: string[];
|
|
6204
|
-
name: string;
|
|
6205
6206
|
id: string;
|
|
6206
6207
|
files: string[];
|
|
6207
6208
|
routes?: string[] | undefined;
|
|
@@ -6211,9 +6212,9 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
6211
6212
|
}, {
|
|
6212
6213
|
version: number;
|
|
6213
6214
|
areas: {
|
|
6215
|
+
name: string;
|
|
6214
6216
|
criticality: "high" | "medium" | "low" | "revenue" | "regulated";
|
|
6215
6217
|
owners: string[];
|
|
6216
|
-
name: string;
|
|
6217
6218
|
id: string;
|
|
6218
6219
|
files: string[];
|
|
6219
6220
|
routes?: string[] | undefined;
|
|
@@ -6241,14 +6242,14 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
6241
6242
|
include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6242
6243
|
exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6243
6244
|
}, "strip", z.ZodTypeAny, {
|
|
6244
|
-
kind: "npm";
|
|
6245
6245
|
specifier: string;
|
|
6246
|
+
kind: "npm";
|
|
6246
6247
|
exclude?: string[] | undefined;
|
|
6247
6248
|
implementationPath?: string | undefined;
|
|
6248
6249
|
include?: string[] | undefined;
|
|
6249
6250
|
}, {
|
|
6250
|
-
kind: "npm";
|
|
6251
6251
|
specifier: string;
|
|
6252
|
+
kind: "npm";
|
|
6252
6253
|
exclude?: string[] | undefined;
|
|
6253
6254
|
implementationPath?: string | undefined;
|
|
6254
6255
|
include?: string[] | undefined;
|
|
@@ -6282,8 +6283,8 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
6282
6283
|
registryId: string;
|
|
6283
6284
|
receiptPath: string;
|
|
6284
6285
|
installPath: string;
|
|
6285
|
-
severity?: "error" | "info" | "warn" | undefined;
|
|
6286
6286
|
importPath?: string | undefined;
|
|
6287
|
+
severity?: "error" | "info" | "warn" | undefined;
|
|
6287
6288
|
exclude?: string[] | undefined;
|
|
6288
6289
|
include?: string[] | undefined;
|
|
6289
6290
|
registryHash?: string | undefined;
|
|
@@ -6291,8 +6292,8 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
6291
6292
|
kind: "registry";
|
|
6292
6293
|
registryId: string;
|
|
6293
6294
|
installPath: string;
|
|
6294
|
-
severity?: "error" | "info" | "warn" | undefined;
|
|
6295
6295
|
importPath?: string | undefined;
|
|
6296
|
+
severity?: "error" | "info" | "warn" | undefined;
|
|
6296
6297
|
exclude?: string[] | undefined;
|
|
6297
6298
|
include?: string[] | undefined;
|
|
6298
6299
|
registryHash?: string | undefined;
|
|
@@ -6329,11 +6330,11 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
6329
6330
|
state: z.ZodLiteral<"confirmed">;
|
|
6330
6331
|
source: z.ZodEnum<["authored", "migration"]>;
|
|
6331
6332
|
}, "strict", z.ZodTypeAny, {
|
|
6332
|
-
state: "confirmed";
|
|
6333
6333
|
source: "authored" | "migration";
|
|
6334
|
-
}, {
|
|
6335
6334
|
state: "confirmed";
|
|
6335
|
+
}, {
|
|
6336
6336
|
source: "authored" | "migration";
|
|
6337
|
+
state: "confirmed";
|
|
6337
6338
|
}>;
|
|
6338
6339
|
}, "strict", z.ZodTypeAny, {
|
|
6339
6340
|
underlying: {
|
|
@@ -6347,8 +6348,8 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
6347
6348
|
implementationFiles: string[];
|
|
6348
6349
|
};
|
|
6349
6350
|
decision: {
|
|
6350
|
-
state: "confirmed";
|
|
6351
6351
|
source: "authored" | "migration";
|
|
6352
|
+
state: "confirmed";
|
|
6352
6353
|
};
|
|
6353
6354
|
}, {
|
|
6354
6355
|
underlying: {
|
|
@@ -6362,8 +6363,8 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
6362
6363
|
implementationFiles: string[];
|
|
6363
6364
|
};
|
|
6364
6365
|
decision: {
|
|
6365
|
-
state: "confirmed";
|
|
6366
6366
|
source: "authored" | "migration";
|
|
6367
|
+
state: "confirmed";
|
|
6367
6368
|
};
|
|
6368
6369
|
}>, "many">, {
|
|
6369
6370
|
underlying: {
|
|
@@ -6377,8 +6378,8 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
6377
6378
|
implementationFiles: string[];
|
|
6378
6379
|
};
|
|
6379
6380
|
decision: {
|
|
6380
|
-
state: "confirmed";
|
|
6381
6381
|
source: "authored" | "migration";
|
|
6382
|
+
state: "confirmed";
|
|
6382
6383
|
};
|
|
6383
6384
|
}[], {
|
|
6384
6385
|
underlying: {
|
|
@@ -6392,8 +6393,8 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
6392
6393
|
implementationFiles: string[];
|
|
6393
6394
|
};
|
|
6394
6395
|
decision: {
|
|
6395
|
-
state: "confirmed";
|
|
6396
6396
|
source: "authored" | "migration";
|
|
6397
|
+
state: "confirmed";
|
|
6397
6398
|
};
|
|
6398
6399
|
}[]>>;
|
|
6399
6400
|
presets: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -6769,16 +6770,16 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
6769
6770
|
severity: z.ZodEnum<["error", "warn", "info"]>;
|
|
6770
6771
|
}, "strip", z.ZodTypeAny, {
|
|
6771
6772
|
kind: "prop.value.avoid";
|
|
6772
|
-
prop: string;
|
|
6773
6773
|
severity: "error" | "info" | "warn";
|
|
6774
6774
|
because: string;
|
|
6775
|
+
prop: string;
|
|
6775
6776
|
value?: unknown;
|
|
6776
6777
|
suggest?: string | undefined;
|
|
6777
6778
|
}, {
|
|
6778
6779
|
kind: "prop.value.avoid";
|
|
6779
|
-
prop: string;
|
|
6780
6780
|
severity: "error" | "info" | "warn";
|
|
6781
6781
|
because: string;
|
|
6782
|
+
prop: string;
|
|
6782
6783
|
value?: unknown;
|
|
6783
6784
|
suggest?: string | undefined;
|
|
6784
6785
|
}>, z.ZodObject<{
|
|
@@ -6803,28 +6804,28 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
6803
6804
|
severity: z.ZodEnum<["error", "warn", "info"]>;
|
|
6804
6805
|
}, "strip", z.ZodTypeAny, {
|
|
6805
6806
|
kind: "prop.value.forbid";
|
|
6806
|
-
prop: string;
|
|
6807
6807
|
severity: "error" | "info" | "warn";
|
|
6808
6808
|
because: string;
|
|
6809
|
+
prop: string;
|
|
6809
6810
|
value?: unknown;
|
|
6810
|
-
fix?: {
|
|
6811
|
-
replaceWith?: unknown;
|
|
6812
|
-
} | undefined;
|
|
6813
6811
|
when?: {
|
|
6814
6812
|
path?: string | undefined;
|
|
6815
6813
|
} | undefined;
|
|
6814
|
+
fix?: {
|
|
6815
|
+
replaceWith?: unknown;
|
|
6816
|
+
} | undefined;
|
|
6816
6817
|
}, {
|
|
6817
6818
|
kind: "prop.value.forbid";
|
|
6818
|
-
prop: string;
|
|
6819
6819
|
severity: "error" | "info" | "warn";
|
|
6820
6820
|
because: string;
|
|
6821
|
+
prop: string;
|
|
6821
6822
|
value?: unknown;
|
|
6822
|
-
fix?: {
|
|
6823
|
-
replaceWith?: unknown;
|
|
6824
|
-
} | undefined;
|
|
6825
6823
|
when?: {
|
|
6826
6824
|
path?: string | undefined;
|
|
6827
6825
|
} | undefined;
|
|
6826
|
+
fix?: {
|
|
6827
|
+
replaceWith?: unknown;
|
|
6828
|
+
} | undefined;
|
|
6828
6829
|
}>, z.ZodObject<{
|
|
6829
6830
|
kind: z.ZodLiteral<"a11y.requireName">;
|
|
6830
6831
|
because: z.ZodString;
|
|
@@ -6845,23 +6846,23 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
6845
6846
|
capability: string;
|
|
6846
6847
|
} | {
|
|
6847
6848
|
kind: "prop.value.avoid";
|
|
6848
|
-
prop: string;
|
|
6849
6849
|
severity: "error" | "info" | "warn";
|
|
6850
6850
|
because: string;
|
|
6851
|
+
prop: string;
|
|
6851
6852
|
value?: unknown;
|
|
6852
6853
|
suggest?: string | undefined;
|
|
6853
6854
|
} | {
|
|
6854
6855
|
kind: "prop.value.forbid";
|
|
6855
|
-
prop: string;
|
|
6856
6856
|
severity: "error" | "info" | "warn";
|
|
6857
6857
|
because: string;
|
|
6858
|
+
prop: string;
|
|
6858
6859
|
value?: unknown;
|
|
6859
|
-
fix?: {
|
|
6860
|
-
replaceWith?: unknown;
|
|
6861
|
-
} | undefined;
|
|
6862
6860
|
when?: {
|
|
6863
6861
|
path?: string | undefined;
|
|
6864
6862
|
} | undefined;
|
|
6863
|
+
fix?: {
|
|
6864
|
+
replaceWith?: unknown;
|
|
6865
|
+
} | undefined;
|
|
6865
6866
|
} | {
|
|
6866
6867
|
kind: "a11y.requireName";
|
|
6867
6868
|
severity: "error" | "info" | "warn";
|
|
@@ -6874,23 +6875,23 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
6874
6875
|
capability: string;
|
|
6875
6876
|
} | {
|
|
6876
6877
|
kind: "prop.value.avoid";
|
|
6877
|
-
prop: string;
|
|
6878
6878
|
severity: "error" | "info" | "warn";
|
|
6879
6879
|
because: string;
|
|
6880
|
+
prop: string;
|
|
6880
6881
|
value?: unknown;
|
|
6881
6882
|
suggest?: string | undefined;
|
|
6882
6883
|
} | {
|
|
6883
6884
|
kind: "prop.value.forbid";
|
|
6884
|
-
prop: string;
|
|
6885
6885
|
severity: "error" | "info" | "warn";
|
|
6886
6886
|
because: string;
|
|
6887
|
+
prop: string;
|
|
6887
6888
|
value?: unknown;
|
|
6888
|
-
fix?: {
|
|
6889
|
-
replaceWith?: unknown;
|
|
6890
|
-
} | undefined;
|
|
6891
6889
|
when?: {
|
|
6892
6890
|
path?: string | undefined;
|
|
6893
6891
|
} | undefined;
|
|
6892
|
+
fix?: {
|
|
6893
|
+
replaceWith?: unknown;
|
|
6894
|
+
} | undefined;
|
|
6894
6895
|
} | {
|
|
6895
6896
|
kind: "a11y.requireName";
|
|
6896
6897
|
severity: "error" | "info" | "warn";
|
|
@@ -6912,7 +6913,6 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
6912
6913
|
scope: z.ZodOptional<z.ZodEnum<["one", "all"]>>;
|
|
6913
6914
|
}, "strict", z.ZodTypeAny, {
|
|
6914
6915
|
path?: string | undefined;
|
|
6915
|
-
scope?: "one" | "all" | undefined;
|
|
6916
6916
|
importPath?: string | undefined;
|
|
6917
6917
|
componentId?: string | undefined;
|
|
6918
6918
|
name?: string | undefined;
|
|
@@ -6921,9 +6921,9 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
6921
6921
|
sourcePath?: string | undefined;
|
|
6922
6922
|
exportName?: string | undefined;
|
|
6923
6923
|
export?: string | undefined;
|
|
6924
|
+
scope?: "one" | "all" | undefined;
|
|
6924
6925
|
}, {
|
|
6925
6926
|
path?: string | undefined;
|
|
6926
|
-
scope?: "one" | "all" | undefined;
|
|
6927
6927
|
importPath?: string | undefined;
|
|
6928
6928
|
componentId?: string | undefined;
|
|
6929
6929
|
name?: string | undefined;
|
|
@@ -6932,6 +6932,7 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
6932
6932
|
sourcePath?: string | undefined;
|
|
6933
6933
|
exportName?: string | undefined;
|
|
6934
6934
|
export?: string | undefined;
|
|
6935
|
+
scope?: "one" | "all" | undefined;
|
|
6935
6936
|
}>;
|
|
6936
6937
|
rules: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
6937
6938
|
kind: z.ZodLiteral<"capability">;
|
|
@@ -6951,16 +6952,16 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
6951
6952
|
severity: z.ZodEnum<["error", "warn", "info"]>;
|
|
6952
6953
|
}, "strip", z.ZodTypeAny, {
|
|
6953
6954
|
kind: "prop.value.avoid";
|
|
6954
|
-
prop: string;
|
|
6955
6955
|
severity: "error" | "info" | "warn";
|
|
6956
6956
|
because: string;
|
|
6957
|
+
prop: string;
|
|
6957
6958
|
value?: unknown;
|
|
6958
6959
|
suggest?: string | undefined;
|
|
6959
6960
|
}, {
|
|
6960
6961
|
kind: "prop.value.avoid";
|
|
6961
|
-
prop: string;
|
|
6962
6962
|
severity: "error" | "info" | "warn";
|
|
6963
6963
|
because: string;
|
|
6964
|
+
prop: string;
|
|
6964
6965
|
value?: unknown;
|
|
6965
6966
|
suggest?: string | undefined;
|
|
6966
6967
|
}>, z.ZodObject<{
|
|
@@ -6985,28 +6986,28 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
6985
6986
|
severity: z.ZodEnum<["error", "warn", "info"]>;
|
|
6986
6987
|
}, "strip", z.ZodTypeAny, {
|
|
6987
6988
|
kind: "prop.value.forbid";
|
|
6988
|
-
prop: string;
|
|
6989
6989
|
severity: "error" | "info" | "warn";
|
|
6990
6990
|
because: string;
|
|
6991
|
+
prop: string;
|
|
6991
6992
|
value?: unknown;
|
|
6992
|
-
fix?: {
|
|
6993
|
-
replaceWith?: unknown;
|
|
6994
|
-
} | undefined;
|
|
6995
6993
|
when?: {
|
|
6996
6994
|
path?: string | undefined;
|
|
6997
6995
|
} | undefined;
|
|
6996
|
+
fix?: {
|
|
6997
|
+
replaceWith?: unknown;
|
|
6998
|
+
} | undefined;
|
|
6998
6999
|
}, {
|
|
6999
7000
|
kind: "prop.value.forbid";
|
|
7000
|
-
prop: string;
|
|
7001
7001
|
severity: "error" | "info" | "warn";
|
|
7002
7002
|
because: string;
|
|
7003
|
+
prop: string;
|
|
7003
7004
|
value?: unknown;
|
|
7004
|
-
fix?: {
|
|
7005
|
-
replaceWith?: unknown;
|
|
7006
|
-
} | undefined;
|
|
7007
7005
|
when?: {
|
|
7008
7006
|
path?: string | undefined;
|
|
7009
7007
|
} | undefined;
|
|
7008
|
+
fix?: {
|
|
7009
|
+
replaceWith?: unknown;
|
|
7010
|
+
} | undefined;
|
|
7010
7011
|
}>, z.ZodObject<{
|
|
7011
7012
|
kind: z.ZodLiteral<"a11y.requireName">;
|
|
7012
7013
|
because: z.ZodString;
|
|
@@ -7027,23 +7028,23 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
7027
7028
|
capability: string;
|
|
7028
7029
|
} | {
|
|
7029
7030
|
kind: "prop.value.avoid";
|
|
7030
|
-
prop: string;
|
|
7031
7031
|
severity: "error" | "info" | "warn";
|
|
7032
7032
|
because: string;
|
|
7033
|
+
prop: string;
|
|
7033
7034
|
value?: unknown;
|
|
7034
7035
|
suggest?: string | undefined;
|
|
7035
7036
|
} | {
|
|
7036
7037
|
kind: "prop.value.forbid";
|
|
7037
|
-
prop: string;
|
|
7038
7038
|
severity: "error" | "info" | "warn";
|
|
7039
7039
|
because: string;
|
|
7040
|
+
prop: string;
|
|
7040
7041
|
value?: unknown;
|
|
7041
|
-
fix?: {
|
|
7042
|
-
replaceWith?: unknown;
|
|
7043
|
-
} | undefined;
|
|
7044
7042
|
when?: {
|
|
7045
7043
|
path?: string | undefined;
|
|
7046
7044
|
} | undefined;
|
|
7045
|
+
fix?: {
|
|
7046
|
+
replaceWith?: unknown;
|
|
7047
|
+
} | undefined;
|
|
7047
7048
|
} | {
|
|
7048
7049
|
kind: "a11y.requireName";
|
|
7049
7050
|
severity: "error" | "info" | "warn";
|
|
@@ -7051,7 +7052,6 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
7051
7052
|
})[];
|
|
7052
7053
|
match: {
|
|
7053
7054
|
path?: string | undefined;
|
|
7054
|
-
scope?: "one" | "all" | undefined;
|
|
7055
7055
|
importPath?: string | undefined;
|
|
7056
7056
|
componentId?: string | undefined;
|
|
7057
7057
|
name?: string | undefined;
|
|
@@ -7060,6 +7060,7 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
7060
7060
|
sourcePath?: string | undefined;
|
|
7061
7061
|
exportName?: string | undefined;
|
|
7062
7062
|
export?: string | undefined;
|
|
7063
|
+
scope?: "one" | "all" | undefined;
|
|
7063
7064
|
};
|
|
7064
7065
|
status?: "active" | "draft" | "disabled" | undefined;
|
|
7065
7066
|
}, {
|
|
@@ -7068,23 +7069,23 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
7068
7069
|
capability: string;
|
|
7069
7070
|
} | {
|
|
7070
7071
|
kind: "prop.value.avoid";
|
|
7071
|
-
prop: string;
|
|
7072
7072
|
severity: "error" | "info" | "warn";
|
|
7073
7073
|
because: string;
|
|
7074
|
+
prop: string;
|
|
7074
7075
|
value?: unknown;
|
|
7075
7076
|
suggest?: string | undefined;
|
|
7076
7077
|
} | {
|
|
7077
7078
|
kind: "prop.value.forbid";
|
|
7078
|
-
prop: string;
|
|
7079
7079
|
severity: "error" | "info" | "warn";
|
|
7080
7080
|
because: string;
|
|
7081
|
+
prop: string;
|
|
7081
7082
|
value?: unknown;
|
|
7082
|
-
fix?: {
|
|
7083
|
-
replaceWith?: unknown;
|
|
7084
|
-
} | undefined;
|
|
7085
7083
|
when?: {
|
|
7086
7084
|
path?: string | undefined;
|
|
7087
7085
|
} | undefined;
|
|
7086
|
+
fix?: {
|
|
7087
|
+
replaceWith?: unknown;
|
|
7088
|
+
} | undefined;
|
|
7088
7089
|
} | {
|
|
7089
7090
|
kind: "a11y.requireName";
|
|
7090
7091
|
severity: "error" | "info" | "warn";
|
|
@@ -7092,7 +7093,6 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
7092
7093
|
})[];
|
|
7093
7094
|
match: {
|
|
7094
7095
|
path?: string | undefined;
|
|
7095
|
-
scope?: "one" | "all" | undefined;
|
|
7096
7096
|
importPath?: string | undefined;
|
|
7097
7097
|
componentId?: string | undefined;
|
|
7098
7098
|
name?: string | undefined;
|
|
@@ -7101,6 +7101,7 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
7101
7101
|
sourcePath?: string | undefined;
|
|
7102
7102
|
exportName?: string | undefined;
|
|
7103
7103
|
export?: string | undefined;
|
|
7104
|
+
scope?: "one" | "all" | undefined;
|
|
7104
7105
|
};
|
|
7105
7106
|
status?: "active" | "draft" | "disabled" | undefined;
|
|
7106
7107
|
}>, "many">>;
|
|
@@ -7121,23 +7122,23 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
7121
7122
|
capability: string;
|
|
7122
7123
|
} | {
|
|
7123
7124
|
kind: "prop.value.avoid";
|
|
7124
|
-
prop: string;
|
|
7125
7125
|
severity: "error" | "info" | "warn";
|
|
7126
7126
|
because: string;
|
|
7127
|
+
prop: string;
|
|
7127
7128
|
value?: unknown;
|
|
7128
7129
|
suggest?: string | undefined;
|
|
7129
7130
|
} | {
|
|
7130
7131
|
kind: "prop.value.forbid";
|
|
7131
|
-
prop: string;
|
|
7132
7132
|
severity: "error" | "info" | "warn";
|
|
7133
7133
|
because: string;
|
|
7134
|
+
prop: string;
|
|
7134
7135
|
value?: unknown;
|
|
7135
|
-
fix?: {
|
|
7136
|
-
replaceWith?: unknown;
|
|
7137
|
-
} | undefined;
|
|
7138
7136
|
when?: {
|
|
7139
7137
|
path?: string | undefined;
|
|
7140
7138
|
} | undefined;
|
|
7139
|
+
fix?: {
|
|
7140
|
+
replaceWith?: unknown;
|
|
7141
|
+
} | undefined;
|
|
7141
7142
|
} | {
|
|
7142
7143
|
kind: "a11y.requireName";
|
|
7143
7144
|
severity: "error" | "info" | "warn";
|
|
@@ -7253,23 +7254,23 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
7253
7254
|
capability: string;
|
|
7254
7255
|
} | {
|
|
7255
7256
|
kind: "prop.value.avoid";
|
|
7256
|
-
prop: string;
|
|
7257
7257
|
severity: "error" | "info" | "warn";
|
|
7258
7258
|
because: string;
|
|
7259
|
+
prop: string;
|
|
7259
7260
|
value?: unknown;
|
|
7260
7261
|
suggest?: string | undefined;
|
|
7261
7262
|
} | {
|
|
7262
7263
|
kind: "prop.value.forbid";
|
|
7263
|
-
prop: string;
|
|
7264
7264
|
severity: "error" | "info" | "warn";
|
|
7265
7265
|
because: string;
|
|
7266
|
+
prop: string;
|
|
7266
7267
|
value?: unknown;
|
|
7267
|
-
fix?: {
|
|
7268
|
-
replaceWith?: unknown;
|
|
7269
|
-
} | undefined;
|
|
7270
7268
|
when?: {
|
|
7271
7269
|
path?: string | undefined;
|
|
7272
7270
|
} | undefined;
|
|
7271
|
+
fix?: {
|
|
7272
|
+
replaceWith?: unknown;
|
|
7273
|
+
} | undefined;
|
|
7273
7274
|
} | {
|
|
7274
7275
|
kind: "a11y.requireName";
|
|
7275
7276
|
severity: "error" | "info" | "warn";
|
|
@@ -7277,7 +7278,6 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
7277
7278
|
})[];
|
|
7278
7279
|
match: {
|
|
7279
7280
|
path?: string | undefined;
|
|
7280
|
-
scope?: "one" | "all" | undefined;
|
|
7281
7281
|
importPath?: string | undefined;
|
|
7282
7282
|
componentId?: string | undefined;
|
|
7283
7283
|
name?: string | undefined;
|
|
@@ -7286,6 +7286,7 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
7286
7286
|
sourcePath?: string | undefined;
|
|
7287
7287
|
exportName?: string | undefined;
|
|
7288
7288
|
export?: string | undefined;
|
|
7289
|
+
scope?: "one" | "all" | undefined;
|
|
7289
7290
|
};
|
|
7290
7291
|
status?: "active" | "draft" | "disabled" | undefined;
|
|
7291
7292
|
}[] | undefined;
|
|
@@ -7296,8 +7297,8 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
7296
7297
|
audit?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
7297
7298
|
runners?: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
7298
7299
|
canonicalSources?: ({
|
|
7299
|
-
kind: "npm";
|
|
7300
7300
|
specifier: string;
|
|
7301
|
+
kind: "npm";
|
|
7301
7302
|
exclude?: string[] | undefined;
|
|
7302
7303
|
implementationPath?: string | undefined;
|
|
7303
7304
|
include?: string[] | undefined;
|
|
@@ -7311,8 +7312,8 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
7311
7312
|
registryId: string;
|
|
7312
7313
|
receiptPath: string;
|
|
7313
7314
|
installPath: string;
|
|
7314
|
-
severity?: "error" | "info" | "warn" | undefined;
|
|
7315
7315
|
importPath?: string | undefined;
|
|
7316
|
+
severity?: "error" | "info" | "warn" | undefined;
|
|
7316
7317
|
exclude?: string[] | undefined;
|
|
7317
7318
|
include?: string[] | undefined;
|
|
7318
7319
|
registryHash?: string | undefined;
|
|
@@ -7329,8 +7330,8 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
7329
7330
|
implementationFiles: string[];
|
|
7330
7331
|
};
|
|
7331
7332
|
decision: {
|
|
7332
|
-
state: "confirmed";
|
|
7333
7333
|
source: "authored" | "migration";
|
|
7334
|
+
state: "confirmed";
|
|
7334
7335
|
};
|
|
7335
7336
|
}[] | undefined;
|
|
7336
7337
|
presets?: string[] | undefined;
|
|
@@ -7348,23 +7349,23 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
7348
7349
|
capability: string;
|
|
7349
7350
|
} | {
|
|
7350
7351
|
kind: "prop.value.avoid";
|
|
7351
|
-
prop: string;
|
|
7352
7352
|
severity: "error" | "info" | "warn";
|
|
7353
7353
|
because: string;
|
|
7354
|
+
prop: string;
|
|
7354
7355
|
value?: unknown;
|
|
7355
7356
|
suggest?: string | undefined;
|
|
7356
7357
|
} | {
|
|
7357
7358
|
kind: "prop.value.forbid";
|
|
7358
|
-
prop: string;
|
|
7359
7359
|
severity: "error" | "info" | "warn";
|
|
7360
7360
|
because: string;
|
|
7361
|
+
prop: string;
|
|
7361
7362
|
value?: unknown;
|
|
7362
|
-
fix?: {
|
|
7363
|
-
replaceWith?: unknown;
|
|
7364
|
-
} | undefined;
|
|
7365
7363
|
when?: {
|
|
7366
7364
|
path?: string | undefined;
|
|
7367
7365
|
} | undefined;
|
|
7366
|
+
fix?: {
|
|
7367
|
+
replaceWith?: unknown;
|
|
7368
|
+
} | undefined;
|
|
7368
7369
|
} | {
|
|
7369
7370
|
kind: "a11y.requireName";
|
|
7370
7371
|
severity: "error" | "info" | "warn";
|
|
@@ -7480,23 +7481,23 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
7480
7481
|
capability: string;
|
|
7481
7482
|
} | {
|
|
7482
7483
|
kind: "prop.value.avoid";
|
|
7483
|
-
prop: string;
|
|
7484
7484
|
severity: "error" | "info" | "warn";
|
|
7485
7485
|
because: string;
|
|
7486
|
+
prop: string;
|
|
7486
7487
|
value?: unknown;
|
|
7487
7488
|
suggest?: string | undefined;
|
|
7488
7489
|
} | {
|
|
7489
7490
|
kind: "prop.value.forbid";
|
|
7490
|
-
prop: string;
|
|
7491
7491
|
severity: "error" | "info" | "warn";
|
|
7492
7492
|
because: string;
|
|
7493
|
+
prop: string;
|
|
7493
7494
|
value?: unknown;
|
|
7494
|
-
fix?: {
|
|
7495
|
-
replaceWith?: unknown;
|
|
7496
|
-
} | undefined;
|
|
7497
7495
|
when?: {
|
|
7498
7496
|
path?: string | undefined;
|
|
7499
7497
|
} | undefined;
|
|
7498
|
+
fix?: {
|
|
7499
|
+
replaceWith?: unknown;
|
|
7500
|
+
} | undefined;
|
|
7500
7501
|
} | {
|
|
7501
7502
|
kind: "a11y.requireName";
|
|
7502
7503
|
severity: "error" | "info" | "warn";
|
|
@@ -7504,7 +7505,6 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
7504
7505
|
})[];
|
|
7505
7506
|
match: {
|
|
7506
7507
|
path?: string | undefined;
|
|
7507
|
-
scope?: "one" | "all" | undefined;
|
|
7508
7508
|
importPath?: string | undefined;
|
|
7509
7509
|
componentId?: string | undefined;
|
|
7510
7510
|
name?: string | undefined;
|
|
@@ -7513,6 +7513,7 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
7513
7513
|
sourcePath?: string | undefined;
|
|
7514
7514
|
exportName?: string | undefined;
|
|
7515
7515
|
export?: string | undefined;
|
|
7516
|
+
scope?: "one" | "all" | undefined;
|
|
7516
7517
|
};
|
|
7517
7518
|
status?: "active" | "draft" | "disabled" | undefined;
|
|
7518
7519
|
}[] | undefined;
|
|
@@ -7523,8 +7524,8 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
7523
7524
|
audit?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
7524
7525
|
runners?: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
7525
7526
|
canonicalSources?: ({
|
|
7526
|
-
kind: "npm";
|
|
7527
7527
|
specifier: string;
|
|
7528
|
+
kind: "npm";
|
|
7528
7529
|
exclude?: string[] | undefined;
|
|
7529
7530
|
implementationPath?: string | undefined;
|
|
7530
7531
|
include?: string[] | undefined;
|
|
@@ -7537,8 +7538,8 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
7537
7538
|
kind: "registry";
|
|
7538
7539
|
registryId: string;
|
|
7539
7540
|
installPath: string;
|
|
7540
|
-
severity?: "error" | "info" | "warn" | undefined;
|
|
7541
7541
|
importPath?: string | undefined;
|
|
7542
|
+
severity?: "error" | "info" | "warn" | undefined;
|
|
7542
7543
|
exclude?: string[] | undefined;
|
|
7543
7544
|
include?: string[] | undefined;
|
|
7544
7545
|
registryHash?: string | undefined;
|
|
@@ -7556,8 +7557,8 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
7556
7557
|
implementationFiles: string[];
|
|
7557
7558
|
};
|
|
7558
7559
|
decision: {
|
|
7559
|
-
state: "confirmed";
|
|
7560
7560
|
source: "authored" | "migration";
|
|
7561
|
+
state: "confirmed";
|
|
7561
7562
|
};
|
|
7562
7563
|
}[] | undefined;
|
|
7563
7564
|
presets?: string[] | undefined;
|
|
@@ -7658,47 +7659,6 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
7658
7659
|
}[] | undefined;
|
|
7659
7660
|
}>>;
|
|
7660
7661
|
}, "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;
|
|
7702
7662
|
govern?: {
|
|
7703
7663
|
components?: Record<string, {
|
|
7704
7664
|
rules: ({
|
|
@@ -7706,23 +7666,23 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
7706
7666
|
capability: string;
|
|
7707
7667
|
} | {
|
|
7708
7668
|
kind: "prop.value.avoid";
|
|
7709
|
-
prop: string;
|
|
7710
7669
|
severity: "error" | "info" | "warn";
|
|
7711
7670
|
because: string;
|
|
7671
|
+
prop: string;
|
|
7712
7672
|
value?: unknown;
|
|
7713
7673
|
suggest?: string | undefined;
|
|
7714
7674
|
} | {
|
|
7715
7675
|
kind: "prop.value.forbid";
|
|
7716
|
-
prop: string;
|
|
7717
7676
|
severity: "error" | "info" | "warn";
|
|
7718
7677
|
because: string;
|
|
7678
|
+
prop: string;
|
|
7719
7679
|
value?: unknown;
|
|
7720
|
-
fix?: {
|
|
7721
|
-
replaceWith?: unknown;
|
|
7722
|
-
} | undefined;
|
|
7723
7680
|
when?: {
|
|
7724
7681
|
path?: string | undefined;
|
|
7725
7682
|
} | undefined;
|
|
7683
|
+
fix?: {
|
|
7684
|
+
replaceWith?: unknown;
|
|
7685
|
+
} | undefined;
|
|
7726
7686
|
} | {
|
|
7727
7687
|
kind: "a11y.requireName";
|
|
7728
7688
|
severity: "error" | "info" | "warn";
|
|
@@ -7838,23 +7798,23 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
7838
7798
|
capability: string;
|
|
7839
7799
|
} | {
|
|
7840
7800
|
kind: "prop.value.avoid";
|
|
7841
|
-
prop: string;
|
|
7842
7801
|
severity: "error" | "info" | "warn";
|
|
7843
7802
|
because: string;
|
|
7803
|
+
prop: string;
|
|
7844
7804
|
value?: unknown;
|
|
7845
7805
|
suggest?: string | undefined;
|
|
7846
7806
|
} | {
|
|
7847
7807
|
kind: "prop.value.forbid";
|
|
7848
|
-
prop: string;
|
|
7849
7808
|
severity: "error" | "info" | "warn";
|
|
7850
7809
|
because: string;
|
|
7810
|
+
prop: string;
|
|
7851
7811
|
value?: unknown;
|
|
7852
|
-
fix?: {
|
|
7853
|
-
replaceWith?: unknown;
|
|
7854
|
-
} | undefined;
|
|
7855
7812
|
when?: {
|
|
7856
7813
|
path?: string | undefined;
|
|
7857
7814
|
} | undefined;
|
|
7815
|
+
fix?: {
|
|
7816
|
+
replaceWith?: unknown;
|
|
7817
|
+
} | undefined;
|
|
7858
7818
|
} | {
|
|
7859
7819
|
kind: "a11y.requireName";
|
|
7860
7820
|
severity: "error" | "info" | "warn";
|
|
@@ -7862,7 +7822,6 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
7862
7822
|
})[];
|
|
7863
7823
|
match: {
|
|
7864
7824
|
path?: string | undefined;
|
|
7865
|
-
scope?: "one" | "all" | undefined;
|
|
7866
7825
|
importPath?: string | undefined;
|
|
7867
7826
|
componentId?: string | undefined;
|
|
7868
7827
|
name?: string | undefined;
|
|
@@ -7871,6 +7830,7 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
7871
7830
|
sourcePath?: string | undefined;
|
|
7872
7831
|
exportName?: string | undefined;
|
|
7873
7832
|
export?: string | undefined;
|
|
7833
|
+
scope?: "one" | "all" | undefined;
|
|
7874
7834
|
};
|
|
7875
7835
|
status?: "active" | "draft" | "disabled" | undefined;
|
|
7876
7836
|
}[] | undefined;
|
|
@@ -7881,8 +7841,8 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
7881
7841
|
audit?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
7882
7842
|
runners?: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
7883
7843
|
canonicalSources?: ({
|
|
7884
|
-
kind: "npm";
|
|
7885
7844
|
specifier: string;
|
|
7845
|
+
kind: "npm";
|
|
7886
7846
|
exclude?: string[] | undefined;
|
|
7887
7847
|
implementationPath?: string | undefined;
|
|
7888
7848
|
include?: string[] | undefined;
|
|
@@ -7896,8 +7856,8 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
7896
7856
|
registryId: string;
|
|
7897
7857
|
receiptPath: string;
|
|
7898
7858
|
installPath: string;
|
|
7899
|
-
severity?: "error" | "info" | "warn" | undefined;
|
|
7900
7859
|
importPath?: string | undefined;
|
|
7860
|
+
severity?: "error" | "info" | "warn" | undefined;
|
|
7901
7861
|
exclude?: string[] | undefined;
|
|
7902
7862
|
include?: string[] | undefined;
|
|
7903
7863
|
registryHash?: string | undefined;
|
|
@@ -7914,8 +7874,8 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
7914
7874
|
implementationFiles: string[];
|
|
7915
7875
|
};
|
|
7916
7876
|
decision: {
|
|
7917
|
-
state: "confirmed";
|
|
7918
7877
|
source: "authored" | "migration";
|
|
7878
|
+
state: "confirmed";
|
|
7919
7879
|
};
|
|
7920
7880
|
}[] | undefined;
|
|
7921
7881
|
presets?: string[] | undefined;
|
|
@@ -7927,6 +7887,60 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
7927
7887
|
failOnInert: z.ZodOptional<z.ZodBoolean>;
|
|
7928
7888
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
7929
7889
|
} | undefined;
|
|
7890
|
+
components?: string[] | undefined;
|
|
7891
|
+
screenshots?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
7892
|
+
topology?: {
|
|
7893
|
+
version: number;
|
|
7894
|
+
areas: {
|
|
7895
|
+
name: string;
|
|
7896
|
+
criticality: "high" | "medium" | "low" | "revenue" | "regulated";
|
|
7897
|
+
owners: string[];
|
|
7898
|
+
id: string;
|
|
7899
|
+
files: string[];
|
|
7900
|
+
routes?: string[] | undefined;
|
|
7901
|
+
priority?: number | undefined;
|
|
7902
|
+
}[];
|
|
7903
|
+
base?: "app" | "repo" | undefined;
|
|
7904
|
+
} | undefined;
|
|
7905
|
+
tokens?: z.objectOutputType<{
|
|
7906
|
+
include: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
7907
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7908
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
|
7909
|
+
format: z.ZodOptional<z.ZodEnum<["auto", "css", "scss", "dtcg", "tailwind"]>>;
|
|
7910
|
+
}, "strip", z.ZodTypeAny, {
|
|
7911
|
+
path: string;
|
|
7912
|
+
format?: "tailwind" | "auto" | "css" | "scss" | "dtcg" | undefined;
|
|
7913
|
+
}, {
|
|
7914
|
+
path: string;
|
|
7915
|
+
format?: "tailwind" | "auto" | "css" | "scss" | "dtcg" | undefined;
|
|
7916
|
+
}>, "many">>;
|
|
7917
|
+
packages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7918
|
+
aliases: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7919
|
+
upstream: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7920
|
+
packageName: z.ZodString;
|
|
7921
|
+
version: z.ZodOptional<z.ZodString>;
|
|
7922
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
7923
|
+
}, "strip", z.ZodTypeAny, {
|
|
7924
|
+
packageName: string;
|
|
7925
|
+
version?: string | undefined;
|
|
7926
|
+
digest?: string | undefined;
|
|
7927
|
+
}, {
|
|
7928
|
+
packageName: string;
|
|
7929
|
+
version?: string | undefined;
|
|
7930
|
+
digest?: string | undefined;
|
|
7931
|
+
}>, "many">>;
|
|
7932
|
+
exclude: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
7933
|
+
themeSelectors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7934
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
7935
|
+
format: z.ZodOptional<z.ZodEnum<["auto", "css", "scss", "dtcg", "tailwind"]>>;
|
|
7936
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
7937
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
7938
|
+
performance?: "strict" | "relaxed" | "standard" | {
|
|
7939
|
+
preset?: "strict" | "relaxed" | "standard" | undefined;
|
|
7940
|
+
budgets?: {
|
|
7941
|
+
bundleSize?: number | undefined;
|
|
7942
|
+
} | undefined;
|
|
7943
|
+
} | undefined;
|
|
7930
7944
|
exclude?: string[] | undefined;
|
|
7931
7945
|
include?: string[] | undefined;
|
|
7932
7946
|
registry?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
@@ -7959,19 +7973,6 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
7959
7973
|
requireFullSnippet?: boolean | undefined;
|
|
7960
7974
|
allowedExternalModules?: string[] | undefined;
|
|
7961
7975
|
} | undefined;
|
|
7962
|
-
topology?: {
|
|
7963
|
-
version: number;
|
|
7964
|
-
areas: {
|
|
7965
|
-
criticality: "high" | "medium" | "low" | "revenue" | "regulated";
|
|
7966
|
-
owners: string[];
|
|
7967
|
-
name: string;
|
|
7968
|
-
id: string;
|
|
7969
|
-
files: string[];
|
|
7970
|
-
routes?: string[] | undefined;
|
|
7971
|
-
priority?: number | undefined;
|
|
7972
|
-
}[];
|
|
7973
|
-
base?: "app" | "repo" | undefined;
|
|
7974
|
-
} | undefined;
|
|
7975
7976
|
inspect?: {
|
|
7976
7977
|
localCanonical?: Record<string, {
|
|
7977
7978
|
importPath: string;
|
|
@@ -7993,47 +7994,6 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
7993
7994
|
}[] | undefined;
|
|
7994
7995
|
} | undefined;
|
|
7995
7996
|
}, {
|
|
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;
|
|
8037
7997
|
govern?: {
|
|
8038
7998
|
components?: Record<string, {
|
|
8039
7999
|
rules: ({
|
|
@@ -8041,23 +8001,23 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
8041
8001
|
capability: string;
|
|
8042
8002
|
} | {
|
|
8043
8003
|
kind: "prop.value.avoid";
|
|
8044
|
-
prop: string;
|
|
8045
8004
|
severity: "error" | "info" | "warn";
|
|
8046
8005
|
because: string;
|
|
8006
|
+
prop: string;
|
|
8047
8007
|
value?: unknown;
|
|
8048
8008
|
suggest?: string | undefined;
|
|
8049
8009
|
} | {
|
|
8050
8010
|
kind: "prop.value.forbid";
|
|
8051
|
-
prop: string;
|
|
8052
8011
|
severity: "error" | "info" | "warn";
|
|
8053
8012
|
because: string;
|
|
8013
|
+
prop: string;
|
|
8054
8014
|
value?: unknown;
|
|
8055
|
-
fix?: {
|
|
8056
|
-
replaceWith?: unknown;
|
|
8057
|
-
} | undefined;
|
|
8058
8015
|
when?: {
|
|
8059
8016
|
path?: string | undefined;
|
|
8060
8017
|
} | undefined;
|
|
8018
|
+
fix?: {
|
|
8019
|
+
replaceWith?: unknown;
|
|
8020
|
+
} | undefined;
|
|
8061
8021
|
} | {
|
|
8062
8022
|
kind: "a11y.requireName";
|
|
8063
8023
|
severity: "error" | "info" | "warn";
|
|
@@ -8173,23 +8133,23 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
8173
8133
|
capability: string;
|
|
8174
8134
|
} | {
|
|
8175
8135
|
kind: "prop.value.avoid";
|
|
8176
|
-
prop: string;
|
|
8177
8136
|
severity: "error" | "info" | "warn";
|
|
8178
8137
|
because: string;
|
|
8138
|
+
prop: string;
|
|
8179
8139
|
value?: unknown;
|
|
8180
8140
|
suggest?: string | undefined;
|
|
8181
8141
|
} | {
|
|
8182
8142
|
kind: "prop.value.forbid";
|
|
8183
|
-
prop: string;
|
|
8184
8143
|
severity: "error" | "info" | "warn";
|
|
8185
8144
|
because: string;
|
|
8145
|
+
prop: string;
|
|
8186
8146
|
value?: unknown;
|
|
8187
|
-
fix?: {
|
|
8188
|
-
replaceWith?: unknown;
|
|
8189
|
-
} | undefined;
|
|
8190
8147
|
when?: {
|
|
8191
8148
|
path?: string | undefined;
|
|
8192
8149
|
} | undefined;
|
|
8150
|
+
fix?: {
|
|
8151
|
+
replaceWith?: unknown;
|
|
8152
|
+
} | undefined;
|
|
8193
8153
|
} | {
|
|
8194
8154
|
kind: "a11y.requireName";
|
|
8195
8155
|
severity: "error" | "info" | "warn";
|
|
@@ -8197,7 +8157,6 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
8197
8157
|
})[];
|
|
8198
8158
|
match: {
|
|
8199
8159
|
path?: string | undefined;
|
|
8200
|
-
scope?: "one" | "all" | undefined;
|
|
8201
8160
|
importPath?: string | undefined;
|
|
8202
8161
|
componentId?: string | undefined;
|
|
8203
8162
|
name?: string | undefined;
|
|
@@ -8206,6 +8165,7 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
8206
8165
|
sourcePath?: string | undefined;
|
|
8207
8166
|
exportName?: string | undefined;
|
|
8208
8167
|
export?: string | undefined;
|
|
8168
|
+
scope?: "one" | "all" | undefined;
|
|
8209
8169
|
};
|
|
8210
8170
|
status?: "active" | "draft" | "disabled" | undefined;
|
|
8211
8171
|
}[] | undefined;
|
|
@@ -8216,8 +8176,8 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
8216
8176
|
audit?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
8217
8177
|
runners?: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
8218
8178
|
canonicalSources?: ({
|
|
8219
|
-
kind: "npm";
|
|
8220
8179
|
specifier: string;
|
|
8180
|
+
kind: "npm";
|
|
8221
8181
|
exclude?: string[] | undefined;
|
|
8222
8182
|
implementationPath?: string | undefined;
|
|
8223
8183
|
include?: string[] | undefined;
|
|
@@ -8230,8 +8190,8 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
8230
8190
|
kind: "registry";
|
|
8231
8191
|
registryId: string;
|
|
8232
8192
|
installPath: string;
|
|
8233
|
-
severity?: "error" | "info" | "warn" | undefined;
|
|
8234
8193
|
importPath?: string | undefined;
|
|
8194
|
+
severity?: "error" | "info" | "warn" | undefined;
|
|
8235
8195
|
exclude?: string[] | undefined;
|
|
8236
8196
|
include?: string[] | undefined;
|
|
8237
8197
|
registryHash?: string | undefined;
|
|
@@ -8249,8 +8209,8 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
8249
8209
|
implementationFiles: string[];
|
|
8250
8210
|
};
|
|
8251
8211
|
decision: {
|
|
8252
|
-
state: "confirmed";
|
|
8253
8212
|
source: "authored" | "migration";
|
|
8213
|
+
state: "confirmed";
|
|
8254
8214
|
};
|
|
8255
8215
|
}[] | undefined;
|
|
8256
8216
|
presets?: string[] | undefined;
|
|
@@ -8262,6 +8222,60 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
8262
8222
|
failOnInert: z.ZodOptional<z.ZodBoolean>;
|
|
8263
8223
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
8264
8224
|
} | undefined;
|
|
8225
|
+
components?: string[] | undefined;
|
|
8226
|
+
screenshots?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
8227
|
+
topology?: {
|
|
8228
|
+
version: number;
|
|
8229
|
+
areas: {
|
|
8230
|
+
name: string;
|
|
8231
|
+
criticality: "high" | "medium" | "low" | "revenue" | "regulated";
|
|
8232
|
+
owners: string[];
|
|
8233
|
+
id: string;
|
|
8234
|
+
files: string[];
|
|
8235
|
+
routes?: string[] | undefined;
|
|
8236
|
+
priority?: number | undefined;
|
|
8237
|
+
}[];
|
|
8238
|
+
base?: "app" | "repo" | undefined;
|
|
8239
|
+
} | undefined;
|
|
8240
|
+
tokens?: z.objectInputType<{
|
|
8241
|
+
include: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
8242
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8243
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
|
8244
|
+
format: z.ZodOptional<z.ZodEnum<["auto", "css", "scss", "dtcg", "tailwind"]>>;
|
|
8245
|
+
}, "strip", z.ZodTypeAny, {
|
|
8246
|
+
path: string;
|
|
8247
|
+
format?: "tailwind" | "auto" | "css" | "scss" | "dtcg" | undefined;
|
|
8248
|
+
}, {
|
|
8249
|
+
path: string;
|
|
8250
|
+
format?: "tailwind" | "auto" | "css" | "scss" | "dtcg" | undefined;
|
|
8251
|
+
}>, "many">>;
|
|
8252
|
+
packages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8253
|
+
aliases: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8254
|
+
upstream: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8255
|
+
packageName: z.ZodString;
|
|
8256
|
+
version: z.ZodOptional<z.ZodString>;
|
|
8257
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
8258
|
+
}, "strip", z.ZodTypeAny, {
|
|
8259
|
+
packageName: string;
|
|
8260
|
+
version?: string | undefined;
|
|
8261
|
+
digest?: string | undefined;
|
|
8262
|
+
}, {
|
|
8263
|
+
packageName: string;
|
|
8264
|
+
version?: string | undefined;
|
|
8265
|
+
digest?: string | undefined;
|
|
8266
|
+
}>, "many">>;
|
|
8267
|
+
exclude: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
8268
|
+
themeSelectors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8269
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
8270
|
+
format: z.ZodOptional<z.ZodEnum<["auto", "css", "scss", "dtcg", "tailwind"]>>;
|
|
8271
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
8272
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
8273
|
+
performance?: "strict" | "relaxed" | "standard" | {
|
|
8274
|
+
preset?: "strict" | "relaxed" | "standard" | undefined;
|
|
8275
|
+
budgets?: {
|
|
8276
|
+
bundleSize?: number | undefined;
|
|
8277
|
+
} | undefined;
|
|
8278
|
+
} | undefined;
|
|
8265
8279
|
exclude?: string[] | undefined;
|
|
8266
8280
|
include?: string[] | undefined;
|
|
8267
8281
|
registry?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
@@ -8294,19 +8308,6 @@ declare const fragmentsConfigSchema: z.ZodObject<{
|
|
|
8294
8308
|
requireFullSnippet?: boolean | undefined;
|
|
8295
8309
|
allowedExternalModules?: string[] | undefined;
|
|
8296
8310
|
} | undefined;
|
|
8297
|
-
topology?: {
|
|
8298
|
-
version: number;
|
|
8299
|
-
areas: {
|
|
8300
|
-
criticality: "high" | "medium" | "low" | "revenue" | "regulated";
|
|
8301
|
-
owners: string[];
|
|
8302
|
-
name: string;
|
|
8303
|
-
id: string;
|
|
8304
|
-
files: string[];
|
|
8305
|
-
routes?: string[] | undefined;
|
|
8306
|
-
priority?: number | undefined;
|
|
8307
|
-
}[];
|
|
8308
|
-
base?: "app" | "repo" | undefined;
|
|
8309
|
-
} | undefined;
|
|
8310
8311
|
inspect?: {
|
|
8311
8312
|
localCanonical?: Record<string, {
|
|
8312
8313
|
importPath: string;
|
|
@@ -8477,9 +8478,9 @@ declare const fragmentDefinitionV2Schema: z.ZodObject<{
|
|
|
8477
8478
|
layer: string;
|
|
8478
8479
|
}>]>>>;
|
|
8479
8480
|
}, "strip", z.ZodTypeAny, {
|
|
8480
|
-
description: string;
|
|
8481
8481
|
category: string;
|
|
8482
8482
|
name: string;
|
|
8483
|
+
description: string;
|
|
8483
8484
|
status?: "experimental" | "stable" | "deprecated" | "beta" | undefined;
|
|
8484
8485
|
dependencies?: {
|
|
8485
8486
|
name: string;
|
|
@@ -8514,9 +8515,9 @@ declare const fragmentDefinitionV2Schema: z.ZodObject<{
|
|
|
8514
8515
|
layer: string;
|
|
8515
8516
|
}> | undefined;
|
|
8516
8517
|
}, {
|
|
8517
|
-
description: string;
|
|
8518
8518
|
category: string;
|
|
8519
8519
|
name: string;
|
|
8520
|
+
description: string;
|
|
8520
8521
|
status?: "experimental" | "stable" | "deprecated" | "beta" | undefined;
|
|
8521
8522
|
dependencies?: {
|
|
8522
8523
|
name: string;
|
|
@@ -8578,17 +8579,17 @@ declare const fragmentDefinitionV2Schema: z.ZodObject<{
|
|
|
8578
8579
|
}, "strip", z.ZodTypeAny, {
|
|
8579
8580
|
type: string;
|
|
8580
8581
|
values?: readonly string[] | undefined;
|
|
8581
|
-
description?: string | undefined;
|
|
8582
8582
|
default?: unknown;
|
|
8583
8583
|
required?: boolean | undefined;
|
|
8584
|
+
description?: string | undefined;
|
|
8584
8585
|
constraints?: string[] | undefined;
|
|
8585
8586
|
typeDetails?: Record<string, unknown> | undefined;
|
|
8586
8587
|
}, {
|
|
8587
8588
|
type: string;
|
|
8588
8589
|
values?: readonly string[] | undefined;
|
|
8589
|
-
description?: string | undefined;
|
|
8590
8590
|
default?: unknown;
|
|
8591
8591
|
required?: boolean | undefined;
|
|
8592
|
+
description?: string | undefined;
|
|
8592
8593
|
constraints?: string[] | undefined;
|
|
8593
8594
|
typeDetails?: Record<string, unknown> | undefined;
|
|
8594
8595
|
}>>;
|
|
@@ -8612,14 +8613,14 @@ declare const fragmentDefinitionV2Schema: z.ZodObject<{
|
|
|
8612
8613
|
code: z.ZodOptional<z.ZodString>;
|
|
8613
8614
|
figma: z.ZodOptional<z.ZodString>;
|
|
8614
8615
|
}, "strip", z.ZodTypeAny, {
|
|
8615
|
-
description: string;
|
|
8616
8616
|
name: string;
|
|
8617
|
+
description: string;
|
|
8617
8618
|
render: (...args: unknown[]) => unknown;
|
|
8618
8619
|
code?: string | undefined;
|
|
8619
8620
|
figma?: string | undefined;
|
|
8620
8621
|
}, {
|
|
8621
|
-
description: string;
|
|
8622
8622
|
name: string;
|
|
8623
|
+
description: string;
|
|
8623
8624
|
render: (...args: unknown[]) => unknown;
|
|
8624
8625
|
code?: string | undefined;
|
|
8625
8626
|
figma?: string | undefined;
|
|
@@ -8660,12 +8661,12 @@ declare const fragmentDefinitionV2Schema: z.ZodObject<{
|
|
|
8660
8661
|
accepts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8661
8662
|
description: z.ZodOptional<z.ZodString>;
|
|
8662
8663
|
}, "strip", z.ZodTypeAny, {
|
|
8663
|
-
description?: string | undefined;
|
|
8664
8664
|
required?: boolean | undefined;
|
|
8665
|
+
description?: string | undefined;
|
|
8665
8666
|
accepts?: string[] | undefined;
|
|
8666
8667
|
}, {
|
|
8667
|
-
description?: string | undefined;
|
|
8668
8668
|
required?: boolean | undefined;
|
|
8669
|
+
description?: string | undefined;
|
|
8669
8670
|
accepts?: string[] | undefined;
|
|
8670
8671
|
}>>>;
|
|
8671
8672
|
canonicalUsage: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -8809,8 +8810,8 @@ declare const fragmentDefinitionV2Schema: z.ZodObject<{
|
|
|
8809
8810
|
inRegion: string;
|
|
8810
8811
|
}[] | undefined;
|
|
8811
8812
|
compoundChildren?: Record<string, {
|
|
8812
|
-
description?: string | undefined;
|
|
8813
8813
|
required?: boolean | undefined;
|
|
8814
|
+
description?: string | undefined;
|
|
8814
8815
|
accepts?: string[] | undefined;
|
|
8815
8816
|
}> | undefined;
|
|
8816
8817
|
a11yRules?: string[] | undefined;
|
|
@@ -8845,8 +8846,8 @@ declare const fragmentDefinitionV2Schema: z.ZodObject<{
|
|
|
8845
8846
|
inRegion: string;
|
|
8846
8847
|
}[] | undefined;
|
|
8847
8848
|
compoundChildren?: Record<string, {
|
|
8848
|
-
description?: string | undefined;
|
|
8849
8849
|
required?: boolean | undefined;
|
|
8850
|
+
description?: string | undefined;
|
|
8850
8851
|
accepts?: string[] | undefined;
|
|
8851
8852
|
}> | undefined;
|
|
8852
8853
|
a11yRules?: string[] | undefined;
|
|
@@ -8885,16 +8886,16 @@ declare const fragmentDefinitionV2Schema: z.ZodObject<{
|
|
|
8885
8886
|
props: Record<string, {
|
|
8886
8887
|
type: string;
|
|
8887
8888
|
values?: readonly string[] | undefined;
|
|
8888
|
-
description?: string | undefined;
|
|
8889
8889
|
default?: unknown;
|
|
8890
8890
|
required?: boolean | undefined;
|
|
8891
|
+
description?: string | undefined;
|
|
8891
8892
|
constraints?: string[] | undefined;
|
|
8892
8893
|
typeDetails?: Record<string, unknown> | undefined;
|
|
8893
8894
|
}>;
|
|
8894
8895
|
meta: {
|
|
8895
|
-
description: string;
|
|
8896
8896
|
category: string;
|
|
8897
8897
|
name: string;
|
|
8898
|
+
description: string;
|
|
8898
8899
|
status?: "experimental" | "stable" | "deprecated" | "beta" | undefined;
|
|
8899
8900
|
dependencies?: {
|
|
8900
8901
|
name: string;
|
|
@@ -8930,8 +8931,8 @@ declare const fragmentDefinitionV2Schema: z.ZodObject<{
|
|
|
8930
8931
|
}> | undefined;
|
|
8931
8932
|
};
|
|
8932
8933
|
examples: {
|
|
8933
|
-
description: string;
|
|
8934
8934
|
name: string;
|
|
8935
|
+
description: string;
|
|
8935
8936
|
render: (...args: unknown[]) => unknown;
|
|
8936
8937
|
code?: string | undefined;
|
|
8937
8938
|
figma?: string | undefined;
|
|
@@ -8971,8 +8972,8 @@ declare const fragmentDefinitionV2Schema: z.ZodObject<{
|
|
|
8971
8972
|
inRegion: string;
|
|
8972
8973
|
}[] | undefined;
|
|
8973
8974
|
compoundChildren?: Record<string, {
|
|
8974
|
-
description?: string | undefined;
|
|
8975
8975
|
required?: boolean | undefined;
|
|
8976
|
+
description?: string | undefined;
|
|
8976
8977
|
accepts?: string[] | undefined;
|
|
8977
8978
|
}> | undefined;
|
|
8978
8979
|
a11yRules?: string[] | undefined;
|
|
@@ -9003,16 +9004,16 @@ declare const fragmentDefinitionV2Schema: z.ZodObject<{
|
|
|
9003
9004
|
props: Record<string, {
|
|
9004
9005
|
type: string;
|
|
9005
9006
|
values?: readonly string[] | undefined;
|
|
9006
|
-
description?: string | undefined;
|
|
9007
9007
|
default?: unknown;
|
|
9008
9008
|
required?: boolean | undefined;
|
|
9009
|
+
description?: string | undefined;
|
|
9009
9010
|
constraints?: string[] | undefined;
|
|
9010
9011
|
typeDetails?: Record<string, unknown> | undefined;
|
|
9011
9012
|
}>;
|
|
9012
9013
|
meta: {
|
|
9013
|
-
description: string;
|
|
9014
9014
|
category: string;
|
|
9015
9015
|
name: string;
|
|
9016
|
+
description: string;
|
|
9016
9017
|
status?: "experimental" | "stable" | "deprecated" | "beta" | undefined;
|
|
9017
9018
|
dependencies?: {
|
|
9018
9019
|
name: string;
|
|
@@ -9048,8 +9049,8 @@ declare const fragmentDefinitionV2Schema: z.ZodObject<{
|
|
|
9048
9049
|
}> | undefined;
|
|
9049
9050
|
};
|
|
9050
9051
|
examples: {
|
|
9051
|
-
description: string;
|
|
9052
9052
|
name: string;
|
|
9053
|
+
description: string;
|
|
9053
9054
|
render: (...args: unknown[]) => unknown;
|
|
9054
9055
|
code?: string | undefined;
|
|
9055
9056
|
figma?: string | undefined;
|
|
@@ -9089,8 +9090,8 @@ declare const fragmentDefinitionV2Schema: z.ZodObject<{
|
|
|
9089
9090
|
inRegion: string;
|
|
9090
9091
|
}[] | undefined;
|
|
9091
9092
|
compoundChildren?: Record<string, {
|
|
9092
|
-
description?: string | undefined;
|
|
9093
9093
|
required?: boolean | undefined;
|
|
9094
|
+
description?: string | undefined;
|
|
9094
9095
|
accepts?: string[] | undefined;
|
|
9095
9096
|
}> | undefined;
|
|
9096
9097
|
a11yRules?: string[] | undefined;
|
|
@@ -9218,9 +9219,9 @@ declare const governedFragmentDefinitionSchema: z.ZodObject<{
|
|
|
9218
9219
|
layer: string;
|
|
9219
9220
|
}>]>>>;
|
|
9220
9221
|
}, "strip", z.ZodTypeAny, {
|
|
9221
|
-
description: string;
|
|
9222
9222
|
category: string;
|
|
9223
9223
|
name: string;
|
|
9224
|
+
description: string;
|
|
9224
9225
|
status?: "experimental" | "stable" | "deprecated" | "beta" | undefined;
|
|
9225
9226
|
dependencies?: {
|
|
9226
9227
|
name: string;
|
|
@@ -9255,9 +9256,9 @@ declare const governedFragmentDefinitionSchema: z.ZodObject<{
|
|
|
9255
9256
|
layer: string;
|
|
9256
9257
|
}> | undefined;
|
|
9257
9258
|
}, {
|
|
9258
|
-
description: string;
|
|
9259
9259
|
category: string;
|
|
9260
9260
|
name: string;
|
|
9261
|
+
description: string;
|
|
9261
9262
|
status?: "experimental" | "stable" | "deprecated" | "beta" | undefined;
|
|
9262
9263
|
dependencies?: {
|
|
9263
9264
|
name: string;
|
|
@@ -9319,17 +9320,17 @@ declare const governedFragmentDefinitionSchema: z.ZodObject<{
|
|
|
9319
9320
|
}, "strip", z.ZodTypeAny, {
|
|
9320
9321
|
type: string;
|
|
9321
9322
|
values?: readonly string[] | undefined;
|
|
9322
|
-
description?: string | undefined;
|
|
9323
9323
|
default?: unknown;
|
|
9324
9324
|
required?: boolean | undefined;
|
|
9325
|
+
description?: string | undefined;
|
|
9325
9326
|
constraints?: string[] | undefined;
|
|
9326
9327
|
typeDetails?: Record<string, unknown> | undefined;
|
|
9327
9328
|
}, {
|
|
9328
9329
|
type: string;
|
|
9329
9330
|
values?: readonly string[] | undefined;
|
|
9330
|
-
description?: string | undefined;
|
|
9331
9331
|
default?: unknown;
|
|
9332
9332
|
required?: boolean | undefined;
|
|
9333
|
+
description?: string | undefined;
|
|
9333
9334
|
constraints?: string[] | undefined;
|
|
9334
9335
|
typeDetails?: Record<string, unknown> | undefined;
|
|
9335
9336
|
}>>>;
|
|
@@ -9353,14 +9354,14 @@ declare const governedFragmentDefinitionSchema: z.ZodObject<{
|
|
|
9353
9354
|
code: z.ZodOptional<z.ZodString>;
|
|
9354
9355
|
figma: z.ZodOptional<z.ZodString>;
|
|
9355
9356
|
}, "strip", z.ZodTypeAny, {
|
|
9356
|
-
description: string;
|
|
9357
9357
|
name: string;
|
|
9358
|
+
description: string;
|
|
9358
9359
|
render: (...args: unknown[]) => unknown;
|
|
9359
9360
|
code?: string | undefined;
|
|
9360
9361
|
figma?: string | undefined;
|
|
9361
9362
|
}, {
|
|
9362
|
-
description: string;
|
|
9363
9363
|
name: string;
|
|
9364
|
+
description: string;
|
|
9364
9365
|
render: (...args: unknown[]) => unknown;
|
|
9365
9366
|
code?: string | undefined;
|
|
9366
9367
|
figma?: string | undefined;
|
|
@@ -9401,12 +9402,12 @@ declare const governedFragmentDefinitionSchema: z.ZodObject<{
|
|
|
9401
9402
|
accepts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
9402
9403
|
description: z.ZodOptional<z.ZodString>;
|
|
9403
9404
|
}, "strip", z.ZodTypeAny, {
|
|
9404
|
-
description?: string | undefined;
|
|
9405
9405
|
required?: boolean | undefined;
|
|
9406
|
+
description?: string | undefined;
|
|
9406
9407
|
accepts?: string[] | undefined;
|
|
9407
9408
|
}, {
|
|
9408
|
-
description?: string | undefined;
|
|
9409
9409
|
required?: boolean | undefined;
|
|
9410
|
+
description?: string | undefined;
|
|
9410
9411
|
accepts?: string[] | undefined;
|
|
9411
9412
|
}>>>;
|
|
9412
9413
|
canonicalUsage: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -9550,8 +9551,8 @@ declare const governedFragmentDefinitionSchema: z.ZodObject<{
|
|
|
9550
9551
|
inRegion: string;
|
|
9551
9552
|
}[] | undefined;
|
|
9552
9553
|
compoundChildren?: Record<string, {
|
|
9553
|
-
description?: string | undefined;
|
|
9554
9554
|
required?: boolean | undefined;
|
|
9555
|
+
description?: string | undefined;
|
|
9555
9556
|
accepts?: string[] | undefined;
|
|
9556
9557
|
}> | undefined;
|
|
9557
9558
|
a11yRules?: string[] | undefined;
|
|
@@ -9586,8 +9587,8 @@ declare const governedFragmentDefinitionSchema: z.ZodObject<{
|
|
|
9586
9587
|
inRegion: string;
|
|
9587
9588
|
}[] | undefined;
|
|
9588
9589
|
compoundChildren?: Record<string, {
|
|
9589
|
-
description?: string | undefined;
|
|
9590
9590
|
required?: boolean | undefined;
|
|
9591
|
+
description?: string | undefined;
|
|
9591
9592
|
accepts?: string[] | undefined;
|
|
9592
9593
|
}> | undefined;
|
|
9593
9594
|
a11yRules?: string[] | undefined;
|
|
@@ -9641,16 +9642,16 @@ declare const governedFragmentDefinitionSchema: z.ZodObject<{
|
|
|
9641
9642
|
severity: z.ZodEnum<["error", "warn", "info"]>;
|
|
9642
9643
|
}, "strip", z.ZodTypeAny, {
|
|
9643
9644
|
kind: "prop.value.avoid";
|
|
9644
|
-
prop: string;
|
|
9645
9645
|
severity: "error" | "info" | "warn";
|
|
9646
9646
|
because: string;
|
|
9647
|
+
prop: string;
|
|
9647
9648
|
value?: unknown;
|
|
9648
9649
|
suggest?: string | undefined;
|
|
9649
9650
|
}, {
|
|
9650
9651
|
kind: "prop.value.avoid";
|
|
9651
|
-
prop: string;
|
|
9652
9652
|
severity: "error" | "info" | "warn";
|
|
9653
9653
|
because: string;
|
|
9654
|
+
prop: string;
|
|
9654
9655
|
value?: unknown;
|
|
9655
9656
|
suggest?: string | undefined;
|
|
9656
9657
|
}>, z.ZodObject<{
|
|
@@ -9675,28 +9676,28 @@ declare const governedFragmentDefinitionSchema: z.ZodObject<{
|
|
|
9675
9676
|
severity: z.ZodEnum<["error", "warn", "info"]>;
|
|
9676
9677
|
}, "strip", z.ZodTypeAny, {
|
|
9677
9678
|
kind: "prop.value.forbid";
|
|
9678
|
-
prop: string;
|
|
9679
9679
|
severity: "error" | "info" | "warn";
|
|
9680
9680
|
because: string;
|
|
9681
|
+
prop: string;
|
|
9681
9682
|
value?: unknown;
|
|
9682
|
-
fix?: {
|
|
9683
|
-
replaceWith?: unknown;
|
|
9684
|
-
} | undefined;
|
|
9685
9683
|
when?: {
|
|
9686
9684
|
path?: string | undefined;
|
|
9687
9685
|
} | undefined;
|
|
9686
|
+
fix?: {
|
|
9687
|
+
replaceWith?: unknown;
|
|
9688
|
+
} | undefined;
|
|
9688
9689
|
}, {
|
|
9689
9690
|
kind: "prop.value.forbid";
|
|
9690
|
-
prop: string;
|
|
9691
9691
|
severity: "error" | "info" | "warn";
|
|
9692
9692
|
because: string;
|
|
9693
|
+
prop: string;
|
|
9693
9694
|
value?: unknown;
|
|
9694
|
-
fix?: {
|
|
9695
|
-
replaceWith?: unknown;
|
|
9696
|
-
} | undefined;
|
|
9697
9695
|
when?: {
|
|
9698
9696
|
path?: string | undefined;
|
|
9699
9697
|
} | undefined;
|
|
9698
|
+
fix?: {
|
|
9699
|
+
replaceWith?: unknown;
|
|
9700
|
+
} | undefined;
|
|
9700
9701
|
}>, z.ZodObject<{
|
|
9701
9702
|
kind: z.ZodLiteral<"a11y.requireName">;
|
|
9702
9703
|
because: z.ZodString;
|
|
@@ -9712,9 +9713,9 @@ declare const governedFragmentDefinitionSchema: z.ZodObject<{
|
|
|
9712
9713
|
}>]>, "many">>;
|
|
9713
9714
|
}, "strip", z.ZodTypeAny, {
|
|
9714
9715
|
meta: {
|
|
9715
|
-
description: string;
|
|
9716
9716
|
category: string;
|
|
9717
9717
|
name: string;
|
|
9718
|
+
description: string;
|
|
9718
9719
|
status?: "experimental" | "stable" | "deprecated" | "beta" | undefined;
|
|
9719
9720
|
dependencies?: {
|
|
9720
9721
|
name: string;
|
|
@@ -9755,6 +9756,7 @@ declare const governedFragmentDefinitionSchema: z.ZodObject<{
|
|
|
9755
9756
|
guidelines?: string[] | undefined;
|
|
9756
9757
|
accessibility?: string[] | undefined;
|
|
9757
9758
|
};
|
|
9759
|
+
govern?: ((...args: unknown[]) => unknown) | undefined;
|
|
9758
9760
|
composition?: {
|
|
9759
9761
|
pattern?: "compound" | "simple" | "controlled" | "wrapper" | undefined;
|
|
9760
9762
|
subComponents?: string[] | undefined;
|
|
@@ -9764,13 +9766,12 @@ declare const governedFragmentDefinitionSchema: z.ZodObject<{
|
|
|
9764
9766
|
props?: Record<string, {
|
|
9765
9767
|
type: string;
|
|
9766
9768
|
values?: readonly string[] | undefined;
|
|
9767
|
-
description?: string | undefined;
|
|
9768
9769
|
default?: unknown;
|
|
9769
9770
|
required?: boolean | undefined;
|
|
9771
|
+
description?: string | undefined;
|
|
9770
9772
|
constraints?: string[] | undefined;
|
|
9771
9773
|
typeDetails?: Record<string, unknown> | undefined;
|
|
9772
9774
|
}> | undefined;
|
|
9773
|
-
govern?: ((...args: unknown[]) => unknown) | undefined;
|
|
9774
9775
|
contract?: {
|
|
9775
9776
|
composition?: {
|
|
9776
9777
|
rule: {
|
|
@@ -9794,8 +9795,8 @@ declare const governedFragmentDefinitionSchema: z.ZodObject<{
|
|
|
9794
9795
|
inRegion: string;
|
|
9795
9796
|
}[] | undefined;
|
|
9796
9797
|
compoundChildren?: Record<string, {
|
|
9797
|
-
description?: string | undefined;
|
|
9798
9798
|
required?: boolean | undefined;
|
|
9799
|
+
description?: string | undefined;
|
|
9799
9800
|
accepts?: string[] | undefined;
|
|
9800
9801
|
}> | undefined;
|
|
9801
9802
|
a11yRules?: string[] | undefined;
|
|
@@ -9814,23 +9815,23 @@ declare const governedFragmentDefinitionSchema: z.ZodObject<{
|
|
|
9814
9815
|
capability: string;
|
|
9815
9816
|
} | {
|
|
9816
9817
|
kind: "prop.value.avoid";
|
|
9817
|
-
prop: string;
|
|
9818
9818
|
severity: "error" | "info" | "warn";
|
|
9819
9819
|
because: string;
|
|
9820
|
+
prop: string;
|
|
9820
9821
|
value?: unknown;
|
|
9821
9822
|
suggest?: string | undefined;
|
|
9822
9823
|
} | {
|
|
9823
9824
|
kind: "prop.value.forbid";
|
|
9824
|
-
prop: string;
|
|
9825
9825
|
severity: "error" | "info" | "warn";
|
|
9826
9826
|
because: string;
|
|
9827
|
+
prop: string;
|
|
9827
9828
|
value?: unknown;
|
|
9828
|
-
fix?: {
|
|
9829
|
-
replaceWith?: unknown;
|
|
9830
|
-
} | undefined;
|
|
9831
9829
|
when?: {
|
|
9832
9830
|
path?: string | undefined;
|
|
9833
9831
|
} | undefined;
|
|
9832
|
+
fix?: {
|
|
9833
|
+
replaceWith?: unknown;
|
|
9834
|
+
} | undefined;
|
|
9834
9835
|
} | {
|
|
9835
9836
|
kind: "a11y.requireName";
|
|
9836
9837
|
severity: "error" | "info" | "warn";
|
|
@@ -9842,8 +9843,8 @@ declare const governedFragmentDefinitionSchema: z.ZodObject<{
|
|
|
9842
9843
|
note: string;
|
|
9843
9844
|
}[] | undefined;
|
|
9844
9845
|
examples?: {
|
|
9845
|
-
description: string;
|
|
9846
9846
|
name: string;
|
|
9847
|
+
description: string;
|
|
9847
9848
|
render: (...args: unknown[]) => unknown;
|
|
9848
9849
|
code?: string | undefined;
|
|
9849
9850
|
figma?: string | undefined;
|
|
@@ -9858,9 +9859,9 @@ declare const governedFragmentDefinitionSchema: z.ZodObject<{
|
|
|
9858
9859
|
} | undefined;
|
|
9859
9860
|
}, {
|
|
9860
9861
|
meta: {
|
|
9861
|
-
description: string;
|
|
9862
9862
|
category: string;
|
|
9863
9863
|
name: string;
|
|
9864
|
+
description: string;
|
|
9864
9865
|
status?: "experimental" | "stable" | "deprecated" | "beta" | undefined;
|
|
9865
9866
|
dependencies?: {
|
|
9866
9867
|
name: string;
|
|
@@ -9901,6 +9902,7 @@ declare const governedFragmentDefinitionSchema: z.ZodObject<{
|
|
|
9901
9902
|
guidelines?: string[] | undefined;
|
|
9902
9903
|
accessibility?: string[] | undefined;
|
|
9903
9904
|
};
|
|
9905
|
+
govern?: ((...args: unknown[]) => unknown) | undefined;
|
|
9904
9906
|
composition?: {
|
|
9905
9907
|
pattern?: "compound" | "simple" | "controlled" | "wrapper" | undefined;
|
|
9906
9908
|
subComponents?: string[] | undefined;
|
|
@@ -9910,13 +9912,12 @@ declare const governedFragmentDefinitionSchema: z.ZodObject<{
|
|
|
9910
9912
|
props?: Record<string, {
|
|
9911
9913
|
type: string;
|
|
9912
9914
|
values?: readonly string[] | undefined;
|
|
9913
|
-
description?: string | undefined;
|
|
9914
9915
|
default?: unknown;
|
|
9915
9916
|
required?: boolean | undefined;
|
|
9917
|
+
description?: string | undefined;
|
|
9916
9918
|
constraints?: string[] | undefined;
|
|
9917
9919
|
typeDetails?: Record<string, unknown> | undefined;
|
|
9918
9920
|
}> | undefined;
|
|
9919
|
-
govern?: ((...args: unknown[]) => unknown) | undefined;
|
|
9920
9921
|
contract?: {
|
|
9921
9922
|
composition?: {
|
|
9922
9923
|
rule: {
|
|
@@ -9940,8 +9941,8 @@ declare const governedFragmentDefinitionSchema: z.ZodObject<{
|
|
|
9940
9941
|
inRegion: string;
|
|
9941
9942
|
}[] | undefined;
|
|
9942
9943
|
compoundChildren?: Record<string, {
|
|
9943
|
-
description?: string | undefined;
|
|
9944
9944
|
required?: boolean | undefined;
|
|
9945
|
+
description?: string | undefined;
|
|
9945
9946
|
accepts?: string[] | undefined;
|
|
9946
9947
|
}> | undefined;
|
|
9947
9948
|
a11yRules?: string[] | undefined;
|
|
@@ -9960,23 +9961,23 @@ declare const governedFragmentDefinitionSchema: z.ZodObject<{
|
|
|
9960
9961
|
capability: string;
|
|
9961
9962
|
} | {
|
|
9962
9963
|
kind: "prop.value.avoid";
|
|
9963
|
-
prop: string;
|
|
9964
9964
|
severity: "error" | "info" | "warn";
|
|
9965
9965
|
because: string;
|
|
9966
|
+
prop: string;
|
|
9966
9967
|
value?: unknown;
|
|
9967
9968
|
suggest?: string | undefined;
|
|
9968
9969
|
} | {
|
|
9969
9970
|
kind: "prop.value.forbid";
|
|
9970
|
-
prop: string;
|
|
9971
9971
|
severity: "error" | "info" | "warn";
|
|
9972
9972
|
because: string;
|
|
9973
|
+
prop: string;
|
|
9973
9974
|
value?: unknown;
|
|
9974
|
-
fix?: {
|
|
9975
|
-
replaceWith?: unknown;
|
|
9976
|
-
} | undefined;
|
|
9977
9975
|
when?: {
|
|
9978
9976
|
path?: string | undefined;
|
|
9979
9977
|
} | undefined;
|
|
9978
|
+
fix?: {
|
|
9979
|
+
replaceWith?: unknown;
|
|
9980
|
+
} | undefined;
|
|
9980
9981
|
} | {
|
|
9981
9982
|
kind: "a11y.requireName";
|
|
9982
9983
|
severity: "error" | "info" | "warn";
|
|
@@ -9988,8 +9989,8 @@ declare const governedFragmentDefinitionSchema: z.ZodObject<{
|
|
|
9988
9989
|
note: string;
|
|
9989
9990
|
}[] | undefined;
|
|
9990
9991
|
examples?: {
|
|
9991
|
-
description: string;
|
|
9992
9992
|
name: string;
|
|
9993
|
+
description: string;
|
|
9993
9994
|
render: (...args: unknown[]) => unknown;
|
|
9994
9995
|
code?: string | undefined;
|
|
9995
9996
|
figma?: string | undefined;
|
|
@@ -10016,16 +10017,16 @@ declare const recipeDefinitionSchema: z.ZodObject<{
|
|
|
10016
10017
|
}, "strip", z.ZodTypeAny, {
|
|
10017
10018
|
components: string[];
|
|
10018
10019
|
code: string;
|
|
10019
|
-
description: string;
|
|
10020
10020
|
category: string;
|
|
10021
10021
|
name: string;
|
|
10022
|
+
description: string;
|
|
10022
10023
|
tags?: string[] | undefined;
|
|
10023
10024
|
}, {
|
|
10024
10025
|
components: string[];
|
|
10025
10026
|
code: string;
|
|
10026
|
-
description: string;
|
|
10027
10027
|
category: string;
|
|
10028
10028
|
name: string;
|
|
10029
|
+
description: string;
|
|
10029
10030
|
tags?: string[] | undefined;
|
|
10030
10031
|
}>;
|
|
10031
10032
|
|
|
@@ -10898,6 +10899,11 @@ interface CompiledContractOutput {
|
|
|
10898
10899
|
category: string;
|
|
10899
10900
|
tags?: string[];
|
|
10900
10901
|
status?: 'stable' | 'beta' | 'deprecated' | 'experimental';
|
|
10902
|
+
dependencies?: Array<{
|
|
10903
|
+
name: string;
|
|
10904
|
+
version: string;
|
|
10905
|
+
reason?: string;
|
|
10906
|
+
}>;
|
|
10901
10907
|
figma?: string;
|
|
10902
10908
|
figmaProps?: Record<string, unknown>;
|
|
10903
10909
|
};
|
|
@@ -10993,6 +10999,12 @@ interface ComponentContract {
|
|
|
10993
10999
|
status?: 'stable' | 'beta' | 'deprecated' | 'experimental';
|
|
10994
11000
|
/** Framework hint (for extraction and documentation) */
|
|
10995
11001
|
framework?: 'react' | 'vue' | 'svelte' | 'web-components' | 'angular';
|
|
11002
|
+
/** External npm packages required by this component (displayed in docs Setup section) */
|
|
11003
|
+
dependencies?: Array<{
|
|
11004
|
+
name: string;
|
|
11005
|
+
version: string;
|
|
11006
|
+
reason?: string;
|
|
11007
|
+
}>;
|
|
10996
11008
|
/** Path to the component source file, relative to fragments.config.ts root */
|
|
10997
11009
|
sourcePath: string;
|
|
10998
11010
|
/** Named export from the source file */
|
|
@@ -11091,6 +11103,19 @@ declare const componentContractSchema: z.ZodObject<{
|
|
|
11091
11103
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11092
11104
|
status: z.ZodOptional<z.ZodEnum<["stable", "beta", "deprecated", "experimental"]>>;
|
|
11093
11105
|
framework: z.ZodOptional<z.ZodEnum<["react", "vue", "svelte", "web-components", "angular"]>>;
|
|
11106
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11107
|
+
name: z.ZodString;
|
|
11108
|
+
version: z.ZodString;
|
|
11109
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
11110
|
+
}, "strip", z.ZodTypeAny, {
|
|
11111
|
+
name: string;
|
|
11112
|
+
version: string;
|
|
11113
|
+
reason?: string | undefined;
|
|
11114
|
+
}, {
|
|
11115
|
+
name: string;
|
|
11116
|
+
version: string;
|
|
11117
|
+
reason?: string | undefined;
|
|
11118
|
+
}>, "many">>;
|
|
11094
11119
|
sourcePath: z.ZodString;
|
|
11095
11120
|
exportName: z.ZodString;
|
|
11096
11121
|
propsSummary: z.ZodArray<z.ZodString, "many">;
|
|
@@ -11139,13 +11164,13 @@ declare const componentContractSchema: z.ZodObject<{
|
|
|
11139
11164
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
11140
11165
|
}, "strip", z.ZodTypeAny, {
|
|
11141
11166
|
code: string;
|
|
11142
|
-
description: string;
|
|
11143
11167
|
name: string;
|
|
11168
|
+
description: string;
|
|
11144
11169
|
args?: Record<string, unknown> | undefined;
|
|
11145
11170
|
}, {
|
|
11146
11171
|
code: string;
|
|
11147
|
-
description: string;
|
|
11148
11172
|
name: string;
|
|
11173
|
+
description: string;
|
|
11149
11174
|
args?: Record<string, unknown> | undefined;
|
|
11150
11175
|
}>, "many">>;
|
|
11151
11176
|
relations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -11180,20 +11205,20 @@ declare const componentContractSchema: z.ZodObject<{
|
|
|
11180
11205
|
accepts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11181
11206
|
description: z.ZodOptional<z.ZodString>;
|
|
11182
11207
|
}, "strip", z.ZodTypeAny, {
|
|
11183
|
-
description?: string | undefined;
|
|
11184
11208
|
required?: boolean | undefined;
|
|
11209
|
+
description?: string | undefined;
|
|
11185
11210
|
accepts?: string[] | undefined;
|
|
11186
11211
|
}, {
|
|
11187
|
-
description?: string | undefined;
|
|
11188
11212
|
required?: boolean | undefined;
|
|
11213
|
+
description?: string | undefined;
|
|
11189
11214
|
accepts?: string[] | undefined;
|
|
11190
11215
|
}>>>;
|
|
11191
11216
|
canonicalUsage: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11192
11217
|
performanceBudget: z.ZodOptional<z.ZodNumber>;
|
|
11193
11218
|
}, "strip", z.ZodTypeAny, {
|
|
11194
11219
|
compoundChildren?: Record<string, {
|
|
11195
|
-
description?: string | undefined;
|
|
11196
11220
|
required?: boolean | undefined;
|
|
11221
|
+
description?: string | undefined;
|
|
11197
11222
|
accepts?: string[] | undefined;
|
|
11198
11223
|
}> | undefined;
|
|
11199
11224
|
a11yRules?: string[] | undefined;
|
|
@@ -11207,8 +11232,8 @@ declare const componentContractSchema: z.ZodObject<{
|
|
|
11207
11232
|
canonicalUsage?: string[] | undefined;
|
|
11208
11233
|
}, {
|
|
11209
11234
|
compoundChildren?: Record<string, {
|
|
11210
|
-
description?: string | undefined;
|
|
11211
11235
|
required?: boolean | undefined;
|
|
11236
|
+
description?: string | undefined;
|
|
11212
11237
|
accepts?: string[] | undefined;
|
|
11213
11238
|
}> | undefined;
|
|
11214
11239
|
a11yRules?: string[] | undefined;
|
|
@@ -11307,14 +11332,6 @@ declare const componentContractSchema: z.ZodObject<{
|
|
|
11307
11332
|
}> | undefined;
|
|
11308
11333
|
}>>;
|
|
11309
11334
|
}, "strip", z.ZodTypeAny, {
|
|
11310
|
-
description: string;
|
|
11311
|
-
provenance: {
|
|
11312
|
-
source: "manual" | "extracted" | "merged" | "migrated";
|
|
11313
|
-
verified: boolean;
|
|
11314
|
-
frameworkSupport?: "native" | "manual-only" | undefined;
|
|
11315
|
-
sourceHash?: string | undefined;
|
|
11316
|
-
extractedAt?: string | undefined;
|
|
11317
|
-
};
|
|
11318
11335
|
props: Record<string, {
|
|
11319
11336
|
type: string;
|
|
11320
11337
|
description: string;
|
|
@@ -11333,10 +11350,16 @@ declare const componentContractSchema: z.ZodObject<{
|
|
|
11333
11350
|
guidelines?: string[] | undefined;
|
|
11334
11351
|
accessibility?: string[] | undefined;
|
|
11335
11352
|
};
|
|
11353
|
+
description: string;
|
|
11354
|
+
provenance: {
|
|
11355
|
+
source: "manual" | "extracted" | "merged" | "migrated";
|
|
11356
|
+
verified: boolean;
|
|
11357
|
+
frameworkSupport?: "native" | "manual-only" | undefined;
|
|
11358
|
+
sourceHash?: string | undefined;
|
|
11359
|
+
extractedAt?: string | undefined;
|
|
11360
|
+
};
|
|
11336
11361
|
propsSummary: string[];
|
|
11337
11362
|
$schema: string;
|
|
11338
|
-
status?: "experimental" | "stable" | "deprecated" | "beta" | undefined;
|
|
11339
|
-
tokens?: string[] | undefined;
|
|
11340
11363
|
preview?: {
|
|
11341
11364
|
css?: string[] | undefined;
|
|
11342
11365
|
theme?: "light" | "dark" | undefined;
|
|
@@ -11344,10 +11367,12 @@ declare const componentContractSchema: z.ZodObject<{
|
|
|
11344
11367
|
wrapperModule?: string | undefined;
|
|
11345
11368
|
wrapperExport?: string | undefined;
|
|
11346
11369
|
} | undefined;
|
|
11370
|
+
status?: "experimental" | "stable" | "deprecated" | "beta" | undefined;
|
|
11371
|
+
tokens?: string[] | undefined;
|
|
11347
11372
|
contract?: {
|
|
11348
11373
|
compoundChildren?: Record<string, {
|
|
11349
|
-
description?: string | undefined;
|
|
11350
11374
|
required?: boolean | undefined;
|
|
11375
|
+
description?: string | undefined;
|
|
11351
11376
|
accepts?: string[] | undefined;
|
|
11352
11377
|
}> | undefined;
|
|
11353
11378
|
a11yRules?: string[] | undefined;
|
|
@@ -11374,10 +11399,15 @@ declare const componentContractSchema: z.ZodObject<{
|
|
|
11374
11399
|
}[] | undefined;
|
|
11375
11400
|
examples?: {
|
|
11376
11401
|
code: string;
|
|
11377
|
-
description: string;
|
|
11378
11402
|
name: string;
|
|
11403
|
+
description: string;
|
|
11379
11404
|
args?: Record<string, unknown> | undefined;
|
|
11380
11405
|
}[] | undefined;
|
|
11406
|
+
dependencies?: {
|
|
11407
|
+
name: string;
|
|
11408
|
+
version: string;
|
|
11409
|
+
reason?: string | undefined;
|
|
11410
|
+
}[] | undefined;
|
|
11381
11411
|
tags?: string[] | undefined;
|
|
11382
11412
|
figma?: {
|
|
11383
11413
|
nodeUrl?: string | undefined;
|
|
@@ -11388,14 +11418,6 @@ declare const componentContractSchema: z.ZodObject<{
|
|
|
11388
11418
|
}> | undefined;
|
|
11389
11419
|
} | undefined;
|
|
11390
11420
|
}, {
|
|
11391
|
-
description: string;
|
|
11392
|
-
provenance: {
|
|
11393
|
-
source: "manual" | "extracted" | "merged" | "migrated";
|
|
11394
|
-
verified: boolean;
|
|
11395
|
-
frameworkSupport?: "native" | "manual-only" | undefined;
|
|
11396
|
-
sourceHash?: string | undefined;
|
|
11397
|
-
extractedAt?: string | undefined;
|
|
11398
|
-
};
|
|
11399
11421
|
props: Record<string, {
|
|
11400
11422
|
type: string;
|
|
11401
11423
|
description: string;
|
|
@@ -11414,10 +11436,16 @@ declare const componentContractSchema: z.ZodObject<{
|
|
|
11414
11436
|
guidelines?: string[] | undefined;
|
|
11415
11437
|
accessibility?: string[] | undefined;
|
|
11416
11438
|
};
|
|
11439
|
+
description: string;
|
|
11440
|
+
provenance: {
|
|
11441
|
+
source: "manual" | "extracted" | "merged" | "migrated";
|
|
11442
|
+
verified: boolean;
|
|
11443
|
+
frameworkSupport?: "native" | "manual-only" | undefined;
|
|
11444
|
+
sourceHash?: string | undefined;
|
|
11445
|
+
extractedAt?: string | undefined;
|
|
11446
|
+
};
|
|
11417
11447
|
propsSummary: string[];
|
|
11418
11448
|
$schema: string;
|
|
11419
|
-
status?: "experimental" | "stable" | "deprecated" | "beta" | undefined;
|
|
11420
|
-
tokens?: string[] | undefined;
|
|
11421
11449
|
preview?: {
|
|
11422
11450
|
css?: string[] | undefined;
|
|
11423
11451
|
theme?: "light" | "dark" | undefined;
|
|
@@ -11425,10 +11453,12 @@ declare const componentContractSchema: z.ZodObject<{
|
|
|
11425
11453
|
wrapperModule?: string | undefined;
|
|
11426
11454
|
wrapperExport?: string | undefined;
|
|
11427
11455
|
} | undefined;
|
|
11456
|
+
status?: "experimental" | "stable" | "deprecated" | "beta" | undefined;
|
|
11457
|
+
tokens?: string[] | undefined;
|
|
11428
11458
|
contract?: {
|
|
11429
11459
|
compoundChildren?: Record<string, {
|
|
11430
|
-
description?: string | undefined;
|
|
11431
11460
|
required?: boolean | undefined;
|
|
11461
|
+
description?: string | undefined;
|
|
11432
11462
|
accepts?: string[] | undefined;
|
|
11433
11463
|
}> | undefined;
|
|
11434
11464
|
a11yRules?: string[] | undefined;
|
|
@@ -11455,10 +11485,15 @@ declare const componentContractSchema: z.ZodObject<{
|
|
|
11455
11485
|
}[] | undefined;
|
|
11456
11486
|
examples?: {
|
|
11457
11487
|
code: string;
|
|
11458
|
-
description: string;
|
|
11459
11488
|
name: string;
|
|
11489
|
+
description: string;
|
|
11460
11490
|
args?: Record<string, unknown> | undefined;
|
|
11461
11491
|
}[] | undefined;
|
|
11492
|
+
dependencies?: {
|
|
11493
|
+
name: string;
|
|
11494
|
+
version: string;
|
|
11495
|
+
reason?: string | undefined;
|
|
11496
|
+
}[] | undefined;
|
|
11462
11497
|
tags?: string[] | undefined;
|
|
11463
11498
|
figma?: {
|
|
11464
11499
|
nodeUrl?: string | undefined;
|
|
@@ -11855,6 +11890,23 @@ declare function ruleTailwindUnknownClass(ix: FactIndex): Finding[];
|
|
|
11855
11890
|
|
|
11856
11891
|
declare function ruleTokensRequireDualFallback(ix: FactIndex): Finding[];
|
|
11857
11892
|
|
|
11893
|
+
interface ContractTokenReferenceCensus {
|
|
11894
|
+
/**
|
|
11895
|
+
* Distinct style-declaration sites (by file:line:column) carrying at least
|
|
11896
|
+
* one contract-judged primary `var()` reference.
|
|
11897
|
+
*/
|
|
11898
|
+
checkedSites: number;
|
|
11899
|
+
}
|
|
11900
|
+
/**
|
|
11901
|
+
* The checked-site denominator for the `contract-site-health` metric's
|
|
11902
|
+
* token-reference population: how many style-declaration sites this rule
|
|
11903
|
+
* actually judged against the contract vocabulary. `undefined` while the rule
|
|
11904
|
+
* is inert — an unmeasured population, never a measured zero. Walks the same
|
|
11905
|
+
* `style_declaration` facts with the same primary-position `var()` scan and
|
|
11906
|
+
* shape gate as the rule itself, so a site can violate iff it was counted.
|
|
11907
|
+
*/
|
|
11908
|
+
declare function contractTokenReferenceCensus(ix: FactIndex): ContractTokenReferenceCensus | undefined;
|
|
11909
|
+
|
|
11858
11910
|
declare function ruleThemeNoThemeCoupledLiteral(ix: FactIndex): Finding[];
|
|
11859
11911
|
|
|
11860
11912
|
/**
|
|
@@ -12708,4 +12760,4 @@ interface ComponentKeyInput {
|
|
|
12708
12760
|
*/
|
|
12709
12761
|
declare function buildComponentKey({ repoRelativeFile, exportName }: ComponentKeyInput): string;
|
|
12710
12762
|
|
|
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 };
|
|
12763
|
+
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, type ContractTokenReferenceCensus, 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, contractTokenReferenceCensus, 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 };
|