Skip to content
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

Merged
merged 15 commits into from
Nov 18, 2021

Conversation

samuel-gomez-axa
Copy link
Contributor

Related issue

#933

Description of the issue

rewrite stories and delete package addon-knobs

@@ -0,0 +1,7 @@
<style>
Copy link
Contributor

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}',
Copy link
Contributor

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 ?

Copy link
Contributor

@samuel-gomez samuel-gomez Nov 16, 2021

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

Comment on lines 59 to 76
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',
};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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'
};

@samuel-gomez-axa samuel-gomez-axa merged commit b77ae97 into master Nov 18, 2021
@delete-merged-branch delete-merged-branch bot deleted the feature/storybook-delete-addon-knobs branch November 18, 2021 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Storybook Storybook issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants