@ng-primitives/mcp 0.117.0 → 0.117.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.117.0",
3
+ "version": "0.117.1",
4
4
  "description": "MCP server for Angular Primitives - headless UI library",
5
5
  "type": "commonjs",
6
6
  "main": "./src/index.js",
@@ -1125,8 +1125,15 @@
1125
1125
  },
1126
1126
  {
1127
1127
  "name": "ngpDialogTriggerCloseOnEscape",
1128
- "type": "boolean | undefined",
1129
- "description": "Whether the dialog should close on escape.",
1128
+ "type": "NgpDismissGuard<KeyboardEvent>",
1129
+ "description": "Whether the dialog should close on escape, or a guard function.",
1130
+ "isRequired": false,
1131
+ "defaultValue": "`true`"
1132
+ },
1133
+ {
1134
+ "name": "ngpDialogTriggerCloseOnOutsideClick",
1135
+ "type": "NgpDismissGuard<Element>",
1136
+ "description": "Whether the dialog should close on outside click, or a guard function.",
1130
1137
  "isRequired": false,
1131
1138
  "defaultValue": "`true`"
1132
1139
  }
@@ -2639,15 +2646,15 @@
2639
2646
  },
2640
2647
  {
2641
2648
  "name": "ngpPopoverTriggerCloseOnOutsideClick",
2642
- "type": "boolean",
2643
- "description": "Define whether the popover should close when clicking outside of it.",
2649
+ "type": "NgpDismissGuard<Element>",
2650
+ "description": "Define whether the popover should close when clicking outside of it, or a guard function.",
2644
2651
  "isRequired": false,
2645
2652
  "defaultValue": "true"
2646
2653
  },
2647
2654
  {
2648
2655
  "name": "ngpPopoverTriggerCloseOnEscape",
2649
- "type": "boolean",
2650
- "description": "Define whether the popover should close when the escape key is pressed.",
2656
+ "type": "NgpDismissGuard<KeyboardEvent>",
2657
+ "description": "Define whether the popover should close when the escape key is pressed, or a guard function.",
2651
2658
  "isRequired": false,
2652
2659
  "defaultValue": "true"
2653
2660
  },
@@ -3912,10 +3919,15 @@
3912
3919
  },
3913
3920
  {
3914
3921
  "name": "closeOnEscape",
3915
- "type": "boolean",
3916
- "description": "Whether the dialog should close when the user presses the escape key.",
3922
+ "type": "NgpDismissGuard<KeyboardEvent>",
3923
+ "description": "Whether the dialog should close when the user presses the escape key, or a guard function.",
3917
3924
  "default": "true"
3918
3925
  },
3926
+ {
3927
+ "name": "closeOnOutsideClick",
3928
+ "type": "NgpDismissGuard<Element>",
3929
+ "description": "Whether the dialog should close when clicking outside (on the overlay), or a guard function."
3930
+ },
3919
3931
  {
3920
3932
  "name": "closeOnClick",
3921
3933
  "type": "boolean",
@@ -4146,14 +4158,14 @@
4146
4158
  },
4147
4159
  {
4148
4160
  "name": "closeOnOutsideClick",
4149
- "type": "boolean",
4150
- "description": "Define whether the popover should close when clicking outside of it.",
4161
+ "type": "NgpDismissGuard<Element>",
4162
+ "description": "Define whether the popover should close when clicking outside of it, or a guard function.",
4151
4163
  "default": "true"
4152
4164
  },
4153
4165
  {
4154
4166
  "name": "closeOnEscape",
4155
- "type": "boolean",
4156
- "description": "Define whether the popover should close when the escape key is pressed.",
4167
+ "type": "NgpDismissGuard<KeyboardEvent>",
4168
+ "description": "Define whether the popover should close when the escape key is pressed, or a guard function.",
4157
4169
  "default": "true"
4158
4170
  },
4159
4171
  {
@@ -4262,13 +4274,13 @@
4262
4274
  },
4263
4275
  {
4264
4276
  "name": "closeOnOutsideClick",
4265
- "type": "boolean",
4266
- "description": "Whether to close the overlay when clicking outside"
4277
+ "type": "NgpDismissGuard<Element>",
4278
+ "description": "Whether to close the overlay when clicking outside, or a guard function"
4267
4279
  },
4268
4280
  {
4269
4281
  "name": "closeOnEscape",
4270
- "type": "boolean",
4271
- "description": "Whether to close the overlay when pressing escape"
4282
+ "type": "NgpDismissGuard<KeyboardEvent>",
4283
+ "description": "Whether to close the overlay when pressing escape, or a guard function"
4272
4284
  },
4273
4285
  {
4274
4286
  "name": "restoreFocus",
@@ -1154,7 +1154,9 @@
1154
1154
  "NgpOverlayContent",
1155
1155
  "NgpOverlayTemplateContext",
1156
1156
  "NgpOverlayCooldownManager",
1157
+ "dismissGuardAttribute",
1157
1158
  "NgpDismissGuard",
1159
+ "NgpDismissGuardInput",
1158
1160
  "NgpDismissPolicy",
1159
1161
  "NgpOverlayEntry",
1160
1162
  "NgpOverlayRef",