@fluentui-react-native/callout 0.19.5 → 0.19.6

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/CHANGELOG.json CHANGED
@@ -2,7 +2,22 @@
2
2
  "name": "@fluentui-react-native/callout",
3
3
  "entries": [
4
4
  {
5
- "date": "Fri, 17 Dec 2021 22:04:25 GMT",
5
+ "date": "Fri, 17 Dec 2021 22:42:02 GMT",
6
+ "tag": "@fluentui-react-native/callout_v0.19.6",
7
+ "version": "0.19.6",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "sanajmi@microsoft.com",
12
+ "package": "@fluentui-react-native/callout",
13
+ "commit": "9dc61df83605c035822518c18cc46fb5503dff70",
14
+ "comment": "remove carbon header"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Fri, 17 Dec 2021 22:06:58 GMT",
6
21
  "tag": "@fluentui-react-native/callout_v0.19.5",
7
22
  "version": "0.19.5",
8
23
  "comments": {
@@ -11,7 +26,7 @@
11
26
  "author": "beachball",
12
27
  "package": "@fluentui-react-native/callout",
13
28
  "comment": "Bump @fluentui-react-native/interactive-hooks to v0.11.4",
14
- "commit": "b9ea5eb1409f37305169f75398fa7f41229cefbd"
29
+ "commit": "9dc61df83605c035822518c18cc46fb5503dff70"
15
30
  }
16
31
  ]
17
32
  }
package/CHANGELOG.md CHANGED
@@ -1,12 +1,20 @@
1
1
  # Change Log - @fluentui-react-native/callout
2
2
 
3
- This log was last generated on Fri, 17 Dec 2021 22:04:25 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 17 Dec 2021 22:42:02 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 0.19.6
8
+
9
+ Fri, 17 Dec 2021 22:42:02 GMT
10
+
11
+ ### Patches
12
+
13
+ - remove carbon header (sanajmi@microsoft.com)
14
+
7
15
  ## 0.19.5
8
16
 
9
- Fri, 17 Dec 2021 22:04:25 GMT
17
+ Fri, 17 Dec 2021 22:06:58 GMT
10
18
 
11
19
  ### Patches
12
20
 
@@ -1,6 +1,5 @@
1
1
  import Foundation
2
2
  import AppKit
3
- import Carbon.HIToolbox
4
3
 
5
4
  protocol CalloutWindowLifeCycleDelegate: AnyObject {
6
5
  /// Notify the delegate that the Callout is about to dismiss
@@ -41,14 +40,9 @@ class CalloutWindow: NSWindow {
41
40
  return false
42
41
  }
43
42
 
44
- // Dismiss the Callout if the user presses the Escape Key
45
- override func keyDown(with event: NSEvent) {
46
- switch Int(event.keyCode) {
47
- case kVK_Escape:
48
- dismissCallout()
49
- default:
50
- return super.keyDown(with: event)
51
- }
43
+ // Required to close the window on escape key press
44
+ override func cancelOperation(_ sender: Any?) {
45
+ dismissCallout()
52
46
  }
53
47
 
54
48
  @objc private func dismissCallout() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui-react-native/callout",
3
- "version": "0.19.5",
3
+ "version": "0.19.6",
4
4
  "description": "A cross-platform Callout component using the Fluent Design System",
5
5
  "license": "MIT",
6
6
  "author": "",