@almadar/core 10.31.0 → 10.33.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-21T09:54:57.379Z",
3
+ "exportedAt": "2026-07-24T05:10:33.187Z",
4
4
  "mappings": {
5
5
  "page-header": {
6
6
  "component": "PageHeader",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1.0.0",
3
- "exportedAt": "2026-07-21T09:54:57.379Z",
3
+ "exportedAt": "2026-07-24T05:10:33.187Z",
4
4
  "contracts": {
5
5
  "form": {
6
6
  "emits": [
@@ -1137,6 +1137,19 @@
1137
1137
  ],
1138
1138
  "requires": [],
1139
1139
  "entityAware": false
1140
+ },
1141
+ "data-grid": {
1142
+ "emits": [
1143
+ {
1144
+ "event": "NAVIGATE",
1145
+ "trigger": "action",
1146
+ "payload": {
1147
+ "type": "object"
1148
+ }
1149
+ }
1150
+ ],
1151
+ "requires": [],
1152
+ "entityAware": true
1140
1153
  }
1141
1154
  }
1142
1155
  }
@@ -1,10 +1,10 @@
1
- import { F as FieldValue, ao as PatternType, J as JsonValue } from '../pattern-types-VDIr2TkX.js';
2
- export { A as AnyPatternConfig, ah as PATTERN_TYPES, al as PatternConfig, am as PatternProps, an as PatternPropsMap, bf as isValidPatternType } from '../pattern-types-VDIr2TkX.js';
3
- import { d as EventPayloadValue, E as EventPayload } from '../expression-CB9R3KWk.js';
1
+ import { A as AnyPatternConfig, b1 as RenderBinding, F as FieldValue, aW as PatternType, J as JsonValue } from '../effect-D9WY6JgN.js';
2
+ export { aP as PATTERN_TYPES, aT as PatternConfig, aU as PatternProps, aV as PatternPropsMap, cJ as isValidPatternType } from '../effect-D9WY6JgN.js';
3
+ import { d as EventPayloadValue, a as EventPayload } from '../expression-DpAj1RzP.js';
4
4
  import 'zod';
5
5
 
6
6
  var version$3 = "1.0.0";
7
- var exportedAt$3 = "2026-07-21T09:54:57.379Z";
7
+ var exportedAt$3 = "2026-07-24T05:10:33.187Z";
8
8
  var patterns = {
9
9
  "entity-table": {
10
10
  type: "entity-table",
@@ -3512,7 +3512,8 @@ var patterns = {
3512
3512
  types: [
3513
3513
  "string"
3514
3514
  ],
3515
- description: "Event name to dispatch on search (schema metadata, wired by trait) This is metadata used by the trait generator, not by the component."
3515
+ description: "Declarative search event emits UI:{event} via eventBus on query submit (alongside canonical UI:SEARCH)",
3516
+ kind: "event"
3516
3517
  },
3517
3518
  entity: {
3518
3519
  types: [
@@ -3672,6 +3673,20 @@ var patterns = {
3672
3673
  "inline-column-header"
3673
3674
  ],
3674
3675
  "default": "toolbar"
3676
+ },
3677
+ event: {
3678
+ types: [
3679
+ "string"
3680
+ ],
3681
+ description: "Declarative filter event — emits UI:{event} via eventBus on filter change (alongside canonical UI:FILTER)",
3682
+ kind: "event"
3683
+ },
3684
+ clearEvent: {
3685
+ types: [
3686
+ "string"
3687
+ ],
3688
+ description: "Declarative clear event — emits UI:{clearEvent} via eventBus on clear-all (alongside canonical UI:CLEAR_FILTERS)",
3689
+ kind: "event"
3675
3690
  }
3676
3691
  }
3677
3692
  },
@@ -5751,9 +5766,9 @@ var patterns = {
5751
5766
  },
5752
5767
  title: {
5753
5768
  types: [
5754
- "string"
5769
+ "node"
5755
5770
  ],
5756
- description: "Drawer title"
5771
+ description: "Drawer title (text or any node, e.g. a brand logo + name)."
5757
5772
  },
5758
5773
  children: {
5759
5774
  types: [
@@ -9773,8 +9788,9 @@ var patterns = {
9773
9788
  types: [
9774
9789
  "string"
9775
9790
  ],
9776
- description: "Font weight override",
9791
+ description: "Font weight override — `none` = no override, the variant's baked weight applies",
9777
9792
  enumValues: [
9793
+ "none",
9778
9794
  "light",
9779
9795
  "normal",
9780
9796
  "medium",
@@ -9788,6 +9804,7 @@ var patterns = {
9788
9804
  ],
9789
9805
  description: "Font size override",
9790
9806
  enumValues: [
9807
+ "none",
9791
9808
  "xs",
9792
9809
  "sm",
9793
9810
  "md",
@@ -15281,37 +15298,7 @@ var patterns = {
15281
15298
  types: [
15282
15299
  "string"
15283
15300
  ],
15284
- description: "Programming language for syntax highlighting",
15285
- enumValues: [
15286
- "text",
15287
- "json",
15288
- "javascript",
15289
- "js",
15290
- "typescript",
15291
- "ts",
15292
- "jsx",
15293
- "tsx",
15294
- "css",
15295
- "markdown",
15296
- "md",
15297
- "bash",
15298
- "shell",
15299
- "sh",
15300
- "yaml",
15301
- "yml",
15302
- "rust",
15303
- "python",
15304
- "py",
15305
- "sql",
15306
- "diff",
15307
- "toml",
15308
- "go",
15309
- "graphql",
15310
- "html",
15311
- "xml",
15312
- "orb",
15313
- "lolo"
15314
- ],
15301
+ description: "Programming language for syntax highlighting (any Prism id; loaded on demand if not pre-registered)",
15315
15302
  "default": "text"
15316
15303
  },
15317
15304
  showCopyButton: {
@@ -15512,6 +15499,58 @@ var patterns = {
15512
15499
  "graphql",
15513
15500
  "html",
15514
15501
  "xml",
15502
+ "clojure",
15503
+ "clj",
15504
+ "edn",
15505
+ "haskell",
15506
+ "hs",
15507
+ "lisp",
15508
+ "scheme",
15509
+ "scala",
15510
+ "elixir",
15511
+ "ex",
15512
+ "exs",
15513
+ "erlang",
15514
+ "erl",
15515
+ "elm",
15516
+ "fsharp",
15517
+ "fs",
15518
+ "fsx",
15519
+ "ocaml",
15520
+ "ml",
15521
+ "java",
15522
+ "c",
15523
+ "cpp",
15524
+ "c++",
15525
+ "cc",
15526
+ "cxx",
15527
+ "hpp",
15528
+ "h",
15529
+ "csharp",
15530
+ "cs",
15531
+ "objectivec",
15532
+ "objc",
15533
+ "php",
15534
+ "ruby",
15535
+ "rb",
15536
+ "swift",
15537
+ "kotlin",
15538
+ "kt",
15539
+ "lua",
15540
+ "r",
15541
+ "dart",
15542
+ "julia",
15543
+ "fortran",
15544
+ "f90",
15545
+ "f95",
15546
+ "perl",
15547
+ "pl",
15548
+ "powershell",
15549
+ "ps1",
15550
+ "makefile",
15551
+ "make",
15552
+ "nginx",
15553
+ "ini",
15515
15554
  "orb",
15516
15555
  "lolo"
15517
15556
  ]
@@ -17168,6 +17207,11 @@ var patterns = {
17168
17207
  "string"
17169
17208
  ]
17170
17209
  },
17210
+ navigatesTo: {
17211
+ types: [
17212
+ "string"
17213
+ ]
17214
+ },
17171
17215
  icon: {
17172
17216
  types: [
17173
17217
  "icon",
@@ -17187,8 +17231,7 @@ var patterns = {
17187
17231
  }
17188
17232
  },
17189
17233
  required: [
17190
- "label",
17191
- "event"
17234
+ "label"
17192
17235
  ]
17193
17236
  }
17194
17237
  },
@@ -17328,7 +17371,7 @@ var patterns = {
17328
17371
  types: [
17329
17372
  "function"
17330
17373
  ],
17331
- description: "Render prop for custom per-card content. When provided, `fields` and `itemActions` are ignored.",
17374
+ description: "Render prop for custom per-card content. When provided, `fields` are ignored; `itemActions` render as a footer beneath the custom content.",
17332
17375
  kind: "callback",
17333
17376
  callbackArgs: [
17334
17377
  {
@@ -34100,22 +34143,6 @@ var patterns = {
34100
34143
  items: {
34101
34144
  types: [
34102
34145
  "object"
34103
- ],
34104
- properties: {
34105
- type: {
34106
- types: [
34107
- "unknown"
34108
- ]
34109
- },
34110
- content: {
34111
- types: [
34112
- "string"
34113
- ]
34114
- }
34115
- },
34116
- required: [
34117
- "type",
34118
- "content"
34119
34146
  ]
34120
34147
  }
34121
34148
  },
@@ -34135,34 +34162,7 @@ var patterns = {
34135
34162
  types: [
34136
34163
  "object"
34137
34164
  ],
34138
- description: "User progress for restoring activation/reflection state",
34139
- properties: {
34140
- activationResponse: {
34141
- types: [
34142
- "string"
34143
- ]
34144
- },
34145
- reflectionNotes: {
34146
- types: [
34147
- "array"
34148
- ],
34149
- items: {
34150
- types: [
34151
- "string"
34152
- ]
34153
- }
34154
- },
34155
- bloomAnswered: {
34156
- types: [
34157
- "object"
34158
- ],
34159
- mapValue: {
34160
- types: [
34161
- "boolean"
34162
- ]
34163
- }
34164
- }
34165
- }
34165
+ description: "User progress for restoring activation/reflection state"
34166
34166
  },
34167
34167
  onRunCodeSimulation: {
34168
34168
  types: [
@@ -34191,7 +34191,7 @@ var patterns = {
34191
34191
  callbackArgs: [
34192
34192
  {
34193
34193
  name: "type",
34194
- type: "string"
34194
+ type: "object"
34195
34195
  },
34196
34196
  {
34197
34197
  name: "description",
@@ -41119,7 +41119,7 @@ var integratorsRegistry = {
41119
41119
  };
41120
41120
 
41121
41121
  var version$1 = "1.0.0";
41122
- var exportedAt$1 = "2026-07-21T09:54:57.379Z";
41122
+ var exportedAt$1 = "2026-07-24T05:10:33.187Z";
41123
41123
  var mappings = {
41124
41124
  "page-header": {
41125
41125
  component: "PageHeader",
@@ -42486,7 +42486,7 @@ var componentMapping = {
42486
42486
  };
42487
42487
 
42488
42488
  var version = "1.0.0";
42489
- var exportedAt = "2026-07-21T09:54:57.379Z";
42489
+ var exportedAt = "2026-07-24T05:10:33.187Z";
42490
42490
  var contracts = {
42491
42491
  form: {
42492
42492
  emits: [
@@ -43672,6 +43672,20 @@ var contracts = {
43672
43672
  requires: [
43673
43673
  ],
43674
43674
  entityAware: false
43675
+ },
43676
+ "data-grid": {
43677
+ emits: [
43678
+ {
43679
+ event: "NAVIGATE",
43680
+ trigger: "action",
43681
+ payload: {
43682
+ type: "object"
43683
+ }
43684
+ }
43685
+ ],
43686
+ requires: [
43687
+ ],
43688
+ entityAware: true
43675
43689
  }
43676
43690
  };
43677
43691
  var eventContracts = {
@@ -43680,6 +43694,38 @@ var eventContracts = {
43680
43694
  contracts: contracts
43681
43695
  };
43682
43696
 
43697
+ /**
43698
+ * Content-grade classification of render-ui patterns — the single owner of
43699
+ * "is this pattern a content body", so the wiring lint, the slot layer, and
43700
+ * future consumers never grow private lists.
43701
+ *
43702
+ * Registry-derived, not a name list: a pattern TYPE is a content body when
43703
+ * its registry entry declares a data inlet — a propsSchema prop stamped
43704
+ * `kind: 'entity'` by pattern-sync from the prop's `EntityRecord<T>` /
43705
+ * `EntityCollection<T>` type identity (the declared signal that replaces
43706
+ * name-matching; see PropKind in `./types.js`). A pattern INSTANCE is a
43707
+ * content body when it is a bound body tree (`@config.denseBodyContent`),
43708
+ * a composite with children, or of a content-body type. Chrome (icons,
43709
+ * buttons, nav, inputs) declares no inlet, so it needs no enumeration.
43710
+ *
43711
+ * Declared-coverage boundary: viz patterns whose data props are not
43712
+ * `EntityRecord`-typed (`chart`, `stat-display`, `stats-grid`, `graph-view`)
43713
+ * carry no `kind: 'entity'` inlet today, so a BARE viz write (no children)
43714
+ * classifies as chrome. In practice dashboards compose viz under a parent
43715
+ * with children, which the composite branch catches. Stamping those props
43716
+ * is a pattern-sync/core decision, not a consumer list.
43717
+ */
43718
+
43719
+ /** The third element of a `render-ui` effect tuple. */
43720
+ type RenderUiPayload = AnyPatternConfig | RenderBinding | null;
43721
+ /** True when the pattern type declares a data inlet — any propsSchema prop
43722
+ * stamped `kind: 'entity'` from the prop's `EntityRecord`/`EntityCollection`
43723
+ * type identity. Declared in the registry, never name-matched. */
43724
+ declare function isContentBodyPatternType(patternType: string): boolean;
43725
+ declare function isContentBodyPattern(pattern: RenderUiPayload): boolean;
43726
+ /** Type guard for a `['render-ui', 'main', payload]` effect tuple. */
43727
+ declare function isMainSlotRenderUi(effect: unknown): effect is ['render-ui', 'main', RenderUiPayload];
43728
+
43683
43729
  /**
43684
43730
  * Shared types for @almadar/patterns
43685
43731
  *
@@ -46291,6 +46337,7 @@ declare const registry: {
46291
46337
  event: {
46292
46338
  types: string[];
46293
46339
  description: string;
46340
+ kind: string;
46294
46341
  };
46295
46342
  entity: {
46296
46343
  types: string[];
@@ -46388,6 +46435,16 @@ declare const registry: {
46388
46435
  enumValues: string[];
46389
46436
  default: string;
46390
46437
  };
46438
+ event: {
46439
+ types: string[];
46440
+ description: string;
46441
+ kind: string;
46442
+ };
46443
+ clearEvent: {
46444
+ types: string[];
46445
+ description: string;
46446
+ kind: string;
46447
+ };
46391
46448
  };
46392
46449
  };
46393
46450
  tabs: {
@@ -53488,7 +53545,6 @@ declare const registry: {
53488
53545
  language: {
53489
53546
  types: string[];
53490
53547
  description: string;
53491
- enumValues: string[];
53492
53548
  default: string;
53493
53549
  };
53494
53550
  showCopyButton: {
@@ -54651,6 +54707,9 @@ declare const registry: {
54651
54707
  event: {
54652
54708
  types: string[];
54653
54709
  };
54710
+ navigatesTo: {
54711
+ types: string[];
54712
+ };
54654
54713
  icon: {
54655
54714
  types: string[];
54656
54715
  };
@@ -65050,15 +65109,6 @@ declare const registry: {
65050
65109
  required: boolean;
65051
65110
  items: {
65052
65111
  types: string[];
65053
- properties: {
65054
- type: {
65055
- types: string[];
65056
- };
65057
- content: {
65058
- types: string[];
65059
- };
65060
- };
65061
- required: string[];
65062
65112
  };
65063
65113
  };
65064
65114
  className: {
@@ -65072,23 +65122,6 @@ declare const registry: {
65072
65122
  userProgress: {
65073
65123
  types: string[];
65074
65124
  description: string;
65075
- properties: {
65076
- activationResponse: {
65077
- types: string[];
65078
- };
65079
- reflectionNotes: {
65080
- types: string[];
65081
- items: {
65082
- types: string[];
65083
- };
65084
- };
65085
- bloomAnswered: {
65086
- types: string[];
65087
- mapValue: {
65088
- types: string[];
65089
- };
65090
- };
65091
- };
65092
65125
  };
65093
65126
  onRunCodeSimulation: {
65094
65127
  types: string[];
@@ -70968,6 +71001,7 @@ declare const PATTERN_REGISTRY: {
70968
71001
  event: {
70969
71002
  types: string[];
70970
71003
  description: string;
71004
+ kind: string;
70971
71005
  };
70972
71006
  entity: {
70973
71007
  types: string[];
@@ -71065,6 +71099,16 @@ declare const PATTERN_REGISTRY: {
71065
71099
  enumValues: string[];
71066
71100
  default: string;
71067
71101
  };
71102
+ event: {
71103
+ types: string[];
71104
+ description: string;
71105
+ kind: string;
71106
+ };
71107
+ clearEvent: {
71108
+ types: string[];
71109
+ description: string;
71110
+ kind: string;
71111
+ };
71068
71112
  };
71069
71113
  };
71070
71114
  tabs: {
@@ -78165,7 +78209,6 @@ declare const PATTERN_REGISTRY: {
78165
78209
  language: {
78166
78210
  types: string[];
78167
78211
  description: string;
78168
- enumValues: string[];
78169
78212
  default: string;
78170
78213
  };
78171
78214
  showCopyButton: {
@@ -79328,6 +79371,9 @@ declare const PATTERN_REGISTRY: {
79328
79371
  event: {
79329
79372
  types: string[];
79330
79373
  };
79374
+ navigatesTo: {
79375
+ types: string[];
79376
+ };
79331
79377
  icon: {
79332
79378
  types: string[];
79333
79379
  };
@@ -89727,15 +89773,6 @@ declare const PATTERN_REGISTRY: {
89727
89773
  required: boolean;
89728
89774
  items: {
89729
89775
  types: string[];
89730
- properties: {
89731
- type: {
89732
- types: string[];
89733
- };
89734
- content: {
89735
- types: string[];
89736
- };
89737
- };
89738
- required: string[];
89739
89776
  };
89740
89777
  };
89741
89778
  className: {
@@ -89749,23 +89786,6 @@ declare const PATTERN_REGISTRY: {
89749
89786
  userProgress: {
89750
89787
  types: string[];
89751
89788
  description: string;
89752
- properties: {
89753
- activationResponse: {
89754
- types: string[];
89755
- };
89756
- reflectionNotes: {
89757
- types: string[];
89758
- items: {
89759
- types: string[];
89760
- };
89761
- };
89762
- bloomAnswered: {
89763
- types: string[];
89764
- mapValue: {
89765
- types: string[];
89766
- };
89767
- };
89768
- };
89769
89789
  };
89770
89790
  onRunCodeSimulation: {
89771
89791
  types: string[];
@@ -96118,6 +96138,17 @@ declare const EVENT_CONTRACTS: {
96118
96138
  requires: never[];
96119
96139
  entityAware: boolean;
96120
96140
  };
96141
+ "data-grid": {
96142
+ emits: {
96143
+ event: string;
96144
+ trigger: string;
96145
+ payload: {
96146
+ type: string;
96147
+ };
96148
+ }[];
96149
+ requires: never[];
96150
+ entityAware: boolean;
96151
+ };
96121
96152
  };
96122
96153
  };
96123
96154
 
@@ -96190,4 +96221,4 @@ declare function isDrawablePattern(patternType: string): boolean;
96190
96221
  */
96191
96222
  declare function isDrawHostPattern(patternType: string): boolean;
96192
96223
 
96193
- export { COMPONENT_MAPPING, EVENT_CONTRACTS, type FormSubmitPayload, INTEGRATORS_REGISTRY, type ItemActionPayload, type LoadMoreRequestPayload, PATTERN_REGISTRY, type PatternCallbackArg, type PatternEntry, type PatternPayloadField, type PatternPropDef, type PatternRecommendation, type PatternSwapGate, PatternType, type PropKind, type RecommendationContext, type SelectionChangePayload, buildRecommendationContext, collectRenderUiPatternTypes, componentMapping, eventContracts, findCompatiblePatterns, formatRecommendationsForPrompt, generatePatternDescription, getAllPatternTypes, getComponentForPattern, getEmittedEvents, getEntityCardinality, getOrbAllowedPatterns, getOrbAllowedPatternsCompact, getOrbAllowedPatternsFiltered, getOrbAllowedPatternsSlim, getPatternActionsRef, getPatternDefinition, getPatternMetadata, getPatternPropsCompact, getPatternsGroupedByCategory, integratorsRegistry, isDrawHostPattern, isDrawablePattern, isEntityAwarePattern, patternsRegistry, recommendPatterns, registry, renderUiPatternTypesOf };
96224
+ export { AnyPatternConfig, COMPONENT_MAPPING, EVENT_CONTRACTS, type FormSubmitPayload, INTEGRATORS_REGISTRY, type ItemActionPayload, type LoadMoreRequestPayload, PATTERN_REGISTRY, type PatternCallbackArg, type PatternEntry, type PatternPayloadField, type PatternPropDef, type PatternRecommendation, type PatternSwapGate, PatternType, type PropKind, type RecommendationContext, type RenderUiPayload, type SelectionChangePayload, buildRecommendationContext, collectRenderUiPatternTypes, componentMapping, eventContracts, findCompatiblePatterns, formatRecommendationsForPrompt, generatePatternDescription, getAllPatternTypes, getComponentForPattern, getEmittedEvents, getEntityCardinality, getOrbAllowedPatterns, getOrbAllowedPatternsCompact, getOrbAllowedPatternsFiltered, getOrbAllowedPatternsSlim, getPatternActionsRef, getPatternDefinition, getPatternMetadata, getPatternPropsCompact, getPatternsGroupedByCategory, integratorsRegistry, isContentBodyPattern, isContentBodyPatternType, isDrawHostPattern, isDrawablePattern, isEntityAwarePattern, isMainSlotRenderUi, patternsRegistry, recommendPatterns, registry, renderUiPatternTypesOf };