@vuetify/nightly 4.0.0-dev-20230421.0 → 4.0.0-dev-20230422.0

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/CHANGELOG.md CHANGED
@@ -1,8 +1,8 @@
1
- # [](https://github.com/vuetifyjs/vuetify/compare/v4.0.0-dev-20230421.0...v) (2023-04-21)
1
+ # [](https://github.com/vuetifyjs/vuetify/compare/v4.0.0-dev-20230422.0...v) (2023-04-22)
2
2
 
3
3
 
4
4
 
5
- # [4.0.0-dev-20230421.0](https://github.com/vuetifyjs/vuetify/compare/v3.1.15...v4.0.0-dev-20230421.0) (2023-04-21)
5
+ # [4.0.0-dev-20230422.0](https://github.com/vuetifyjs/vuetify/compare/v3.1.15...v4.0.0-dev-20230422.0) (2023-04-22)
6
6
 
7
7
 
8
8
  ### Bug Fixes
@@ -36,6 +36,10 @@
36
36
  "from": "components/VBadge/index.mjs",
37
37
  "styles": []
38
38
  },
39
+ "VBottomNavigation": {
40
+ "from": "components/VBottomNavigation/index.mjs",
41
+ "styles": []
42
+ },
39
43
  "VBanner": {
40
44
  "from": "components/VBanner/index.mjs",
41
45
  "styles": []
@@ -48,8 +52,8 @@
48
52
  "from": "components/VBanner/index.mjs",
49
53
  "styles": []
50
54
  },
