@almadar/patterns 2.37.1 → 2.38.1

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/types.d.ts CHANGED
@@ -87,6 +87,18 @@ export interface PatternPropDef {
87
87
  description?: string;
88
88
  /** Allowed literal values when the TS type is a string-literal union. */
89
89
  enumValues?: string[];
90
+ /**
91
+ * Comma-separated intent words from a `@synonyms` JSDoc tag on the prop
92
+ * (parity with behaviors' knob `@synonyms`). Feeds the pattern embeddings +
93
+ * the contextual-edit agent's intent→prop mapping. Absent when untagged.
94
+ */
95
+ synonyms?: string;
96
+ /**
97
+ * The prop's facing, from a `@tier` JSDoc tag — same enum as behaviors:
98
+ * `domain` (user-meaningful) / `presentation` (styling) / `internal`
99
+ * (wiring). Lets consumers prioritize the props a user is likely to edit.
100
+ */
101
+ tier?: 'domain' | 'presentation' | 'internal';
90
102
  /**
91
103
  * Semantic marker layered over {@link PatternPropDef.types}. Set by
92
104
  * the pattern-sync tool when the prop's TS type references a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/patterns",
3
- "version": "2.37.1",
3
+ "version": "2.38.1",
4
4
  "description": "Pattern registry and component mappings for Almadar",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",