@calibrate-ds/shared-types 0.1.88 → 0.1.90
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/model.d.ts +8 -6
- package/package.json +1 -1
package/dist/model.d.ts
CHANGED
|
@@ -744,8 +744,10 @@ export type TokenConflict = {
|
|
|
744
744
|
/** Hex color the resolved token chain claims this slot should be. */
|
|
745
745
|
resolvedValue: string;
|
|
746
746
|
/**
|
|
747
|
-
* Always "low" — PTB cannot determine which is authoritative
|
|
748
|
-
*
|
|
747
|
+
* Always "low" — PTB cannot determine which is authoritative from the token
|
|
748
|
+
* chain alone. Prefer rawValue: it is the hex the design actually renders,
|
|
749
|
+
* captured by PTB's own scan, and the scan thumbnail (thumbnailPath) is the
|
|
750
|
+
* visual ground truth to confirm it.
|
|
749
751
|
*/
|
|
750
752
|
confidence: "low";
|
|
751
753
|
};
|
|
@@ -793,10 +795,10 @@ export type ComponentContext = {
|
|
|
793
795
|
tokenBindings: TokenBinding[];
|
|
794
796
|
resolvedBindings?: Record<string, ResolvedBinding>;
|
|
795
797
|
/**
|
|
796
|
-
* Slots where PTB's resolved token value diverges from the raw
|
|
797
|
-
* Present only when conflicts were detected.
|
|
798
|
-
*
|
|
799
|
-
*
|
|
798
|
+
* Slots where PTB's resolved token value diverges from the raw scanned fill.
|
|
799
|
+
* Present only when conflicts were detected. Treat with low confidence and
|
|
800
|
+
* prefer rawValue — the hex the design actually renders, captured by PTB's
|
|
801
|
+
* scan — confirming against the scan thumbnail (thumbnailPath) when in doubt.
|
|
800
802
|
*/
|
|
801
803
|
tokenConflicts?: TokenConflict[];
|
|
802
804
|
contentSourceMap?: Record<string, string>;
|