@ng-primitives/mcp 0.96.0 → 0.97.0
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
|
@@ -770,6 +770,11 @@
|
|
|
770
770
|
"name": "example-3",
|
|
771
771
|
"code": "offset: {\n mainAxis: 8, // Distance between menu and trigger element\n crossAxis: 4, // Skidding along the alignment axis \n alignmentAxis: 2 // Same as crossAxis but for aligned placements\n }",
|
|
772
772
|
"description": "NgpMenuConfig"
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
"name": "example-4",
|
|
776
|
+
"code": "shift: {\n padding: 8, // Minimum padding between menu and viewport edges\n limiter: { // Optional limiter to control shifting behavior\n fn: limitShift,\n options: { /* limiter options */ }\n }\n }",
|
|
777
|
+
"description": "NgpMenuConfig"
|
|
773
778
|
}
|
|
774
779
|
],
|
|
775
780
|
"reusableComponent": {
|
|
@@ -885,6 +890,11 @@
|
|
|
885
890
|
"name": "example-3",
|
|
886
891
|
"code": "offset: {\n mainAxis: 8, // Distance between popover and trigger element\n crossAxis: 4, // Skidding along the alignment axis \n alignmentAxis: 2 // Same as crossAxis but for aligned placements\n }",
|
|
887
892
|
"description": "NgpPopoverConfig"
|
|
893
|
+
},
|
|
894
|
+
{
|
|
895
|
+
"name": "example-4",
|
|
896
|
+
"code": "shift: {\n padding: 8, // Minimum padding between popover and viewport edges\n limiter: { // Optional limiter to control shifting behavior\n fn: limitShift,\n options: { /* limiter options */ }\n }\n }",
|
|
897
|
+
"description": "NgpPopoverConfig"
|
|
888
898
|
}
|
|
889
899
|
],
|
|
890
900
|
"reusableComponent": {
|
|
@@ -897,6 +907,10 @@
|
|
|
897
907
|
"name": "portal",
|
|
898
908
|
"entryPoint": "ng-primitives/portal",
|
|
899
909
|
"exports": [
|
|
910
|
+
"coerceOffset",
|
|
911
|
+
"NgpOffset",
|
|
912
|
+
"NgpOffsetInput",
|
|
913
|
+
"NgpOffsetOptions",
|
|
900
914
|
"createOverlay",
|
|
901
915
|
"injectOverlay",
|
|
902
916
|
"NgpOverlay",
|
|
@@ -913,10 +927,10 @@
|
|
|
913
927
|
"BlockScrollStrategy",
|
|
914
928
|
"NoopScrollStrategy",
|
|
915
929
|
"ScrollStrategy",
|
|
916
|
-
"
|
|
917
|
-
"
|
|
918
|
-
"
|
|
919
|
-
"
|
|
930
|
+
"coerceShift",
|
|
931
|
+
"NgpShift",
|
|
932
|
+
"NgpShiftInput",
|
|
933
|
+
"NgpShiftOptions"
|
|
920
934
|
],
|
|
921
935
|
"hasSecondaryEntryPoint": true,
|
|
922
936
|
"category": "layout",
|
|
@@ -1529,6 +1543,11 @@
|
|
|
1529
1543
|
"name": "example-5",
|
|
1530
1544
|
"code": "offset: {\n mainAxis: 8, // Distance between tooltip and trigger element\n crossAxis: 4, // Skidding along the alignment axis\n alignmentAxis: 2 // Same as crossAxis but for aligned placements\n}",
|
|
1531
1545
|
"description": "NgpTooltipConfig"
|
|
1546
|
+
},
|
|
1547
|
+
{
|
|
1548
|
+
"name": "example-6",
|
|
1549
|
+
"code": "shift: {\n padding: 8, // Minimum padding between tooltip and viewport edges\n limiter: { // Optional limiter to control shifting behavior\n fn: limitShift,\n options: { /* limiter options */ }\n }\n}",
|
|
1550
|
+
"description": "NgpTooltipConfig"
|
|
1532
1551
|
}
|
|
1533
1552
|
],
|
|
1534
1553
|
"reusableComponent": {
|