@almadar/patterns 2.42.0 → 2.42.1

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.js CHANGED
@@ -1,7 +1,7 @@
1
1
  // src/patterns-registry.json
2
2
  var patterns_registry_default = {
3
3
  version: "1.0.0",
4
- exportedAt: "2026-06-16T06:23:39.790Z",
4
+ exportedAt: "2026-06-16T10:02:47.077Z",
5
5
  patterns: {
6
6
  "entity-table": {
7
7
  type: "entity-table",
@@ -9108,8 +9108,7 @@ var patterns_registry_default = {
9108
9108
  "small",
9109
9109
  "large",
9110
9110
  "label"
9111
- ],
9112
- default: "body"
9111
+ ]
9113
9112
  },
9114
9113
  level: {
9115
9114
  types: [
@@ -9123,8 +9122,7 @@ var patterns_registry_default = {
9123
9122
  4,
9124
9123
  5,
9125
9124
  6
9126
- ],
9127
- default: 2
9125
+ ]
9128
9126
  },
9129
9127
  color: {
9130
9128
  types: [
@@ -11600,7 +11598,7 @@ var patterns_registry_default = {
11600
11598
  type: "auth-layout",
11601
11599
  category: "template",
11602
11600
  tier: "templates",
11603
- family: "core",
11601
+ family: "marketing",
11604
11602
  description: "AuthLayout component",
11605
11603
  suggestedFor: [
11606
11604
  "auth",
@@ -19939,7 +19937,7 @@ var patterns_registry_default = {
19939
19937
  type: "case-study-organism",
19940
19938
  category: "display",
19941
19939
  tier: "organisms",
19942
- family: "core",
19940
+ family: "marketing",
19943
19941
  description: "CaseStudyOrganism component",
19944
19942
  suggestedFor: [
19945
19943
  "case",
@@ -20081,7 +20079,7 @@ var patterns_registry_default = {
20081
20079
  type: "feature-grid-organism",
20082
20080
  category: "display",
20083
20081
  tier: "organisms",
20084
- family: "core",
20082
+ family: "marketing",
20085
20083
  description: "FeatureGridOrganism component",
20086
20084
  suggestedFor: [
20087
20085
  "feature",
@@ -20236,7 +20234,7 @@ var patterns_registry_default = {
20236
20234
  type: "hero-organism",
20237
20235
  category: "header",
20238
20236
  tier: "organisms",
20239
- family: "core",
20237
+ family: "marketing",
20240
20238
  description: "HeroOrganism component",
20241
20239
  suggestedFor: [
20242
20240
  "hero",
@@ -20512,7 +20510,7 @@ var patterns_registry_default = {
20512
20510
  type: "showcase-organism",
20513
20511
  category: "display",
20514
20512
  tier: "organisms",
20515
- family: "core",
20513
+ family: "marketing",
20516
20514
  description: "ShowcaseOrganism component",
20517
20515
  suggestedFor: [
20518
20516
  "showcase",
@@ -20808,7 +20806,7 @@ var patterns_registry_default = {
20808
20806
  type: "step-flow-organism",
20809
20807
  category: "display",
20810
20808
  tier: "organisms",
20811
- family: "core",
20809
+ family: "marketing",
20812
20810
  description: "StepFlowOrganism component",
20813
20811
  suggestedFor: [
20814
20812
  "step",
@@ -23919,9 +23917,10 @@ var patterns_registry_default = {
23919
23917
  },
23920
23918
  portrait: {
23921
23919
  types: [
23922
- "string"
23920
+ "asset"
23923
23921
  ],
23924
- description: "URL for the speaker portrait image"
23922
+ description: "URL for the speaker portrait image",
23923
+ default: "https://almadar-kflow-assets.web.app/shared/characters/archetypes/00_base_model.png"
23925
23924
  },
23926
23925
  position: {
23927
23926
  types: [
@@ -24394,10 +24393,11 @@ var patterns_registry_default = {
24394
24393
  propsSchema: {
24395
24394
  spritesheet: {
24396
24395
  types: [
24397
- "string"
24396
+ "asset"
24398
24397
  ],
24399
24398
  description: "Spritesheet image URL",
24400
- required: true
24399
+ required: true,
24400
+ default: "https://almadar-kflow-assets.web.app/shared/isometric-blocks/Spritesheet/allTiles_sheet.png"
24401
24401
  },
24402
24402
  frameWidth: {
24403
24403
  types: [
@@ -26170,7 +26170,7 @@ var patterns_registry_default = {
26170
26170
  type: "pull-quote",
26171
26171
  category: "component",
26172
26172
  tier: "molecules",
26173
- family: "core",
26173
+ family: "marketing",
26174
26174
  description: "PullQuote component",
26175
26175
  suggestedFor: [
26176
26176
  "pull",
@@ -40285,7 +40285,7 @@ var patterns_registry_default = {
40285
40285
  type: "marketing-footer",
40286
40286
  category: "component",
40287
40287
  tier: "molecules",
40288
- family: "core",
40288
+ family: "marketing",
40289
40289
  description: "MarketingFooter component",
40290
40290
  suggestedFor: [
40291
40291
  "marketing",
@@ -40971,740 +40971,6 @@ var patterns_registry_default = {
40971
40971
  description: "Additional class names"
40972
40972
  }
40973
40973
  }
40974
- },
40975
- "asset-picker": {
40976
- type: "asset-picker",
40977
- category: "component",
40978
- tier: "molecules",
40979
- family: "core",
40980
- description: "AssetPicker component",
40981
- suggestedFor: [
40982
- "asset",
40983
- "picker",
40984
- "asset picker"
40985
- ],
40986
- typicalSize: "medium",
40987
- propsSchema: {
40988
- assets: {
40989
- types: [
40990
- "object"
40991
- ],
40992
- description: "Browsable asset catalog supplied by the host.",
40993
- required: true,
40994
- freeform: true
40995
- },
40996
- value: {
40997
- types: [
40998
- "string"
40999
- ],
41000
- description: "Currently selected asset url (controlled highlight)."
41001
- },
41002
- onChange: {
41003
- types: [
41004
- "function"
41005
- ],
41006
- description: "Fired with the chosen asset's url.",
41007
- required: true,
41008
- kind: "callback",
41009
- callbackArgs: [
41010
- {
41011
- name: "url",
41012
- type: "string"
41013
- }
41014
- ]
41015
- },
41016
- className: {
41017
- types: [
41018
- "string"
41019
- ],
41020
- description: "Additional CSS classes applied to the root."
41021
- }
41022
- }
41023
- },
41024
- "grid-picker": {
41025
- type: "grid-picker",
41026
- category: "display",
41027
- tier: "molecules",
41028
- family: "core",
41029
- description: "GridPicker component",
41030
- suggestedFor: [
41031
- "grid",
41032
- "picker",
41033
- "grid picker"
41034
- ],
41035
- typicalSize: "medium",
41036
- propsSchema: {
41037
- items: {
41038
- types: [
41039
- "array"
41040
- ],
41041
- description: "Items to render as grid cells.",
41042
- required: true,
41043
- items: {
41044
- types: [
41045
- "object"
41046
- ],
41047
- properties: {
41048
- id: {
41049
- types: [
41050
- "string"
41051
- ]
41052
- },
41053
- label: {
41054
- types: [
41055
- "string"
41056
- ]
41057
- },
41058
- category: {
41059
- types: [
41060
- "string"
41061
- ]
41062
- }
41063
- },
41064
- required: [
41065
- "id",
41066
- "label",
41067
- "category"
41068
- ]
41069
- }
41070
- },
41071
- value: {
41072
- types: [
41073
- "string"
41074
- ],
41075
- description: "Currently selected item id (controlled highlight)."
41076
- },
41077
- onChange: {
41078
- types: [
41079
- "function"
41080
- ],
41081
- description: "Fired with the clicked/selected item's id.",
41082
- required: true,
41083
- kind: "callback",
41084
- callbackArgs: [
41085
- {
41086
- name: "value",
41087
- type: "string"
41088
- }
41089
- ]
41090
- },
41091
- categories: {
41092
- types: [
41093
- "array"
41094
- ],
41095
- description: 'Category keys for the filter chip row. When omitted, the categories are derived from the items. An "All" chip is always prepended.',
41096
- items: {
41097
- types: [
41098
- "string"
41099
- ]
41100
- }
41101
- },
41102
- searchPlaceholder: {
41103
- types: [
41104
- "string"
41105
- ],
41106
- description: "Placeholder for the search input."
41107
- },
41108
- renderThumbnail: {
41109
- types: [
41110
- "function"
41111
- ],
41112
- description: "Renders the visual content of a cell (e.g. an emoji glyph or an image).",
41113
- required: true,
41114
- kind: "callback",
41115
- callbackArgs: [
41116
- {
41117
- name: "item",
41118
- type: "object",
41119
- schema: {
41120
- types: [
41121
- "object"
41122
- ],
41123
- properties: {
41124
- id: {
41125
- types: [
41126
- "string"
41127
- ]
41128
- },
41129
- label: {
41130
- types: [
41131
- "string"
41132
- ]
41133
- },
41134
- category: {
41135
- types: [
41136
- "string"
41137
- ]
41138
- }
41139
- },
41140
- required: [
41141
- "id",
41142
- "label",
41143
- "category"
41144
- ]
41145
- }
41146
- }
41147
- ],
41148
- renderCallback: true
41149
- },
41150
- cellSize: {
41151
- types: [
41152
- "number"
41153
- ],
41154
- description: "Cell edge length in px.",
41155
- numericEnumValues: [
41156
- 16,
41157
- 32,
41158
- 48
41159
- ],
41160
- default: 32
41161
- },
41162
- className: {
41163
- types: [
41164
- "string"
41165
- ],
41166
- description: "Additional CSS classes applied to the root."
41167
- }
41168
- }
41169
- },
41170
- "icon-picker": {
41171
- type: "icon-picker",
41172
- category: "component",
41173
- tier: "molecules",
41174
- family: "core",
41175
- description: "IconPicker component",
41176
- suggestedFor: [
41177
- "icon",
41178
- "picker",
41179
- "icon picker"
41180
- ],
41181
- typicalSize: "medium",
41182
- propsSchema: {
41183
- value: {
41184
- types: [
41185
- "string"
41186
- ],
41187
- description: "Currently selected icon name (kebab-case)."
41188
- },
41189
- onChange: {
41190
- types: [
41191
- "function"
41192
- ],
41193
- description: "Fired with the chosen icon's kebab-case name.",
41194
- required: true,
41195
- kind: "callback",
41196
- callbackArgs: [
41197
- {
41198
- name: "name",
41199
- type: "string"
41200
- }
41201
- ]
41202
- },
41203
- className: {
41204
- types: [
41205
- "string"
41206
- ],
41207
- description: "Additional CSS classes applied to the root."
41208
- }
41209
- }
41210
- },
41211
- "property-inspector": {
41212
- type: "property-inspector",
41213
- category: "debug",
41214
- tier: "molecules",
41215
- family: "core",
41216
- description: "PropertyInspector \u2014 Storybook-style controls panel for a trait's `config`. Derives one control per declared config field directly from the schema (`@almadar/core` `DeclaredTraitConfig`): `boolean \u2192 Switch`, `string` with `values \u2192 Select`, `number \u2192 numeric Input`, `string \u2192 Input`. Non-scalar fields (array/object/node/SExpr) are shown read-only. Fields group + collapse by `@tier`. The component is controlled \u2014 it emits `onChange(field, value)`; text/number commit on blur (so the host can re-render without hammering it).",
41217
- suggestedFor: [
41218
- "property",
41219
- "inspector",
41220
- "property inspector"
41221
- ],
41222
- typicalSize: "medium",
41223
- propsSchema: {
41224
- className: {
41225
- types: [
41226
- "string"
41227
- ],
41228
- description: "Additional CSS classes"
41229
- },
41230
- isLoading: {
41231
- types: [
41232
- "boolean"
41233
- ],
41234
- description: "Loading state indicator"
41235
- },
41236
- error: {
41237
- types: [
41238
- "object"
41239
- ],
41240
- description: "Error state (UiError)",
41241
- properties: {
41242
- message: {
41243
- types: [
41244
- "string"
41245
- ]
41246
- },
41247
- name: {
41248
- types: [
41249
- "string"
41250
- ]
41251
- },
41252
- code: {
41253
- types: [
41254
- "string"
41255
- ]
41256
- },
41257
- stack: {
41258
- types: [
41259
- "string"
41260
- ]
41261
- }
41262
- },
41263
- propertyRequired: [
41264
- "message"
41265
- ]
41266
- },
41267
- sortBy: {
41268
- types: [
41269
- "string"
41270
- ],
41271
- description: "Current sort field"
41272
- },
41273
- sortDirection: {
41274
- types: [
41275
- "string"
41276
- ],
41277
- description: "Current sort direction",
41278
- enumValues: [
41279
- "asc",
41280
- "desc"
41281
- ]
41282
- },
41283
- searchValue: {
41284
- types: [
41285
- "string"
41286
- ],
41287
- description: "Current search query value"
41288
- },
41289
- page: {
41290
- types: [
41291
- "number"
41292
- ],
41293
- description: "Current page number"
41294
- },
41295
- pageSize: {
41296
- types: [
41297
- "number"
41298
- ],
41299
- description: "Number of items per page"
41300
- },
41301
- totalCount: {
41302
- types: [
41303
- "number"
41304
- ],
41305
- description: "Total number of items"
41306
- },
41307
- activeFilters: {
41308
- types: [
41309
- "object"
41310
- ],
41311
- description: "Active filters"
41312
- },
41313
- selectedIds: {
41314
- types: [
41315
- "array"
41316
- ],
41317
- description: "Currently selected item IDs",
41318
- items: {
41319
- types: [
41320
- "string",
41321
- "number"
41322
- ]
41323
- }
41324
- },
41325
- config: {
41326
- types: [
41327
- "object"
41328
- ],
41329
- description: "The trait's declared config schema (field name \u2192 declaration).",
41330
- required: true,
41331
- freeform: true
41332
- },
41333
- values: {
41334
- types: [
41335
- "object"
41336
- ],
41337
- description: "Current override values keyed by field name (falls back to each field's `default`).",
41338
- freeform: true
41339
- },
41340
- onChange: {
41341
- types: [
41342
- "function"
41343
- ],
41344
- description: "Fired when a control commits a new value.",
41345
- required: true,
41346
- kind: "callback",
41347
- callbackArgs: [
41348
- {
41349
- name: "field",
41350
- type: "string"
41351
- },
41352
- {
41353
- name: "value",
41354
- type: "object"
41355
- }
41356
- ]
41357
- },
41358
- onReset: {
41359
- types: [
41360
- "function"
41361
- ],
41362
- description: "Optional reset-to-defaults handler.",
41363
- kind: "callback",
41364
- callbackArgs: []
41365
- },
41366
- title: {
41367
- types: [
41368
- "string"
41369
- ],
41370
- description: "Panel heading (e.g. the trait name)."
41371
- },
41372
- assets: {
41373
- types: [
41374
- "object"
41375
- ],
41376
- description: "Browsable asset catalog supplied to `control: 'asset'` fields.",
41377
- freeform: true
41378
- }
41379
- }
41380
- },
41381
- heading: {
41382
- type: "heading",
41383
- category: "component",
41384
- tier: "atoms",
41385
- family: "core",
41386
- description: "Alias for typography \u2014 Typography Atom Component Text elements following the KFlow design system with theme-aware styling.",
41387
- suggestedFor: [
41388
- "typography"
41389
- ],
41390
- typicalSize: "small",
41391
- propsSchema: {
41392
- variant: {
41393
- types: [
41394
- "string"
41395
- ],
41396
- description: "Typography variant",
41397
- enumValues: [
41398
- "h1",
41399
- "h2",
41400
- "h3",
41401
- "h4",
41402
- "h5",
41403
- "h6",
41404
- "heading",
41405
- "subheading",
41406
- "body1",
41407
- "body2",
41408
- "body",
41409
- "caption",
41410
- "overline",
41411
- "small",
41412
- "large",
41413
- "label"
41414
- ],
41415
- default: "body"
41416
- },
41417
- level: {
41418
- types: [
41419
- "number"
41420
- ],
41421
- description: "Heading level (1-6) - alternative to variant for headings",
41422
- numericEnumValues: [
41423
- 1,
41424
- 2,
41425
- 3,
41426
- 4,
41427
- 5,
41428
- 6
41429
- ],
41430
- default: 2
41431
- },
41432
- color: {
41433
- types: [
41434
- "string"
41435
- ],
41436
- description: "Text color",
41437
- enumValues: [
41438
- "primary",
41439
- "secondary",
41440
- "muted",
41441
- "error",
41442
- "success",
41443
- "warning",
41444
- "inherit"
41445
- ],
41446
- default: "primary"
41447
- },
41448
- align: {
41449
- types: [
41450
- "string"
41451
- ],
41452
- description: "Text alignment",
41453
- enumValues: [
41454
- "left",
41455
- "center",
41456
- "right"
41457
- ]
41458
- },
41459
- weight: {
41460
- types: [
41461
- "string"
41462
- ],
41463
- description: "Font weight override",
41464
- enumValues: [
41465
- "light",
41466
- "normal",
41467
- "medium",
41468
- "semibold",
41469
- "bold"
41470
- ]
41471
- },
41472
- size: {
41473
- types: [
41474
- "string"
41475
- ],
41476
- description: "Font size override",
41477
- enumValues: [
41478
- "xs",
41479
- "sm",
41480
- "md",
41481
- "lg",
41482
- "xl",
41483
- "2xl",
41484
- "3xl"
41485
- ]
41486
- },
41487
- truncate: {
41488
- types: [
41489
- "boolean"
41490
- ],
41491
- description: "Truncate with ellipsis (single line)",
41492
- default: false
41493
- },
41494
- overflow: {
41495
- types: [
41496
- "string"
41497
- ],
41498
- description: "Overflow handling mode",
41499
- enumValues: [
41500
- "visible",
41501
- "hidden",
41502
- "wrap",
41503
- "clamp-2",
41504
- "clamp-3"
41505
- ]
41506
- },
41507
- as: {
41508
- types: [
41509
- "component"
41510
- ],
41511
- description: "Custom HTML element"
41512
- },
41513
- id: {
41514
- types: [
41515
- "string"
41516
- ],
41517
- description: "HTML id attribute"
41518
- },
41519
- className: {
41520
- types: [
41521
- "string"
41522
- ],
41523
- description: "Additional class names"
41524
- },
41525
- style: {
41526
- types: [
41527
- "object"
41528
- ],
41529
- description: "Inline style"
41530
- },
41531
- content: {
41532
- types: [
41533
- "node"
41534
- ],
41535
- description: "Text content (alternative to children)"
41536
- },
41537
- children: {
41538
- types: [
41539
- "node"
41540
- ],
41541
- description: "Children elements"
41542
- }
41543
- }
41544
- },
41545
- text: {
41546
- type: "text",
41547
- category: "component",
41548
- tier: "atoms",
41549
- family: "core",
41550
- description: "Alias for typography \u2014 Typography Atom Component Text elements following the KFlow design system with theme-aware styling.",
41551
- suggestedFor: [
41552
- "typography"
41553
- ],
41554
- typicalSize: "small",
41555
- propsSchema: {
41556
- variant: {
41557
- types: [
41558
- "string"
41559
- ],
41560
- description: "Typography variant",
41561
- enumValues: [
41562
- "h1",
41563
- "h2",
41564
- "h3",
41565
- "h4",
41566
- "h5",
41567
- "h6",
41568
- "heading",
41569
- "subheading",
41570
- "body1",
41571
- "body2",
41572
- "body",
41573
- "caption",
41574
- "overline",
41575
- "small",
41576
- "large",
41577
- "label"
41578
- ],
41579
- default: "body"
41580
- },
41581
- level: {
41582
- types: [
41583
- "number"
41584
- ],
41585
- description: "Heading level (1-6) - alternative to variant for headings",
41586
- numericEnumValues: [
41587
- 1,
41588
- 2,
41589
- 3,
41590
- 4,
41591
- 5,
41592
- 6
41593
- ],
41594
- default: 2
41595
- },
41596
- color: {
41597
- types: [
41598
- "string"
41599
- ],
41600
- description: "Text color",
41601
- enumValues: [
41602
- "primary",
41603
- "secondary",
41604
- "muted",
41605
- "error",
41606
- "success",
41607
- "warning",
41608
- "inherit"
41609
- ],
41610
- default: "primary"
41611
- },
41612
- align: {
41613
- types: [
41614
- "string"
41615
- ],
41616
- description: "Text alignment",
41617
- enumValues: [
41618
- "left",
41619
- "center",
41620
- "right"
41621
- ]
41622
- },
41623
- weight: {
41624
- types: [
41625
- "string"
41626
- ],
41627
- description: "Font weight override",
41628
- enumValues: [
41629
- "light",
41630
- "normal",
41631
- "medium",
41632
- "semibold",
41633
- "bold"
41634
- ]
41635
- },
41636
- size: {
41637
- types: [
41638
- "string"
41639
- ],
41640
- description: "Font size override",
41641
- enumValues: [
41642
- "xs",
41643
- "sm",
41644
- "md",
41645
- "lg",
41646
- "xl",
41647
- "2xl",
41648
- "3xl"
41649
- ]
41650
- },
41651
- truncate: {
41652
- types: [
41653
- "boolean"
41654
- ],
41655
- description: "Truncate with ellipsis (single line)",
41656
- default: false
41657
- },
41658
- overflow: {
41659
- types: [
41660
- "string"
41661
- ],
41662
- description: "Overflow handling mode",
41663
- enumValues: [
41664
- "visible",
41665
- "hidden",
41666
- "wrap",
41667
- "clamp-2",
41668
- "clamp-3"
41669
- ]
41670
- },
41671
- as: {
41672
- types: [
41673
- "component"
41674
- ],
41675
- description: "Custom HTML element"
41676
- },
41677
- id: {
41678
- types: [
41679
- "string"
41680
- ],
41681
- description: "HTML id attribute"
41682
- },
41683
- className: {
41684
- types: [
41685
- "string"
41686
- ],
41687
- description: "Additional class names"
41688
- },
41689
- style: {
41690
- types: [
41691
- "object"
41692
- ],
41693
- description: "Inline style"
41694
- },
41695
- content: {
41696
- types: [
41697
- "node"
41698
- ],
41699
- description: "Text content (alternative to children)"
41700
- },
41701
- children: {
41702
- types: [
41703
- "node"
41704
- ],
41705
- description: "Children elements"
41706
- }
41707
- }
41708
40974
  }
41709
40975
  },
41710
40976
  categories: [
@@ -42332,7 +41598,7 @@ var integrators_registry_default = {
42332
41598
  // src/component-mapping.json
42333
41599
  var component_mapping_default = {
42334
41600
  version: "1.0.0",
42335
- exportedAt: "2026-06-16T06:23:39.790Z",
41601
+ exportedAt: "2026-06-16T10:02:47.077Z",
42336
41602
  mappings: {
42337
41603
  "page-header": {
42338
41604
  component: "PageHeader",
@@ -43845,36 +43111,6 @@ var component_mapping_default = {
43845
43111
  component: "StatCard",
43846
43112
  importPath: "@/components/atoms/StatCard",
43847
43113
  category: "display"
43848
- },
43849
- "asset-picker": {
43850
- component: "AssetPicker",
43851
- importPath: "@/components/molecules/AssetPicker",
43852
- category: "component"
43853
- },
43854
- "grid-picker": {
43855
- component: "GridPicker",
43856
- importPath: "@/components/molecules/GridPicker",
43857
- category: "display"
43858
- },
43859
- "icon-picker": {
43860
- component: "IconPicker",
43861
- importPath: "@/components/molecules/IconPicker",
43862
- category: "component"
43863
- },
43864
- "property-inspector": {
43865
- component: "PropertyInspector",
43866
- importPath: "@/components/molecules/PropertyInspector",
43867
- category: "debug"
43868
- },
43869
- heading: {
43870
- component: "Typography",
43871
- importPath: "@/components/atoms/Typography",
43872
- category: "component"
43873
- },
43874
- text: {
43875
- component: "Typography",
43876
- importPath: "@/components/atoms/Typography",
43877
- category: "component"
43878
43114
  }
43879
43115
  }
43880
43116
  };
@@ -43882,7 +43118,7 @@ var component_mapping_default = {
43882
43118
  // src/event-contracts.json
43883
43119
  var event_contracts_default = {
43884
43120
  version: "1.0.0",
43885
- exportedAt: "2026-06-16T06:23:39.790Z",
43121
+ exportedAt: "2026-06-16T10:02:47.077Z",
43886
43122
  contracts: {
43887
43123
  form: {
43888
43124
  emits: [