@adoptai/genui-components 0.1.59 → 0.1.60

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,6 +1,6 @@
1
1
  {
2
- "version": "0.1.59",
3
- "generated_at": "2026-06-29T12:53:38.720Z",
2
+ "version": "0.1.60",
3
+ "generated_at": "2026-07-02T18:39:37.597Z",
4
4
  "schema_count": 60,
5
5
  "schemas": {
6
6
  "data-table": {
@@ -5089,7 +5089,7 @@
5089
5089
  "type": "array",
5090
5090
  "minItems": 1,
5091
5091
  "maxItems": 5,
5092
- "description": "Mutually-exclusive resolution choices; mark one `recommended` to make it primary",
5092
+ "description": "Mutually-exclusive resolution choices; mark one `recommended` to make it primary. An option that carries a numeric figure the user may want to tune (e.g. 'Book reserve' at 50 units) should set `value` (your suggested figure) and `adjust` ({min,max[,step,unit]}) — the card then lets the user fine-tune the number within that range before confirming.",
5093
5093
  "items": {
5094
5094
  "type": "object",
5095
5095
  "properties": {
@@ -5101,6 +5101,34 @@
5101
5101
  },
5102
5102
  "recommended": {
5103
5103
  "type": "boolean"
5104
+ },
5105
+ "value": {
5106
+ "type": "number",
5107
+ "description": "Suggested numeric figure for this option (the starting point of the adjuster)"
5108
+ },
5109
+ "adjust": {
5110
+ "type": "object",
5111
+ "description": "Allow the user to tune `value` within this inclusive range before resolving",
5112
+ "properties": {
5113
+ "min": {
5114
+ "type": "number"
5115
+ },
5116
+ "max": {
5117
+ "type": "number"
5118
+ },
5119
+ "step": {
5120
+ "type": "number",
5121
+ "description": "Increment granularity; defaults to a sensible step for the range"
5122
+ },
5123
+ "unit": {
5124
+ "type": "string",
5125
+ "description": "Short unit suffix shown after the number, e.g. 'units', '%', 'hrs'"
5126
+ }
5127
+ },
5128
+ "required": [
5129
+ "min",
5130
+ "max"
5131
+ ]
5104
5132
  }
5105
5133
  },
5106
5134
  "required": [
@@ -5126,6 +5154,10 @@
5126
5154
  "properties": {
5127
5155
  "option": {
5128
5156
  "type": "string"
5157
+ },
5158
+ "value": {
5159
+ "type": "number",
5160
+ "description": "Adjusted figure the user confirmed, when the option was adjustable"
5129
5161
  }
5130
5162
  },
5131
5163
  "required": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adoptai/genui-components",
3
- "version": "0.1.59",
3
+ "version": "0.1.60",
4
4
  "description": "Schema-driven generative UI components for Adopt agents",
5
5
  "private": false,
6
6
  "license": "UNLICENSED",