@ornikar/kitt-universal 23.0.0 → 23.0.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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [23.0.1](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@23.0.0...@ornikar/kitt-universal@23.0.1) (2023-12-28)
7
+
8
+ **Note:** Version bump only for package @ornikar/kitt-universal
9
+
10
+
11
+
12
+
13
+
6
14
  ## [23.0.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@22.3.0...@ornikar/kitt-universal@23.0.0) (2023-12-21)
7
15
 
8
16
 
@@ -3923,7 +3923,7 @@ function ExternalAppLink(_ref) {
3923
3923
  if (canOpen) {
3924
3924
  if (onPress) {
3925
3925
  onPress(e);
3926
- if (e !== null && e !== void 0 && e.defaultPrevented) return;
3926
+ if (e.defaultPrevented) return;
3927
3927
  }
3928
3928
  Linking.openURL(href).catch(error => {
3929
3929
  console.error(`An error occurred while opening ${href}`, error);
@@ -4010,14 +4010,14 @@ function ExternalLink(_ref) {
4010
4010
  onPress: e => {
4011
4011
  if (onPress) {
4012
4012
  onPress(e);
4013
- if (e !== null && e !== void 0 && e.defaultPrevented) return;
4013
+ if (e.defaultPrevented) return;
4014
4014
  }
4015
4015
  if (!href) return;
4016
4016
  openExternalLink({
4017
4017
  href,
4018
4018
  behavior: openLinkBehavior
4019
4019
  }).catch(error => {
4020
- onOpenLinkError === null || onOpenLinkError === void 0 || onOpenLinkError(`An error occurred while opening ${href}`, error);
4020
+ onOpenLinkError(`An error occurred while opening ${href}`, error);
4021
4021
  });
4022
4022
  }
4023
4023
  }));
@@ -9981,8 +9981,7 @@ function StoryContainer({
9981
9981
  }
9982
9982
 
9983
9983
  const StoryDecorator = (storyFn, context) => {
9984
- var _context$parameters;
9985
- if ((_context$parameters = context.parameters) !== null && _context$parameters !== void 0 && _context$parameters.disableStoryContainer) {
9984
+ if (context.parameters.disableStoryContainer) {
9986
9985
  return storyFn();
9987
9986
  }
9988
9987
  return /*#__PURE__*/jsx(Story, {