Define .jpg, .png as initial values for accept at file uploader storybook
Define Add file as button label at file uploader storybook
Setup initialStateUploading as prop. Although used on code, it was set at the props definition (defineProps)
Fix a bug were state was not correctly set on reuploaded files
Setup disabled prop
Adjust value emitted on onItemRemove to comply with vue3 setup mode
Fix invalid value emitted exposed method clear
Add tests to exposed methods
Add missing 'button' kind to inputKinds array at spec
Why did you do it?
1520 is taking a more than expected due to limitations on storybook controls feature. As a few bugs were found and a missing feature, disabled, was created, a separate PR will split some of the responsibility and allow them to be review ready soon.
Contributes to #1519
What did you do?
.jpg, .png
as initial values foraccept
at file uploader storybookAdd file
as button label at file uploader storybookinitialStateUploading
as prop. Although used on code, it was set at the props definition (defineProps
)disabled
proponItemRemove
to comply with vue3 setup modeclear
inputKinds
array at specWhy did you do it?
1520 is taking a more than expected due to limitations on storybook controls feature. As a few bugs were found and a missing feature,
disabled
, was created, a separate PR will split some of the responsibility and allow them to be review ready soon.How have you tested it?
Yes, through storybook and new automated tests
Were docs updated if needed?