pxengine 0.1.54 → 0.1.55
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 +1351 -1094
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +119 -2
- package/dist/index.d.ts +119 -2
- package/dist/index.mjs +1257 -1002
- package/dist/index.mjs.map +1 -1
- package/dist/registry.json +116 -1
- 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-
|
|
4
|
+
"lastUpdated": "2026-04-01T10:49:15.305Z",
|
|
5
5
|
"components": {
|
|
6
6
|
"AccordionAtom": {
|
|
7
7
|
"name": "AccordionAtom",
|
|
@@ -15351,6 +15351,66 @@
|
|
|
15351
15351
|
"preview": null,
|
|
15352
15352
|
"layoutHints": null
|
|
15353
15353
|
},
|
|
15354
|
+
"ConfirmationCard": {
|
|
15355
|
+
"name": "ConfirmationCard",
|
|
15356
|
+
"type": "molecule",
|
|
15357
|
+
"isBuilderComponent": true,
|
|
15358
|
+
"description": "ConfirmationCard\n\nA molecule for yes/no confirmation prompts.\nShows a title, description, optional question, and Cancel / Confirm buttons.",
|
|
15359
|
+
"props": {
|
|
15360
|
+
"title": {
|
|
15361
|
+
"type": "string",
|
|
15362
|
+
"required": true,
|
|
15363
|
+
"description": "Bold title at the top of the card (e.g. \"Brand Summary\")"
|
|
15364
|
+
},
|
|
15365
|
+
"description": {
|
|
15366
|
+
"type": "string",
|
|
15367
|
+
"required": true,
|
|
15368
|
+
"description": "Description / body text explaining what will happen"
|
|
15369
|
+
},
|
|
15370
|
+
"question": {
|
|
15371
|
+
"type": "string",
|
|
15372
|
+
"required": false,
|
|
15373
|
+
"description": "The confirmation question (e.g. \"Shall I proceed to the research?\")"
|
|
15374
|
+
},
|
|
15375
|
+
"confirm_label": {
|
|
15376
|
+
"type": "string",
|
|
15377
|
+
"required": false,
|
|
15378
|
+
"description": "Label for the confirm button (default: \"Yes, go ahead\")"
|
|
15379
|
+
},
|
|
15380
|
+
"cancel_label": {
|
|
15381
|
+
"type": "string",
|
|
15382
|
+
"required": false,
|
|
15383
|
+
"description": "Label for the cancel button (default: \"Cancel\")"
|
|
15384
|
+
},
|
|
15385
|
+
"sendMessage": {
|
|
15386
|
+
"type": "(text: string) => void",
|
|
15387
|
+
"required": false,
|
|
15388
|
+
"description": "Callback to send a message to the agent.\nCalled when user clicks Confirm or Cancel."
|
|
15389
|
+
},
|
|
15390
|
+
"isLatestMessage": {
|
|
15391
|
+
"type": "boolean",
|
|
15392
|
+
"required": false,
|
|
15393
|
+
"description": "Whether this message is the latest (controls interactivity)"
|
|
15394
|
+
},
|
|
15395
|
+
"disabled": {
|
|
15396
|
+
"type": "boolean",
|
|
15397
|
+
"required": false,
|
|
15398
|
+
"description": "Whether the interaction is disabled externally"
|
|
15399
|
+
},
|
|
15400
|
+
"className": {
|
|
15401
|
+
"type": "string",
|
|
15402
|
+
"required": false,
|
|
15403
|
+
"description": "Custom wrapper class name"
|
|
15404
|
+
},
|
|
15405
|
+
"onAction": {
|
|
15406
|
+
"type": "(action: any) => void",
|
|
15407
|
+
"required": false,
|
|
15408
|
+
"description": "Optional action callback for external state management"
|
|
15409
|
+
}
|
|
15410
|
+
},
|
|
15411
|
+
"preview": null,
|
|
15412
|
+
"layoutHints": null
|
|
15413
|
+
},
|
|
15354
15414
|
"DataGrid": {
|
|
15355
15415
|
"name": "DataGrid",
|
|
15356
15416
|
"type": "molecule",
|
|
@@ -16256,6 +16316,61 @@
|
|
|
16256
16316
|
"preview": null,
|
|
16257
16317
|
"layoutHints": null
|
|
16258
16318
|
},
|
|
16319
|
+
"RecommendationCard": {
|
|
16320
|
+
"name": "RecommendationCard",
|
|
16321
|
+
"type": "molecule",
|
|
16322
|
+
"isBuilderComponent": true,
|
|
16323
|
+
"description": "RecommendationCard\n\nA molecule for single-question recommendations.\nShows one recommended option (pre-selected) with a text input for custom answers.\nUser clicks Continue to submit their choice.",
|
|
16324
|
+
"props": {
|
|
16325
|
+
"question": {
|
|
16326
|
+
"type": "string",
|
|
16327
|
+
"required": true,
|
|
16328
|
+
"description": "The question being asked"
|
|
16329
|
+
},
|
|
16330
|
+
"recommended": {
|
|
16331
|
+
"type": "string",
|
|
16332
|
+
"required": true,
|
|
16333
|
+
"description": "The recommended answer/option"
|
|
16334
|
+
},
|
|
16335
|
+
"recommended_reason": {
|
|
16336
|
+
"type": "string",
|
|
16337
|
+
"required": false,
|
|
16338
|
+
"description": "Why this option is recommended (optional)"
|
|
16339
|
+
},
|
|
16340
|
+
"sendMessage": {
|
|
16341
|
+
"type": "(text: string) => void",
|
|
16342
|
+
"required": false,
|
|
16343
|
+
"description": "Callback to send a message to the agent.\nCalled when user clicks Continue."
|
|
16344
|
+
},
|
|
16345
|
+
"isLatestMessage": {
|
|
16346
|
+
"type": "boolean",
|
|
16347
|
+
"required": false,
|
|
16348
|
+
"description": "Whether this message is the latest (controls interactivity)"
|
|
16349
|
+
},
|
|
16350
|
+
"disabled": {
|
|
16351
|
+
"type": "boolean",
|
|
16352
|
+
"required": false,
|
|
16353
|
+
"description": "Whether the interaction is disabled externally"
|
|
16354
|
+
},
|
|
16355
|
+
"isLoading": {
|
|
16356
|
+
"type": "boolean",
|
|
16357
|
+
"required": false,
|
|
16358
|
+
"description": "Loading state during submission"
|
|
16359
|
+
},
|
|
16360
|
+
"className": {
|
|
16361
|
+
"type": "string",
|
|
16362
|
+
"required": false,
|
|
16363
|
+
"description": "Custom wrapper class name"
|
|
16364
|
+
},
|
|
16365
|
+
"onAction": {
|
|
16366
|
+
"type": "(action: any) => void",
|
|
16367
|
+
"required": false,
|
|
16368
|
+
"description": "Optional action callback for external state management (e.g. PXEngine)"
|
|
16369
|
+
}
|
|
16370
|
+
},
|
|
16371
|
+
"preview": null,
|
|
16372
|
+
"layoutHints": null
|
|
16373
|
+
},
|
|
16259
16374
|
"PlatformPost": {
|
|
16260
16375
|
"name": "PlatformPost",
|
|
16261
16376
|
"type": "molecule",
|