pxengine 0.1.19 → 0.1.22

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@pxengine/ui",
3
3
  "version": "1.0.0",
4
- "lastUpdated": "2026-02-17T06:45:49.836Z",
4
+ "lastUpdated": "2026-02-18T12:49:08.799Z",
5
5
  "components": {
6
6
  "AccordionAtom": {
7
7
  "name": "AccordionAtom",
@@ -13793,6 +13793,120 @@
13793
13793
  "preview": null,
13794
13794
  "layoutHints": null
13795
13795
  },
13796
+ "CampaignConceptCard": {
13797
+ "name": "CampaignConceptCard",
13798
+ "type": "molecule",
13799
+ "isBuilderComponent": true,
13800
+ "description": "CampaignConceptCard\n\nA domain-specific molecule for displaying a campaign concept.\nFeatures an accordion-style collapsible header and custom data rendering.",
13801
+ "props": {
13802
+ "title": {
13803
+ "type": "string",
13804
+ "required": false,
13805
+ "description": "Title of the concept"
13806
+ },
13807
+ "isRecommended": {
13808
+ "type": "boolean",
13809
+ "required": false,
13810
+ "description": "Whether this concept is recommended"
13811
+ },
13812
+ "isOpen": {
13813
+ "type": "boolean",
13814
+ "required": false,
13815
+ "description": "Whether the card is expanded"
13816
+ },
13817
+ "onToggle": {
13818
+ "type": "() => void",
13819
+ "required": false,
13820
+ "description": "Callback for toggling the card"
13821
+ },
13822
+ "data": {
13823
+ "type": "record<string, any>",
13824
+ "required": true,
13825
+ "description": "Dynamic field data"
13826
+ },
13827
+ "fields": {
13828
+ "type": "fieldconfig[]",
13829
+ "required": false,
13830
+ "description": "Optional field configuration to override dynamic generation"
13831
+ },
13832
+ "selectionStatus": {
13833
+ "type": "enum",
13834
+ "required": false,
13835
+ "description": "Selection status for the footer",
13836
+ "enums": [
13837
+ "user",
13838
+ "agent"
13839
+ ]
13840
+ },
13841
+ "isLatestMessage": {
13842
+ "type": "boolean",
13843
+ "required": false,
13844
+ "description": "Whether this is the latest message"
13845
+ },
13846
+ "className": {
13847
+ "type": "string",
13848
+ "required": false,
13849
+ "description": "Custom className"
13850
+ },
13851
+ "id": {
13852
+ "type": "string",
13853
+ "required": false,
13854
+ "description": "Unique identifier"
13855
+ },
13856
+ "editingFields": {
13857
+ "type": "record<string, boolean>",
13858
+ "required": false,
13859
+ "description": "Current editing states for each field"
13860
+ },
13861
+ "changedFields": {
13862
+ "type": "record<string, boolean>",
13863
+ "required": false,
13864
+ "description": "Fields that have been modified"
13865
+ },
13866
+ "savingFields": {
13867
+ "type": "record<string, boolean>",
13868
+ "required": false,
13869
+ "description": "Fields currently being saved"
13870
+ },
13871
+ "onFieldEdit": {
13872
+ "type": "(key: string) => void",
13873
+ "required": false,
13874
+ "description": "Triggered when a field starts editing"
13875
+ },
13876
+ "onFieldSave": {
13877
+ "type": "(key: string, newvalue: any) => void",
13878
+ "required": false,
13879
+ "description": "Triggered when a field value is saved"
13880
+ },
13881
+ "onFieldCancel": {
13882
+ "type": "(key: string) => void",
13883
+ "required": false,
13884
+ "description": "Triggered when a field edit is cancelled"
13885
+ },
13886
+ "showTimeline": {
13887
+ "type": "boolean",
13888
+ "required": false,
13889
+ "description": "Show a dotted timeline visual on the left"
13890
+ },
13891
+ "proceedLabel": {
13892
+ "type": "string",
13893
+ "required": false,
13894
+ "description": "Label for the \"Proceed\" button"
13895
+ },
13896
+ "onProceed": {
13897
+ "type": "() => void",
13898
+ "required": false,
13899
+ "description": "Proceed handler"
13900
+ },
13901
+ "footer": {
13902
+ "type": "reactnode",
13903
+ "required": false,
13904
+ "description": "Footer content (optional)"
13905
+ }
13906
+ },
13907
+ "preview": null,
13908
+ "layoutHints": null
13909
+ },
13796
13910
  "CampaignSeedCard": {
13797
13911
  "name": "CampaignSeedCard",
13798
13912
  "type": "molecule",
@@ -13828,11 +13942,6 @@
13828
13942
  "required": false,
13829
13943
  "description": "Unique identifier"
13830
13944
  },
13831
- "onPause": {
13832
- "type": "() => void",
13833
- "required": false,
13834
- "description": "Pause/Resume handler"
13835
- },
13836
13945
  "title": {
13837
13946
  "type": "string",
13838
13947
  "required": true,
@@ -13883,16 +13992,6 @@
13883
13992
  "required": false,
13884
13993
  "description": "Label for the \"Proceed\" button"
13885
13994
  },
13886
- "countdown": {
13887
- "type": "number",
13888
- "required": false,
13889
- "description": "Countdown for auto-proceed"
13890
- },
13891
- "isPaused": {
13892
- "type": "boolean",
13893
- "required": false,
13894
- "description": "Whether the timer is paused"
13895
- },
13896
13995
  "onProceed": {
13897
13996
  "type": "() => void",
13898
13997
  "required": false,
@@ -14123,6 +14222,105 @@
14123
14222
  "preview": null,
14124
14223
  "layoutHints": null
14125
14224
  },
14225
+ "CreatorSearch": {
14226
+ "name": "CreatorSearch",
14227
+ "type": "molecule",
14228
+ "isBuilderComponent": true,
14229
+ "description": "CreatorSearch\n\nA domain-specific molecule for the Creator Discovery workflow.\nEncapsulates creator search settings like platforms, range, geography, keywords, etc.\nDesigned to match the MCQCard theme with premium dark aesthetics.",
14230
+ "props": {
14231
+ "selectionStatus": {
14232
+ "type": "enum",
14233
+ "required": false,
14234
+ "description": "Status of the selection",
14235
+ "enums": [
14236
+ "user",
14237
+ "agent"
14238
+ ]
14239
+ },
14240
+ "isLatestMessage": {
14241
+ "type": "boolean",
14242
+ "required": false,
14243
+ "description": "Whether the message is the latest"
14244
+ },
14245
+ "fields": {
14246
+ "type": "fieldconfig[]",
14247
+ "required": false,
14248
+ "description": "Optional field configuration to override dynamic generation"
14249
+ },
14250
+ "className": {
14251
+ "type": "string",
14252
+ "required": false,
14253
+ "description": "Custom className"
14254
+ },
14255
+ "id": {
14256
+ "type": "string",
14257
+ "required": false,
14258
+ "description": "Unique identifier"
14259
+ },
14260
+ "title": {
14261
+ "type": "string",
14262
+ "required": true,
14263
+ "description": "Title of the form card"
14264
+ },
14265
+ "data": {
14266
+ "type": "record<string, any>",
14267
+ "required": true,
14268
+ "description": "Initial data for the form"
14269
+ },
14270
+ "editingFields": {
14271
+ "type": "record<string, boolean>",
14272
+ "required": false,
14273
+ "description": "Current editing states for each field"
14274
+ },
14275
+ "changedFields": {
14276
+ "type": "record<string, boolean>",
14277
+ "required": false,
14278
+ "description": "Fields that have been modified"
14279
+ },
14280
+ "savingFields": {
14281
+ "type": "record<string, boolean>",
14282
+ "required": false,
14283
+ "description": "Fields currently being saved"
14284
+ },
14285
+ "onFieldEdit": {
14286
+ "type": "(key: string) => void",
14287
+ "required": false,
14288
+ "description": "Triggered when a field starts editing"
14289
+ },
14290
+ "onFieldSave": {
14291
+ "type": "(key: string, newvalue: any) => void",
14292
+ "required": false,
14293
+ "description": "Triggered when a field value is saved"
14294
+ },
14295
+ "onFieldCancel": {
14296
+ "type": "(key: string) => void",
14297
+ "required": false,
14298
+ "description": "Triggered when a field edit is cancelled"
14299
+ },
14300
+ "showTimeline": {
14301
+ "type": "boolean",
14302
+ "required": false,
14303
+ "description": "Show a dotted timeline visual on the left"
14304
+ },
14305
+ "proceedLabel": {
14306
+ "type": "string",
14307
+ "required": false,
14308
+ "description": "Label for the \"Proceed\" button"
14309
+ },
14310
+ "onProceed": {
14311
+ "type": "() => void",
14312
+ "required": false,
14313
+ "description": "Proceed handler"
14314
+ },
14315
+ "footer": {
14316
+ "type": "reactnode",
14317
+ "required": false,
14318
+ "description": "Footer content (optional)"
14319
+ }
14320
+ },
14321
+ "preview": null,
14322
+ "layoutHints": null
14323
+ },
14126
14324
  "GrowthChartCard": {
14127
14325
  "name": "GrowthChartCard",
14128
14326
  "type": "molecule",
@@ -14182,7 +14380,7 @@
14182
14380
  "name": "MCQCard",
14183
14381
  "type": "molecule",
14184
14382
  "isBuilderComponent": true,
14185
- "description": "MCQCard\n\nA molecule for Multiple Choice Questions.\nSupports:\n- Recommended options with styling\n- Radio-style selection\n- Integrated ActionButton with countdown\n- Peer/Agent approval labels\n- Premium aesthetics",
14383
+ "description": "MCQCard\n\nA molecule for Multiple Choice Questions.\nStyled to match OptionsRenderer from creator-engine",
14186
14384
  "props": {
14187
14385
  "question": {
14188
14386
  "type": "string",
@@ -14209,30 +14407,15 @@
14209
14407
  "required": false,
14210
14408
  "description": "Triggered when an option is selected"
14211
14409
  },
14212
- "onAction": {
14213
- "type": "(action: string) => void",
14410
+ "onProceed": {
14411
+ "type": "(key: string) => void",
14214
14412
  "required": false,
14215
- "description": "Triggered when the user clicks continue (PXEngine compatible)"
14413
+ "description": "Triggered when the user clicks Continue"
14216
14414
  },
14217
14415
  "isLatestMessage": {
14218
14416
  "type": "boolean",
14219
14417
  "required": false,
14220
- "description": "Triggered when the message is the latest"
14221
- },
14222
- "countdown": {
14223
- "type": "number",
14224
- "required": false,
14225
- "description": "Countdown in seconds"
14226
- },
14227
- "isPaused": {
14228
- "type": "boolean",
14229
- "required": false,
14230
- "description": "Whether the countdown is paused"
14231
- },
14232
- "onPause": {
14233
- "type": "() => void",
14234
- "required": false,
14235
- "description": "Pause/Resume handler"
14418
+ "description": "Whether this message is the latest (controls interactivity)"
14236
14419
  },
14237
14420
  "isLoading": {
14238
14421
  "type": "boolean",
@@ -14242,16 +14425,26 @@
14242
14425
  "className": {
14243
14426
  "type": "string",
14244
14427
  "required": false,
14245
- "description": "Custom className"
14428
+ "description": "Custom wrapper class name"
14246
14429
  },
14247
14430
  "selectionStatus": {
14248
14431
  "type": "enum",
14249
14432
  "required": false,
14250
- "description": "Who made the final selection (for historical view)",
14433
+ "description": "Who made the final selection (used for historical view)",
14251
14434
  "enums": [
14252
14435
  "user",
14253
14436
  "agent"
14254
14437
  ]
14438
+ },
14439
+ "onAction": {
14440
+ "type": "(action: any) => void",
14441
+ "required": false,
14442
+ "description": "Optional action callback for external state management (e.g. PXEngine)"
14443
+ },
14444
+ "disabled": {
14445
+ "type": "boolean",
14446
+ "required": false,
14447
+ "description": "Whether the interaction is disabled externally"
14255
14448
  }
14256
14449
  },
14257
14450
  "preview": null,
@@ -14372,7 +14565,7 @@
14372
14565
  "name": "SearchSpecCard",
14373
14566
  "type": "molecule",
14374
14567
  "isBuilderComponent": true,
14375
- "description": "SearchSpecCard\n\nA domain-specific molecule for the Creator Discovery workflow.\nEncapsulates search settings like platforms, ranges, and custom keyword bundles.\nNow dynamic: if no fields are provided, it generates them from the data object.",
14568
+ "description": "SearchSpecCard\n\nA domain-specific molecule for the Creator Discovery workflow.\nEncapsulates search settings like platforms, ranges, and custom keyword bundles.\nUses smart field generation with proper renderers for all nested data types.",
14376
14569
  "props": {
14377
14570
  "version": {
14378
14571
  "type": "number",
@@ -14398,6 +14591,11 @@
14398
14591
  "required": false,
14399
14592
  "description": "Optional field configuration to override dynamic generation"
14400
14593
  },
14594
+ "specData": {
14595
+ "type": "record<string, any>",
14596
+ "required": false,
14597
+ "description": "Alias for data — the agent schema uses specData as the prop name"
14598
+ },
14401
14599
  "className": {
14402
14600
  "type": "string",
14403
14601
  "required": false,
@@ -14408,11 +14606,6 @@
14408
14606
  "required": false,
14409
14607
  "description": "Unique identifier"
14410
14608
  },
14411
- "onPause": {
14412
- "type": "() => void",
14413
- "required": false,
14414
- "description": "Pause/Resume handler"
14415
- },
14416
14609
  "title": {
14417
14610
  "type": "string",
14418
14611
  "required": true,
@@ -14463,16 +14656,6 @@
14463
14656
  "required": false,
14464
14657
  "description": "Label for the \"Proceed\" button"
14465
14658
  },
14466
- "countdown": {
14467
- "type": "number",
14468
- "required": false,
14469
- "description": "Countdown for auto-proceed"
14470
- },
14471
- "isPaused": {
14472
- "type": "boolean",
14473
- "required": false,
14474
- "description": "Whether the timer is paused"
14475
- },
14476
14659
  "onProceed": {
14477
14660
  "type": "() => void",
14478
14661
  "required": false,
@@ -14654,7 +14837,7 @@
14654
14837
  "name": "EditableField",
14655
14838
  "type": "molecule",
14656
14839
  "isBuilderComponent": true,
14657
- "description": "EditableField\n\nA generic field that toggles between display and edit modes.\nSupports various input types and custom rendering.",
14840
+ "description": "EditableField\n\nA generic field that toggles between display and edit modes.\nStyled with purple labels and green \"Suggested by an Agent\" badge.",
14658
14841
  "props": {
14659
14842
  "id": {
14660
14843
  "type": "string",
@@ -14725,6 +14908,26 @@
14725
14908
  "type": "(value: any, onchange: (v: any) => void) => reactnode",
14726
14909
  "required": false,
14727
14910
  "description": "Custom renderer for the edit state"
14911
+ },
14912
+ "isLatestMessage": {
14913
+ "type": "boolean",
14914
+ "required": false,
14915
+ "description": "Whether this is the latest message"
14916
+ },
14917
+ "showIndex": {
14918
+ "type": "boolean",
14919
+ "required": false,
14920
+ "description": "Whether to show the index number"
14921
+ },
14922
+ "index": {
14923
+ "type": "number",
14924
+ "required": false,
14925
+ "description": "Index of this field in the form"
14926
+ },
14927
+ "totalFields": {
14928
+ "type": "number",
14929
+ "required": false,
14930
+ "description": "Total number of fields in the form"
14728
14931
  }
14729
14932
  },
14730
14933
  "preview": null,
@@ -14895,7 +15098,7 @@
14895
15098
  "name": "FormCard",
14896
15099
  "type": "molecule",
14897
15100
  "isBuilderComponent": true,
14898
- "description": "FormCard\n\nA high-level molecule that assembles EditableFields into a cohesive card unit.\nFeatures:\n- Dotted vertical timeline visual\n- Copy to clipboard functionality\n- Integrated ActionButton with countdown\n- Responsive layout",
15101
+ "description": "FormCard\n\nHigh-level molecule that assembles multiple EditableFields\ninto a cohesive card unit.\nStyled with purple labels and green badges.",
14899
15102
  "props": {
14900
15103
  "id": {
14901
15104
  "type": "string",
@@ -14957,21 +15160,6 @@
14957
15160
  "required": false,
14958
15161
  "description": "Label for the \"Proceed\" button"
14959
15162
  },
14960
- "countdown": {
14961
- "type": "number",
14962
- "required": false,
14963
- "description": "Countdown for auto-proceed"
14964
- },
14965
- "isPaused": {
14966
- "type": "boolean",
14967
- "required": false,
14968
- "description": "Whether the timer is paused"
14969
- },
14970
- "onPause": {
14971
- "type": "() => void",
14972
- "required": false,
14973
- "description": "Pause/Resume handler"
14974
- },
14975
15163
  "onProceed": {
14976
15164
  "type": "() => void",
14977
15165
  "required": false,
@@ -14986,6 +15174,11 @@
14986
15174
  "type": "reactnode",
14987
15175
  "required": false,
14988
15176
  "description": "Footer content (optional)"
15177
+ },
15178
+ "isLatestMessage": {
15179
+ "type": "boolean",
15180
+ "required": false,
15181
+ "description": "Whether this is the latest message"
14989
15182
  }
14990
15183
  },
14991
15184
  "preview": null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pxengine",
3
- "version": "0.1.19",
3
+ "version": "0.1.22",
4
4
  "type": "module",
5
5
  "description": "Shadcn-based UI component library for agent-driven interfaces",
6
6
  "main": "./dist/index.cjs",