@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/dist/vuetify.css CHANGED
@@ -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
  */
package/dist/vuetify.d.ts CHANGED
@@ -61029,41 +61029,41 @@ declare module '@vue/runtime-core' {
61029
61029
  VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
61030
61030
  VAvatar: typeof import('vuetify/components')['VAvatar']
61031
61031
  VBadge: typeof import('vuetify/components')['VBadge']
61032
+ VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
61032
61033
  VBanner: typeof import('vuetify/components')['VBanner']
61033
61034
  VBannerActions: typeof import('vuetify/components')['VBannerActions']
61034
61035
  VBannerText: typeof import('vuetify/components')['VBannerText']
61035
- VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
61036
+ VBtn: typeof import('vuetify/components')['VBtn']
61036
61037
  VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
61037
61038
  VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
61038
61039
  VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
61039
- VBtn: typeof import('vuetify/components')['VBtn']
61040
61040
  VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
61041
+ VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
61041
61042
  VCard: typeof import('vuetify/components')['VCard']
61042
61043
  VCardActions: typeof import('vuetify/components')['VCardActions']
61043
61044
  VCardItem: typeof import('vuetify/components')['VCardItem']
61044
61045
  VCardSubtitle: typeof import('vuetify/components')['VCardSubtitle']
61045
61046
  VCardText: typeof import('vuetify/components')['VCardText']
61046
61047
  VCardTitle: typeof import('vuetify/components')['VCardTitle']
61047
- VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
61048
61048
  VCarousel: typeof import('vuetify/components')['VCarousel']
61049
61049
  VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
61050
+ VChipGroup: typeof import('vuetify/components')['VChipGroup']
61050
61051
  VCheckbox: typeof import('vuetify/components')['VCheckbox']
61051
61052
  VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
61052
- VChip: typeof import('vuetify/components')['VChip']
61053
61053
  VCode: typeof import('vuetify/components')['VCode']
61054
61054
  VColorPicker: typeof import('vuetify/components')['VColorPicker']
61055
- VChipGroup: typeof import('vuetify/components')['VChipGroup']
61055
+ VChip: typeof import('vuetify/components')['VChip']
61056
61056
  VCombobox: typeof import('vuetify/components')['VCombobox']
61057
- VDialog: typeof import('vuetify/components')['VDialog']
61058
61057
  VCounter: typeof import('vuetify/components')['VCounter']
61058
+ VDialog: typeof import('vuetify/components')['VDialog']
61059
61059
  VDivider: typeof import('vuetify/components')['VDivider']
61060
+ VField: typeof import('vuetify/components')['VField']
61061
+ VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
61060
61062
  VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
61061
61063
  VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
61062
61064
  VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
61063
61065
  VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
61064
61066
  VFileInput: typeof import('vuetify/components')['VFileInput']
61065
- VField: typeof import('vuetify/components')['VField']
61066
- VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
61067
61067
  VFooter: typeof import('vuetify/components')['VFooter']
61068
61068
  VIcon: typeof import('vuetify/components')['VIcon']
61069
61069
  VComponentIcon: typeof import('vuetify/components')['VComponentIcon']
@@ -61076,6 +61076,7 @@ declare module '@vue/runtime-core' {
61076
61076
  VItem: typeof import('vuetify/components')['VItem']
61077
61077
  VKbd: typeof import('vuetify/components')['VKbd']
61078
61078
  VLabel: typeof import('vuetify/components')['VLabel']
61079
+ VMain: typeof import('vuetify/components')['VMain']
61079
61080
  VList: typeof import('vuetify/components')['VList']
61080
61081
  VListGroup: typeof import('vuetify/components')['VListGroup']
61081
61082
  VListImg: typeof import('vuetify/components')['VListImg']
@@ -61085,26 +61086,25 @@ declare module '@vue/runtime-core' {
61085
61086
  VListItemSubtitle: typeof import('vuetify/components')['VListItemSubtitle']
61086
61087
  VListItemTitle: typeof import('vuetify/components')['VListItemTitle']
61087
61088
  VListSubheader: typeof import('vuetify/components')['VListSubheader']
61088
- VMain: typeof import('vuetify/components')['VMain']
61089
61089
  VMenu: typeof import('vuetify/components')['VMenu']
61090
61090
  VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
61091
61091
  VMessages: typeof import('vuetify/components')['VMessages']
61092
61092
  VOverlay: typeof import('vuetify/components')['VOverlay']
61093
- VPagination: typeof import('vuetify/components')['VPagination']
61094
61093
  VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
61094
+ VPagination: typeof import('vuetify/components')['VPagination']
61095
61095
  VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
61096
61096
  VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
61097
61097
  VRating: typeof import('vuetify/components')['VRating']
61098
61098
  VSelect: typeof import('vuetify/components')['VSelect']
61099
- VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
61100
61099
  VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
61101
- VSheet: typeof import('vuetify/components')['VSheet']
61102
61100
  VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
61103
61101
  VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
61102
+ VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
61103
+ VSheet: typeof import('vuetify/components')['VSheet']
61104
61104
  VSlider: typeof import('vuetify/components')['VSlider']
61105
61105
  VSnackbar: typeof import('vuetify/components')['VSnackbar']
61106
- VSwitch: typeof import('vuetify/components')['VSwitch']
61107
61106
  VSystemBar: typeof import('vuetify/components')['VSystemBar']
61107
+ VSwitch: typeof import('vuetify/components')['VSwitch']
61108
61108
  VTabs: typeof import('vuetify/components')['VTabs']
61109
61109
  VTab: typeof import('vuetify/components')['VTab']
61110
61110
  VTable: typeof import('vuetify/components')['VTable']
@@ -61119,23 +61119,22 @@ declare module '@vue/runtime-core' {
61119
61119
  VWindow: typeof import('vuetify/components')['VWindow']
61120
61120
  VWindowItem: typeof import('vuetify/components')['VWindowItem']
61121
61121
  VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
61122
+ VHover: typeof import('vuetify/components')['VHover']
61123
+ VForm: typeof import('vuetify/components')['VForm']
61122
61124
  VContainer: typeof import('vuetify/components')['VContainer']
61123
61125
  VCol: typeof import('vuetify/components')['VCol']
61124
61126
  VRow: typeof import('vuetify/components')['VRow']
61125
61127
  VSpacer: typeof import('vuetify/components')['VSpacer']
61126
- VHover: typeof import('vuetify/components')['VHover']
61127
- VForm: typeof import('vuetify/components')['VForm']
61128
+ VLazy: typeof import('vuetify/components')['VLazy']
61128
61129
  VLayout: typeof import('vuetify/components')['VLayout']
61129
61130
  VLayoutItem: typeof import('vuetify/components')['VLayoutItem']
61130
61131
  VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
61131
- VLazy: typeof import('vuetify/components')['VLazy']
61132
61132
  VNoSsr: typeof import('vuetify/components')['VNoSsr']
61133
- VRadio: typeof import('vuetify/components')['VRadio']
61134
61133
  VParallax: typeof import('vuetify/components')['VParallax']
61135
- VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
61134
+ VRadio: typeof import('vuetify/components')['VRadio']
61136
61135
  VResponsive: typeof import('vuetify/components')['VResponsive']
61136
+ VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
61137
61137
  VThemeProvider: typeof import('vuetify/components')['VThemeProvider']
61138
- VValidation: typeof import('vuetify/components')['VValidation']
61139
61138
  VVirtualScroll: typeof import('vuetify/components')['VVirtualScroll']
61140
61139
  VFabTransition: typeof import('vuetify/components')['VFabTransition']
61141
61140
  VDialogBottomTransition: typeof import('vuetify/components')['VDialogBottomTransition']
@@ -61153,5 +61152,6 @@ declare module '@vue/runtime-core' {
61153
61152
  VExpandTransition: typeof import('vuetify/components')['VExpandTransition']
61154
61153
  VExpandXTransition: typeof import('vuetify/components')['VExpandXTransition']
61155
61154
  VDialogTransition: typeof import('vuetify/components')['VDialogTransition']
61155
+ VValidation: typeof import('vuetify/components')['VValidation']
61156
61156
  }
61157
61157
  }
@@ -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));
@@ -12610,10 +12614,7 @@ const useSteps = props => {
12610
12614
  const min = computed(() => parseFloat(props.min));
12611
12615
  const max = computed(() => parseFloat(props.max));
12612
12616
  const step = computed(() => +props.step > 0 ? parseFloat(props.step) : 0);
12613
- const decimals = computed(() => {
12614
- const trimmedStep = step.value.toString().trim();
12615
- return trimmedStep.includes('.') ? trimmedStep.length - trimmedStep.indexOf('.') - 1 : 0;
12616
- });
12617
+ const decimals = computed(() => Math.max(getDecimals(step.value), getDecimals(min.value)));
12617
12618
  function roundValue(value) {
12618
12619
  if (step.value <= 0) return value;
12619
12620
  const clamped = clamp(value, min.value, max.value);
@@ -19225,7 +19226,7 @@ function createVuetify$1() {
19225
19226
  date
19226
19227
  };
19227
19228
  }
19228
- const version$1 = "4.0.0-dev-20230421.0";
19229
+ const version$1 = "4.0.0-dev-20230422.0";
19229
19230
  createVuetify$1.version = version$1;
19230
19231
 
19231
19232
  // Vue's inject() can only be used in setup
@@ -19245,7 +19246,7 @@ const createVuetify = function () {
19245
19246
  ...options
19246
19247
  });
19247
19248
  };
19248
- const version = "4.0.0-dev-20230421.0";
19249
+ const version = "4.0.0-dev-20230422.0";
19249
19250
  createVuetify.version = version;
19250
19251
 
19251
19252
  export { components, createVuetify, directives, useDate, useDisplay, useLayout, useLocale, useRtl, useTheme, version };