-
-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
102 changed files
with
32,309 additions
and
5,212 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,9 @@ | ||
# Roadmap | ||
|
||
Now that V6.5 is ready, we're looking to the future. Here's what we're working on next: | ||
|
||
- Firstly stablise the V6.5 release | ||
- Version 7 | ||
- Support story categorisation for more organisation in the story list sidebar | ||
- Experiment with use of metro’s experimental `require.context` to simplify story imports | ||
- Better testing support, potentially support interaction tests with the play function | ||
- Better integration with `@storybook/addon-react-native-web` | ||
- Better way to display addons to avoid shrinking the preview | ||
- … and more | ||
- [x] Create a roadmap | ||
- [ ] UI overhaul | ||
- [ ] Redo theming | ||
- [ ] integrate reanimated and gorhom as new dependencies | ||
- [ ] New storybook/react-native-ui library for ondevice ui components | ||
- [ ] implement new ondevice ui based on storybook v8 mobile design | ||
- [ ] improve controls api implementation to match more closely web api |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
examples/expo-example/components/ActionExample/Actions.stories.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,19 @@ | ||
// Learn more https://docs.expo.io/guides/customizing-metro | ||
const { getDefaultConfig } = require('expo/metro-config'); | ||
const { mergeConfig } = require('metro-config'); | ||
const path = require('path'); | ||
const defaultConfig = getDefaultConfig(__dirname); | ||
|
||
// const { writeRequires } = require('@storybook/react-native/scripts/loader'); | ||
const { generate } = require('@storybook/react-native/scripts/generate'); | ||
|
||
generate({ | ||
configPath: path.resolve(__dirname, './.storybook'), | ||
}); | ||
|
||
// writeRequires({ | ||
// configPath: path.resolve(__dirname, './.storybook'), | ||
// unstable_useRequireContext: false, | ||
// }); | ||
defaultConfig.transformer.unstable_allowRequireContext = true; | ||
|
||
module.exports = (async () => { | ||
return mergeConfig(defaultConfig, { | ||
resolver: { | ||
// unstable_enablePackageExports: true, | ||
disableHierarchicalLookup: true, | ||
unstable_enableSymlinks: true, | ||
resolveRequest: (context, moduleName, platform) => { | ||
const defaultResolveResult = context.resolveRequest(context, moduleName, platform); | ||
defaultConfig.watchFolders.push('../../packages/react-native-ui'); | ||
|
||
if ( | ||
process.env.STORYBOOK_ENABLED !== 'true' && | ||
defaultResolveResult?.filePath?.includes?.('.storybook/') | ||
) { | ||
return { | ||
type: 'empty', | ||
}; | ||
} | ||
// causing breakage :( | ||
// defaultConfig.resolver.disableHierarchicalLookup = true; | ||
|
||
return defaultResolveResult; | ||
}, | ||
}, | ||
transformer: { | ||
unstable_allowRequireContext: true, | ||
}, | ||
}); | ||
})(); | ||
module.exports = defaultConfig; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"npmClient": "yarn", | ||
"registry": "https://registry.npmjs.org", | ||
"version": "8.0.0-alpha.2" | ||
"version": "8.0.0-alpha.4" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.