Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- `Upload` migrates to Vue 3. Changes sufficient to render the documentation page of `Upload` are made. - In `src/components/upload/Upload.vue`, - `v-model` binding conforms to Vue 3, - `value` prop --> `model-value` - `input` event --> `update:modelValue` - `class` and `style` specified to an `Upload` component are copied to the root `label` of `Upload`, because they are not copied to the root element if `inheritAttrs` is `false` on Vue 3. A new computed value `classAndStyle` extracts `class` and `style` from `$attrs`. - Events to be emitted are listed in `emits`. - `disabled` is replaced with a new computed value `disabledOrUndefined` that takes `true` or `undefined`. This is introduced because setting a boolean attribute to `false` does not remove it on Vue 3, `null` or `undefined` has to be given to remove it. - Automatic ESLint fix is applied.
- Loading branch information