pxengine 0.1.97 → 0.1.98
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 +495 -166
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +52 -3
- package/dist/index.d.ts +52 -3
- package/dist/index.mjs +486 -158
- package/dist/index.mjs.map +1 -1
- package/dist/registry.json +76 -4
- package/package.json +3 -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-06-
|
|
4
|
+
"lastUpdated": "2026-06-23T13:03:16.684Z",
|
|
5
5
|
"components": {
|
|
6
6
|
"AccordionAtom": {
|
|
7
7
|
"name": "AccordionAtom",
|
|
@@ -13860,6 +13860,58 @@
|
|
|
13860
13860
|
"height": 225
|
|
13861
13861
|
}
|
|
13862
13862
|
},
|
|
13863
|
+
"AnalyticsChart": {
|
|
13864
|
+
"name": "AnalyticsChart",
|
|
13865
|
+
"type": "molecule",
|
|
13866
|
+
"isBuilderComponent": true,
|
|
13867
|
+
"description": "",
|
|
13868
|
+
"props": {
|
|
13869
|
+
"config": {
|
|
13870
|
+
"type": "record<string, any>",
|
|
13871
|
+
"required": false,
|
|
13872
|
+
"description": ""
|
|
13873
|
+
},
|
|
13874
|
+
"chartId": {
|
|
13875
|
+
"type": "string",
|
|
13876
|
+
"required": false,
|
|
13877
|
+
"description": ""
|
|
13878
|
+
},
|
|
13879
|
+
"apiBase": {
|
|
13880
|
+
"type": "string",
|
|
13881
|
+
"required": false,
|
|
13882
|
+
"defaultValue": "",
|
|
13883
|
+
"description": ""
|
|
13884
|
+
},
|
|
13885
|
+
"authToken": {
|
|
13886
|
+
"type": "string",
|
|
13887
|
+
"required": false,
|
|
13888
|
+
"description": ""
|
|
13889
|
+
},
|
|
13890
|
+
"height": {
|
|
13891
|
+
"type": "number",
|
|
13892
|
+
"required": false,
|
|
13893
|
+
"defaultValue": "400",
|
|
13894
|
+
"description": ""
|
|
13895
|
+
},
|
|
13896
|
+
"className": {
|
|
13897
|
+
"type": "string",
|
|
13898
|
+
"required": false,
|
|
13899
|
+
"description": ""
|
|
13900
|
+
},
|
|
13901
|
+
"loading": {
|
|
13902
|
+
"type": "boolean",
|
|
13903
|
+
"required": false,
|
|
13904
|
+
"description": ""
|
|
13905
|
+
},
|
|
13906
|
+
"error": {
|
|
13907
|
+
"type": "string",
|
|
13908
|
+
"required": false,
|
|
13909
|
+
"description": ""
|
|
13910
|
+
}
|
|
13911
|
+
},
|
|
13912
|
+
"preview": null,
|
|
13913
|
+
"layoutHints": null
|
|
13914
|
+
},
|
|
13863
13915
|
"AudienceDemographicsCard": {
|
|
13864
13916
|
"name": "AudienceDemographicsCard",
|
|
13865
13917
|
"type": "molecule",
|
|
@@ -15056,7 +15108,7 @@
|
|
|
15056
15108
|
"name": "MCQCard",
|
|
15057
15109
|
"type": "molecule",
|
|
15058
15110
|
"isBuilderComponent": true,
|
|
15059
|
-
"description": "MCQCard\n\nA molecule for Multiple Choice Questions.\nSelf-contained: when `sessionId` + `sendMessage` are provided,\nit manages its own persistence and agent communication.\n\nHonors an optional `theme` (WidgetTheme): when provided, the card adopts the\norganization's brand colors via inline styles that override the default\nTailwind palette. With no theme it renders exactly as before.",
|
|
15111
|
+
"description": "MCQCard\n\nA molecule for Multiple Choice Questions.\nSelf-contained: when `sessionId` + `sendMessage` are provided,\nit manages its own persistence and agent communication.\n\nSupports single- and multi-select. When `maxSelections >= 2` the card\nbecomes multi-select (checkboxes); with no count it stays single-select\n(radios) — fully backward compatible. Multiple selections are persisted as\na comma-joined key string so the existing string-based storage is unchanged.\n\nHonors an optional `theme` (WidgetTheme): when provided, the card adopts the\norganization's brand colors via inline styles that override the default\nTailwind palette. With no theme it renders exactly as before.",
|
|
15060
15112
|
"props": {
|
|
15061
15113
|
"question": {
|
|
15062
15114
|
"type": "string",
|
|
@@ -15076,12 +15128,32 @@
|
|
|
15076
15128
|
"selectedOption": {
|
|
15077
15129
|
"type": "string",
|
|
15078
15130
|
"required": false,
|
|
15079
|
-
"description": "The currently selected option key"
|
|
15131
|
+
"description": "The currently selected option key (single-select / historical view)"
|
|
15132
|
+
},
|
|
15133
|
+
"selectedOptions": {
|
|
15134
|
+
"type": "string[]",
|
|
15135
|
+
"required": false,
|
|
15136
|
+
"description": "Pre-selected option keys (multi-select / historical view)."
|
|
15137
|
+
},
|
|
15138
|
+
"maxSelections": {
|
|
15139
|
+
"type": "number",
|
|
15140
|
+
"required": false,
|
|
15141
|
+
"description": "Maximum number of options the user may pick.\nDefaults to 1 (single-select). >= 2 enables multi-select."
|
|
15142
|
+
},
|
|
15143
|
+
"minSelections": {
|
|
15144
|
+
"type": "number",
|
|
15145
|
+
"required": false,
|
|
15146
|
+
"description": "Minimum number of options required before Continue is enabled.\nDefaults to `maxSelections` when multi-select, otherwise 1."
|
|
15080
15147
|
},
|
|
15081
15148
|
"onSelect": {
|
|
15082
15149
|
"type": "(key: string) => void",
|
|
15083
15150
|
"required": false,
|
|
15084
|
-
"description": "Triggered when an option is selected"
|
|
15151
|
+
"description": "Triggered when an option is selected (fires with the last-toggled key)"
|
|
15152
|
+
},
|
|
15153
|
+
"onSelectMultiple": {
|
|
15154
|
+
"type": "(keys: string[]) => void",
|
|
15155
|
+
"required": false,
|
|
15156
|
+
"description": "Triggered on every selection change in multi-select mode with the full set."
|
|
15085
15157
|
},
|
|
15086
15158
|
"onProceed": {
|
|
15087
15159
|
"type": "(key: string) => void",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pxengine",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.98",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Shadcn-based UI component library for agent-driven interfaces",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -99,6 +99,8 @@
|
|
|
99
99
|
"react-hook-form": "^7.71.1",
|
|
100
100
|
"react-markdown": "^10.1.0",
|
|
101
101
|
"react-resizable-panels": "^4.5.2",
|
|
102
|
+
"highcharts": "^11.4.8",
|
|
103
|
+
"highcharts-react-official": "^3.2.3",
|
|
102
104
|
"recharts": "^2.15.4",
|
|
103
105
|
"remark-gfm": "^4.0.1",
|
|
104
106
|
"sonner": "^2.0.7",
|