-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update version number * Update storybook version (#356) * Update storybook version * Fix problem with storybook addons * Try at adding json addon-control * Try changing addon-knobs to addon-controls * Update stories in the Allergy Intollerance component * Clean up config a little bit, add default argTypes, fix Adverse Event story * Updated stories for all elements from A to F * Finish rest of the components * Clean up code * Fix components * Remove useless packages, fix spacinf in components, fix wrong versions * Hide children control Co-authored-by: jaceksanko <[email protected]> Co-authored-by: jaceksanko <[email protected]>
- Loading branch information
1 parent
f30f375
commit 735591b
Showing
54 changed files
with
7,923 additions
and
6,116 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module.exports = { | ||
stories: ['../src/**/*.stories.@(js|mdx)'], | ||
addons: ['@storybook/preset-scss', '@storybook/addon-controls'], | ||
framework: '@storybook/react', | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { addons } from '@storybook/addons'; | ||
|
||
addons.setConfig({ | ||
name: 'FHIR-REACT storybook', | ||
showRoots: false, | ||
}); |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import '../src/components/ui/bootstrap-reboot.min.css'; | ||
import '../src/style.css'; | ||
import '../src/style.scss'; | ||
|
||
if (typeof document !== 'undefined') { | ||
require('bootstrap/dist/js/bootstrap.min.js'); | ||
} |
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.