@dimailn/vuetify 2.7.2-alpha29 → 2.7.2-alpha31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vuetify.js +166 -78
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +1 -1
- package/dist/vuetify.min.js +2 -2
- package/es5/components/VBreadcrumbs/VBreadcrumbs.js +8 -6
- package/es5/components/VBreadcrumbs/VBreadcrumbs.js.map +1 -1
- package/es5/components/VBreadcrumbs/VBreadcrumbsItem.js +4 -0
- package/es5/components/VBreadcrumbs/VBreadcrumbsItem.js.map +1 -1
- package/es5/components/VCarousel/VCarousel.js +14 -2
- package/es5/components/VCarousel/VCarousel.js.map +1 -1
- package/es5/components/VDialog/VDialog.js +47 -26
- package/es5/components/VDialog/VDialog.js.map +1 -1
- package/es5/components/VFileInput/VFileInput.js +50 -28
- package/es5/components/VFileInput/VFileInput.js.map +1 -1
- package/es5/components/VPagination/VPagination.js +15 -18
- package/es5/components/VPagination/VPagination.js.map +1 -1
- package/es5/components/VRangeSlider/VRangeSlider.js +57 -32
- package/es5/components/VRangeSlider/VRangeSlider.js.map +1 -1
- package/es5/components/VSubheader/VSubheader.js +1 -1
- package/es5/components/VSubheader/VSubheader.js.map +1 -1
- package/es5/components/VTreeview/VTreeview.js +26 -13
- package/es5/components/VTreeview/VTreeview.js.map +1 -1
- package/es5/components/VTreeview/VTreeviewNode.js +0 -2
- package/es5/components/VTreeview/VTreeviewNode.js.map +1 -1
- package/es5/components/VVirtualScroll/VVirtualScroll.js.map +1 -1
- package/es5/framework.js +1 -1
- package/lib/components/VBreadcrumbs/VBreadcrumbs.js +7 -5
- package/lib/components/VBreadcrumbs/VBreadcrumbs.js.map +1 -1
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.js +4 -0
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.js.map +1 -1
- package/lib/components/VCarousel/VCarousel.js +14 -2
- package/lib/components/VCarousel/VCarousel.js.map +1 -1
- package/lib/components/VDialog/VDialog.js +9 -2
- package/lib/components/VDialog/VDialog.js.map +1 -1
- package/lib/components/VFileInput/VFileInput.js +43 -26
- package/lib/components/VFileInput/VFileInput.js.map +1 -1
- package/lib/components/VPagination/VPagination.js +15 -19
- package/lib/components/VPagination/VPagination.js.map +1 -1
- package/lib/components/VRangeSlider/VRangeSlider.js +16 -4
- package/lib/components/VRangeSlider/VRangeSlider.js.map +1 -1
- package/lib/components/VSubheader/VSubheader.js +1 -1
- package/lib/components/VSubheader/VSubheader.js.map +1 -1
- package/lib/components/VTreeview/VTreeview.js +15 -7
- package/lib/components/VTreeview/VTreeview.js.map +1 -1
- package/lib/components/VTreeview/VTreeviewNode.js +0 -2
- package/lib/components/VTreeview/VTreeviewNode.js.map +1 -1
- package/lib/components/VVirtualScroll/VVirtualScroll.js.map +1 -1
- package/lib/framework.js +1 -1
- package/package.json +1 -1
- package/src/components/VBottomNavigation/__tests__/VBottomNavigation.spec.ts +43 -37
- package/src/components/VBottomNavigation/__tests__/__snapshots__/VBottomNavigation.spec.ts.snap +11 -10
- package/src/components/VBreadcrumbs/VBreadcrumbs.ts +8 -4
- package/src/components/VBreadcrumbs/VBreadcrumbsItem.ts +4 -0
- package/src/components/VBreadcrumbs/__tests__/VBreadcrumbs.spec.ts +125 -10
- package/src/components/VBreadcrumbs/__tests__/VBreadcrumbsItem.spec.ts +10 -6
- package/src/components/VBtnToggle/__tests__/VBtnToggle.spec.ts +10 -6
- package/src/components/VCarousel/VCarousel.ts +15 -3
- package/src/components/VCarousel/__tests__/VCarousel.spec.ts +74 -54
- package/src/components/VCarousel/__tests__/VCarouselItem.spec.ts +9 -5
- package/src/components/VCarousel/__tests__/__snapshots__/VCarousel.spec.ts.snap +1 -1
- package/src/components/VDialog/VDialog.ts +14 -4
- package/src/components/VDialog/__tests__/VDialog.spec.ts +105 -101
- package/src/components/VDialog/__tests__/__snapshots__/VDialog.spec.ts.snap +0 -15
- package/src/components/VExpansionPanel/__tests__/VExpansionPanel.spec.ts +43 -27
- package/src/components/VExpansionPanel/__tests__/__snapshots__/VExpansionPanel.spec.ts.snap +18 -16
- package/src/components/VFileInput/VFileInput.ts +46 -33
- package/src/components/VFileInput/__tests__/VFileInput.spec.ts +84 -54
- package/src/components/VFileInput/__tests__/__snapshots__/VFileInput.spec.ts.snap +242 -146
- package/src/components/VImg/__tests__/VImg.spec.ts +21 -20
- package/src/components/VImg/__tests__/__snapshots__/VImg.spec.ts.snap +16 -11
- package/src/components/VNavigationDrawer/__tests__/VNavigationDrawer.spec.ts +84 -71
- package/src/components/VPagination/VPagination.ts +16 -19
- package/src/components/VPagination/__tests__/VPagination.spec.ts +85 -71
- package/src/components/VPagination/__tests__/__snapshots__/VPagination.spec.ts.snap +184 -429
- package/src/components/VRangeSlider/VRangeSlider.ts +19 -4
- package/src/components/VRangeSlider/__tests__/VRangeSlider.spec.ts +40 -40
- package/src/components/VRangeSlider/__tests__/__snapshots__/VRangeSlider.spec.ts.snap +32 -38
- package/src/components/VSubheader/VSubheader.ts +1 -1
- package/src/components/VSubheader/__tests__/VSubheader.spec.ts +12 -7
- package/src/components/VSubheader/__tests__/__snapshots__/VSubheader.spec.ts.snap +1 -1
- package/src/components/VSystemBar/__tests__/VSystemBar.spec.ts +89 -17
- package/src/components/VTimeline/__tests__/VTimelineItem.spec.ts +25 -35
- package/src/components/VTimeline/__tests__/__snapshots__/VTimelineItem.spec.ts.snap +4 -5
- package/src/components/VTreeview/VTreeview.ts +20 -12
- package/src/components/VTreeview/VTreeviewNode.ts +0 -2
- package/src/components/VTreeview/__tests__/VTreeview.spec.ts +168 -174
- package/src/components/VTreeview/__tests__/VTreeviewNode.spec.ts +77 -66
- package/src/components/VTreeview/__tests__/__snapshots__/VTreeview.spec.ts.snap +141 -141
- package/src/components/VTreeview/__tests__/__snapshots__/VTreeviewNode.spec.ts.snap +26 -51
- package/src/components/VVirtualScroll/VVirtualScroll.ts +0 -1
- package/src/components/VVirtualScroll/__tests__/VVirtualScroll.spec.ts +6 -9
- package/src/components/VWindow/__tests__/VWindow.spec.ts +78 -0
- package/src/components/VWindow/__tests__/VWindowItem.spec.ts +127 -0
- package/src/components/VWindow/__tests__/__snapshots__/VWindow.spec.ts.snap +59 -0
- package/src/components/VWindow/__tests__/__snapshots__/VWindowItem.spec.ts.snap +36 -0
|
@@ -4,31 +4,35 @@ exports[`VFileInput.ts should be unclearable 1`] = `
|
|
|
4
4
|
<div class="v-input theme--light v-text-field v-file-input">
|
|
5
5
|
<div class="v-input__prepend-outer">
|
|
6
6
|
<div class="v-input__icon v-input__icon--prepend">
|
|
7
|
-
<button
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
<button aria-hidden="false"
|
|
8
|
+
class="v-icon--link v-icon notranslate mdi mdi-paperclip theme--light"
|
|
9
|
+
type="button"
|
|
10
|
+
aria-label="File input prepended action"
|
|
10
11
|
>
|
|
11
|
-
$file
|
|
12
12
|
</button>
|
|
13
13
|
</div>
|
|
14
14
|
</div>
|
|
15
15
|
<div class="v-input__control">
|
|
16
16
|
<div class="v-input__slot">
|
|
17
17
|
<div class="v-text-field__slot">
|
|
18
|
+
<label class="v-label theme--light"
|
|
19
|
+
for="input-44"
|
|
20
|
+
aria-hidden="false"
|
|
21
|
+
style="left: 0px; position: absolute;"
|
|
22
|
+
>
|
|
23
|
+
File input
|
|
24
|
+
</label>
|
|
18
25
|
<div class="v-file-input__text">
|
|
19
26
|
</div>
|
|
20
|
-
<input id="input-
|
|
27
|
+
<input id="input-44"
|
|
21
28
|
type="file"
|
|
22
29
|
>
|
|
23
30
|
</div>
|
|
24
31
|
</div>
|
|
25
32
|
<div class="v-text-field__details">
|
|
26
33
|
<div class="v-messages theme--light">
|
|
27
|
-
<
|
|
28
|
-
|
|
29
|
-
class="v-messages__wrapper"
|
|
30
|
-
>
|
|
31
|
-
</span>
|
|
34
|
+
<div class="v-messages__wrapper">
|
|
35
|
+
</div>
|
|
32
36
|
</div>
|
|
33
37
|
</div>
|
|
34
38
|
</div>
|
|
@@ -39,43 +43,47 @@ exports[`VFileInput.ts should display file size 1`] = `
|
|
|
39
43
|
<div class="v-input v-input--is-label-active v-input--is-dirty theme--light v-text-field v-file-input">
|
|
40
44
|
<div class="v-input__prepend-outer">
|
|
41
45
|
<div class="v-input__icon v-input__icon--prepend">
|
|
42
|
-
<button
|
|
43
|
-
|
|
44
|
-
|
|
46
|
+
<button aria-hidden="false"
|
|
47
|
+
class="v-icon--link v-icon notranslate mdi mdi-paperclip theme--light"
|
|
48
|
+
type="button"
|
|
49
|
+
aria-label="File input prepended action"
|
|
45
50
|
>
|
|
46
|
-
$file
|
|
47
51
|
</button>
|
|
48
52
|
</div>
|
|
49
53
|
</div>
|
|
50
54
|
<div class="v-input__control">
|
|
51
55
|
<div class="v-input__slot">
|
|
52
56
|
<div class="v-text-field__slot">
|
|
57
|
+
<label class="v-label v-label--active theme--light"
|
|
58
|
+
for="input-25"
|
|
59
|
+
aria-hidden="false"
|
|
60
|
+
style="left: 0px; position: absolute;"
|
|
61
|
+
>
|
|
62
|
+
File input
|
|
63
|
+
</label>
|
|
53
64
|
<div class="v-file-input__text">
|
|
54
65
|
test (2.1 MB)
|
|
55
66
|
</div>
|
|
56
|
-
<input id="input-
|
|
67
|
+
<input id="input-25"
|
|
57
68
|
type="file"
|
|
58
69
|
>
|
|
59
70
|
</div>
|
|
60
71
|
<div class="v-input__append-inner">
|
|
61
72
|
<div class="v-input__icon v-input__icon--clear">
|
|
62
|
-
<button
|
|
63
|
-
|
|
73
|
+
<button aria-hidden="false"
|
|
74
|
+
class="v-icon--link v-icon notranslate mdi mdi-close theme--light"
|
|
75
|
+
type="button"
|
|
76
|
+
aria-label="Clear File input"
|
|
64
77
|
tabindex="-1"
|
|
65
|
-
class="v-icon notranslate v-icon--link material-icons theme--light"
|
|
66
78
|
>
|
|
67
|
-
$clear
|
|
68
79
|
</button>
|
|
69
80
|
</div>
|
|
70
81
|
</div>
|
|
71
82
|
</div>
|
|
72
83
|
<div class="v-text-field__details">
|
|
73
84
|
<div class="v-messages theme--light">
|
|
74
|
-
<
|
|
75
|
-
|
|
76
|
-
class="v-messages__wrapper"
|
|
77
|
-
>
|
|
78
|
-
</span>
|
|
85
|
+
<div class="v-messages__wrapper">
|
|
86
|
+
</div>
|
|
79
87
|
</div>
|
|
80
88
|
</div>
|
|
81
89
|
</div>
|
|
@@ -86,43 +94,47 @@ exports[`VFileInput.ts should display file size 2`] = `
|
|
|
86
94
|
<div class="v-input v-input--is-label-active v-input--is-dirty theme--light v-text-field v-file-input">
|
|
87
95
|
<div class="v-input__prepend-outer">
|
|
88
96
|
<div class="v-input__icon v-input__icon--prepend">
|
|
89
|
-
<button
|
|
90
|
-
|
|
91
|
-
|
|
97
|
+
<button aria-hidden="false"
|
|
98
|
+
class="v-icon--link v-icon notranslate mdi mdi-paperclip theme--light"
|
|
99
|
+
type="button"
|
|
100
|
+
aria-label="File input prepended action"
|
|
92
101
|
>
|
|
93
|
-
$file
|
|
94
102
|
</button>
|
|
95
103
|
</div>
|
|
96
104
|
</div>
|
|
97
105
|
<div class="v-input__control">
|
|
98
106
|
<div class="v-input__slot">
|
|
99
107
|
<div class="v-text-field__slot">
|
|
108
|
+
<label class="v-label v-label--active theme--light"
|
|
109
|
+
for="input-25"
|
|
110
|
+
aria-hidden="false"
|
|
111
|
+
style="left: 0px; position: absolute;"
|
|
112
|
+
>
|
|
113
|
+
File input
|
|
114
|
+
</label>
|
|
100
115
|
<div class="v-file-input__text">
|
|
101
116
|
test (2.1 MB)
|
|
102
117
|
</div>
|
|
103
|
-
<input id="input-
|
|
118
|
+
<input id="input-25"
|
|
104
119
|
type="file"
|
|
105
120
|
>
|
|
106
121
|
</div>
|
|
107
122
|
<div class="v-input__append-inner">
|
|
108
123
|
<div class="v-input__icon v-input__icon--clear">
|
|
109
|
-
<button
|
|
110
|
-
|
|
124
|
+
<button aria-hidden="false"
|
|
125
|
+
class="v-icon--link v-icon notranslate mdi mdi-close theme--light"
|
|
126
|
+
type="button"
|
|
127
|
+
aria-label="Clear File input"
|
|
111
128
|
tabindex="-1"
|
|
112
|
-
class="v-icon notranslate v-icon--link material-icons theme--light"
|
|
113
129
|
>
|
|
114
|
-
$clear
|
|
115
130
|
</button>
|
|
116
131
|
</div>
|
|
117
132
|
</div>
|
|
118
133
|
</div>
|
|
119
134
|
<div class="v-text-field__details">
|
|
120
135
|
<div class="v-messages theme--light">
|
|
121
|
-
<
|
|
122
|
-
|
|
123
|
-
class="v-messages__wrapper"
|
|
124
|
-
>
|
|
125
|
-
</span>
|
|
136
|
+
<div class="v-messages__wrapper">
|
|
137
|
+
</div>
|
|
126
138
|
</div>
|
|
127
139
|
</div>
|
|
128
140
|
</div>
|
|
@@ -133,46 +145,50 @@ exports[`VFileInput.ts should display total size in counter 1`] = `
|
|
|
133
145
|
<div class="v-input v-input--is-label-active v-input--is-dirty theme--light v-text-field v-file-input">
|
|
134
146
|
<div class="v-input__prepend-outer">
|
|
135
147
|
<div class="v-input__icon v-input__icon--prepend">
|
|
136
|
-
<button
|
|
137
|
-
|
|
138
|
-
|
|
148
|
+
<button aria-hidden="false"
|
|
149
|
+
class="v-icon--link v-icon notranslate mdi mdi-paperclip theme--light"
|
|
150
|
+
type="button"
|
|
151
|
+
aria-label="File input prepended action"
|
|
139
152
|
>
|
|
140
|
-
$file
|
|
141
153
|
</button>
|
|
142
154
|
</div>
|
|
143
155
|
</div>
|
|
144
156
|
<div class="v-input__control">
|
|
145
157
|
<div class="v-input__slot">
|
|
146
158
|
<div class="v-text-field__slot">
|
|
159
|
+
<label class="v-label v-label--active theme--light"
|
|
160
|
+
for="input-34"
|
|
161
|
+
aria-hidden="false"
|
|
162
|
+
style="left: 0px; position: absolute;"
|
|
163
|
+
>
|
|
164
|
+
File input
|
|
165
|
+
</label>
|
|
147
166
|
<div class="v-file-input__text">
|
|
148
167
|
2 files
|
|
149
168
|
</div>
|
|
150
|
-
<input id="input-
|
|
169
|
+
<input id="input-34"
|
|
151
170
|
type="file"
|
|
152
171
|
>
|
|
153
172
|
</div>
|
|
154
173
|
<div class="v-input__append-inner">
|
|
155
174
|
<div class="v-input__icon v-input__icon--clear">
|
|
156
|
-
<button
|
|
157
|
-
|
|
175
|
+
<button aria-hidden="false"
|
|
176
|
+
class="v-icon--link v-icon notranslate mdi mdi-close theme--light"
|
|
177
|
+
type="button"
|
|
178
|
+
aria-label="Clear File input"
|
|
158
179
|
tabindex="-1"
|
|
159
|
-
class="v-icon notranslate v-icon--link material-icons theme--light"
|
|
160
180
|
>
|
|
161
|
-
$clear
|
|
162
181
|
</button>
|
|
163
182
|
</div>
|
|
164
183
|
</div>
|
|
165
184
|
</div>
|
|
166
185
|
<div class="v-text-field__details">
|
|
167
186
|
<div class="v-messages theme--light">
|
|
168
|
-
<
|
|
169
|
-
|
|
170
|
-
class="v-messages__wrapper"
|
|
171
|
-
>
|
|
172
|
-
</span>
|
|
187
|
+
<div class="v-messages__wrapper">
|
|
188
|
+
</div>
|
|
173
189
|
</div>
|
|
174
190
|
<div class="v-counter theme--light">
|
|
175
|
-
0 files (3.1 MB in total)
|
|
191
|
+
{0} files (3.1 MB in total)
|
|
176
192
|
</div>
|
|
177
193
|
</div>
|
|
178
194
|
</div>
|
|
@@ -183,46 +199,50 @@ exports[`VFileInput.ts should display total size in counter 2`] = `
|
|
|
183
199
|
<div class="v-input v-input--is-label-active v-input--is-dirty theme--light v-text-field v-file-input">
|
|
184
200
|
<div class="v-input__prepend-outer">
|
|
185
201
|
<div class="v-input__icon v-input__icon--prepend">
|
|
186
|
-
<button
|
|
187
|
-
|
|
188
|
-
|
|
202
|
+
<button aria-hidden="false"
|
|
203
|
+
class="v-icon--link v-icon notranslate mdi mdi-paperclip theme--light"
|
|
204
|
+
type="button"
|
|
205
|
+
aria-label="File input prepended action"
|
|
189
206
|
>
|
|
190
|
-
$file
|
|
191
207
|
</button>
|
|
192
208
|
</div>
|
|
193
209
|
</div>
|
|
194
210
|
<div class="v-input__control">
|
|
195
211
|
<div class="v-input__slot">
|
|
196
212
|
<div class="v-text-field__slot">
|
|
213
|
+
<label class="v-label v-label--active theme--light"
|
|
214
|
+
for="input-34"
|
|
215
|
+
aria-hidden="false"
|
|
216
|
+
style="left: 0px; position: absolute;"
|
|
217
|
+
>
|
|
218
|
+
File input
|
|
219
|
+
</label>
|
|
197
220
|
<div class="v-file-input__text">
|
|
198
221
|
2 files
|
|
199
222
|
</div>
|
|
200
|
-
<input id="input-
|
|
223
|
+
<input id="input-34"
|
|
201
224
|
type="file"
|
|
202
225
|
>
|
|
203
226
|
</div>
|
|
204
227
|
<div class="v-input__append-inner">
|
|
205
228
|
<div class="v-input__icon v-input__icon--clear">
|
|
206
|
-
<button
|
|
207
|
-
|
|
229
|
+
<button aria-hidden="false"
|
|
230
|
+
class="v-icon--link v-icon notranslate mdi mdi-close theme--light"
|
|
231
|
+
type="button"
|
|
232
|
+
aria-label="Clear File input"
|
|
208
233
|
tabindex="-1"
|
|
209
|
-
class="v-icon notranslate v-icon--link material-icons theme--light"
|
|
210
234
|
>
|
|
211
|
-
$clear
|
|
212
235
|
</button>
|
|
213
236
|
</div>
|
|
214
237
|
</div>
|
|
215
238
|
</div>
|
|
216
239
|
<div class="v-text-field__details">
|
|
217
240
|
<div class="v-messages theme--light">
|
|
218
|
-
<
|
|
219
|
-
|
|
220
|
-
class="v-messages__wrapper"
|
|
221
|
-
>
|
|
222
|
-
</span>
|
|
241
|
+
<div class="v-messages__wrapper">
|
|
242
|
+
</div>
|
|
223
243
|
</div>
|
|
224
244
|
<div class="v-counter theme--light">
|
|
225
|
-
0 files (3.1 MB in total)
|
|
245
|
+
{0} files (3.1 MB in total)
|
|
226
246
|
</div>
|
|
227
247
|
</div>
|
|
228
248
|
</div>
|
|
@@ -233,17 +253,24 @@ exports[`VFileInput.ts should render 1`] = `
|
|
|
233
253
|
<div class="v-input theme--light v-text-field v-file-input">
|
|
234
254
|
<div class="v-input__prepend-outer">
|
|
235
255
|
<div class="v-input__icon v-input__icon--prepend">
|
|
236
|
-
<button
|
|
237
|
-
|
|
238
|
-
|
|
256
|
+
<button aria-hidden="false"
|
|
257
|
+
class="v-icon--link v-icon notranslate mdi mdi-paperclip theme--light"
|
|
258
|
+
type="button"
|
|
259
|
+
aria-label="File input prepended action"
|
|
239
260
|
>
|
|
240
|
-
$file
|
|
241
261
|
</button>
|
|
242
262
|
</div>
|
|
243
263
|
</div>
|
|
244
264
|
<div class="v-input__control">
|
|
245
265
|
<div class="v-input__slot">
|
|
246
266
|
<div class="v-text-field__slot">
|
|
267
|
+
<label class="v-label theme--light"
|
|
268
|
+
for="input-1"
|
|
269
|
+
aria-hidden="false"
|
|
270
|
+
style="left: 0px; position: absolute;"
|
|
271
|
+
>
|
|
272
|
+
File input
|
|
273
|
+
</label>
|
|
247
274
|
<div class="v-file-input__text">
|
|
248
275
|
</div>
|
|
249
276
|
<input id="input-1"
|
|
@@ -257,11 +284,8 @@ exports[`VFileInput.ts should render 1`] = `
|
|
|
257
284
|
</div>
|
|
258
285
|
<div class="v-text-field__details">
|
|
259
286
|
<div class="v-messages theme--light">
|
|
260
|
-
<
|
|
261
|
-
|
|
262
|
-
class="v-messages__wrapper"
|
|
263
|
-
>
|
|
264
|
-
</span>
|
|
287
|
+
<div class="v-messages__wrapper">
|
|
288
|
+
</div>
|
|
265
289
|
</div>
|
|
266
290
|
</div>
|
|
267
291
|
</div>
|
|
@@ -272,17 +296,24 @@ exports[`VFileInput.ts should render chips 1`] = `
|
|
|
272
296
|
<div class="v-input v-input--is-label-active v-input--is-dirty theme--light v-text-field v-file-input">
|
|
273
297
|
<div class="v-input__prepend-outer">
|
|
274
298
|
<div class="v-input__icon v-input__icon--prepend">
|
|
275
|
-
<button
|
|
276
|
-
|
|
277
|
-
|
|
299
|
+
<button aria-hidden="false"
|
|
300
|
+
class="v-icon--link v-icon notranslate mdi mdi-paperclip theme--light"
|
|
301
|
+
type="button"
|
|
302
|
+
aria-label="File input prepended action"
|
|
278
303
|
>
|
|
279
|
-
$file
|
|
280
304
|
</button>
|
|
281
305
|
</div>
|
|
282
306
|
</div>
|
|
283
307
|
<div class="v-input__control">
|
|
284
308
|
<div class="v-input__slot">
|
|
285
309
|
<div class="v-text-field__slot">
|
|
310
|
+
<label class="v-label v-label--active theme--light"
|
|
311
|
+
for="input-99"
|
|
312
|
+
aria-hidden="false"
|
|
313
|
+
style="left: 0px; position: absolute;"
|
|
314
|
+
>
|
|
315
|
+
File input
|
|
316
|
+
</label>
|
|
286
317
|
<div class="v-file-input__text v-file-input__text--chips">
|
|
287
318
|
<span class="v-chip v-chip--no-color theme--light v-size--default">
|
|
288
319
|
<span class="v-chip__content">
|
|
@@ -290,29 +321,26 @@ exports[`VFileInput.ts should render chips 1`] = `
|
|
|
290
321
|
</span>
|
|
291
322
|
</span>
|
|
292
323
|
</div>
|
|
293
|
-
<input id="input-
|
|
324
|
+
<input id="input-99"
|
|
294
325
|
type="file"
|
|
295
326
|
>
|
|
296
327
|
</div>
|
|
297
328
|
<div class="v-input__append-inner">
|
|
298
329
|
<div class="v-input__icon v-input__icon--clear">
|
|
299
|
-
<button
|
|
300
|
-
|
|
330
|
+
<button aria-hidden="false"
|
|
331
|
+
class="v-icon--link v-icon notranslate mdi mdi-close theme--light"
|
|
332
|
+
type="button"
|
|
333
|
+
aria-label="Clear File input"
|
|
301
334
|
tabindex="-1"
|
|
302
|
-
class="v-icon notranslate v-icon--link material-icons theme--light"
|
|
303
335
|
>
|
|
304
|
-
$clear
|
|
305
336
|
</button>
|
|
306
337
|
</div>
|
|
307
338
|
</div>
|
|
308
339
|
</div>
|
|
309
340
|
<div class="v-text-field__details">
|
|
310
341
|
<div class="v-messages theme--light">
|
|
311
|
-
<
|
|
312
|
-
|
|
313
|
-
class="v-messages__wrapper"
|
|
314
|
-
>
|
|
315
|
-
</span>
|
|
342
|
+
<div class="v-messages__wrapper">
|
|
343
|
+
</div>
|
|
316
344
|
</div>
|
|
317
345
|
</div>
|
|
318
346
|
</div>
|
|
@@ -323,46 +351,50 @@ exports[`VFileInput.ts should render counter 1`] = `
|
|
|
323
351
|
<div class="v-input v-input--is-label-active v-input--is-dirty theme--light v-text-field v-file-input">
|
|
324
352
|
<div class="v-input__prepend-outer">
|
|
325
353
|
<div class="v-input__icon v-input__icon--prepend">
|
|
326
|
-
<button
|
|
327
|
-
|
|
328
|
-
|
|
354
|
+
<button aria-hidden="false"
|
|
355
|
+
class="v-icon--link v-icon notranslate mdi mdi-paperclip theme--light"
|
|
356
|
+
type="button"
|
|
357
|
+
aria-label="File input prepended action"
|
|
329
358
|
>
|
|
330
|
-
$file
|
|
331
359
|
</button>
|
|
332
360
|
</div>
|
|
333
361
|
</div>
|
|
334
362
|
<div class="v-input__control">
|
|
335
363
|
<div class="v-input__slot">
|
|
336
364
|
<div class="v-text-field__slot">
|
|
365
|
+
<label class="v-label v-label--active theme--light"
|
|
366
|
+
for="input-15"
|
|
367
|
+
aria-hidden="false"
|
|
368
|
+
style="left: 0px; position: absolute;"
|
|
369
|
+
>
|
|
370
|
+
File input
|
|
371
|
+
</label>
|
|
337
372
|
<div class="v-file-input__text">
|
|
338
373
|
test
|
|
339
374
|
</div>
|
|
340
|
-
<input id="input-
|
|
375
|
+
<input id="input-15"
|
|
341
376
|
type="file"
|
|
342
377
|
>
|
|
343
378
|
</div>
|
|
344
379
|
<div class="v-input__append-inner">
|
|
345
380
|
<div class="v-input__icon v-input__icon--clear">
|
|
346
|
-
<button
|
|
347
|
-
|
|
381
|
+
<button aria-hidden="false"
|
|
382
|
+
class="v-icon--link v-icon notranslate mdi mdi-close theme--light"
|
|
383
|
+
type="button"
|
|
384
|
+
aria-label="Clear File input"
|
|
348
385
|
tabindex="-1"
|
|
349
|
-
class="v-icon notranslate v-icon--link material-icons theme--light"
|
|
350
386
|
>
|
|
351
|
-
$clear
|
|
352
387
|
</button>
|
|
353
388
|
</div>
|
|
354
389
|
</div>
|
|
355
390
|
</div>
|
|
356
391
|
<div class="v-text-field__details">
|
|
357
392
|
<div class="v-messages theme--light">
|
|
358
|
-
<
|
|
359
|
-
|
|
360
|
-
class="v-messages__wrapper"
|
|
361
|
-
>
|
|
362
|
-
</span>
|
|
393
|
+
<div class="v-messages__wrapper">
|
|
394
|
+
</div>
|
|
363
395
|
</div>
|
|
364
396
|
<div class="v-counter theme--light">
|
|
365
|
-
0 files
|
|
397
|
+
{0} files
|
|
366
398
|
</div>
|
|
367
399
|
</div>
|
|
368
400
|
</div>
|
|
@@ -373,22 +405,29 @@ exports[`VFileInput.ts should render multiple 1`] = `
|
|
|
373
405
|
<div class="v-input theme--light v-text-field v-file-input">
|
|
374
406
|
<div class="v-input__prepend-outer">
|
|
375
407
|
<div class="v-input__icon v-input__icon--prepend">
|
|
376
|
-
<button
|
|
377
|
-
|
|
378
|
-
|
|
408
|
+
<button aria-hidden="false"
|
|
409
|
+
class="v-icon--link v-icon notranslate mdi mdi-paperclip theme--light"
|
|
410
|
+
type="button"
|
|
411
|
+
aria-label="File input prepended action"
|
|
379
412
|
>
|
|
380
|
-
$file
|
|
381
413
|
</button>
|
|
382
414
|
</div>
|
|
383
415
|
</div>
|
|
384
416
|
<div class="v-input__control">
|
|
385
417
|
<div class="v-input__slot">
|
|
386
418
|
<div class="v-text-field__slot">
|
|
419
|
+
<label class="v-label theme--light"
|
|
420
|
+
for="input-8"
|
|
421
|
+
aria-hidden="false"
|
|
422
|
+
style="left: 0px; position: absolute;"
|
|
423
|
+
>
|
|
424
|
+
File input
|
|
425
|
+
</label>
|
|
387
426
|
<div class="v-file-input__text">
|
|
388
427
|
</div>
|
|
389
|
-
<input id="input-
|
|
428
|
+
<input id="input-8"
|
|
390
429
|
type="file"
|
|
391
|
-
multiple
|
|
430
|
+
multiple
|
|
392
431
|
>
|
|
393
432
|
</div>
|
|
394
433
|
<div class="v-input__append-inner">
|
|
@@ -398,11 +437,8 @@ exports[`VFileInput.ts should render multiple 1`] = `
|
|
|
398
437
|
</div>
|
|
399
438
|
<div class="v-text-field__details">
|
|
400
439
|
<div class="v-messages theme--light">
|
|
401
|
-
<
|
|
402
|
-
|
|
403
|
-
class="v-messages__wrapper"
|
|
404
|
-
>
|
|
405
|
-
</span>
|
|
440
|
+
<div class="v-messages__wrapper">
|
|
441
|
+
</div>
|
|
406
442
|
</div>
|
|
407
443
|
</div>
|
|
408
444
|
</div>
|
|
@@ -413,17 +449,24 @@ exports[`VFileInput.ts should render small chips 1`] = `
|
|
|
413
449
|
<div class="v-input v-input--is-label-active v-input--is-dirty theme--light v-text-field v-file-input">
|
|
414
450
|
<div class="v-input__prepend-outer">
|
|
415
451
|
<div class="v-input__icon v-input__icon--prepend">
|
|
416
|
-
<button
|
|
417
|
-
|
|
418
|
-
|
|
452
|
+
<button aria-hidden="false"
|
|
453
|
+
class="v-icon--link v-icon notranslate mdi mdi-paperclip theme--light"
|
|
454
|
+
type="button"
|
|
455
|
+
aria-label="File input prepended action"
|
|
419
456
|
>
|
|
420
|
-
$file
|
|
421
457
|
</button>
|
|
422
458
|
</div>
|
|
423
459
|
</div>
|
|
424
460
|
<div class="v-input__control">
|
|
425
461
|
<div class="v-input__slot">
|
|
426
462
|
<div class="v-text-field__slot">
|
|
463
|
+
<label class="v-label v-label--active theme--light"
|
|
464
|
+
for="input-109"
|
|
465
|
+
aria-hidden="false"
|
|
466
|
+
style="left: 0px; position: absolute;"
|
|
467
|
+
>
|
|
468
|
+
File input
|
|
469
|
+
</label>
|
|
427
470
|
<div class="v-file-input__text v-file-input__text--chips">
|
|
428
471
|
<span class="v-chip v-chip--no-color theme--light v-size--small">
|
|
429
472
|
<span class="v-chip__content">
|
|
@@ -431,29 +474,74 @@ exports[`VFileInput.ts should render small chips 1`] = `
|
|
|
431
474
|
</span>
|
|
432
475
|
</span>
|
|
433
476
|
</div>
|
|
434
|
-
<input id="input-
|
|
477
|
+
<input id="input-109"
|
|
435
478
|
type="file"
|
|
436
479
|
>
|
|
437
480
|
</div>
|
|
438
481
|
<div class="v-input__append-inner">
|
|
439
482
|
<div class="v-input__icon v-input__icon--clear">
|
|
440
|
-
<button
|
|
441
|
-
|
|
483
|
+
<button aria-hidden="false"
|
|
484
|
+
class="v-icon--link v-icon notranslate mdi mdi-close theme--light"
|
|
485
|
+
type="button"
|
|
486
|
+
aria-label="Clear File input"
|
|
442
487
|
tabindex="-1"
|
|
443
|
-
class="v-icon notranslate v-icon--link material-icons theme--light"
|
|
444
488
|
>
|
|
445
|
-
$clear
|
|
446
489
|
</button>
|
|
447
490
|
</div>
|
|
448
491
|
</div>
|
|
449
492
|
</div>
|
|
450
493
|
<div class="v-text-field__details">
|
|
451
494
|
<div class="v-messages theme--light">
|
|
452
|
-
<
|
|
453
|
-
|
|
454
|
-
|
|
495
|
+
<div class="v-messages__wrapper">
|
|
496
|
+
</div>
|
|
497
|
+
</div>
|
|
498
|
+
</div>
|
|
499
|
+
</div>
|
|
500
|
+
</div>
|
|
501
|
+
`;
|
|
502
|
+
|
|
503
|
+
exports[`VFileInput.ts should render with hideInput prop like original Vuetify 1`] = `
|
|
504
|
+
<div class="v-input theme--light v-text-field v-file-input"
|
|
505
|
+
accept="image/*"
|
|
506
|
+
>
|
|
507
|
+
<div class="v-input__prepend-outer">
|
|
508
|
+
<div class="v-input__icon v-input__icon--prepend">
|
|
509
|
+
<button aria-hidden="false"
|
|
510
|
+
class="v-icon--link v-icon notranslate mdi mdi-paperclip theme--light"
|
|
511
|
+
type="button"
|
|
512
|
+
aria-label="File input prepended action"
|
|
513
|
+
>
|
|
514
|
+
</button>
|
|
515
|
+
</div>
|
|
516
|
+
</div>
|
|
517
|
+
<div class="v-input__control"
|
|
518
|
+
style="display: none;"
|
|
519
|
+
>
|
|
520
|
+
<div class="v-input__slot">
|
|
521
|
+
<div class="v-text-field__slot">
|
|
522
|
+
<label class="v-label theme--light"
|
|
523
|
+
for="input-175"
|
|
524
|
+
aria-hidden="false"
|
|
525
|
+
style="left: 0px; position: absolute;"
|
|
526
|
+
>
|
|
527
|
+
File input
|
|
528
|
+
</label>
|
|
529
|
+
<div class="v-file-input__text">
|
|
530
|
+
</div>
|
|
531
|
+
<input accept="image/*"
|
|
532
|
+
id="input-175"
|
|
533
|
+
type="file"
|
|
455
534
|
>
|
|
456
|
-
|
|
535
|
+
</div>
|
|
536
|
+
<div class="v-input__append-inner">
|
|
537
|
+
<div>
|
|
538
|
+
</div>
|
|
539
|
+
</div>
|
|
540
|
+
</div>
|
|
541
|
+
<div class="v-text-field__details">
|
|
542
|
+
<div class="v-messages theme--light">
|
|
543
|
+
<div class="v-messages__wrapper">
|
|
544
|
+
</div>
|
|
457
545
|
</div>
|
|
458
546
|
</div>
|
|
459
547
|
</div>
|
|
@@ -465,9 +553,16 @@ exports[`VFileInput.ts should render without icon 1`] = `
|
|
|
465
553
|
<div class="v-input__control">
|
|
466
554
|
<div class="v-input__slot">
|
|
467
555
|
<div class="v-text-field__slot">
|
|
556
|
+
<label class="v-label theme--light"
|
|
557
|
+
for="input-119"
|
|
558
|
+
aria-hidden="false"
|
|
559
|
+
style="left: 0px; position: absolute;"
|
|
560
|
+
>
|
|
561
|
+
File input
|
|
562
|
+
</label>
|
|
468
563
|
<div class="v-file-input__text">
|
|
469
564
|
</div>
|
|
470
|
-
<input id="input-
|
|
565
|
+
<input id="input-119"
|
|
471
566
|
type="file"
|
|
472
567
|
>
|
|
473
568
|
</div>
|
|
@@ -478,11 +573,8 @@ exports[`VFileInput.ts should render without icon 1`] = `
|
|
|
478
573
|
</div>
|
|
479
574
|
<div class="v-text-field__details">
|
|
480
575
|
<div class="v-messages theme--light">
|
|
481
|
-
<
|
|
482
|
-
|
|
483
|
-
class="v-messages__wrapper"
|
|
484
|
-
>
|
|
485
|
-
</span>
|
|
576
|
+
<div class="v-messages__wrapper">
|
|
577
|
+
</div>
|
|
486
578
|
</div>
|
|
487
579
|
</div>
|
|
488
580
|
</div>
|
|
@@ -493,11 +585,11 @@ exports[`VFileInput.ts should set display none if hide-input prop is set 1`] = `
|
|
|
493
585
|
<div class="v-input theme--light v-text-field v-file-input">
|
|
494
586
|
<div class="v-input__prepend-outer">
|
|
495
587
|
<div class="v-input__icon v-input__icon--prepend">
|
|
496
|
-
<button
|
|
497
|
-
|
|
498
|
-
|
|
588
|
+
<button aria-hidden="false"
|
|
589
|
+
class="v-icon--link v-icon notranslate mdi mdi-paperclip theme--light"
|
|
590
|
+
type="button"
|
|
591
|
+
aria-label="File input prepended action"
|
|
499
592
|
>
|
|
500
|
-
$file
|
|
501
593
|
</button>
|
|
502
594
|
</div>
|
|
503
595
|
</div>
|
|
@@ -506,9 +598,16 @@ exports[`VFileInput.ts should set display none if hide-input prop is set 1`] = `
|
|
|
506
598
|
>
|
|
507
599
|
<div class="v-input__slot">
|
|
508
600
|
<div class="v-text-field__slot">
|
|
601
|
+
<label class="v-label theme--light"
|
|
602
|
+
for="input-154"
|
|
603
|
+
aria-hidden="false"
|
|
604
|
+
style="left: 0px; position: absolute;"
|
|
605
|
+
>
|
|
606
|
+
File input
|
|
607
|
+
</label>
|
|
509
608
|
<div class="v-file-input__text">
|
|
510
609
|
</div>
|
|
511
|
-
<input id="input-
|
|
610
|
+
<input id="input-154"
|
|
512
611
|
type="file"
|
|
513
612
|
>
|
|
514
613
|
</div>
|
|
@@ -519,11 +618,8 @@ exports[`VFileInput.ts should set display none if hide-input prop is set 1`] = `
|
|
|
519
618
|
</div>
|
|
520
619
|
<div class="v-text-field__details">
|
|
521
620
|
<div class="v-messages theme--light">
|
|
522
|
-
<
|
|
523
|
-
|
|
524
|
-
class="v-messages__wrapper"
|
|
525
|
-
>
|
|
526
|
-
</span>
|
|
621
|
+
<div class="v-messages__wrapper">
|
|
622
|
+
</div>
|
|
527
623
|
</div>
|
|
528
624
|
</div>
|
|
529
625
|
</div>
|