@ng-primitives/mcp 0.128.4 → 0.128.5

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.128.4",
3
+ "version": "0.128.5",
4
4
  "description": "MCP server for Angular Primitives - headless UI library",
5
5
  "type": "commonjs",
6
6
  "main": "./src/index.js",
@@ -231,6 +231,12 @@
231
231
  "type": "boolean",
232
232
  "description": "Whether the dictation button should be disabled.",
233
233
  "isRequired": false
234
+ },
235
+ {
236
+ "name": "ngpPromptComposerDictationLanguage",
237
+ "type": "string | undefined",
238
+ "description": "The BCP 47 language tag dictation transcribes in, e.g. `en-US` or `es-ES`.\nDefaults to the page's own language: the document's `lang` attribute, then the browser's.",
239
+ "isRequired": false
234
240
  }
235
241
  ],
236
242
  "outputs": []
@@ -2222,6 +2228,16 @@
2222
2228
  }
2223
2229
  ]
2224
2230
  },
2231
+ "NgpMenuTriggerGroup": {
2232
+ "name": "NgpMenuTriggerGroup",
2233
+ "description": "The `NgpMenuTriggerGroup` directive wraps a set of sibling `NgpMenuTrigger` elements,\nsuch as the items of a vertical navigation menu, so that moving the pointer from an\nopen menu's trigger toward the menu itself does not accidentally open a sibling\ntrigger it passes over on the way.",
2234
+ "selector": "[ngpMenuTriggerGroup]",
2235
+ "exportAs": [
2236
+ "ngpMenuTriggerGroup"
2237
+ ],
2238
+ "inputs": [],
2239
+ "outputs": []
2240
+ },
2225
2241
  "NgpMenuItemRadioGroup": {
2226
2242
  "name": "NgpMenuItemRadioGroup",
2227
2243
  "description": "The `NgpMenuItemRadioGroup` directive represents a group of radio menu items.",
@@ -3291,6 +3307,13 @@
3291
3307
  "description": "Define the cooldown duration in milliseconds.\nWhen moving from one popover to another within this duration,\nthe showDelay is skipped for the new popover.\n@default 0",
3292
3308
  "isRequired": false,
3293
3309
  "defaultValue": "0"
3310
+ },
3311
+ {
3312
+ "name": "ngpPopoverTriggerKeepMounted",
3313
+ "type": "boolean",
3314
+ "description": "When true, hiding the popover removes its content from the DOM but keeps the\nunderlying component/view instance alive in memory instead of destroying it - a\nlater show reuses the same instance rather than creating a new one, so the content\nis not re-instantiated and any one-time setup (e.g. a network fetch) is not repeated.\nThe kept-alive view stays attached to change detection while it is hidden.\n@default false",
3315
+ "isRequired": false,
3316
+ "defaultValue": "false"
3294
3317
  }
3295
3318
  ],
3296
3319
  "outputs": [
@@ -4544,6 +4567,17 @@
4544
4567
  }
4545
4568
  ]
4546
4569
  },
4570
+ "NgpAiConfig": {
4571
+ "name": "NgpAiConfig",
4572
+ "properties": [
4573
+ {
4574
+ "name": "dictationLanguage",
4575
+ "type": "string | undefined",
4576
+ "description": "The BCP 47 language tag dictation transcribes in, e.g. `en-US` or `es-ES`. When undefined the page's own language is used: the document's `lang` attribute, falling back to the browser's language.",
4577
+ "default": "undefined"
4578
+ }
4579
+ ]
4580
+ },
4547
4581
  "NgpAvatarConfig": {
4548
4582
  "name": "NgpAvatarConfig",
4549
4583
  "properties": [
@@ -4975,6 +5009,12 @@
4975
5009
  "type": "number",
4976
5010
  "description": "Cooldown duration in milliseconds. When moving from one popover to another within this duration, the showDelay is skipped for the new popover.",
4977
5011
  "default": "0"
5012
+ },
5013
+ {
5014
+ "name": "keepMounted",
5015
+ "type": "boolean",
5016
+ "description": "When true, hiding the popover removes its content from the DOM but keeps the underlying component/view instance alive in memory instead of destroying it - a later show reuses the same instance rather than creating a new one, so the content is not re-instantiated and any one-time setup (e.g. a network fetch) is not repeated. The kept-alive view stays attached to change detection while it is hidden.",
5017
+ "default": "false"
4978
5018
  }
4979
5019
  ]
4980
5020
  },
@@ -5106,6 +5146,12 @@
5106
5146
  "type": "string",
5107
5147
  "description": "Overlay type identifier for cooldown grouping. When set, overlays of the same type share a cooldown period. For example, 'tooltip' ensures quickly moving between tooltips shows the second one immediately without the showDelay."
5108
5148
  },
