@idealyst/mcp-server 1.2.119 → 11.2.120

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.
@@ -794,13 +794,17 @@ var componentMetadata = {
794
794
  "Standard, alert, and confirmation types",
795
795
  "Title and close button",
796
796
  "Backdrop click to close",
797
- "Animation types (slide, fade)"
797
+ "Animation types (slide, fade)",
798
+ "avoidKeyboard prop shifts dialog when keyboard opens (native)",
799
+ "height prop gives dialog a definite height so children can use flex: 1",
800
+ "Content area has flex: 1 \u2014 children can flex into available space"
798
801
  ],
799
802
  bestPractices: [
800
803
  "Use sparingly for important interactions",
801
804
  "Provide clear actions for dismissal",
802
805
  "Keep dialog content focused",
803
- "Use confirmation dialogs for destructive actions"
806
+ "Use confirmation dialogs for destructive actions",
807
+ "Use height or maxContentHeight when children need flex-based sizing"
804
808
  ]
805
809
  },
806
810
  Divider: {
@@ -1145,12 +1149,14 @@ var componentMetadata = {
1145
1149
  "Multiple sizes",
1146
1150
  "Character count",
1147
1151
  "Auto-resize",
1148
- "Error state"
1152
+ "Error state",
1153
+ "fill prop for flex-based sizing (fills available space)"
1149
1154
  ],
1150
1155
  bestPractices: [
1151
1156
  "Use for multi-line input",
1152
1157
  "Show character limits when applicable",
1153
- "Provide appropriate placeholder text"
1158
+ "Provide appropriate placeholder text",
1159
+ "Use fill prop inside Dialog with avoidKeyboard to shrink with keyboard"
1154
1160
  ]
1155
1161
  },
1156
1162
  TextInput: {
@@ -16186,8 +16192,8 @@ These are mistakes agents make repeatedly. Each one causes TypeScript compilatio
16186
16192
  11. **NavigatorProvider** takes a \`route\` prop (SINGULAR) \u2014 NOT \`routes\`: \`<NavigatorProvider route={routeConfig} />\`. There is NO \`Router\` export.
16187
16193
  12. Use \`useNavigator()\` \u2014 NOT \`useNavigate()\`.
16188
16194
  13. \`navigate()\` takes an **object**: \`navigate({ path: '/settings' })\` \u2014 NOT \`navigate('/settings')\` or \`navigate('routeName', params)\`. To pass data use \`vars\`: \`navigate({ path: '/detail/:id', vars: { id: '123' } })\` \u2014 NOT \`params\`: \`navigate({ path: '/detail', params: { id: '123' } })\` (no \`params\` property exists).
16189
- 14. \`useNavigationState\` returns \`Record<string, unknown>\` by default. Always provide a type parameter: \`useNavigationState<{ title?: string }>()\`.
16190
- 15. \`useParams()\` does NOT accept generic type arguments. It returns \`Record<string, string>\`. Do NOT write \`useParams<{ id: string }>()\` \u2014 that causes TS2558.
16195
+ 14. \`navigate({ state: {...} })\` values must be \`string | number | boolean\` \u2014 NO \`undefined\`, \`null\`, or objects. When forwarding state across wizard steps, ensure all values are defined before passing: \`navigate({ path: '/step2', state: { firstName: name, age: 25 } })\`. Do NOT use optional fields in state types.
16196
+ 15. \`useParams()\` does NOT accept generic type arguments. It returns \`Record<string, string | undefined>\`. Do NOT write \`useParams<{ id: string }>()\` \u2014 that causes TS2558. Always guard for undefined: \`const id = params.id; if (!id) return null;\`.
16191
16197
 
16192
16198
  ### Imports & Styling
16193
16199
  16. **Never** import from \`react-native\` \u2014 no \`TouchableOpacity\`, \`FlatList\`, \`ScrollView\`, \`Animated\`, \`Dimensions\`, \`Linking\`, \`Platform\`. Idealyst provides cross-platform alternatives for all of these (e.g., \`openExternalLinks\` on Markdown, \`Pressable\` from \`@idealyst/components\`). **\`ScrollView\` is NOT exported from \`@idealyst/components\`** \u2014 use \`<View scrollable>\` instead. Do NOT \`import { ScrollView } from '@idealyst/components'\` \u2014 it will cause a TS import error.
@@ -65667,7 +65673,7 @@ function postProcessComponentTypes(componentName, result) {
65667
65673
  }
65668
65674
  if (componentName.toLowerCase() === "textarea") {
65669
65675
  if (typeof result === "object" && result !== null) {
65670
- result.usageNote = "TextArea has a DIFFERENT API from TextInput. TextArea uses onChange (not onChangeText) and does NOT have onBlur. TextArea DOES support label, error, and rows props (TextInput does NOT support label/error). Always call get_component_types('TextArea') separately \u2014 do NOT assume it shares TextInput's props.";
65676
+ result.usageNote = "TextArea has a DIFFERENT API from TextInput. TextArea uses onChange (not onChangeText) and does NOT have onBlur. TextArea DOES support label, error, and rows props (TextInput does NOT support label/error). TextArea supports `fill` prop: when true, all container layers get flex: 1 so the textarea expands to fill available vertical space (useful inside Dialog with avoidKeyboard). Always call get_component_types('TextArea') separately \u2014 do NOT assume it shares TextInput's props.";
65671
65677
  }
65672
65678
  }
65673
65679
  if (componentName.toLowerCase() === "image") {
@@ -66535,4 +66541,4 @@ export {
66535
66541
  toolHandlers,
66536
66542
  callTool
66537
66543
  };
66538
- //# sourceMappingURL=chunk-UD56HXN3.js.map
66544
+ //# sourceMappingURL=chunk-RVMPULO4.js.map