@juicesharp/rpiv-ask-user-question 1.13.0 → 1.14.1

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.
@@ -102,16 +102,27 @@ Preview content is rendered as markdown in a monospace box. Multi-line text with
102
102
 
103
103
  const itemsByTab: WrappingSelectItem[][] = typed.questions.map((q) => buildItemsForQuestion(q));
104
104
 
105
- const result = await ctx.ui.custom<QuestionnaireResult>((tui, theme, _kb, done) => {
106
- const session = new QuestionnaireSession({
107
- tui,
108
- theme,
109
- params: typed,
110
- itemsByTab,
111
- done,
112
- });
113
- return session.component;
114
- });
105
+ const result = await ctx.ui.custom<QuestionnaireResult>(
106
+ (tui, theme, _kb, done) => {
107
+ const session = new QuestionnaireSession({
108
+ tui,
109
+ theme,
110
+ params: typed,
111
+ itemsByTab,
112
+ done,
113
+ });
114
+ return session.component;
115
+ },
116
+ {
117
+ overlay: true,
118
+ overlayOptions: {
119
+ anchor: "bottom-center",
120
+ width: "100%",
121
+ maxHeight: "100%",
122
+ margin: { left: 0, right: 0, bottom: 0 },
123
+ },
124
+ },
125
+ );
115
126
 
116
127
  return buildQuestionnaireResponse(result, typed);
117
128
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juicesharp/rpiv-ask-user-question",
3
- "version": "1.13.0",
3
+ "version": "1.14.1",
4
4
  "description": "Pi extension. A structured questionnaire the model can put to you when it would otherwise guess, with typed options instead of free-form replies.",
5
5
  "keywords": [
6
6
  "pi-package",
@@ -87,6 +87,6 @@
87
87
  }
88
88
  },
89
89
  "dependencies": {
90
- "@juicesharp/rpiv-config": "^1.13.0"
90
+ "@juicesharp/rpiv-config": "^1.14.1"
91
91
  }
92
92
  }