-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/storybook delete addon knobs #934
Feature/storybook delete addon knobs #934
Conversation
.storybook/preview-body.html
Outdated
@@ -0,0 +1,7 @@ | |||
<style> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Est ce que cette surcharge ne pourrait pas être dans le css ?
jest.config.ts
Outdated
@@ -15,7 +15,9 @@ const config: Config.InitialOptions = { | |||
'!packages/**/src/**/*.stories.*', | |||
'!packages/**/src/**/*.spec.*', | |||
'!packages/**/src/index.{js,ts}', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Est ce que cette ligne n'est pas incluse dans la nouvelle ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah oui effectivement, je peux la supprimer
FileInputStoryRequired.args = { | ||
label: 'Image', | ||
name: 'placeImage', | ||
id: 'inputuniqueid', | ||
accept: 'image/jpeg, image/png, application/*', | ||
helpMessage: 'Take a photo af a place', | ||
message: '', | ||
messageType: MessageTypes.error, | ||
forceDisplayMessage: false, | ||
multiple: true, | ||
isVisible: true, | ||
readOnly: false, | ||
disabled: false, | ||
classModifier: 'required', | ||
className: '', | ||
classNameContainerLabel: 'col-md-2', | ||
classNameContainerInput: 'col-md-10', | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FileInputStoryRequired.args = { | |
label: 'Image', | |
name: 'placeImage', | |
id: 'inputuniqueid', | |
accept: 'image/jpeg, image/png, application/*', | |
helpMessage: 'Take a photo af a place', | |
message: '', | |
messageType: MessageTypes.error, | |
forceDisplayMessage: false, | |
multiple: true, | |
isVisible: true, | |
readOnly: false, | |
disabled: false, | |
classModifier: 'required', | |
className: '', | |
classNameContainerLabel: 'col-md-2', | |
classNameContainerInput: 'col-md-10', | |
}; | |
FileInputStoryRequired.args = { | |
...FileInputStory.args , | |
classModifier: 'required' | |
}; |
Related issue
#933
Description of the issue
rewrite stories and delete package addon-knobs