@almadar/core 10.31.0 → 10.32.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-23T14:32:35.644Z",
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-23T14:32:35.644Z",
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-8eas3tpU.js';
2
+ export { aP as PATTERN_TYPES, aT as PatternConfig, aU as PatternProps, aV as PatternPropsMap, cJ as isValidPatternType } from '../effect-8eas3tpU.js';
3
+ import { d as EventPayloadValue, c as EventPayload } from '../expression-BlFrxmNB.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-23T14:32:35.644Z";
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",
@@ -17328,7 +17372,7 @@ var patterns = {
17328
17372
  types: [
17329
17373
  "function"
17330
17374
  ],
17331
- description: "Render prop for custom per-card content. When provided, `fields` and `itemActions` are ignored.",
17375
+ description: "Render prop for custom per-card content. When provided, `fields` are ignored; `itemActions` render as a footer beneath the custom content.",
17332
17376
  kind: "callback",
17333
17377
  callbackArgs: [
17334
17378
  {
@@ -34100,22 +34144,6 @@ var patterns = {
34100
34144
  items: {
34101
34145
  types: [
34102
34146
  "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
34147
  ]
34120
34148
  }
34121
34149
  },
@@ -34135,34 +34163,7 @@ var patterns = {
34135
34163
  types: [
34136
34164
  "object"
34137
34165
  ],
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
- }
34166
+ description: "User progress for restoring activation/reflection state"
34166
34167
  },
34167
34168
  onRunCodeSimulation: {
34168
34169
  types: [
@@ -34191,7 +34192,7 @@ var patterns = {
34191
34192
  callbackArgs: [
34192
34193
  {
34193
34194
  name: "type",
34194
- type: "string"
34195
+ type: "object"
34195
34196
  },
34196
34197
  {
34197
34198
  name: "description",
@@ -41119,7 +41120,7 @@ var integratorsRegistry = {
41119
41120
  };
41120
41121
 
41121
41122
  var version$1 = "1.0.0";
41122
- var exportedAt$1 = "2026-07-21T09:54:57.379Z";
41123
+ var exportedAt$1 = "2026-07-23T14:32:35.644Z";
41123
41124
  var mappings = {
41124
41125
  "page-header": {
41125
41126
  component: "PageHeader",
@@ -42486,7 +42487,7 @@ var componentMapping = {
42486
42487
  };
42487
42488
 
42488
42489
  var version = "1.0.0";
42489
- var exportedAt = "2026-07-21T09:54:57.379Z";
42490
+ var exportedAt = "2026-07-23T14:32:35.644Z";
42490
42491
  var contracts = {
42491
42492
  form: {
42492
42493
  emits: [
@@ -43672,6 +43673,20 @@ var contracts = {
43672
43673
  requires: [
43673
43674
  ],
43674
43675
  entityAware: false
43676
+ },
43677
+ "data-grid": {
43678
+ emits: [
43679
+ {
43680
+ event: "NAVIGATE",
43681
+ trigger: "action",
43682
+ payload: {
43683
+ type: "object"
43684
+ }
43685
+ }
43686
+ ],
43687
+ requires: [
43688
+ ],
43689
+ entityAware: true
43675
43690
  }
43676
43691
  };
43677
43692
  var eventContracts = {
@@ -43680,6 +43695,38 @@ var eventContracts = {
43680
43695
  contracts: contracts
43681
43696
  };
43682
43697
 
43698
+ /**
43699
+ * Content-grade classification of render-ui patterns — the single owner of
43700
+ * "is this pattern a content body", so the wiring lint, the slot layer, and
43701
+ * future consumers never grow private lists.
43702
+ *
43703
+ * Registry-derived, not a name list: a pattern TYPE is a content body when
43704
+ * its registry entry declares a data inlet — a propsSchema prop stamped
43705
+ * `kind: 'entity'` by pattern-sync from the prop's `EntityRecord<T>` /
43706
+ * `EntityCollection<T>` type identity (the declared signal that replaces
43707
+ * name-matching; see PropKind in `./types.js`). A pattern INSTANCE is a
43708
+ * content body when it is a bound body tree (`@config.denseBodyContent`),
43709
+ * a composite with children, or of a content-body type. Chrome (icons,
43710
+ * buttons, nav, inputs) declares no inlet, so it needs no enumeration.
43711
+ *
43712
+ * Declared-coverage boundary: viz patterns whose data props are not
43713
+ * `EntityRecord`-typed (`chart`, `stat-display`, `stats-grid`, `graph-view`)
43714
+ * carry no `kind: 'entity'` inlet today, so a BARE viz write (no children)
43715
+ * classifies as chrome. In practice dashboards compose viz under a parent
43716
+ * with children, which the composite branch catches. Stamping those props
43717
+ * is a pattern-sync/core decision, not a consumer list.
43718
+ */
43719
+
43720
+ /** The third element of a `render-ui` effect tuple. */
43721
+ type RenderUiPayload = AnyPatternConfig | RenderBinding | null;
43722
+ /** True when the pattern type declares a data inlet — any propsSchema prop
43723
+ * stamped `kind: 'entity'` from the prop's `EntityRecord`/`EntityCollection`
43724
+ * type identity. Declared in the registry, never name-matched. */
43725
+ declare function isContentBodyPatternType(patternType: string): boolean;
43726
+ declare function isContentBodyPattern(pattern: RenderUiPayload): boolean;
43727
+ /** Type guard for a `['render-ui', 'main', payload]` effect tuple. */
43728
+ declare function isMainSlotRenderUi(effect: unknown): effect is ['render-ui', 'main', RenderUiPayload];
43729
+
43683
43730
  /**
43684
43731
  * Shared types for @almadar/patterns
43685
43732
  *
@@ -46291,6 +46338,7 @@ declare const registry: {
46291
46338
  event: {
46292
46339
  types: string[];
46293
46340
  description: string;
46341
+ kind: string;
46294
46342
  };
46295
46343
  entity: {
46296
46344
  types: string[];
@@ -46388,6 +46436,16 @@ declare const registry: {
46388
46436
  enumValues: string[];
46389
46437
  default: string;
46390
46438
  };
46439
+ event: {
46440
+ types: string[];
46441
+ description: string;
46442
+ kind: string;
46443
+ };
46444
+ clearEvent: {
46445
+ types: string[];
46446
+ description: string;
46447
+ kind: string;
46448
+ };
46391
46449
  };
46392
46450
  };
46393
46451
  tabs: {
@@ -53488,7 +53546,6 @@ declare const registry: {
53488
53546
  language: {
53489
53547
  types: string[];
53490
53548
  description: string;
53491
- enumValues: string[];
53492
53549
  default: string;
53493
53550
  };
53494
53551
  showCopyButton: {
@@ -54651,6 +54708,9 @@ declare const registry: {
54651
54708
  event: {
54652
54709
  types: string[];
54653
54710
  };
54711
+ navigatesTo: {
54712
+ types: string[];
54713
+ };
54654
54714
  icon: {
54655
54715
  types: string[];
54656
54716
  };
@@ -65050,15 +65110,6 @@ declare const registry: {
65050
65110
  required: boolean;
65051
65111
  items: {
65052
65112
  types: string[];
65053
- properties: {
65054
- type: {
65055
- types: string[];
65056
- };
65057
- content: {
65058
- types: string[];
65059
- };
65060
- };
65061
- required: string[];
65062
65113
  };
65063
65114
  };
65064
65115
  className: {
@@ -65072,23 +65123,6 @@ declare const registry: {
65072
65123
  userProgress: {
65073
65124
  types: string[];
65074
65125
  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
65126
  };
65093
65127
  onRunCodeSimulation: {
65094
65128
  types: string[];
@@ -70968,6 +71002,7 @@ declare const PATTERN_REGISTRY: {
70968
71002
  event: {
70969
71003
  types: string[];
70970
71004
  description: string;
71005
+ kind: string;
70971
71006
  };
70972
71007
  entity: {
70973
71008
  types: string[];
@@ -71065,6 +71100,16 @@ declare const PATTERN_REGISTRY: {
71065
71100
  enumValues: string[];
71066
71101
  default: string;
71067
71102
  };
71103
+ event: {
71104
+ types: string[];
71105
+ description: string;
71106
+ kind: string;
71107
+ };
71108
+ clearEvent: {
71109
+ types: string[];
71110
+ description: string;
71111
+ kind: string;
71112
+ };
71068
71113
  };
71069
71114
  };
71070
71115
  tabs: {
@@ -78165,7 +78210,6 @@ declare const PATTERN_REGISTRY: {
78165
78210
  language: {
78166
78211
  types: string[];
78167
78212
  description: string;
78168
- enumValues: string[];
78169
78213
  default: string;
78170
78214
  };
78171
78215
  showCopyButton: {
@@ -79328,6 +79372,9 @@ declare const PATTERN_REGISTRY: {
79328
79372
  event: {
79329
79373
  types: string[];
79330
79374
  };
79375
+ navigatesTo: {
79376
+ types: string[];
79377
+ };
79331
79378
  icon: {
79332
79379
  types: string[];
79333
79380
  };
@@ -89727,15 +89774,6 @@ declare const PATTERN_REGISTRY: {
89727
89774
  required: boolean;
89728
89775
  items: {
89729
89776
  types: string[];
89730
- properties: {
89731
- type: {
89732
- types: string[];
89733
- };
89734
- content: {
89735
- types: string[];
89736
- };
89737
- };
89738
- required: string[];
89739
89777
  };
89740
89778
  };
89741
89779
  className: {
@@ -89749,23 +89787,6 @@ declare const PATTERN_REGISTRY: {
89749
89787
  userProgress: {
89750
89788
  types: string[];
89751
89789
  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
89790
  };
89770
89791
  onRunCodeSimulation: {
89771
89792
  types: string[];
@@ -96118,6 +96139,17 @@ declare const EVENT_CONTRACTS: {
96118
96139
  requires: never[];
96119
96140
  entityAware: boolean;
96120
96141
  };
96142
+ "data-grid": {
96143
+ emits: {
96144
+ event: string;
96145
+ trigger: string;
96146
+ payload: {
96147
+ type: string;
96148
+ };
96149
+ }[];
96150
+ requires: never[];
96151
+ entityAware: boolean;
96152
+ };
96121
96153
  };
96122
96154
  };
96123
96155
 
@@ -96190,4 +96222,4 @@ declare function isDrawablePattern(patternType: string): boolean;
96190
96222
  */
96191
96223
  declare function isDrawHostPattern(patternType: string): boolean;
96192
96224
 
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 };
96225
+ 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 };