@calibrate-ds/shared-types 0.1.87 → 0.1.89

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.
Files changed (2) hide show
  1. package/dist/model.d.ts +8 -6
  2. 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
- * Cross-check against Figma MCP get_screenshot or get_variable_defs.
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 Figma fill.
797
- * Present only when conflicts were detected. Always treat these with low
798
- * confidenceverify against Figma (get_screenshot / get_variable_defs)
799
- * before trusting the token name over the raw value.
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>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@calibrate-ds/shared-types",
3
- "version": "0.1.87",
3
+ "version": "0.1.89",
4
4
  "license": "FSL-1.1-MIT",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",