5149
+ {
5150
+ "name": "keepMounted",
5151
+ "type": "Signal<boolean>",
5152
+ "description": "When true, hiding the overlay removes its content from the DOM but keeps the underlying component/view instance alive in memory instead of destroying it - a later `show()` re-inserts the same instance rather than creating a new one, so the content is not re-instantiated and any one-time setup is not repeated. The kept-alive view stays attached to change detection while it is hidden. Read on each hide, so a trigger can hand over an input signal and let it change.",
5153
+ "default": "false"
5154
+ },
5109
5155
  {
5110
5156
  "name": "cooldown",
5111
5157
  "type": "number",
@@ -137,7 +137,9 @@
137
137
  "ngpThreadMessage",
138
138
  "provideThreadMessageState",
139
139
  "injectThreadMessageState",
140
- "type NgpThreadMessageState"
140
+ "type NgpThreadMessageState",
141
+ "NgpAiConfig",
142
+ "provideAiConfig"
141
143
  ],
142
144
  "hasSecondaryEntryPoint": true,
143
145
  "category": "utility",
@@ -1131,7 +1133,14 @@
1131
1133
  "injectSubmenuTriggerState",
1132
1134
  "NgpSubmenuTriggerProps",
1133
1135
  "NgpSubmenuTriggerState",
1134
- "provideSubmenuTriggerState"
1136
+ "provideSubmenuTriggerState",
1137
+ "NgpMenuTriggerGroup",
1138
+ "NgpMenuTriggerGroupStateToken",
1139
+ "ngpMenuTriggerGroup",
1140
+ "injectMenuTriggerGroupState",
1141
+ "provideMenuTriggerGroupState",
1142
+ "type NgpMenuTriggerGroupState",
1143
+ "type NgpMenuTriggerGroupProps"
1135
1144
  ],
1136
1145
  "hasSecondaryEntryPoint": true,
1137
1146
  "category": "navigation",
@@ -1143,7 +1152,7 @@
1143
1152
  "examples": [
1144
1153
  {
1145
1154
  "name": "example-0",
1146
- "code": "import {\n NgpMenu,\n NgpMenuItem,\n NgpMenuTrigger,\n NgpSubmenuTrigger,\n NgpMenuItemCheckbox,\n NgpMenuItemRadioGroup,\n NgpMenuItemRadio,\n NgpMenuItemIndicator,\n} from 'ng-primitives/menu';",
1155
+ "code": "import {\n NgpMenu,\n NgpMenuItem,\n NgpMenuTrigger,\n NgpMenuTriggerGroup,\n NgpSubmenuTrigger,\n NgpMenuItemCheckbox,\n NgpMenuItemRadioGroup,\n NgpMenuItemRadio,\n NgpMenuItemIndicator,\n} from 'ng-primitives/menu';",
1147
1156
  "description": "Import"
1148
1157
  },
1149
1158
  {
@@ -1558,7 +1567,7 @@
1558
1567
  },
1559
1568
  {
1560
1569
  "name": "example-5",
1561
- "code": "import { providePopoverConfig } from 'ng-primitives/popover';\n\nbootstrapApplication(AppComponent, {\n providers: [\n providePopoverConfig({\n offset: 4,\n placement: 'top',\n showDelay: 0,\n hideDelay: 0,\n flip: true,\n container: document.body,\n closeOnOutsideClick: true,\n scrollBehavior: 'reposition',\n cooldown: 0,\n }),\n ],\n});",
1570
+ "code": "import { providePopoverConfig } from 'ng-primitives/popover';\n\nbootstrapApplication(AppComponent, {\n providers: [\n providePopoverConfig({\n offset: 4,\n placement: 'top',\n showDelay: 0,\n hideDelay: 0,\n flip: true,\n container: document.body,\n closeOnOutsideClick: true,\n scrollBehavior: 'reposition',\n cooldown: 0,\n keepMounted: false,\n }),\n ],\n});",
1562
1571
  "description": "Global Configuration"
1563
1572
  }
1564
1573
  ],
@@ -1587,6 +1596,7 @@
1587
1596
  "NgpOverlayConfig",
1588
1597
  "NgpOverlayContent",
1589
1598
  "NgpOverlayTemplateContext",
1599
+ "OverlayHideImmediateOptions",
1590
1600
  "NgpOverlayCooldownManager",
1591
1601
  "dismissGuardAttribute",
1592
1602
  "NgpDismissGuard",
@@ -1606,6 +1616,8 @@
1606
1616
  "createPortal",
1607
1617
  "NgpComponentPortal",
1608
1618
  "NgpPortal",
1619
+ "NgpPortalAttachOptions",
1620
+ "NgpPortalDetachOptions",
1609
1621
  "NgpTemplatePortal",
1610
1622
  "NgpPosition",
1611
1623
  "NgpBoundary",