@almadar/core 10.40.0 → 10.42.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-07-28T10:40:00.004Z",
3
+ "exportedAt": "2026-07-28T16:34:50.202Z",
4
4
  "patterns": {
5
5
  "entity-table": {
6
6
  "type": "entity-table",
@@ -18157,6 +18157,22 @@
18157
18157
  "description": "Max items to show before \"Show More\" button. Defaults to 5. Set to 0 to disable.",
18158
18158
  "default": 5
18159
18159
  },
18160
+ "sortBy": {
18161
+ "types": [
18162
+ "string"
18163
+ ],
18164
+ "description": "Field name to order rows by. Values are compared by their own type — numbers numerically, date-like strings chronologically, everything else alphabetically — never by what the field is called. Empty cells sort last. Unset leaves the incoming order untouched. Orders only the rows already fetched: a collection larger than its `limit` still needs ordering at the data layer."
18165
+ },
18166
+ "sortDirection": {
18167
+ "types": [
18168
+ "string"
18169
+ ],
18170
+ "description": "Direction for `sortBy`. Defaults to ascending.",
18171
+ "enumValues": [
18172
+ "asc",
18173
+ "desc"
18174
+ ]
18175
+ },
18160
18176
  "look": {
18161
18177
  "types": [
18162
18178
  "string"
@@ -39207,7 +39223,8 @@
39207
39223
  "cell",
39208
39224
  "rect",
39209
39225
  "ellipse",
39210
- "poly"
39226
+ "poly",
39227
+ "path"
39211
39228
  ]
39212
39229
  },
39213
39230
  "position": {
@@ -39292,6 +39309,12 @@
39292
39309
  ]
39293
39310
  }
39294
39311
  },
39312
+ "d": {
39313
+ "types": [
39314
+ "string"
39315
+ ],
39316
+ "description": "SVG path data in world units relative to the cell's projected top-left — same coordinate convention as `points`."
39317
+ },
39295
39318
  "fill": {
39296
39319
  "types": [
39297
39320
  "string"
@@ -39692,7 +39715,8 @@
39692
39715
  "cell",
39693
39716
  "rect",
39694
39717
  "ellipse",
39695
- "poly"
39718
+ "poly",
39719
+ "path"
39696
39720
  ]
39697
39721
  },
39698
39722
  "position": {
@@ -39767,6 +39791,11 @@
39767
39791
  ]
39768
39792
  }
39769
39793
  },
39794
+ "d": {
39795
+ "types": [
39796
+ "string"
39797
+ ]
39798
+ },
39770
39799
  "fill": {
39771
39800
  "types": [
39772
39801
  "string"
@@ -40913,6 +40942,96 @@
40913
40942
  "description": "Additional CSS classes"
40914
40943
  }
40915
40944
  }
40945
+ },
40946
+ "draw-group": {
40947
+ "type": "draw-group",
40948
+ "category": "game",
40949
+ "tier": "atoms",
40950
+ "family": "game",
40951
+ "description": "DrawGroup component",
40952
+ "suggestedFor": [
40953
+ "draw",
40954
+ "group",
40955
+ "draw group"
40956
+ ],
40957
+ "typicalSize": "small",
40958
+ "propsSchema": {
40959
+ "id": {
40960
+ "types": [
40961
+ "string"
40962
+ ],
40963
+ "description": "Optional source-tagged hit-test handle — the host indexes the drawable's ScenePos→id so a pointer/raycast at that cell resolves to this id (unit/entity click). No id → the host emits only the coordinate (tile click)."
40964
+ },
40965
+ "type": {
40966
+ "types": [
40967
+ "unknown"
40968
+ ],
40969
+ "description": "type prop",
40970
+ "required": true
40971
+ },
40972
+ "position": {
40973
+ "types": [
40974
+ "object"
40975
+ ],
40976
+ "description": "Logical scene position; the projector maps it to pixels / world.",
40977
+ "required": true,
40978
+ "properties": {
40979
+ "x": {
40980
+ "types": [
40981
+ "number"
40982
+ ]
40983
+ },
40984
+ "y": {
40985
+ "types": [
40986
+ "number"
40987
+ ]
40988
+ },
40989
+ "z": {
40990
+ "types": [
40991
+ "number"
40992
+ ]
40993
+ }
40994
+ },
40995
+ "propertyRequired": [
40996
+ "x",
40997
+ "y"
40998
+ ],
40999
+ "scenePos": true
41000
+ },
41001
+ "scale": {
41002
+ "types": [
41003
+ "number"
41004
+ ],
41005
+ "description": "Uniform scale applied to the whole group."
41006
+ },
41007
+ "rotate": {
41008
+ "types": [
41009
+ "number"
41010
+ ],
41011
+ "description": "Rotation in radians (painter units)."
41012
+ },
41013
+ "opacity": {
41014
+ "types": [
41015
+ "number"
41016
+ ],
41017
+ "description": "0..1 opacity."
41018
+ },
41019
+ "items": {
41020
+ "types": [
41021
+ "array"
41022
+ ],
41023
+ "description": "The grouped drawables, painted through the normal dispatch.",
41024
+ "required": true,
41025
+ "items": {
41026
+ "types": [
41027
+ "object"
41028
+ ],
41029
+ "drawableSlot": true
41030
+ }
41031
+ }
41032
+ },
41033
+ "drawable": true,
41034
+ "drawHost": true
40916
41035
  }
40917
41036
  },
40918
41037
  "categories": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1.0.0",