51
- "VBottomNavigation": {
52
- "from": "components/VBottomNavigation/index.mjs",
55
+ "VBtn": {
56
+ "from": "components/VBtn/index.mjs",
53
57
  "styles": []
54
58
  },
55
59
  "VBreadcrumbs": {
@@ -64,14 +68,14 @@
64
68
  "from": "components/VBreadcrumbs/index.mjs",
65
69
  "styles": []
66
70
  },
67
- "VBtn": {
68
- "from": "components/VBtn/index.mjs",
69
- "styles": []
70
- },
71
71
  "VBtnGroup": {
72
72
  "from": "components/VBtnGroup/index.mjs",
73
73
  "styles": []
74
74
  },
75
+ "VBtnToggle": {
76
+ "from": "components/VBtnToggle/index.mjs",
77
+ "styles": []
78
+ },
75
79
  "VCard": {
76
80
  "from": "components/VCard/index.mjs",
77
81
  "styles": []
@@ -96,10 +100,6 @@
96
100
  "from": "components/VCard/index.mjs",
97
101
  "styles": []
98
102
  },
99
- "VBtnToggle": {
100
- "from": "components/VBtnToggle/index.mjs",
101
- "styles": []
102
- },
103
103
  "VCarousel": {
104
104
  "from": "components/VCarousel/index.mjs",
105
105
  "styles": []
@@ -108,6 +108,10 @@
108
108
  "from": "components/VCarousel/index.mjs",
109
109
  "styles": []
110
110
  },
111
+ "VChipGroup": {
112
+ "from": "components/VChipGroup/index.mjs",
113
+ "styles": []
114
+ },
111
115
  "VCheckbox": {
112
116
  "from": "components/VCheckbox/index.mjs",
113
117
  "styles": []
@@ -116,10 +120,6 @@
116
120
  "from": "components/VCheckbox/index.mjs",
117
121
  "styles": []
118
122
  },
119
- "VChip": {
120
- "from": "components/VChip/index.mjs",
121
- "styles": []
122
- },
123
123
  "VCode": {
124
124
  "from": "components/VCode/index.mjs",
125
125
  "styles": []
@@ -128,26 +128,34 @@
128
128
  "from": "components/VColorPicker/index.mjs",
129
129
  "styles": []
130
130
  },
131
- "VChipGroup": {
132
- "from": "components/VChipGroup/index.mjs",
131
+ "VChip": {
132
+ "from": "components/VChip/index.mjs",
133
133
  "styles": []
134
134
  },
135
135
  "VCombobox": {
136
136
  "from": "components/VCombobox/index.mjs",
137
137
  "styles": []
138
138
  },
139
- "VDialog": {
140
- "from": "components/VDialog/index.mjs",
141
- "styles": []
142
- },
143
139
  "VCounter": {
144
140
  "from": "components/VCounter/index.mjs",
145
141
  "styles": []
146
142
  },
143
+ "VDialog": {
144
+ "from": "components/VDialog/index.mjs",
145
+ "styles": []
146
+ },
147
147
  "VDivider": {
148
148
  "from": "components/VDivider/index.mjs",
149
149
  "styles": []
150
150
  },
151
+ "VField": {
152
+ "from": "components/VField/index.mjs",
153
+ "styles": []
154
+ },
155
+ "VFieldLabel": {
156
+ "from": "components/VField/index.mjs",
157
+ "styles": []
158
+ },
151
159
  "VExpansionPanels": {
152
160
  "from": "components/VExpansionPanel/index.mjs",
153
161
  "styles": []
@@ -168,14 +176,6 @@
168
176
  "from": "components/VFileInput/index.mjs",
169
177
  "styles": []
170
178
  },
171
- "VField": {
172
- "from": "components/VField/index.mjs",
173
- "styles": []
174
- },
175
- "VFieldLabel": {
176
- "from": "components/VField/index.mjs",
177
- "styles": []
178
- },
179
179
  "VFooter": {
180
180
  "from": "components/VFooter/index.mjs",
181
181
  "styles": []
@@ -224,6 +224,10 @@
224
224
  "from": "components/VLabel/index.mjs",
225
225
  "styles": []
226
226
  },
227
+ "VMain": {
228
+ "from": "components/VMain/index.mjs",
229
+ "styles": []
230
+ },
227
231
  "VList": {
228
232
  "from": "components/VList/index.mjs",
229
233
  "styles": []
@@ -260,10 +264,6 @@
260
264
  "from": "components/VList/index.mjs",
261
265
  "styles": []
262
266
  },
263
- "VMain": {
264
- "from": "components/VMain/index.mjs",
265
- "styles": []
266
- },
267
267
  "VMenu": {
268
268
  "from": "components/VMenu/index.mjs",
269
269
  "styles": []
@@ -280,14 +280,14 @@
280
280
  "from": "components/VOverlay/index.mjs",
281
281
  "styles": []
282
282
  },
283
- "VPagination": {
284
- "from": "components/VPagination/index.mjs",
285
- "styles": []
286
- },
287
283
  "VProgressCircular": {
288
284
  "from": "components/VProgressCircular/index.mjs",
289
285
  "styles": []
290
286
  },
287
+ "VPagination": {
288
+ "from": "components/VPagination/index.mjs",
289
+ "styles": []
290
+ },
291
291
  "VProgressLinear": {
292
292
  "from": "components/VProgressLinear/index.mjs",
293
293
  "styles": []
@@ -304,18 +304,10 @@
304
304
  "from": "components/VSelect/index.mjs",
305
305
  "styles": []
306
306
  },
307
- "VSelectionControl": {
308
- "from": "components/VSelectionControl/index.mjs",
309
- "styles": []
310
- },
311
307
  "VSelectionControlGroup": {
312
308
  "from": "components/VSelectionControlGroup/index.mjs",
313
309
  "styles": []
314
310
  },
315
- "VSheet": {
316
- "from": "components/VSheet/index.mjs",
317
- "styles": []
318
- },
319
311
  "VSlideGroup": {
320
312
  "from": "components/VSlideGroup/index.mjs",
321
313
  "styles": []
@@ -324,6 +316,14 @@
324
316
  "from": "components/VSlideGroup/index.mjs",
325
317
  "styles": []
326
318
  },
319
+ "VSelectionControl": {
320
+ "from": "components/VSelectionControl/index.mjs",
321
+ "styles": []
322
+ },
323
+ "VSheet": {
324
+ "from": "components/VSheet/index.mjs",
325
+ "styles": []
326
+ },
327
327
  "VSlider": {
328
328
  "from": "components/VSlider/index.mjs",
329
329
  "styles": []
@@ -332,14 +332,14 @@
332
332
  "from": "components/VSnackbar/index.mjs",
333
333
  "styles": []
334
334
  },
335
- "VSwitch": {
336
- "from": "components/VSwitch/index.mjs",
337
- "styles": []
338
- },
339
335
  "VSystemBar": {
340
336
  "from": "components/VSystemBar/index.mjs",
341
337
  "styles": []
342
338
  },
339
+ "VSwitch": {
340
+ "from": "components/VSwitch/index.mjs",
341
+ "styles": []
342
+ },
343
343
  "VTabs": {
344
344
  "from": "components/VTabs/index.mjs",
345
345
  "styles": []
@@ -396,6 +396,14 @@
396
396
  "from": "components/VDefaultsProvider/index.mjs",
397
397
  "styles": []
398
398
  },
399
+ "VHover": {
400
+ "from": "components/VHover/index.mjs",
401
+ "styles": []
402
+ },
403
+ "VForm": {
404
+ "from": "components/VForm/index.mjs",
405
+ "styles": []
406
+ },
399
407
  "VContainer": {
400
408
  "from": "components/VGrid/index.mjs",
401
409
  "styles": []
@@ -412,12 +420,8 @@
412
420
  "from": "components/VGrid/index.mjs",
413
421
  "styles": []
414
422
  },
415
- "VHover": {
416
- "from": "components/VHover/index.mjs",
417
- "styles": []
418
- },
419
- "VForm": {
420
- "from": "components/VForm/index.mjs",
423
+ "VLazy": {
424
+ "from": "components/VLazy/index.mjs",
421
425
  "styles": []
422
426
  },
423
427
  "VLayout": {
@@ -432,36 +436,28 @@
432
436
  "from": "components/VLocaleProvider/index.mjs",
433
437
  "styles": []
434
438
  },
435
- "VLazy": {
436
- "from": "components/VLazy/index.mjs",
437
- "styles": []
438
- },
439
439
  "VNoSsr": {
440
440
  "from": "components/VNoSsr/index.mjs",
441
441
  "styles": []
442
442
  },
443
- "VRadio": {
444
- "from": "components/VRadio/index.mjs",
445
- "styles": []
446
- },
447
443
  "VParallax": {
448
444
  "from": "components/VParallax/index.mjs",
449
445
  "styles": []
450
446
  },
451
- "VRangeSlider": {
452
- "from": "components/VRangeSlider/index.mjs",
447
+ "VRadio": {
448
+ "from": "components/VRadio/index.mjs",
453
449
  "styles": []
454
450
  },
455
451
  "VResponsive": {
456
452
  "from": "components/VResponsive/index.mjs",
457
453
  "styles": []
458
454
  },
459
- "VThemeProvider": {
460
- "from": "components/VThemeProvider/index.mjs",
455
+ "VRangeSlider": {
456
+ "from": "components/VRangeSlider/index.mjs",
461
457
  "styles": []
462
458
  },
463
- "VValidation": {
464
- "from": "components/VValidation/index.mjs",
459
+ "VThemeProvider": {
460
+ "from": "components/VThemeProvider/index.mjs",
465
461
  "styles": []
466
462
  },
467
463
  "VVirtualScroll": {
@@ -531,6 +527,10 @@
531
527
  "VDialogTransition": {
532
528
  "from": "components/transitions/index.mjs",
533
529
  "styles": []
530
+ },
531
+ "VValidation": {
532
+ "from": "components/VValidation/index.mjs",
533
+ "styles": []
534
534
  }
535
535
  },
536
536
  "directives": [
@@ -2,7 +2,7 @@
2
2
  "$schema": "http://json.schemastore.org/web-types",
3
3
  "framework": "vue",
4
4
  "name": "vuetify",
5
- "version": "4.0.0-dev-20230421.0",
5
+ "version": "4.0.0-dev-20230422.0",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "types-syntax": "typescript",
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v4.0.0-dev-20230421.0
2
+ * Vuetify v4.0.0-dev-20230422.0
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -20365,6 +20365,13 @@ textarea.v-field__input::placeholder {
20365
20365
 
20366
20366
  .v-label--clickable {
20367
20367
  cursor: pointer;
20368
+ }.v-layout-item {
20369
+ position: absolute;
20370
+ transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
20371
+ }
20372
+
20373
+ .v-layout-item--absolute {
20374
+ position: absolute;
20368
20375
  }.v-layout {
20369
20376
  --v-scrollbar-offset: 0px;
20370
20377
  display: flex;
@@ -20373,13 +20380,6 @@ textarea.v-field__input::placeholder {
20373
20380
  .v-layout--full-height {
20374
20381
  --v-scrollbar-offset: inherit;
20375
20382
  height: 100%;
20376
- }.v-layout-item {
20377
- position: absolute;
20378
- transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
20379
- }
20380
-
20381
- .v-layout-item--absolute {
20382
- position: absolute;
20383
20383
  }.v-list {
20384
20384
  overflow: auto;
20385
20385
  padding: 8px 0;
@@ -23083,6 +23083,41 @@ html.v-overlay-scroll-blocked {
23083
23083
  }
23084
23084
  .v-color-picker-edit__input span {
23085
23085
  font-size: 0.75rem;
23086
+ }.v-color-picker-swatches {
23087
+ overflow-y: auto;
23088
+ }
23089
+ .v-color-picker-swatches > div {
23090
+ display: flex;
23091
+ flex-wrap: wrap;
23092
+ justify-content: center;
23093
+ padding: 8px;
23094
+ }
23095
+
23096
+ .v-color-picker-swatches__swatch {
23097
+ display: flex;
23098
+ flex-direction: column;
23099
+ margin-bottom: 10px;
23100
+ }
23101
+
23102
+ .v-color-picker-swatches__color {
23103
+ position: relative;
23104
+ height: 18px;
23105
+ max-height: 18px;
23106
+ width: 45px;
23107
+ margin: 2px 4px;
23108
+ border-radius: 2px;
23109
+ -webkit-user-select: none;
23110
+ user-select: none;
23111
+ overflow: hidden;
23112
+ background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAAXNSR0IArs4c6QAAACRJREFUKFNjPHTo0H8GJGBnZ8eIzGekgwJk+0BsdCtRHEQbBQBbbh0dIGKknQAAAABJRU5ErkJggg==) repeat;
23113
+ cursor: pointer;
23114
+ }
23115
+ .v-color-picker-swatches__color > div {
23116
+ display: flex;
23117
+ align-items: center;
23118
+ justify-content: center;
23119
+ width: 100%;
23120
+ height: 100%;
23086
23121
  }.v-color-picker-preview__alpha .v-slider-track__background {
23087
23122
  background-color: transparent !important;
23088
23123
  }
@@ -23149,41 +23184,6 @@ html.v-overlay-scroll-blocked {
23149
23184
  align-items: center;
23150
23185
  display: flex;
23151
23186
  margin-bottom: 24px;
23152
- }.v-color-picker-swatches {
23153
- overflow-y: auto;
23154
- }
23155
- .v-color-picker-swatches > div {
23156
- display: flex;
23157
- flex-wrap: wrap;
23158
- justify-content: center;
23159
- padding: 8px;
23160
- }
23161
-
23162
- .v-color-picker-swatches__swatch {
23163
- display: flex;
23164
- flex-direction: column;
23165
- margin-bottom: 10px;
23166
- }
23167
-
23168
- .v-color-picker-swatches__color {
23169
- position: relative;
23170
- height: 18px;
23171
- max-height: 18px;
23172
- width: 45px;
23173
- margin: 2px 4px;
23174
- border-radius: 2px;
23175
- -webkit-user-select: none;
23176
- user-select: none;
23177
- overflow: hidden;
23178
- background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAAXNSR0IArs4c6QAAACRJREFUKFNjPHTo0H8GJGBnZ8eIzGekgwJk+0BsdCtRHEQbBQBbbh0dIGKknQAAAABJRU5ErkJggg==) repeat;
23179
- cursor: pointer;
23180
- }
23181
- .v-color-picker-swatches__color > div {
23182
- display: flex;
23183
- align-items: center;
23184
- justify-content: center;
23185
- width: 100%;
23186
- height: 100%;
23187
23187
  }.v-slider-thumb {
23188
23188
  touch-action: none;
23189
23189
  color: rgb(var(--v-theme-surface-variant));
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v4.0.0-dev-20230421.0
2
+ * Vuetify v4.0.0-dev-20230422.0
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -203,6 +203,10 @@ function clamp(value) {
203
203
  let max = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
204
204
  return Math.max(min, Math.min(max, value));
205
205
  }
206
+ function getDecimals(value) {
207
+ const trimmedStr = value.toString().trim();
208
+ return trimmedStr.includes('.') ? trimmedStr.length - trimmedStr.indexOf('.') - 1 : 0;
209
+ }
206
210
  function padEnd(str, length) {
207
211
  let char = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '0';
208
212
  return str + char.repeat(Math.max(0, length - str.length));
@@ -12614,10 +12618,7 @@ const useSteps = props => {
12614
12618
  const min = computed(() => parseFloat(props.min));
12615
12619
  const max = computed(() => parseFloat(props.max));
12616
12620
  const step = computed(() => +props.step > 0 ? parseFloat(props.step) : 0);
12617
- const decimals = computed(() => {
12618
- const trimmedStep = step.value.toString().trim();
12619
- return trimmedStep.includes('.') ? trimmedStep.length - trimmedStep.indexOf('.') - 1 : 0;
12620
- });
12621
+ const decimals = computed(() => Math.max(getDecimals(step.value), getDecimals(min.value)));
12621
12622
  function roundValue(value) {
12622
12623
  if (step.value <= 0) return value;
12623
12624
  const clamped = clamp(value, min.value, max.value);
@@ -21122,7 +21123,7 @@ function createVuetify$1() {
21122
21123
  date
21123
21124
  };
21124
21125
  }
21125
- const version$1 = "4.0.0-dev-20230421.0";
21126
+ const version$1 = "4.0.0-dev-20230422.0";
21126
21127
  createVuetify$1.version = version$1;
21127
21128
 
21128
21129
  // Vue's inject() can only be used in setup
@@ -21134,7 +21135,7 @@ function inject(key) {
21134
21135
  }
21135
21136
  }
21136
21137
 
21137
- const version = "4.0.0-dev-20230421.0";
21138
+ const version = "4.0.0-dev-20230422.0";
21138
21139
 
21139
21140
  const createVuetify = function () {
21140
21141
  let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};