@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.
- package/CHANGELOG.md +21 -0
- package/dist/definitions/story-components/StoryDecorator.d.ts +1 -1
- package/dist/definitions/story-components/StoryDecorator.d.ts.map +1 -1
- package/dist/definitions/utils/storybook/ChromaticReducedMotionDecorator.d.ts +1 -1
- package/dist/definitions/utils/storybook/ChromaticReducedMotionDecorator.d.ts.map +1 -1
- package/dist/definitions/utils/storybook/KittThemeDecorator.d.ts +1 -1
- package/dist/definitions/utils/storybook/KittThemeDecorator.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +1 -1
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +1 -1
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.17.cjs.js +4 -4
- package/dist/index-node-22.17.cjs.js.map +1 -1
- package/dist/index-node-22.17.cjs.web.js +4 -4
- package/dist/index-node-22.17.cjs.web.js.map +1 -1
- package/dist/index-node-22.17.es.mjs +1 -1
- package/dist/index-node-22.17.es.mjs.map +1 -1
- package/dist/index-node-22.17.es.web.mjs +1 -1
- package/dist/index-node-22.17.es.web.mjs.map +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +1 -1
- package/dist/index.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +4 -4
|
@@ -23,7 +23,7 @@ const Svg = require('react-native-svg');
|
|
|
23
23
|
const picker$1 = require('@react-native-picker/picker');
|
|
24
24
|
const expoLinearGradient = require('expo-linear-gradient');
|
|
25
25
|
const reactNative$1 = require('@floating-ui/react-native');
|
|
26
|
-
const
|
|
26
|
+
const previewApi = require('@storybook/preview-api');
|
|
27
27
|
const isChromatic = require('chromatic/isChromatic');
|
|
28
28
|
|
|
29
29
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e["default"] : e; }
|
|
@@ -13180,7 +13180,7 @@ function StoryContainer({
|
|
|
13180
13180
|
});
|
|
13181
13181
|
}
|
|
13182
13182
|
|
|
13183
|
-
const StoryDecorator =
|
|
13183
|
+
const StoryDecorator = previewApi.makeDecorator({
|
|
13184
13184
|
name: 'StoryDecorator',
|
|
13185
13185
|
parameterName: 'storyDecorator',
|
|
13186
13186
|
wrapper: (storyFn, context) => {
|
|
@@ -14185,7 +14185,7 @@ const TypographyLink = /*#__PURE__*/React.forwardRef(({
|
|
|
14185
14185
|
});
|
|
14186
14186
|
});
|
|
14187
14187
|
|
|
14188
|
-
const ChromaticReducedMotionDecorator =
|
|
14188
|
+
const ChromaticReducedMotionDecorator = previewApi.makeDecorator({
|
|
14189
14189
|
name: 'ChromaticReducedMotionDecorator',
|
|
14190
14190
|
parameterName: 'chromaticReducedMotion',
|
|
14191
14191
|
wrapper: (storyFn, context) => /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
@@ -14208,7 +14208,7 @@ function KittThemeProvider({
|
|
|
14208
14208
|
children: children
|
|
14209
14209
|
});
|
|
14210
14210
|
}
|
|
14211
|
-
const KittThemeDecorator =
|
|
14211
|
+
const KittThemeDecorator = previewApi.makeDecorator({
|
|
14212
14212
|
name: 'ThemeDecorator',
|
|
14213
14213
|
parameterName: 'theme',
|
|
14214
14214
|
wrapper: (storyFn, context, {
|