@almadar/patterns 2.38.4 → 2.39.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.
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-08T19:05:53.459Z",
4
+ exportedAt: "2026-06-09T01:18:33.001Z",
5
5
  patterns: {
6
6
  "entity-table": {
7
7
  type: "entity-table",
@@ -1609,7 +1609,7 @@ var patterns_registry_default = {
1609
1609
  "page-header": {
1610
1610
  type: "page-header",
1611
1611
  category: "header",
1612
- tier: "organisms",
1612
+ tier: "molecules",
1613
1613
  family: "core",
1614
1614
  description: "Page title with optional breadcrumb and action buttons",
1615
1615
  suggestedFor: [
@@ -4236,7 +4236,7 @@ var patterns_registry_default = {
4236
4236
  "wizard-container": {
4237
4237
  type: "wizard-container",
4238
4238
  category: "navigation",
4239
- tier: "organisms",
4239
+ tier: "molecules",
4240
4240
  family: "core",
4241
4241
  description: "Multi-step wizard container",
4242
4242
  suggestedFor: [
@@ -5583,7 +5583,7 @@ var patterns_registry_default = {
5583
5583
  "confirm-dialog": {
5584
5584
  type: "confirm-dialog",
5585
5585
  category: "container",
5586
- tier: "organisms",
5586
+ tier: "molecules",
5587
5587
  family: "core",
5588
5588
  description: "Confirmation dialog",
5589
5589
  suggestedFor: [
@@ -10350,7 +10350,7 @@ var patterns_registry_default = {
10350
10350
  header: {
10351
10351
  type: "header",
10352
10352
  category: "header",
10353
- tier: "organisms",
10353
+ tier: "molecules",
10354
10354
  family: "core",
10355
10355
  description: "Header Organism Component A header component for mobile/responsive layouts with menu toggle, brand, and user avatar. Styled to match the main Layout component's mobile header.",
10356
10356
  suggestedFor: [
@@ -10699,7 +10699,7 @@ var patterns_registry_default = {
10699
10699
  navigation: {
10700
10700
  type: "navigation",
10701
10701
  category: "navigation",
10702
- tier: "organisms",
10702
+ tier: "molecules",
10703
10703
  family: "core",
10704
10704
  description: "Navigation Organism Component A navigation component with items, active indicators, icons, and badges. Uses Menu, ButtonGroup molecules and Button, Icon, Badge, Typography, Divider atoms.",
10705
10705
  suggestedFor: [
@@ -10842,7 +10842,7 @@ var patterns_registry_default = {
10842
10842
  "orbital-visualization": {
10843
10843
  type: "orbital-visualization",
10844
10844
  category: "display",
10845
- tier: "organisms",
10845
+ tier: "molecules",
10846
10846
  family: "core",
10847
10847
  description: "OrbitalVisualization Component Visualizes KFlow schemas as atomic orbitals based on complexity. Uses CSS 3D transforms for lightweight rendering without Three.js. Orbital Types (based on complexity score): - 1s (1-3): Simple sphere - Red - 2s (4-8): Larger sphere - Orange - 2p (9-15): Dumbbell shape - Yellow - 3s (16-25): Sphere with node - Green - 3p (26-40): Complex dumbbell - Blue - 3d (41-60): Cloverleaf - Indigo - 4f (61+): Multi-lobe - Violet",
10848
10848
  suggestedFor: [
@@ -11005,7 +11005,7 @@ var patterns_registry_default = {
11005
11005
  section: {
11006
11006
  type: "section",
11007
11007
  category: "display",
11008
- tier: "organisms",
11008
+ tier: "molecules",
11009
11009
  family: "core",
11010
11010
  description: "Section Component A semantic section wrapper with optional title, description, and action. Perfect for grouping related content with consistent spacing.",
11011
11011
  suggestedFor: [
@@ -11144,7 +11144,7 @@ var patterns_registry_default = {
11144
11144
  sidebar: {
11145
11145
  type: "sidebar",
11146
11146
  category: "navigation",
11147
- tier: "organisms",
11147
+ tier: "molecules",
11148
11148
  family: "core",
11149
11149
  description: "Sidebar Organism Component A sidebar component with logo, navigation items, user section, and collapse/expand. Styled to match the main Layout component with theme-aware CSS variables.",
11150
11150
  suggestedFor: [
@@ -11358,7 +11358,7 @@ var patterns_registry_default = {
11358
11358
  split: {
11359
11359
  type: "split",
11360
11360
  category: "layout",
11361
- tier: "organisms",
11361
+ tier: "molecules",
11362
11362
  family: "core",
11363
11363
  description: "Split Component A two-column layout with configurable ratios. Perfect for sidebar/content layouts or side-by-side comparisons.",
11364
11364
  suggestedFor: [
@@ -11514,257 +11514,6 @@ var patterns_registry_default = {
11514
11514
  }
11515
11515
  }
11516
11516
  },
11517
- table: {
11518
- type: "table",
11519
- category: "display",
11520
- tier: "organisms",
11521
- family: "core",
11522
- description: "Table Organism Component A table component with header row, data rows, pagination, sorting, and filters. Uses Pagination, SearchInput, ButtonGroup, Card, Menu molecules and Button, Icon, Checkbox, Typography, Badge, Divider atoms.",
11523
- suggestedFor: [
11524
- "table"
11525
- ],
11526
- typicalSize: "large",
11527
- propsSchema: {
11528
- entity: {
11529
- types: [
11530
- "object",
11531
- "array"
11532
- ],
11533
- description: "Entity record or array of records \u2014 pre-resolved by the trait via render-ui after a fetch emit",
11534
- kind: "entity",
11535
- cardinality: "collection",
11536
- items: {
11537
- types: [
11538
- "object"
11539
- ],
11540
- freeform: true
11541
- }
11542
- },
11543
- className: {
11544
- types: [
11545
- "string"
11546
- ],
11547
- description: "Additional CSS classes"
11548
- },
11549
- isLoading: {
11550
- types: [
11551
- "boolean"
11552
- ],
11553
- description: "Loading state indicator"
11554
- },
11555
- error: {
11556
- types: [
11557
- "object"
11558
- ],
11559
- description: "Error state (UiError)",
11560
- properties: {
11561
- message: {
11562
- types: [
11563
- "string"
11564
- ]
11565
- },
11566
- name: {
11567
- types: [
11568
- "string"
11569
- ]
11570
- },
11571
- code: {
11572
- types: [
11573
- "string"
11574
- ]
11575
- },
11576
- stack: {
11577
- types: [
11578
- "string"
11579
- ]
11580
- }
11581
- },
11582
- propertyRequired: [
11583
- "message"
11584
- ]
11585
- },
11586
- sortBy: {
11587
- types: [
11588
- "string"
11589
- ],
11590
- description: "Current sort field"
11591
- },
11592
- sortDirection: {
11593
- types: [
11594
- "string"
11595
- ],
11596
- description: "Current sort direction (display hint)",
11597
- enumValues: [
11598
- "asc",
11599
- "desc"
11600
- ]
11601
- },
11602
- searchValue: {
11603
- types: [
11604
- "string"
11605
- ],
11606
- description: "Current search query value"
11607
- },
11608
- page: {
11609
- types: [
11610
- "number"
11611
- ],
11612
- description: "Current page number"
11613
- },
11614
- pageSize: {
11615
- types: [
11616
- "number"
11617
- ],
11618
- description: "Number of items per page"
11619
- },
11620
- totalCount: {
11621
- types: [
11622
- "number"
11623
- ],
11624
- description: "Total number of items"
11625
- },
11626
- activeFilters: {
11627
- types: [
11628
- "object"
11629
- ],
11630
- description: "Active filters"
11631
- },
11632
- selectedIds: {
11633
- types: [
11634
- "array"
11635
- ],
11636
- description: "Currently selected item IDs",
11637
- items: {
11638
- types: [
11639
- "string",
11640
- "number"
11641
- ]
11642
- }
11643
- },
11644
- columns: {
11645
- types: [
11646
- "array"
11647
- ],
11648
- description: "Table columns",
11649
- required: true,
11650
- items: {
11651
- types: [
11652
- "object"
11653
- ],
11654
- properties: {
11655
- key: {
11656
- types: [
11657
- "string"
11658
- ]
11659
- },
11660
- label: {
11661
- types: [
11662
- "string"
11663
- ]
11664
- },
11665
- sortable: {
11666
- types: [
11667
- "boolean"
11668
- ]
11669
- },
11670
- render: {
11671
- types: [
11672
- "function"
11673
- ]
11674
- },
11675
- width: {
11676
- types: [
11677
- "string"
11678
- ]
11679
- }
11680
- },
11681
- required: [
11682
- "key",
11683
- "label"
11684
- ]
11685
- }
11686
- },
11687
- selectable: {
11688
- types: [
11689
- "boolean"
11690
- ],
11691
- description: "Enable row selection",
11692
- default: false
11693
- },
11694
- sortable: {
11695
- types: [
11696
- "boolean"
11697
- ],
11698
- description: "Enable sorting",
11699
- default: false
11700
- },
11701
- sortColumn: {
11702
- types: [
11703
- "string"
11704
- ],
11705
- description: "Current sort column (display hint, mapped from sortBy)"
11706
- },
11707
- searchable: {
11708
- types: [
11709
- "boolean"
11710
- ],
11711
- description: "Enable search/filter",
11712
- default: false
11713
- },
11714
- searchPlaceholder: {
11715
- types: [
11716
- "string"
11717
- ],
11718
- description: "Search placeholder"
11719
- },
11720
- paginated: {
11721
- types: [
11722
- "boolean"
11723
- ],
11724
- description: "Enable pagination",
11725
- default: false
11726
- },
11727
- currentPage: {
11728
- types: [
11729
- "number"
11730
- ],
11731
- description: "Current page (display hint)"
11732
- },
11733
- totalPages: {
11734
- types: [
11735
- "number"
11736
- ],
11737
- description: "Total pages (display hint)"
11738
- },
11739
- rowActions: {
11740
- types: [
11741
- "function"
11742
- ],
11743
- description: "Row actions menu items",
11744
- kind: "callback",
11745
- callbackArgs: [
11746
- {
11747
- name: "row",
11748
- type: "object"
11749
- }
11750
- ],
11751
- renderCallback: true
11752
- },
11753
- emptyMessage: {
11754
- types: [
11755
- "string"
11756
- ],
11757
- description: "Empty state message"
11758
- },
11759
- loading: {
11760
- types: [
11761
- "boolean"
11762
- ],
11763
- description: "Loading state",
11764
- default: false
11765
- }
11766
- }
11767
- },
11768
11517
  "toast-slot": {
11769
11518
  type: "toast-slot",
11770
11519
  category: "layout",
@@ -12497,7 +12246,7 @@ var patterns_registry_default = {
12497
12246
  chart: {
12498
12247
  type: "chart",
12499
12248
  category: "visualization",
12500
- tier: "organisms",
12249
+ tier: "molecules",
12501
12250
  family: "core",
12502
12251
  description: "Data visualization chart supporting bar, line, pie, area, and donut types",
12503
12252
  suggestedFor: [
@@ -13565,7 +13314,7 @@ var patterns_registry_default = {
13565
13314
  "signature-pad": {
13566
13315
  type: "signature-pad",
13567
13316
  category: "form",
13568
- tier: "organisms",
13317
+ tier: "molecules",
13569
13318
  family: "core",
13570
13319
  description: "Canvas-based signature capture pad with draw, clear, and confirm actions",
13571
13320
  suggestedFor: [
@@ -13713,7 +13462,7 @@ var patterns_registry_default = {
13713
13462
  "document-viewer": {
13714
13463
  type: "document-viewer",
13715
13464
  category: "display",
13716
- tier: "organisms",
13465
+ tier: "molecules",
13717
13466
  family: "core",
13718
13467
  description: "Document viewer for PDFs, text, HTML, and markdown with zoom and pagination",
13719
13468
  suggestedFor: [
@@ -13934,7 +13683,7 @@ var patterns_registry_default = {
13934
13683
  "graph-canvas": {
13935
13684
  type: "graph-canvas",
13936
13685
  category: "game",
13937
- tier: "organisms",
13686
+ tier: "molecules",
13938
13687
  family: "core",
13939
13688
  description: "Force-directed graph visualization for node-link data with interactive zoom, pan, and layout",
13940
13689
  suggestedFor: [
@@ -14252,7 +14001,7 @@ var patterns_registry_default = {
14252
14001
  "code-viewer": {
14253
14002
  type: "code-viewer",
14254
14003
  category: "display",
14255
- tier: "organisms",
14004
+ tier: "molecules",
14256
14005
  family: "core",
14257
14006
  description: "Code and diff viewer with line numbers, copy, word-wrap, and multi-file tabs",
14258
14007
  suggestedFor: [
@@ -14906,7 +14655,7 @@ var patterns_registry_default = {
14906
14655
  "content-renderer": {
14907
14656
  type: "content-renderer",
14908
14657
  category: "display",
14909
- tier: "organisms",
14658
+ tier: "molecules",
14910
14659
  family: "core",
14911
14660
  description: "ContentRenderer Organism Renders rich content as a sequence of typed segments: markdown, code, orbital diagrams (via JazariStateMachine), and quiz blocks. Accepts either raw content string (auto-parsed) or pre-parsed segments. Event Contract: - Delegates to child components (CodeBlock -> UI:COPY_CODE) - entityAware: false",
14912
14661
  suggestedFor: [
@@ -15059,7 +14808,7 @@ var patterns_registry_default = {
15059
14808
  "jazari-state-machine": {
15060
14809
  type: "jazari-state-machine",
15061
14810
  category: "display",
15062
- tier: "organisms",
14811
+ tier: "molecules",
15063
14812
  family: "core",
15064
14813
  description: "JazariStateMachine component",
15065
14814
  suggestedFor: [
@@ -19191,60 +18940,6 @@ var patterns_registry_default = {
19191
18940
  }
19192
18941
  }
19193
18942
  },
19194
- "code-example": {
19195
- type: "code-example",
19196
- category: "component",
19197
- tier: "molecules",
19198
- family: "core",
19199
- description: "CodeExample component",
19200
- suggestedFor: [
19201
- "code",
19202
- "example",
19203
- "code example"
19204
- ],
19205
- typicalSize: "medium",
19206
- propsSchema: {
19207
- code: {
19208
- types: [
19209
- "string"
19210
- ],
19211
- description: "The code content to display",
19212
- required: true
19213
- },
19214
- language: {
19215
- types: [
19216
- "string"
19217
- ],
19218
- description: "Programming language label",
19219
- required: true
19220
- },
19221
- title: {
19222
- types: [
19223
- "string"
19224
- ],
19225
- description: "Optional title shown in the header bar"
19226
- },
19227
- copyable: {
19228
- types: [
19229
- "boolean"
19230
- ],
19231
- description: "Whether to show a copy button",
19232
- default: false
19233
- },
19234
- maxHeight: {
19235
- types: [
19236
- "string"
19237
- ],
19238
- description: "Maximum height of the code area (CSS value)"
19239
- },
19240
- className: {
19241
- types: [
19242
- "string"
19243
- ],
19244
- description: "Additional class names"
19245
- }
19246
- }
19247
- },
19248
18943
  "community-links": {
19249
18944
  type: "community-links",
19250
18945
  category: "component",
@@ -50206,11 +49901,11 @@ var integrators_registry_default = {
50206
49901
  // src/component-mapping.json
50207
49902
  var component_mapping_default = {
50208
49903
  version: "1.0.0",
50209
- exportedAt: "2026-06-08T19:05:53.459Z",
49904
+ exportedAt: "2026-06-09T01:18:33.001Z",
50210
49905
  mappings: {
50211
49906
  "page-header": {
50212
49907
  component: "PageHeader",
50213
- importPath: "@/components/organisms/PageHeader",
49908
+ importPath: "@/components/molecules/PageHeader",
50214
49909
  category: "header"
50215
49910
  },
50216
49911
  "entity-list": {
@@ -50290,7 +49985,7 @@ var component_mapping_default = {
50290
49985
  },
50291
49986
  "wizard-container": {
50292
49987
  component: "WizardContainer",
50293
- importPath: "@/components/organisms/WizardContainer",
49988
+ importPath: "@/components/molecules/WizardContainer",
50294
49989
  category: "navigation"
50295
49990
  },
50296
49991
  "wizard-progress": {
@@ -50325,7 +50020,7 @@ var component_mapping_default = {
50325
50020
  },
50326
50021
  "confirm-dialog": {
50327
50022
  component: "ConfirmDialog",
50328
- importPath: "@/components/organisms/ConfirmDialog",
50023
+ importPath: "@/components/molecules/ConfirmDialog",
50329
50024
  category: "layout"
50330
50025
  },
50331
50026
  "master-detail": {
@@ -50607,7 +50302,7 @@ var component_mapping_default = {
50607
50302
  },
50608
50303
  header: {
50609
50304
  component: "Header",
50610
- importPath: "@/components/organisms/Header",
50305
+ importPath: "@/components/molecules/Header",
50611
50306
  category: "header"
50612
50307
  },
50613
50308
  "modal-slot": {
@@ -50617,34 +50312,29 @@ var component_mapping_default = {
50617
50312
  },
50618
50313
  navigation: {
50619
50314
  component: "Navigation",
50620
- importPath: "@/components/organisms/Navigation",
50315
+ importPath: "@/components/molecules/Navigation",
50621
50316
  category: "navigation"
50622
50317
  },
50623
50318
  "orbital-visualization": {
50624
50319
  component: "OrbitalVisualization",
50625
- importPath: "@/components/organisms/OrbitalVisualization",
50320
+ importPath: "@/components/molecules/OrbitalVisualization",
50626
50321
  category: "display"
50627
50322
  },
50628
50323
  section: {
50629
50324
  component: "Section",
50630
- importPath: "@/components/organisms/Section",
50325
+ importPath: "@/components/molecules/Section",
50631
50326
  category: "display"
50632
50327
  },
50633
50328
  sidebar: {
50634
50329
  component: "Sidebar",
50635
- importPath: "@/components/organisms/Sidebar",
50330
+ importPath: "@/components/molecules/Sidebar",
50636
50331
  category: "navigation"
50637
50332
  },
50638
50333
  split: {
50639
50334
  component: "Split",
50640
- importPath: "@/components/organisms/Split",
50335
+ importPath: "@/components/molecules/Split",
50641
50336
  category: "layout"
50642
50337
  },
50643
- table: {
50644
- component: "Table",
50645
- importPath: "@/components/organisms/Table",
50646
- category: "display"
50647
- },
50648
50338
  "toast-slot": {
50649
50339
  component: "ToastSlot",
50650
50340
  importPath: "@/components/organisms/ToastSlot",
@@ -50682,7 +50372,7 @@ var component_mapping_default = {
50682
50372
  },
50683
50373
  chart: {
50684
50374
  component: "Chart",
50685
- importPath: "@/components/organisms/Chart",
50375
+ importPath: "@/components/molecules/Chart",
50686
50376
  category: "visualization"
50687
50377
  },
50688
50378
  meter: {
@@ -50702,22 +50392,22 @@ var component_mapping_default = {
50702
50392
  },
50703
50393
  "signature-pad": {
50704
50394
  component: "SignaturePad",
50705
- importPath: "@/components/organisms/SignaturePad",
50395
+ importPath: "@/components/molecules/SignaturePad",
50706
50396
  category: "form"
50707
50397
  },
50708
50398
  "document-viewer": {
50709
50399
  component: "DocumentViewer",
50710
- importPath: "@/components/organisms/DocumentViewer",
50400
+ importPath: "@/components/molecules/DocumentViewer",
50711
50401
  category: "display"
50712
50402
  },
50713
50403
  "graph-canvas": {
50714
50404
  component: "GraphCanvas",
50715
- importPath: "@/components/organisms/GraphCanvas",
50405
+ importPath: "@/components/molecules/GraphCanvas",
50716
50406
  category: "visualization"
50717
50407
  },
50718
50408
  "code-viewer": {
50719
50409
  component: "CodeViewer",
50720
- importPath: "@/components/organisms/CodeViewer",
50410
+ importPath: "@/components/molecules/CodeViewer",
50721
50411
  category: "display"
50722
50412
  },
50723
50413
  "battle-template": {
@@ -50762,12 +50452,12 @@ var component_mapping_default = {
50762
50452
  },
50763
50453
  "content-renderer": {
50764
50454
  component: "ContentRenderer",
50765
- importPath: "@/components/organisms/ContentRenderer",
50455
+ importPath: "@/components/molecules/ContentRenderer",
50766
50456
  category: "display"
50767
50457
  },
50768
50458
  "jazari-state-machine": {
50769
50459
  component: "JazariStateMachine",
50770
- importPath: "@/components/organisms/JazariStateMachine",
50460
+ importPath: "@/components/molecules/JazariStateMachine",
50771
50461
  category: "display"
50772
50462
  },
50773
50463
  "state-machine-view": {
@@ -50940,11 +50630,6 @@ var component_mapping_default = {
50940
50630
  importPath: "@/components/molecules/CaseStudyCard",
50941
50631
  category: "display"
50942
50632
  },
50943
- "code-example": {
50944
- component: "CodeExample",
50945
- importPath: "@/components/molecules/CodeExample",
50946
- category: "component"
50947
- },
50948
50633
  "community-links": {
50949
50634
  component: "CommunityLinks",
50950
50635
  importPath: "@/components/molecules/CommunityLinks",
@@ -51746,7 +51431,7 @@ var component_mapping_default = {
51746
51431
  // src/event-contracts.json
51747
51432
  var event_contracts_default = {
51748
51433
  version: "1.0.0",
51749
- exportedAt: "2026-06-08T19:05:53.459Z",
51434
+ exportedAt: "2026-06-09T01:18:33.001Z",
51750
51435
  contracts: {
51751
51436
  form: {
51752
51437
  emits: [