pxengine 0.1.96 → 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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pxengine/ui",
3
3
  "version": "1.0.0",
4
- "lastUpdated": "2026-06-12T08:06:13.206Z",
4
+ "lastUpdated": "2026-06-23T13:03:16.684Z",
5
5
  "components": {
6
6
  "AccordionAtom": {
7
7
  "name": "AccordionAtom",
@@ -12132,6 +12132,11 @@
12132
12132
  "required": false,
12133
12133
  "description": "Stable key for the answer in Q/A submission. Defaults to id."
12134
12134
  },
12135
+ "onValueChange": {
12136
+ "type": "(key: string, value: any) => void",
12137
+ "required": false,
12138
+ "description": "When provided, the atom renders as a live interactive input (not readOnly).\nCalled with (fieldKey | id, newValue) on every change."
12139
+ },
12135
12140
  "id": {
12136
12141
  "type": "string",
12137
12142
  "required": true,
@@ -13485,6 +13490,11 @@
13485
13490
  "required": false,
13486
13491
  "description": "Stable key for the answer in Q/A submission. Defaults to id."
13487
13492
  },
13493
+ "onValueChange": {
13494
+ "type": "(key: string, value: any) => void",
13495
+ "required": false,
13496
+ "description": "When provided, the atom renders as a live interactive input (not readOnly).\nCalled with (fieldKey | id, newValue) on every change."
13497
+ },
13488
13498
  "id": {
13489
13499
  "type": "string",
13490
13500
  "required": true,
@@ -13850,6 +13860,58 @@
13850
13860
  "height": 225
13851
13861
  }
13852
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
+ },
13853
13915
  "AudienceDemographicsCard": {
13854
13916
  "name": "AudienceDemographicsCard",
13855
13917
  "type": "molecule",
@@ -15046,7 +15108,7 @@
15046
15108
  "name": "MCQCard",
15047
15109
  "type": "molecule",
15048
15110
  "isBuilderComponent": true,
15049
- "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.",
15050
15112
  "props": {
15051
15113
  "question": {
15052
15114
  "type": "string",
@@ -15066,12 +15128,32 @@
15066
15128
  "selectedOption": {
15067
15129
  "type": "string",
15068
15130
  "required": false,
15069
- "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."
15070
15147
  },
15071
15148
  "onSelect": {
15072
15149
  "type": "(key: string) => void",
15073
15150
  "required": false,
15074
- "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."
15075
15157
  },
15076
15158
  "onProceed": {
15077
15159
  "type": "(key: string) => void",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pxengine",
3
- "version": "0.1.96",
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",