@unified-product-graph/core 0.37.0 → 0.39.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/index.d.cts CHANGED
@@ -2264,6 +2264,13 @@ declare const UPG_EDGE_CATALOG: {
2264
2264
  source_type: string;
2265
2265
  target_type: string;
2266
2266
  };
2267
+ feature_area_groups_design_component: {
2268
+ forward_verb: string;
2269
+ reverse_verb: string;
2270
+ classification: "hierarchy";
2271
+ source_type: string;
2272
+ target_type: string;
2273
+ };
2267
2274
  outcome_delivered_by_feature: {
2268
2275
  forward_verb: string;
2269
2276
  reverse_verb: string;
@@ -2896,6 +2903,14 @@ declare const UPG_EDGE_CATALOG: {
2896
2903
  source_type: string;
2897
2904
  target_type: string;
2898
2905
  };
2906
+ design_token_derives_from_design_token: {
2907
+ forward_verb: string;
2908
+ reverse_verb: string;
2909
+ classification: "causal";
2910
+ source_type: string;
2911
+ target_type: string;
2912
+ cross_product_eligible: true;
2913
+ };
2899
2914
  design_component_follows_design_pattern: {
2900
2915
  forward_verb: string;
2901
2916
  reverse_verb: string;
@@ -2923,6 +2938,7 @@ declare const UPG_EDGE_CATALOG: {
2923
2938
  classification: "hierarchy";
2924
2939
  source_type: string;
2925
2940
  target_type: string;
2941
+ cross_product_eligible: true;
2926
2942
  };
2927
2943
  prototype_annotated_with_annotation: {
2928
2944
  forward_verb: string;
@@ -14345,8 +14361,28 @@ interface DesignComponentProperties {
14345
14361
  * }
14346
14362
  */
14347
14363
  interface DesignTokenProperties {
14348
- /** Category */
14349
- category?: 'color' | 'spacing' | 'typography' | 'radius' | 'motion';
14364
+ /**
14365
+ * What kind of value this token holds. Aligned to the Design Tokens
14366
+ * Community Group `$type` vocabulary so a DTCG export maps across without
14367
+ * translation; the five original UPG values are kept, `color` and `spacing`
14368
+ * being the ones DTCG spells the same and `typography`, `radius`, `motion`
14369
+ * being groupings a design system names in its own terms.
14370
+ *
14371
+ * @remarks
14372
+ * DTCG mapping for the values that are not one-to-one: a `radius` token is a
14373
+ * DTCG `dimension`, a `motion` token is usually a `duration` or a
14374
+ * `cubicBezier`, and a `typography` token is a composite over `fontFamily` /
14375
+ * `fontWeight` / `dimension`. Both spellings are accepted: an estate that
14376
+ * speaks DTCG writes the `$type` name, one that speaks UPG's original five
14377
+ * keeps writing them, and neither has to translate at the boundary.
14378
+ *
14379
+ * Extended at 0.39.0 from a measured estate (163 DTCG primitives) whose
14380
+ * `shadow`, `dimension` and `opacity` tokens had no category to land on. The
14381
+ * enum was documented but unenforced then; `validate_graph`'s
14382
+ * `property_enum_drift` class (same release) is what makes it real, which is
14383
+ * why the vocabulary had to be right before the check arrived.
14384
+ */
14385
+ category?: 'color' | 'spacing' | 'typography' | 'radius' | 'motion' | 'dimension' | 'fontFamily' | 'fontWeight' | 'duration' | 'cubicBezier' | 'number' | 'shadow' | 'gradient' | 'border' | 'transition' | 'strokeStyle' | 'opacity';
14350
14386
  /** Resolved value */
14351
14387
  value: string;
14352
14388
  /** CSS custom property name */
@@ -26999,7 +27035,7 @@ declare function checkHeaderSealText(text: string): UPGHeaderSealReport;
26999
27035
  * it stamps the `upg_version` field of every `.upg` file written by the SDK.
27000
27036
  * The `check:version-lockstep` gate enforces this at release time.
27001
27037
  */
27002
- declare const UPG_VERSION: "0.37.0";
27038
+ declare const UPG_VERSION: "0.39.0";
27003
27039
  /**
27004
27040
  * The `.upg` JSON document format version. Written to the `upg_version` field.
27005
27041
  * Evolves independently from `UPG_VERSION` (the catalogue version).
package/dist/index.d.ts CHANGED
@@ -2264,6 +2264,13 @@ declare const UPG_EDGE_CATALOG: {
2264
2264
  source_type: string;
2265
2265
  target_type: string;
2266
2266
  };
2267
+ feature_area_groups_design_component: {
2268
+ forward_verb: string;
2269
+ reverse_verb: string;
2270
+ classification: "hierarchy";
2271
+ source_type: string;
2272
+ target_type: string;
2273
+ };
2267
2274
  outcome_delivered_by_feature: {
2268
2275
  forward_verb: string;
2269
2276
  reverse_verb: string;
@@ -2896,6 +2903,14 @@ declare const UPG_EDGE_CATALOG: {
2896
2903
  source_type: string;
2897
2904
  target_type: string;
2898
2905
  };
2906
+ design_token_derives_from_design_token: {
2907
+ forward_verb: string;
2908
+ reverse_verb: string;
2909
+ classification: "causal";
2910
+ source_type: string;
2911
+ target_type: string;
2912
+ cross_product_eligible: true;
2913
+ };
2899
2914
  design_component_follows_design_pattern: {
2900
2915
  forward_verb: string;
2901
2916
  reverse_verb: string;
@@ -2923,6 +2938,7 @@ declare const UPG_EDGE_CATALOG: {
2923
2938
  classification: "hierarchy";
2924
2939
  source_type: string;
2925
2940
  target_type: string;
2941
+ cross_product_eligible: true;
2926
2942
  };
2927
2943
  prototype_annotated_with_annotation: {
2928
2944
  forward_verb: string;
@@ -14345,8 +14361,28 @@ interface DesignComponentProperties {
14345
14361
  * }
14346
14362
  */
14347
14363
  interface DesignTokenProperties {
14348
- /** Category */
14349
- category?: 'color' | 'spacing' | 'typography' | 'radius' | 'motion';
14364
+ /**
14365
+ * What kind of value this token holds. Aligned to the Design Tokens
14366
+ * Community Group `$type` vocabulary so a DTCG export maps across without
14367
+ * translation; the five original UPG values are kept, `color` and `spacing`
14368
+ * being the ones DTCG spells the same and `typography`, `radius`, `motion`
14369
+ * being groupings a design system names in its own terms.
14370
+ *
14371
+ * @remarks
14372
+ * DTCG mapping for the values that are not one-to-one: a `radius` token is a
14373
+ * DTCG `dimension`, a `motion` token is usually a `duration` or a
14374
+ * `cubicBezier`, and a `typography` token is a composite over `fontFamily` /
14375
+ * `fontWeight` / `dimension`. Both spellings are accepted: an estate that
14376
+ * speaks DTCG writes the `$type` name, one that speaks UPG's original five
14377
+ * keeps writing them, and neither has to translate at the boundary.
14378
+ *
14379
+ * Extended at 0.39.0 from a measured estate (163 DTCG primitives) whose
14380
+ * `shadow`, `dimension` and `opacity` tokens had no category to land on. The
14381
+ * enum was documented but unenforced then; `validate_graph`'s
14382
+ * `property_enum_drift` class (same release) is what makes it real, which is
14383
+ * why the vocabulary had to be right before the check arrived.
14384
+ */
14385
+ category?: 'color' | 'spacing' | 'typography' | 'radius' | 'motion' | 'dimension' | 'fontFamily' | 'fontWeight' | 'duration' | 'cubicBezier' | 'number' | 'shadow' | 'gradient' | 'border' | 'transition' | 'strokeStyle' | 'opacity';
14350
14386
  /** Resolved value */
14351
14387
  value: string;
14352
14388
  /** CSS custom property name */
@@ -26999,7 +27035,7 @@ declare function checkHeaderSealText(text: string): UPGHeaderSealReport;
26999
27035
  * it stamps the `upg_version` field of every `.upg` file written by the SDK.
27000
27036
  * The `check:version-lockstep` gate enforces this at release time.
27001
27037
  */
27002
- declare const UPG_VERSION: "0.37.0";
27038
+ declare const UPG_VERSION: "0.39.0";
27003
27039
  /**
27004
27040
  * The `.upg` JSON document format version. Written to the `upg_version` field.
27005
27041
  * Evolves independently from `UPG_VERSION` (the catalogue version).