@ornikar/kitt-universal 32.5.0 → 32.5.1-canary.5ba1adb7ef6f41e2165abd46b6c8df65c0325fc7.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.
@@ -21,7 +21,7 @@ const reactNativeSafeAreaContext = require('react-native-safe-area-context');
21
21
  const Svg = require('react-native-svg');
22
22
  const reactDom$1 = require('@floating-ui/react-dom');
23
23
  const expoLinearGradient = require('expo-linear-gradient');
24
- const addons = require('@storybook/addons');
24
+ const previewApi = require('@storybook/preview-api');
25
25
  const isChromatic = require('chromatic/isChromatic');
26
26
 
27
27
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e["default"] : e; }
@@ -12537,7 +12537,7 @@ function StoryContainer({
12537
12537
  });
12538
12538
  }
12539
12539
 
12540
- const StoryDecorator = addons.makeDecorator({
12540
+ const StoryDecorator = previewApi.makeDecorator({
12541
12541
  name: 'StoryDecorator',
12542
12542
  parameterName: 'storyDecorator',
12543
12543
  wrapper: (storyFn, context) => {
@@ -13493,7 +13493,7 @@ const TypographyLink = /*#__PURE__*/react.forwardRef(({
13493
13493
  });
13494
13494
  });
13495
13495
 
13496
- const ChromaticReducedMotionDecorator = addons.makeDecorator({
13496
+ const ChromaticReducedMotionDecorator = previewApi.makeDecorator({
13497
13497
  name: 'ChromaticReducedMotionDecorator',
13498
13498
  parameterName: 'chromaticReducedMotion',
13499
13499
  wrapper: (storyFn, context) => /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
@@ -13516,7 +13516,7 @@ function KittThemeProvider({
13516
13516
  children: children
13517
13517
  });
13518
13518
  }
13519
- const KittThemeDecorator = addons.makeDecorator({
13519
+ const KittThemeDecorator = previewApi.makeDecorator({
13520
13520
  name: 'ThemeDecorator',
13521
13521
  parameterName: 'theme',
13522
13522
  wrapper: (storyFn, context, {