@almadar/patterns 2.12.1 → 2.13.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.
@@ -7,7 +7,14 @@
7
7
  * Generated: 2026-02-10T14:06:03.975Z
8
8
  * Pattern count: 120
9
9
  */
10
- import type { FieldValue } from '@almadar/core/types';
10
+ /**
11
+ * Primitive field value type — mirrors @almadar/core FieldValue.
12
+ * Inlined here to break the circular dependency: core → patterns → core.
13
+ * If FieldValue changes in core, update this too.
14
+ */
15
+ type FieldValue = string | number | boolean | Date | null | string[] | FieldValue[] | {
16
+ [key: string]: FieldValue;
17
+ };
11
18
  /**
12
19
  * Object-typed pattern prop value. Represents dynamic config objects
13
20
  * within pattern props (e.g., style, assetManifest, payload).
@@ -2844,3 +2851,4 @@ export declare const PATTERN_TYPES: PatternType[];
2844
2851
  * Check if a string is a valid pattern type
2845
2852
  */
2846
2853
  export declare function isValidPatternType(type: string): type is PatternType;
2854
+ export {};
@@ -102,7 +102,8 @@
102
102
  "types": [
103
103
  "array"
104
104
  ],
105
- "description": "Columns can be Column objects or simple string field names"
105
+ "itemKind": "field-ref",
106
+ "description": "Columns can be Column objects or simple string field names. String elements must resolve to fields on the linked entity."
106
107
  },
107
108
  "itemActions": {
108
109
  "types": [
@@ -496,7 +497,8 @@
496
497
  "types": [
497
498
  "string"
498
499
  ],
499
- "description": "Entity field name containing an image URL to display as card thumbnail"
500
+ "kind": "field-ref",
501
+ "description": "Entity field name containing an image URL to display as card thumbnail. Must resolve to a field on the linked entity."
500
502
  }
501
503
  }
502
504
  },
@@ -1282,7 +1284,8 @@
1282
1284
  "types": [
1283
1285
  "array"
1284
1286
  ],
1285
- "description": "Filter definitions from schema",
1287
+ "itemKind": "field-ref",
1288
+ "description": "Filter definitions from schema. String elements must resolve to fields on the linked entity.",
1286
1289
  "required": true
1287
1290
  },
1288
1291
  "onFilterChange": {
@@ -13184,7 +13187,8 @@
13184
13187
  "types": [
13185
13188
  "string"
13186
13189
  ],
13187
- "description": "Entity field name containing an image URL for card thumbnails"
13190
+ "kind": "field-ref",
13191
+ "description": "Entity field name containing an image URL for card thumbnails. Must resolve to a field on the linked entity."
13188
13192
  },
13189
13193
  "selectable": {
13190
13194
  "types": [
@@ -13290,7 +13294,8 @@
13290
13294
  "types": [
13291
13295
  "string"
13292
13296
  ],
13293
- "description": "Group items by a field value (renders section headers between groups)"
13297
+ "kind": "field-ref",
13298
+ "description": "Group items by a field value (renders section headers between groups). Must resolve to a field on the linked entity."
13294
13299
  },
13295
13300
  "senderField": {
13296
13301
  "types": [
@@ -102,7 +102,8 @@
102
102
  "types": [
103
103
  "array"
104
104
  ],
105
- "description": "Columns can be Column objects or simple string field names"
105
+ "itemKind": "field-ref",
106
+ "description": "Columns can be Column objects or simple string field names. String elements must resolve to fields on the linked entity."
106
107
  },
107
108
  "itemActions": {
108
109
  "types": [
@@ -496,7 +497,8 @@
496
497
  "types": [
497
498
  "string"
498
499
  ],
499
- "description": "Entity field name containing an image URL to display as card thumbnail"
500
+ "kind": "field-ref",
501
+ "description": "Entity field name containing an image URL to display as card thumbnail. Must resolve to a field on the linked entity."
500
502
  }
501
503
  }
502
504
  },
@@ -1282,7 +1284,8 @@
1282
1284
  "types": [
1283
1285
  "array"
1284
1286
  ],
1285
- "description": "Filter definitions from schema",
1287
+ "itemKind": "field-ref",
1288
+ "description": "Filter definitions from schema. String elements must resolve to fields on the linked entity.",
1286
1289
  "required": true
1287
1290
  },
1288
1291
  "onFilterChange": {
@@ -13184,7 +13187,8 @@
13184
13187
  "types": [
13185
13188
  "string"
13186
13189
  ],
13187
- "description": "Entity field name containing an image URL for card thumbnails"
13190
+ "kind": "field-ref",
13191
+ "description": "Entity field name containing an image URL for card thumbnails. Must resolve to a field on the linked entity."
13188
13192
  },
13189
13193
  "selectable": {
13190
13194
  "types": [
@@ -13290,7 +13294,8 @@
13290
13294
  "types": [
13291
13295
  "string"
13292
13296
  ],
13293
- "description": "Group items by a field value (renders section headers between groups)"
13297
+ "kind": "field-ref",
13298
+ "description": "Group items by a field value (renders section headers between groups). Must resolve to a field on the linked entity."
13294
13299
  },
13295
13300
  "senderField": {
13296
13301
  "types": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/patterns",
3
- "version": "2.12.1",
3
+ "version": "2.13.0",
4
4
  "description": "Pattern registry and component mappings for Almadar",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",