3
- "exportedAt": "2026-07-28T10:40:00.004Z",
3
+ "exportedAt": "2026-07-28T16:34:50.202Z",
4
4
  "patterns": {
5
5
  "entity-table": {
6
6
  "type": "entity-table",
@@ -18157,6 +18157,22 @@
18157
18157
  "description": "Max items to show before \"Show More\" button. Defaults to 5. Set to 0 to disable.",
18158
18158
  "default": 5
18159
18159
  },
18160
+ "sortBy": {
18161
+ "types": [
18162
+ "string"
18163
+ ],
18164
+ "description": "Field name to order rows by. Values are compared by their own type — numbers numerically, date-like strings chronologically, everything else alphabetically — never by what the field is called. Empty cells sort last. Unset leaves the incoming order untouched. Orders only the rows already fetched: a collection larger than its `limit` still needs ordering at the data layer."
18165
+ },
18166
+ "sortDirection": {
18167
+ "types": [
18168
+ "string"
18169
+ ],
18170
+ "description": "Direction for `sortBy`. Defaults to ascending.",
18171
+ "enumValues": [
18172
+ "asc",
18173
+ "desc"
18174
+ ]
18175
+ },
18160
18176
  "look": {
18161
18177
  "types": [
18162
18178
  "string"
@@ -39207,7 +39223,8 @@
39207
39223
  "cell",
39208
39224
  "rect",
39209
39225
  "ellipse",
39210
- "poly"
39226
+ "poly",
39227
+ "path"
39211
39228
  ]
39212
39229
  },
39213
39230
  "position": {
@@ -39292,6 +39309,12 @@
39292
39309
  ]
39293
39310
  }
39294
39311
  },
39312
+ "d": {
39313
+ "types": [
39314
+ "string"
39315
+ ],
39316
+ "description": "SVG path data in world units relative to the cell's projected top-left — same coordinate convention as `points`."
39317
+ },
39295
39318
  "fill": {
39296
39319
  "types": [
39297
39320
  "string"
@@ -39692,7 +39715,8 @@
39692
39715
  "cell",
39693
39716
  "rect",
39694
39717
  "ellipse",
39695
- "poly"
39718
+ "poly",
39719
+ "path"
39696
39720
  ]
39697
39721
  },
39698
39722
  "position": {
@@ -39767,6 +39791,11 @@
39767
39791
  ]
39768
39792
  }
39769
39793
  },
39794
+ "d": {
39795
+ "types": [
39796
+ "string"
39797
+ ]
39798
+ },
39770
39799
  "fill": {
39771
39800
  "types": [
39772
39801
  "string"
@@ -40913,6 +40942,96 @@
40913
40942
  "description": "Additional CSS classes"
40914
40943
  }
40915
40944
  }
40945
+ },
40946
+ "draw-group": {
40947
+ "type": "draw-group",
40948
+ "category": "game",
40949
+ "tier": "atoms",
40950
+ "family": "game",
40951
+ "description": "DrawGroup component",
40952
+ "suggestedFor": [
40953
+ "draw",
40954
+ "group",
40955
+ "draw group"
40956
+ ],
40957
+ "typicalSize": "small",
40958
+ "propsSchema": {
40959
+ "id": {
40960
+ "types": [
40961
+ "string"
40962
+ ],
40963
+ "description": "Optional source-tagged hit-test handle — the host indexes the drawable's ScenePos→id so a pointer/raycast at that cell resolves to this id (unit/entity click). No id → the host emits only the coordinate (tile click)."
40964
+ },
40965
+ "type": {
40966
+ "types": [
40967
+ "unknown"
40968
+ ],
40969
+ "description": "type prop",
40970
+ "required": true
40971
+ },
40972
+ "position": {
40973
+ "types": [
40974
+ "object"
40975
+ ],
40976
+ "description": "Logical scene position; the projector maps it to pixels / world.",
40977
+ "required": true,
40978
+ "properties": {
40979
+ "x": {
40980
+ "types": [
40981
+ "number"
40982
+ ]
40983
+ },
40984
+ "y": {
40985
+ "types": [
40986
+ "number"
40987
+ ]
40988
+ },
40989
+ "z": {
40990
+ "types": [
40991
+ "number"
40992
+ ]
40993
+ }
40994
+ },
40995
+ "propertyRequired": [
40996
+ "x",
40997
+ "y"
40998
+ ],
40999
+ "scenePos": true
41000
+ },
41001
+ "scale": {
41002
+ "types": [
41003
+ "number"
41004
+ ],
41005
+ "description": "Uniform scale applied to the whole group."
41006
+ },
41007
+ "rotate": {
41008
+ "types": [
41009
+ "number"
41010
+ ],
41011
+ "description": "Rotation in radians (painter units)."
41012
+ },
41013
+ "opacity": {
41014
+ "types": [
41015
+ "number"
41016
+ ],
41017
+ "description": "0..1 opacity."
41018
+ },
41019
+ "items": {
41020
+ "types": [
41021
+ "array"
41022
+ ],
41023
+ "description": "The grouped drawables, painted through the normal dispatch.",
41024
+ "required": true,
41025
+ "items": {
41026
+ "types": [
41027
+ "object"
41028
+ ],
41029
+ "drawableSlot": true
41030
+ }
41031
+ }
41032
+ },
41033
+ "drawable": true,
41034
+ "drawHost": true
40916
41035
  }
40917
41036
  },
40918
41037
  "categories": [