@ng-primitives/mcp 0.99.6 → 0.100.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ng-primitives/mcp",
3
- "version": "0.99.6",
3
+ "version": "0.100.1",
4
4
  "description": "MCP server for Angular Primitives - headless UI library",
5
5
  "type": "commonjs",
6
6
  "main": "./src/index.js",
@@ -470,6 +470,12 @@
470
470
  "type": "boolean",
471
471
  "description": "The disabled state of the option.",
472
472
  "isRequired": false
473
+ },
474
+ {
475
+ "name": "ngpComboboxOptionIndex",
476
+ "type": "number | undefined",
477
+ "description": "The index of the option in the combobox. This can be used to define the order of options\nwhen virtual scrolling is used or when the order is not determined by DOM order.",
478
+ "isRequired": false
473
479
  }
474
480
  ],
475
481
  "outputs": []
@@ -523,6 +529,18 @@
523
529
  "type": "string | HTMLElement | null",
524
530
  "description": "The container for the dropdown.",
525
531
  "isRequired": false
532
+ },
533
+ {
534
+ "name": "ngpComboboxScrollToOption",
535
+ "type": "((index: number) => void) | undefined",
536
+ "description": "A function that will scroll the active option into view. This can be overridden\nfor cases such as virtual scrolling where we cannot scroll the option directly because\nit may not be rendered.",
537
+ "isRequired": false
538
+ },
539
+ {
540
+ "name": "ngpComboboxOptions",
541
+ "type": "any[] | undefined",
542
+ "description": "Provide all the option values to the combobox. This is useful for virtual scrolling scenarios\nwhere not all options are rendered in the DOM. This is not an alternative to adding the options\nin the DOM, it is only to provide the combobox with the full list of options. This list should match\nthe order of the options as they would appear in the DOM.",
543
+ "isRequired": false
526
544
  }
527
545
  ],
528
546
  "outputs": [
@@ -1545,7 +1563,7 @@
1545
1563
  },
1546
1564
  {
1547
1565
  "name": "ngpMenuTriggerScrollBehavior",
1548
- "type": "\"block\" | \"reposition\"",
1566
+ "type": "\"reposition\" | \"block\"",
1549
1567
  "description": "Defines how the menu behaves when the window is scrolled.",
1550
1568
  "isRequired": false,
1551
1569
  "defaultValue": "'block'"
@@ -1866,7 +1884,7 @@
1866
1884
  },
1867
1885
  {
1868
1886
  "name": "ngpPopoverTriggerScrollBehavior",
1869
- "type": "\"block\" | \"reposition\"",
1887
+ "type": "\"reposition\" | \"block\"",
1870
1888
  "description": "Defines how the popover behaves when the window is scrolled.",
1871
1889
  "isRequired": false,
1872
1890
  "defaultValue": "'reposition'"
@@ -2179,6 +2197,12 @@
2179
2197
  "type": "boolean",
2180
2198
  "description": "The disabled state of the option.",
2181
2199
  "isRequired": false
2200
+ },
2201
+ {
2202
+ "name": "ngpSelectOptionIndex",
2203
+ "type": "number | undefined",
2204
+ "description": "The index of the option in the list.",
2205
+ "isRequired": false
2182
2206
  }
2183
2207
  ],
2184
2208
  "outputs": []
@@ -2226,6 +2250,18 @@
2226
2250
  "type": "string | HTMLElement | null",
2227
2251
  "description": "The container for the dropdown.",
2228
2252
  "isRequired": false
2253
+ },
2254
+ {
2255
+ "name": "ngpSelectScrollToOption",
2256
+ "type": "((index: number) => void) | undefined",
2257
+ "description": "A function that will scroll the active option into view. This can be overridden\nfor cases such as virtual scrolling where we cannot scroll the option directly because\nit may not be rendered.",
2258
+ "isRequired": false
2259
+ },
2260
+ {
2261
+ "name": "ngpSelectOptions",
2262
+ "type": "any[] | undefined",
2263
+ "description": "Provide all the option values to the select. This is useful for virtual scrolling scenarios\nwhere not all options are rendered in the DOM. This is not an alternative to adding the options\nin the DOM, it is only to provide the select with the full list of options. This list should match\nthe order of the options as they would appear in the DOM.",
2264
+ "isRequired": false
2229
2265
  }
2230
2266
  ],
2231
2267
  "outputs": [