@almadar/patterns 2.2.0 → 2.3.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-03-08T11:32:49.899Z",
3
+ "exportedAt": "2026-03-09T08:08:00.655Z",
4
4
  "mappings": {
5
5
  "page-header": {
6
6
  "component": "PageHeader",
@@ -980,6 +980,16 @@
980
980
  "importPath": "@/components/molecules/GraphView",
981
981
  "category": "component"
982
982
  },
983
+ "data-grid": {
984
+ "component": "DataGrid",
985
+ "importPath": "@/components/molecules/DataGrid",
986
+ "category": "display"
987
+ },
988
+ "data-list": {
989
+ "component": "DataList",
990
+ "importPath": "@/components/molecules/DataList",
991
+ "category": "display"
992
+ },
983
993
  "line-chart": {
984
994
  "component": "LineChart",
985
995
  "importPath": "@/components/molecules/LineChart",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1.0.0",
3
- "exportedAt": "2026-03-08T11:32:49.899Z",
3
+ "exportedAt": "2026-03-09T08:08:00.655Z",
4
4
  "contracts": {
5
5
  "form": {
6
6
  "emits": [
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  var version$3 = "1.0.0";
2
- var exportedAt$3 = "2026-03-08T11:32:49.899Z";
2
+ var exportedAt$3 = "2026-03-09T08:08:00.655Z";
3
3
  var patterns = {
4
4
  "entity-table": {
5
5
  type: "entity-table",
@@ -3453,15 +3453,17 @@ var patterns = {
3453
3453
  },
3454
3454
  icon: {
3455
3455
  types: [
3456
- "icon"
3456
+ "icon",
3457
+ "string"
3457
3458
  ],
3458
- description: "Left icon as Lucide icon component (convenience prop, renders with default size)"
3459
+ description: "Left icon as Lucide icon component or string name (e.g. \"plus\", \"trash\")"
3459
3460
  },
3460
3461
  iconRight: {
3461
3462
  types: [
3462
- "icon"
3463
+ "icon",
3464
+ "string"
3463
3465
  ],
3464
- description: "Right icon as Lucide icon component (convenience prop)"
3466
+ description: "Right icon as Lucide icon component or string name"
3465
3467
  },
3466
3468
  action: {
3467
3469
  types: [
@@ -3511,6 +3513,12 @@ var patterns = {
3511
3513
  "number"
3512
3514
  ],
3513
3515
  description: "Numeric count or amount to display in badge"
3516
+ },
3517
+ label: {
3518
+ types: [
3519
+ "string"
3520
+ ],
3521
+ description: "Badge label text (alternative to children for schema-driven rendering)"
3514
3522
  }
3515
3523
  }
3516
3524
  },
@@ -14018,6 +14026,152 @@ var patterns = {
14018
14026
  }
14019
14027
  }
14020
14028
  },
14029
+ "data-grid": {
14030
+ type: "data-grid",
14031
+ category: "display",
14032
+ description: "DataGrid component",
14033
+ suggestedFor: [
14034
+ "data",
14035
+ "grid",
14036
+ "data grid"
14037
+ ],
14038
+ typicalSize: "medium",
14039
+ propsSchema: {
14040
+ entity: {
14041
+ types: [
14042
+ "unknown"
14043
+ ],
14044
+ description: "Entity data array"
14045
+ },
14046
+ fields: {
14047
+ types: [
14048
+ "unknown"
14049
+ ],
14050
+ description: "Field definitions for rendering each card"
14051
+ },
14052
+ columns: {
14053
+ types: [
14054
+ "unknown"
14055
+ ],
14056
+ description: "Alias for fields (compiler generates `columns` for field definitions)"
14057
+ },
14058
+ itemActions: {
14059
+ types: [
14060
+ "unknown"
14061
+ ],
14062
+ description: "Per-item action buttons"
14063
+ },
14064
+ cols: {
14065
+ types: [
14066
+ "number"
14067
+ ],
14068
+ description: "Number of columns (uses auto-fit if omitted)"
14069
+ },
14070
+ gap: {
14071
+ types: [
14072
+ "string"
14073
+ ],
14074
+ description: "Gap between cards"
14075
+ },
14076
+ minCardWidth: {
14077
+ types: [
14078
+ "number"
14079
+ ],
14080
+ description: "Minimum card width in pixels (used when cols is not set, default 280)"
14081
+ },
14082
+ className: {
14083
+ types: [
14084
+ "string"
14085
+ ],
14086
+ description: "Additional CSS classes"
14087
+ },
14088
+ isLoading: {
14089
+ types: [
14090
+ "boolean"
14091
+ ],
14092
+ description: "Loading state"
14093
+ },
14094
+ error: {
14095
+ types: [
14096
+ "error"
14097
+ ],
14098
+ description: "Error state"
14099
+ },
14100
+ imageField: {
14101
+ types: [
14102
+ "string"
14103
+ ],
14104
+ description: "Entity field name containing an image URL for card thumbnails"
14105
+ }
14106
+ }
14107
+ },
14108
+ "data-list": {
14109
+ type: "data-list",
14110
+ category: "display",
14111
+ description: "DataList component",
14112
+ suggestedFor: [
14113
+ "data",
14114
+ "list",
14115
+ "data list"
14116
+ ],
14117
+ typicalSize: "medium",
14118
+ propsSchema: {
14119
+ entity: {
14120
+ types: [
14121
+ "unknown"
14122
+ ],
14123
+ description: "Entity data array"
14124
+ },
14125
+ fields: {
14126
+ types: [
14127
+ "unknown"
14128
+ ],
14129
+ description: "Field definitions for rendering each row"
14130
+ },
14131
+ columns: {
14132
+ types: [
14133
+ "unknown"
14134
+ ],
14135
+ description: "Alias for fields (compiler may generate `columns` for field definitions)"
14136
+ },
14137
+ itemActions: {
14138
+ types: [
14139
+ "unknown"
14140
+ ],
14141
+ description: "Per-item action buttons"
14142
+ },
14143
+ gap: {
14144
+ types: [
14145
+ "string"
14146
+ ],
14147
+ description: "Gap between rows"
14148
+ },
14149
+ variant: {
14150
+ types: [
14151
+ "string"
14152
+ ],
14153
+ description: "Visual variant"
14154
+ },
14155
+ className: {
14156
+ types: [
14157
+ "string"
14158
+ ],
14159
+ description: "Additional CSS classes"
14160
+ },
14161
+ isLoading: {
14162
+ types: [
14163
+ "boolean"
14164
+ ],
14165
+ description: "Loading state"
14166
+ },
14167
+ error: {
14168
+ types: [
14169
+ "error"
14170
+ ],
14171
+ description: "Error state"
14172
+ }
14173
+ }
14174
+ },
14021
14175
  heading: {
14022
14176
  type: "heading",
14023
14177
  category: "component",
@@ -14957,7 +15111,7 @@ var integratorsRegistry = {
14957
15111
  };
14958
15112
 
14959
15113
  var version$1 = "1.0.0";
14960
- var exportedAt$1 = "2026-03-08T11:32:49.899Z";
15114
+ var exportedAt$1 = "2026-03-09T08:08:00.655Z";
14961
15115
  var mappings = {
14962
15116
  "page-header": {
14963
15117
  component: "PageHeader",
@@ -15937,6 +16091,16 @@ var mappings = {
15937
16091
  importPath: "@/components/molecules/GraphView",
15938
16092
  category: "component"
15939
16093
  },
16094
+ "data-grid": {
16095
+ component: "DataGrid",
16096
+ importPath: "@/components/molecules/DataGrid",
16097
+ category: "display"
16098
+ },
16099
+ "data-list": {
16100
+ component: "DataList",
16101
+ importPath: "@/components/molecules/DataList",
16102
+ category: "display"
16103
+ },
15940
16104
  "line-chart": {
15941
16105
  component: "LineChart",
15942
16106
  importPath: "@/components/molecules/LineChart",
@@ -15965,7 +16129,7 @@ var componentMapping = {
15965
16129
  };
15966
16130
 
15967
16131
  var version = "1.0.0";
15968
- var exportedAt = "2026-03-08T11:32:49.899Z";
16132
+ var exportedAt = "2026-03-09T08:08:00.655Z";
15969
16133
  var contracts = {
15970
16134
  form: {
15971
16135
  emits: [
@@ -22551,6 +22715,10 @@ declare const registry: {
22551
22715
  types: string[];
22552
22716
  description: string;
22553
22717
  };
22718
+ label: {
22719
+ types: string[];
22720
+ description: string;
22721
+ };
22554
22722
  };
22555
22723
  };
22556
22724
  avatar: {
@@ -29642,6 +29810,104 @@ declare const registry: {
29642
29810
  };
29643
29811
  };
29644
29812
  };
29813
+ "data-grid": {
29814
+ type: string;
29815
+ category: string;
29816
+ description: string;
29817
+ suggestedFor: string[];
29818
+ typicalSize: string;
29819
+ propsSchema: {
29820
+ entity: {
29821
+ types: string[];
29822
+ description: string;
29823
+ };
29824
+ fields: {
29825
+ types: string[];
29826
+ description: string;
29827
+ };
29828
+ columns: {
29829
+ types: string[];
29830
+ description: string;
29831
+ };
29832
+ itemActions: {
29833
+ types: string[];
29834
+ description: string;
29835
+ };
29836
+ cols: {
29837
+ types: string[];
29838
+ description: string;
29839
+ };
29840
+ gap: {
29841
+ types: string[];
29842
+ description: string;
29843
+ };
29844
+ minCardWidth: {
29845
+ types: string[];
29846
+ description: string;
29847
+ };
29848
+ className: {
29849
+ types: string[];
29850
+ description: string;
29851
+ };
29852
+ isLoading: {
29853
+ types: string[];
29854
+ description: string;
29855
+ };
29856
+ error: {
29857
+ types: string[];
29858
+ description: string;
29859
+ };
29860
+ imageField: {
29861
+ types: string[];
29862
+ description: string;
29863
+ };
29864
+ };
29865
+ };
29866
+ "data-list": {
29867
+ type: string;
29868
+ category: string;
29869
+ description: string;
29870
+ suggestedFor: string[];
29871
+ typicalSize: string;
29872
+ propsSchema: {
29873
+ entity: {
29874
+ types: string[];
29875
+ description: string;
29876
+ };
29877
+ fields: {
29878
+ types: string[];
29879
+ description: string;
29880
+ };
29881
+ columns: {
29882
+ types: string[];
29883
+ description: string;
29884
+ };
29885
+ itemActions: {
29886
+ types: string[];
29887
+ description: string;
29888
+ };
29889
+ gap: {
29890
+ types: string[];
29891
+ description: string;
29892
+ };
29893
+ variant: {
29894
+ types: string[];
29895
+ description: string;
29896
+ };
29897
+ className: {
29898
+ types: string[];
29899
+ description: string;
29900
+ };
29901
+ isLoading: {
29902
+ types: string[];
29903
+ description: string;
29904
+ };
29905
+ error: {
29906
+ types: string[];
29907
+ description: string;
29908
+ };
29909
+ };
29910
+ };
29645
29911
  heading: {
29646
29912
  type: string;
29647
29913
  category: string;
@@ -32128,6 +32394,10 @@ declare const PATTERN_REGISTRY: {
32128
32394
  types: string[];
32129
32395
  description: string;
32130
32396
  };
32397
+ label: {
32398
+ types: string[];
32399
+ description: string;
32400
+ };
32131
32401
  };
32132
32402
  };
32133
32403
  avatar: {
@@ -39219,6 +39489,104 @@ declare const PATTERN_REGISTRY: {
39219
39489
  };
39220
39490
  };
39221
39491
  };
39492
+ "data-grid": {
39493
+ type: string;
39494
+ category: string;
39495
+ description: string;
39496
+ suggestedFor: string[];
39497
+ typicalSize: string;
39498
+ propsSchema: {
39499
+ entity: {
39500
+ types: string[];
39501
+ description: string;
39502
+ };
39503
+ fields: {
39504
+ types: string[];
39505
+ description: string;
39506
+ };
39507
+ columns: {
39508
+ types: string[];
39509
+ description: string;
39510
+ };
39511
+ itemActions: {
39512
+ types: string[];
39513
+ description: string;
39514
+ };
39515
+ cols: {
39516
+ types: string[];
39517
+ description: string;
39518
+ };
39519
+ gap: {
39520
+ types: string[];
39521
+ description: string;
39522
+ };
39523
+ minCardWidth: {
39524
+ types: string[];
39525
+ description: string;
39526
+ };
39527
+ className: {
39528
+ types: string[];
39529
+ description: string;
39530
+ };
39531
+ isLoading: {
39532
+ types: string[];
39533
+ description: string;
39534
+ };
39535
+ error: {
39536
+ types: string[];
39537
+ description: string;
39538
+ };
39539
+ imageField: {
39540
+ types: string[];
39541
+ description: string;
39542
+ };
39543
+ };
39544
+ };
39545
+ "data-list": {
39546
+ type: string;
39547
+ category: string;
39548
+ description: string;
39549
+ suggestedFor: string[];
39550
+ typicalSize: string;
39551
+ propsSchema: {
39552
+ entity: {
39553
+ types: string[];
39554
+ description: string;
39555
+ };
39556
+ fields: {
39557
+ types: string[];
39558
+ description: string;
39559
+ };
39560
+ columns: {
39561
+ types: string[];
39562
+ description: string;
39563
+ };
39564
+ itemActions: {
39565
+ types: string[];
39566
+ description: string;
39567
+ };
39568
+ gap: {
39569
+ types: string[];
39570
+ description: string;
39571
+ };
39572
+ variant: {
39573
+ types: string[];
39574
+ description: string;
39575
+ };
39576
+ className: {
39577
+ types: string[];
39578
+ description: string;
39579
+ };
39580
+ isLoading: {
39581
+ types: string[];
39582
+ description: string;
39583
+ };
39584
+ error: {
39585
+ types: string[];
39586
+ description: string;
39587
+ };
39588
+ };
39589
+ };
39222
39590
  heading: {
39223
39591
  type: string;
39224
39592
  category: string;
@@ -40902,6 +41270,16 @@ declare const COMPONENT_MAPPING: {
40902
41270
  importPath: string;
40903
41271
  category: string;
40904
41272
  };
41273
+ "data-grid": {
41274
+ component: string;
41275
+ importPath: string;
41276
+ category: string;
41277
+ };
41278
+ "data-list": {
41279
+ component: string;
41280
+ importPath: string;
41281
+ category: string;
41282
+ };
40905
41283
  "line-chart": {
40906
41284
  component: string;
40907
41285
  importPath: string;