@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.
package/dist/index.d.ts CHANGED
@@ -74,6 +74,7 @@ export declare const registry: {
74
74
  };
75
75
  columns: {
76
76
  types: string[];
77
+ itemKind: string;
77
78
  description: string;
78
79
  };
79
80
  itemActions: {
@@ -338,6 +339,7 @@ export declare const registry: {
338
339
  };
339
340
  imageField: {
340
341
  types: string[];
342
+ kind: string;
341
343
  description: string;
342
344
  };
343
345
  };
@@ -856,6 +858,7 @@ export declare const registry: {
856
858
  };
857
859
  filters: {
858
860
  types: string[];
861
+ itemKind: string;
859
862
  description: string;
860
863
  required: boolean;
861
864
  };
@@ -8884,6 +8887,7 @@ export declare const registry: {
8884
8887
  };
8885
8888
  imageField: {
8886
8889
  types: string[];
8890
+ kind: string;
8887
8891
  description: string;
8888
8892
  };
8889
8893
  selectable: {
@@ -8955,6 +8959,7 @@ export declare const registry: {
8955
8959
  };
8956
8960
  groupBy: {
8957
8961
  types: string[];
8962
+ kind: string;
8958
8963
  description: string;
8959
8964
  };
8960
8965
  senderField: {
@@ -15579,6 +15584,7 @@ export declare const PATTERN_REGISTRY: {
15579
15584
  };
15580
15585
  columns: {
15581
15586
  types: string[];
15587
+ itemKind: string;
15582
15588
  description: string;
15583
15589
  };
15584
15590
  itemActions: {
@@ -15843,6 +15849,7 @@ export declare const PATTERN_REGISTRY: {
15843
15849
  };
15844
15850
  imageField: {
15845
15851
  types: string[];
15852
+ kind: string;
15846
15853
  description: string;
15847
15854
  };
15848
15855
  };
@@ -16361,6 +16368,7 @@ export declare const PATTERN_REGISTRY: {
16361
16368
  };
16362
16369
  filters: {
16363
16370
  types: string[];
16371
+ itemKind: string;
16364
16372
  description: string;
16365
16373
  required: boolean;
16366
16374
  };
@@ -24389,6 +24397,7 @@ export declare const PATTERN_REGISTRY: {
24389
24397
  };
24390
24398
  imageField: {
24391
24399
  types: string[];
24400
+ kind: string;
24392
24401
  description: string;
24393
24402
  };
24394
24403
  selectable: {
@@ -24460,6 +24469,7 @@ export declare const PATTERN_REGISTRY: {
24460
24469
  };
24461
24470
  groupBy: {
24462
24471
  types: string[];
24472
+ kind: string;
24463
24473
  description: string;
24464
24474
  };
24465
24475
  senderField: {
package/dist/index.js CHANGED
@@ -103,7 +103,8 @@ var patterns_registry_default = {
103
103
  types: [
104
104
  "array"
105
105
  ],
106
- description: "Columns can be Column objects or simple string field names"
106
+ itemKind: "field-ref",
107
+ description: "Columns can be Column objects or simple string field names. String elements must resolve to fields on the linked entity."
107
108
  },
108
109
  itemActions: {
109
110
  types: [
@@ -497,7 +498,8 @@ var patterns_registry_default = {
497
498
  types: [
498
499
  "string"
499
500
  ],
500
- description: "Entity field name containing an image URL to display as card thumbnail"
501
+ kind: "field-ref",
502
+ description: "Entity field name containing an image URL to display as card thumbnail. Must resolve to a field on the linked entity."
501
503
  }
502
504
  }
503
505
  },
@@ -1283,7 +1285,8 @@ var patterns_registry_default = {
1283
1285
  types: [
1284
1286
  "array"
1285
1287
  ],
1286
- description: "Filter definitions from schema",
1288
+ itemKind: "field-ref",
1289
+ description: "Filter definitions from schema. String elements must resolve to fields on the linked entity.",
1287
1290
  required: true
1288
1291
  },
1289
1292
  onFilterChange: {
@@ -13185,7 +13188,8 @@ var patterns_registry_default = {
13185
13188
  types: [
13186
13189
  "string"
13187
13190
  ],
13188
- description: "Entity field name containing an image URL for card thumbnails"
13191
+ kind: "field-ref",
13192
+ description: "Entity field name containing an image URL for card thumbnails. Must resolve to a field on the linked entity."
13189
13193
  },
13190
13194
  selectable: {
13191
13195
  types: [
@@ -13291,7 +13295,8 @@ var patterns_registry_default = {
13291
13295
  types: [
13292
13296
  "string"
13293
13297
  ],
13294
- description: "Group items by a field value (renders section headers between groups)"
13298
+ kind: "field-ref",
13299
+ description: "Group items by a field value (renders section headers between groups). Must resolve to a field on the linked entity."
13295
13300
  },
13296
13301
  senderField: {
13297
13302
  types: [