@almadar/patterns 2.37.1 → 2.38.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1.0.0",
3
- "exportedAt": "2026-06-04T18:07:03.548Z",
3
+ "exportedAt": "2026-06-06T01:35:55.147Z",
4
4
  "patterns": {
5
5
  "entity-table": {
6
6
  "type": "entity-table",
@@ -10050,7 +10050,9 @@
10050
10050
  "donut",
10051
10051
  "scatter",
10052
10052
  "histogram"
10053
- ]
10053
+ ],
10054
+ "synonyms": "chart style, graph type, bar chart, line chart, pie chart, area chart, donut chart, scatter plot, histogram",
10055
+ "tier": "domain"
10054
10056
  },
10055
10057
  "look": {
10056
10058
  "types": [
@@ -10066,7 +10068,9 @@
10066
10068
  "donut",
10067
10069
  "scatter",
10068
10070
  "histogram"
10069
- ]
10071
+ ],
10072
+ "synonyms": "chart style, render style, visual treatment",
10073
+ "tier": "presentation"
10070
10074
  },
10071
10075
  "series": {
10072
10076
  "types": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1.0.0",
3
- "exportedAt": "2026-06-04T18:07:03.548Z",
3
+ "exportedAt": "2026-06-06T01:35:55.147Z",
4
4
  "patterns": {
5
5
  "entity-table": {
6
6
  "type": "entity-table",
@@ -10050,7 +10050,9 @@
10050
10050
  "donut",
10051
10051
  "scatter",
10052
10052
  "histogram"
10053
- ]
10053
+ ],
10054
+ "synonyms": "chart style, graph type, bar chart, line chart, pie chart, area chart, donut chart, scatter plot, histogram",
10055
+ "tier": "domain"
10054
10056
  },
10055
10057
  "look": {
10056
10058
  "types": [
@@ -10066,7 +10068,9 @@
10066
10068
  "donut",
10067
10069
  "scatter",
10068
10070
  "histogram"
10069
- ]
10071
+ ],
10072
+ "synonyms": "chart style, render style, visual treatment",
10073
+ "tier": "presentation"
10070
10074
  },
10071
10075
  "series": {
10072
10076
  "types": [
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.0",
4
4
  "description": "Pattern registry and component mappings for Almadar",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",