-
Notifications
You must be signed in to change notification settings - Fork 342
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: tab animation when link * fix(tabs): what for router link changes * feat(data-table): add no-data slot * fix(counter/#4281): disable button in readonly VaCounter * fix(file-upload/#4282): add file incorrect i18n key * Fixed scoped class on modal (#4274) * Try to resolve $t from vue global properties (#4244) (#4256) * Try to resolve $t from vue global properties #4244 * fix(docs/i18n): move back vuestic key in example * docs(i18n): remove extra steps in vue-i18n --------- Co-authored-by: Maksim Nedoshev <m0ksem1337@gmail.com> * Let VaDateInput accept a null value (#4169) * Allow a user to have a null date input. Devs will have to handle validation as they normal would with other controlls. * Updated to use props.clearValue and merged develop back in * fix(date-input): allow null value --------- Co-authored-by: Maksim Nedoshev <m0ksem1337@gmail.com> * fix(i18n): use custom values when translating props * fix(data-table/story): fix correct no filter data story * Fixed code audit modal on mobile --------- Co-authored-by: Maksim Nedoshev <m0ksem1337@gmail.com> Co-authored-by: Bond-Addict <117455332+Bond-Addict@users.noreply.github.com>
- Loading branch information
1 parent
bf1bcb5
commit 6c76805
Showing
24 changed files
with
220 additions
and
93 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
|
@@ -169,7 +169,6 @@ const hide = () => { | |
} | ||
&__buttons { | ||
z-index: 10; | ||
display: flex; | ||
align-items: center; | ||
|
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
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
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
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
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
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
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
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
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
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
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
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
28 changes: 24 additions & 4 deletions
28
packages/ui/src/components/va-file-upload/VaFileUpload.stories.ts
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 |
---|---|---|
@@ -1,12 +1,32 @@ | ||
import { defineComponent } from 'vue' | ||
import VaFileUpload from './VaFileUpload.demo.vue' | ||
import VaFileUpload from './VaFileUpload.vue' | ||
import VaFileUploadDemo from './VaFileUpload.demo.vue' | ||
import { defineStory } from '../../../.storybook/types' | ||
|
||
export default { | ||
title: 'VaFileUpload', | ||
component: VaFileUpload, | ||
} | ||
|
||
export const Default = defineComponent({ | ||
components: { VaFileUpload }, | ||
template: '<VaFileUpload/>', | ||
export const Default = () => defineComponent({ | ||
components: { VaFileUploadDemo }, | ||
template: '<VaFileUploadDemo/>', | ||
}) | ||
|
||
export const FileType = defineStory({ | ||
story: () => ({ | ||
components: { VaFileUpload }, | ||
template: '<VaFileUpload file-types="jpg,png" />', | ||
}), | ||
}) | ||
|
||
export const MultipleFile = defineStory({ | ||
story: () => ({ | ||
components: { VaFileUpload }, | ||
data () { return { files: [] } }, | ||
template: ` | ||
{{ files }} | ||
<VaFileUpload v-model="files" multiple /> | ||
`, | ||
}), | ||
}) |
Oops, something went wrong.