@vellira-ui/tokens 2.123.0 → 2.123.2
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/component-token-dependencies.d.ts +7 -1
- package/dist/component-token-dependencies.d.ts.map +1 -1
- package/dist/component-token-dependencies.js +2 -0
- package/dist/generated-component-factory-architecture.d.ts +37 -0
- package/dist/generated-component-factory-architecture.d.ts.map +1 -0
- package/dist/generated-component-factory-architecture.js +13 -0
- package/dist/token-architecture.d.ts +6 -1
- package/dist/token-architecture.d.ts.map +1 -1
- package/dist/token-architecture.js +2 -0
- package/package.json +1 -1
|
@@ -125,7 +125,13 @@ export declare const componentTokenDependencyAuditV1: readonly [{
|
|
|
125
125
|
readonly file: "tooltip.ts";
|
|
126
126
|
readonly primitiveColorUsage: readonly ["none"];
|
|
127
127
|
readonly unresolved: readonly [];
|
|
128
|
-
}
|
|
128
|
+
}, ...{
|
|
129
|
+
factory: string;
|
|
130
|
+
component: string;
|
|
131
|
+
file: string;
|
|
132
|
+
primitiveColorUsage: readonly ["none"];
|
|
133
|
+
unresolved: readonly [];
|
|
134
|
+
}[]];
|
|
129
135
|
export declare const semanticDependencyRepairsV1: readonly [{
|
|
130
136
|
readonly component: "formField";
|
|
131
137
|
readonly paths: readonly ["requiredMark.fg", "labelInfo.border"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-token-dependencies.d.ts","sourceRoot":"","sources":["../src/component-token-dependencies.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"component-token-dependencies.d.ts","sourceRoot":"","sources":["../src/component-token-dependencies.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;CA8BnC,CAAC;AAEX,MAAM,MAAM,4BAA4B,GACtC,MAAM,GAAG,6BAA6B,GAAG,8BAA8B,CAAC;AAE1E,eAAO,MAAM,wCAAwC;;;;;;;;;;EAe3C,CAAC;AAEX,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6HlC,CAAC;AAEX,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;EAiC9B,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { generatedComponentFactoryArchitectureV1, projectGeneratedComponentTokenDependencyAudits, } from './generated-component-factory-architecture.js';
|
|
1
2
|
export const componentTokenDependencyPolicyV1 = {
|
|
2
3
|
semanticRoles: {
|
|
3
4
|
default: 'required',
|
|
@@ -163,6 +164,7 @@ export const componentTokenDependencyAuditV1 = [
|
|
|
163
164
|
primitiveColorUsage: ['none'],
|
|
164
165
|
unresolved: [],
|
|
165
166
|
},
|
|
167
|
+
...projectGeneratedComponentTokenDependencyAudits(generatedComponentFactoryArchitectureV1),
|
|
166
168
|
];
|
|
167
169
|
export const semanticDependencyRepairsV1 = [
|
|
168
170
|
{
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export type GeneratedComponentFactoryArchitectureRegistration = {
|
|
2
|
+
componentTokens: 'standard' | 'boolean-control' | 'disclosure';
|
|
3
|
+
factory: {
|
|
4
|
+
name: string;
|
|
5
|
+
source: string;
|
|
6
|
+
semanticAdapter: string;
|
|
7
|
+
stateKeys: readonly string[];
|
|
8
|
+
};
|
|
9
|
+
dependencyAudit: {
|
|
10
|
+
factory: string;
|
|
11
|
+
component: string;
|
|
12
|
+
file: string;
|
|
13
|
+
primitiveColorUsage: readonly ['none'];
|
|
14
|
+
unresolved: readonly [];
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Generator V2 owns this bounded authority. Historical hand-maintained
|
|
19
|
+
* factories remain in their existing #887/#888 inventories; every factory
|
|
20
|
+
* first materialized by Generator V2 is registered here once and projected
|
|
21
|
+
* into both inventories.
|
|
22
|
+
*/
|
|
23
|
+
export declare const generatedComponentFactoryArchitectureV1: readonly [];
|
|
24
|
+
export declare function projectGeneratedMaintainedComponentFactories(registrations: readonly GeneratedComponentFactoryArchitectureRegistration[]): {
|
|
25
|
+
name: string;
|
|
26
|
+
source: string;
|
|
27
|
+
semanticAdapter: string;
|
|
28
|
+
stateKeys: readonly string[];
|
|
29
|
+
}[];
|
|
30
|
+
export declare function projectGeneratedComponentTokenDependencyAudits(registrations: readonly GeneratedComponentFactoryArchitectureRegistration[]): {
|
|
31
|
+
factory: string;
|
|
32
|
+
component: string;
|
|
33
|
+
file: string;
|
|
34
|
+
primitiveColorUsage: readonly ["none"];
|
|
35
|
+
unresolved: readonly [];
|
|
36
|
+
}[];
|
|
37
|
+
//# sourceMappingURL=generated-component-factory-architecture.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generated-component-factory-architecture.d.ts","sourceRoot":"","sources":["../src/generated-component-factory-architecture.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iDAAiD,GAAG;IAC9D,eAAe,EAAE,UAAU,GAAG,iBAAiB,GAAG,YAAY,CAAC;IAC/D,OAAO,EAAE;QACP,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;QACf,eAAe,EAAE,MAAM,CAAC;QACxB,SAAS,EAAE,SAAS,MAAM,EAAE,CAAC;KAC9B,CAAC;IACF,eAAe,EAAE;QACf,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,EAAE,MAAM,CAAC;QAClB,IAAI,EAAE,MAAM,CAAC;QACb,mBAAmB,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;QACvC,UAAU,EAAE,SAAS,EAAE,CAAC;KACzB,CAAC;CACH,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,uCAAuC,aACgC,CAAC;AAErF,wBAAgB,4CAA4C,CAC1D,aAAa,EAAE,SAAS,iDAAiD,EAAE;UAxBnE,MAAM;YACJ,MAAM;qBACG,MAAM;eACZ,SAAS,MAAM,EAAE;IAwB/B;AAED,wBAAgB,8CAA8C,CAC5D,aAAa,EAAE,SAAS,iDAAiD,EAAE;aAxBhE,MAAM;eACJ,MAAM;UACX,MAAM;yBACS,SAAS,CAAC,MAAM,CAAC;gBAC1B,SAAS,EAAE;IAuB1B"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generator V2 owns this bounded authority. Historical hand-maintained
|
|
3
|
+
* factories remain in their existing #887/#888 inventories; every factory
|
|
4
|
+
* first materialized by Generator V2 is registered here once and projected
|
|
5
|
+
* into both inventories.
|
|
6
|
+
*/
|
|
7
|
+
export const generatedComponentFactoryArchitectureV1 = [];
|
|
8
|
+
export function projectGeneratedMaintainedComponentFactories(registrations) {
|
|
9
|
+
return registrations.map(({ factory }) => factory);
|
|
10
|
+
}
|
|
11
|
+
export function projectGeneratedComponentTokenDependencyAudits(registrations) {
|
|
12
|
+
return registrations.map(({ dependencyAudit }) => dependencyAudit);
|
|
13
|
+
}
|
|
@@ -289,7 +289,12 @@ export declare const maintainedComponentFactories: readonly [{
|
|
|
289
289
|
readonly source: "packages/tokens/src/factories/components/createTooltipTokens.ts";
|
|
290
290
|
readonly semanticAdapter: "createTooltipTokensFromTheme";
|
|
291
291
|
readonly stateKeys: readonly ["default"];
|
|
292
|
-
}
|
|
292
|
+
}, ...{
|
|
293
|
+
name: string;
|
|
294
|
+
source: string;
|
|
295
|
+
semanticAdapter: string;
|
|
296
|
+
stateKeys: readonly string[];
|
|
297
|
+
}[]];
|
|
293
298
|
export declare const tokenArchitectureAuditFindings: readonly [{
|
|
294
299
|
readonly id: "semantic-shape-parity";
|
|
295
300
|
readonly classification: "A";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token-architecture.d.ts","sourceRoot":"","sources":["../src/token-architecture.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"token-architecture.d.ts","sourceRoot":"","sources":["../src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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgH/B,CAAC;AAEX,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;EA+BjC,CAAC"}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* This file intentionally describes ownership, vocabulary, and audit findings
|
|
5
5
|
* without changing any resolved token value.
|
|
6
6
|
*/
|
|
7
|
+
import { generatedComponentFactoryArchitectureV1, projectGeneratedMaintainedComponentFactories, } from './generated-component-factory-architecture.js';
|
|
7
8
|
export const tokenArchitectureLayers = [
|
|
8
9
|
'primitive',
|
|
9
10
|
'semantic',
|
|
@@ -636,6 +637,7 @@ export const maintainedComponentFactories = [
|
|
|
636
637
|
semanticAdapter: 'createTooltipTokensFromTheme',
|
|
637
638
|
stateKeys: ['default'],
|
|
638
639
|
},
|
|
640
|
+
...projectGeneratedMaintainedComponentFactories(generatedComponentFactoryArchitectureV1),
|
|
639
641
|
];
|
|
640
642
|
export const tokenArchitectureAuditFindings = [
|
|
641
643
|
{
|