pxengine 0.1.19 → 0.1.21
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.cjs +648 -385
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +110 -46
- package/dist/index.d.ts +110 -46
- package/dist/index.mjs +651 -390
- package/dist/index.mjs.map +1 -1
- package/dist/registry.json +258 -70
- package/package.json +1 -1
package/dist/registry.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pxengine/ui",
|
|
3
3
|
"version": "1.0.0",
|
|
4
|
-
"lastUpdated": "2026-02-
|
|
4
|
+
"lastUpdated": "2026-02-18T12:03:05.149Z",
|
|
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.\
|
|
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
|
-
"
|
|
14213
|
-
"type": "(
|
|
14410
|
+
"onProceed": {
|
|
14411
|
+
"type": "(key: string) => void",
|
|
14214
14412
|
"required": false,
|
|
14215
|
-
"description": "Triggered when the user clicks
|
|
14413
|
+
"description": "Triggered when the user clicks Continue"
|
|
14216
14414
|
},
|
|
14217
14415
|
"isLatestMessage": {
|
|
14218
14416
|
"type": "boolean",
|
|
14219
14417
|
"required": false,
|
|
14220
|
-
"description": "
|
|
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
|
|
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,
|
|
@@ -14408,11 +14601,6 @@
|
|
|
14408
14601
|
"required": false,
|
|
14409
14602
|
"description": "Unique identifier"
|
|
14410
14603
|
},
|
|
14411
|
-
"onPause": {
|
|
14412
|
-
"type": "() => void",
|
|
14413
|
-
"required": false,
|
|
14414
|
-
"description": "Pause/Resume handler"
|
|
14415
|
-
},
|
|
14416
14604
|
"title": {
|
|
14417
14605
|
"type": "string",
|
|
14418
14606
|
"required": true,
|
|
@@ -14463,16 +14651,6 @@
|
|
|
14463
14651
|
"required": false,
|
|
14464
14652
|
"description": "Label for the \"Proceed\" button"
|
|
14465
14653
|
},
|
|
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
14654
|
"onProceed": {
|
|
14477
14655
|
"type": "() => void",
|
|
14478
14656
|
"required": false,
|
|
@@ -14654,7 +14832,7 @@
|
|
|
14654
14832
|
"name": "EditableField",
|
|
14655
14833
|
"type": "molecule",
|
|
14656
14834
|
"isBuilderComponent": true,
|
|
14657
|
-
"description": "EditableField\n\nA generic field that toggles between display and edit modes.\
|
|
14835
|
+
"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
14836
|
"props": {
|
|
14659
14837
|
"id": {
|
|
14660
14838
|
"type": "string",
|
|
@@ -14725,6 +14903,26 @@
|
|
|
14725
14903
|
"type": "(value: any, onchange: (v: any) => void) => reactnode",
|
|
14726
14904
|
"required": false,
|
|
14727
14905
|
"description": "Custom renderer for the edit state"
|
|
14906
|
+
},
|
|
14907
|
+
"isLatestMessage": {
|
|
14908
|
+
"type": "boolean",
|
|
14909
|
+
"required": false,
|
|
14910
|
+
"description": "Whether this is the latest message"
|
|
14911
|
+
},
|
|
14912
|
+
"showIndex": {
|
|
14913
|
+
"type": "boolean",
|
|
14914
|
+
"required": false,
|
|
14915
|
+
"description": "Whether to show the index number"
|
|
14916
|
+
},
|
|
14917
|
+
"index": {
|
|
14918
|
+
"type": "number",
|
|
14919
|
+
"required": false,
|
|
14920
|
+
"description": "Index of this field in the form"
|
|
14921
|
+
},
|
|
14922
|
+
"totalFields": {
|
|
14923
|
+
"type": "number",
|
|
14924
|
+
"required": false,
|
|
14925
|
+
"description": "Total number of fields in the form"
|
|
14728
14926
|
}
|
|
14729
14927
|
},
|
|
14730
14928
|
"preview": null,
|
|
@@ -14895,7 +15093,7 @@
|
|
|
14895
15093
|
"name": "FormCard",
|
|
14896
15094
|
"type": "molecule",
|
|
14897
15095
|
"isBuilderComponent": true,
|
|
14898
|
-
"description": "FormCard\n\
|
|
15096
|
+
"description": "FormCard\n\nHigh-level molecule that assembles multiple EditableFields\ninto a cohesive card unit.\nStyled with purple labels and green badges.",
|
|
14899
15097
|
"props": {
|
|
14900
15098
|
"id": {
|
|
14901
15099
|
"type": "string",
|
|
@@ -14957,21 +15155,6 @@
|
|
|
14957
15155
|
"required": false,
|
|
14958
15156
|
"description": "Label for the \"Proceed\" button"
|
|
14959
15157
|
},
|
|
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
15158
|
"onProceed": {
|
|
14976
15159
|
"type": "() => void",
|
|
14977
15160
|
"required": false,
|
|
@@ -14986,6 +15169,11 @@
|
|
|
14986
15169
|
"type": "reactnode",
|
|
14987
15170
|
"required": false,
|
|
14988
15171
|
"description": "Footer content (optional)"
|
|
15172
|
+
},
|
|
15173
|
+
"isLatestMessage": {
|
|
15174
|
+
"type": "boolean",
|
|
15175
|
+
"required": false,
|
|
15176
|
+
"description": "Whether this is the latest message"
|
|
14989
15177
|
}
|
|
14990
15178
|
},
|
|
14991
15179
|
"preview": null,
|