vuetify 3.6.0-alpha.2 → 3.6.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/_component-variables-labs.sass +2 -1
- package/dist/json/attributes.json +731 -63
- package/dist/json/importMap-labs.json +32 -20
- package/dist/json/importMap.json +138 -138
- package/dist/json/tags.json +184 -2
- package/dist/json/web-types.json +13002 -10923
- package/dist/vuetify-labs.css +2039 -1927
- package/dist/vuetify-labs.d.ts +3575 -1079
- package/dist/vuetify-labs.esm.js +1047 -390
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +1046 -389
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +3026 -2941
- package/dist/vuetify.d.ts +927 -306
- package/dist/vuetify.esm.js +625 -363
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +624 -362
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +728 -714
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAlert/VAlert.sass +128 -127
- package/lib/components/VApp/VApp.sass +15 -13
- package/lib/components/VAppBar/VAppBar.sass +9 -8
- package/lib/components/VAppBar/index.d.mts +10 -0
- package/lib/components/VAutocomplete/VAutocomplete.mjs +8 -10
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.sass +94 -93
- package/lib/components/VAutocomplete/index.d.mts +36 -0
- package/lib/components/VAvatar/VAvatar.sass +26 -25
- package/lib/components/VBadge/VBadge.sass +61 -60
- package/lib/components/VBanner/VBanner.css +1 -1
- package/lib/components/VBanner/VBanner.sass +92 -91
- package/lib/components/VBanner/index.d.mts +15 -0
- package/lib/components/VBottomNavigation/VBottomNavigation.sass +50 -49
- package/lib/components/VBottomSheet/VBottomSheet.sass +28 -26
- package/lib/components/VBottomSheet/index.d.mts +14 -0
- package/lib/components/VBreadcrumbs/VBreadcrumbs.css +1 -1
- package/lib/components/VBreadcrumbs/VBreadcrumbs.sass +41 -40
- package/lib/components/VBtn/VBtn.css +3 -0
- package/lib/components/VBtn/VBtn.mjs +3 -1
- package/lib/components/VBtn/VBtn.mjs.map +1 -1
- package/lib/components/VBtn/VBtn.sass +204 -200
- package/lib/components/VBtn/index.d.mts +10 -0
- package/lib/components/VBtnGroup/VBtnGroup.sass +47 -46
- package/lib/components/VBtnToggle/VBtnToggle.sass +4 -3
- package/lib/components/VBtnToggle/index.d.mts +1 -0
- package/lib/components/VCard/VCard.css +3 -3
- package/lib/components/VCard/VCard.sass +181 -180
- package/lib/components/VCarousel/VCarousel.sass +50 -49
- package/lib/components/VCarousel/VCarouselItem.mjs +1 -1
- package/lib/components/VCarousel/VCarouselItem.mjs.map +1 -1
- package/lib/components/VCarousel/index.d.mts +1 -0
- package/lib/components/VCheckbox/VCheckbox.sass +6 -5
- package/lib/components/VChip/VChip.css +1 -1
- package/lib/components/VChip/VChip.sass +78 -76
- package/lib/components/VChipGroup/VChipGroup.sass +20 -18
- package/lib/components/VChipGroup/index.d.mts +16 -0
- package/lib/components/VCode/VCode.sass +10 -8
- package/lib/components/VColorPicker/VColorPicker.sass +18 -17
- package/lib/components/VColorPicker/VColorPickerCanvas.sass +21 -20
- package/lib/components/VColorPicker/VColorPickerEdit.sass +24 -23
- package/lib/components/VColorPicker/VColorPickerPreview.sass +54 -53
- package/lib/components/VColorPicker/VColorPickerSwatches.sass +29 -28
- package/lib/components/VCombobox/VCombobox.mjs +8 -10
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VCombobox/VCombobox.sass +94 -93
- package/lib/components/VCombobox/index.d.mts +36 -0
- package/lib/components/VCounter/VCounter.sass +7 -5
- package/lib/components/VDataIterator/index.d.mts +2 -0
- package/lib/components/VDataTable/VDataTable.css +36 -1
- package/lib/components/VDataTable/VDataTable.sass +137 -103
- package/lib/components/VDataTable/VDataTableFooter.css +5 -9
- package/lib/components/VDataTable/VDataTableFooter.sass +26 -25
- package/lib/components/VDataTable/VDataTableHeaders.mjs +66 -7
- package/lib/components/VDataTable/VDataTableHeaders.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTableRow.mjs +45 -10
- package/lib/components/VDataTable/VDataTableRow.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTableRows.mjs +8 -2
- package/lib/components/VDataTable/VDataTableRows.mjs.map +1 -1
- package/lib/components/VDataTable/_variables.scss +9 -3
- package/lib/components/VDataTable/index.d.mts +263 -217
- package/lib/components/VDataTable/types.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePicker.mjs +12 -2
- package/lib/components/VDatePicker/VDatePicker.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePicker.sass +6 -5
- package/lib/components/VDatePicker/VDatePickerControls.sass +56 -55
- package/lib/components/VDatePicker/VDatePickerHeader.sass +58 -56
- package/lib/components/VDatePicker/VDatePickerMonth.sass +53 -51
- package/lib/components/VDatePicker/VDatePickerMonths.sass +18 -16
- package/lib/components/VDatePicker/VDatePickerYears.sass +14 -12
- package/lib/components/VDialog/VDialog.css +7 -3
- package/lib/components/VDialog/VDialog.mjs +6 -2
- package/lib/components/VDialog/VDialog.mjs.map +1 -1
- package/lib/components/VDialog/VDialog.sass +71 -68
- package/lib/components/VDialog/__test__/VDialog.spec.cy.mjs +39 -0
- package/lib/components/VDialog/__test__/VDialog.spec.cy.mjs.map +1 -0
- package/lib/components/VDialog/_variables.scss +4 -3
- package/lib/components/VDialog/index.d.mts +60 -10
- package/lib/components/VDivider/VDivider.sass +49 -48
- package/lib/components/VExpansionPanel/VExpansionPanel.sass +172 -171
- package/lib/components/VField/VField.sass +451 -450
- package/lib/components/VFileInput/VFileInput.mjs +1 -1
- package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
- package/lib/components/VFileInput/VFileInput.sass +30 -31
- package/lib/components/VFileInput/index.d.mts +17 -5
- package/lib/components/VFooter/VFooter.sass +17 -16
- package/lib/components/VGrid/VGrid.sass +42 -40
- package/lib/components/VIcon/VIcon.sass +34 -32
- package/lib/components/VImg/VImg.sass +24 -23
- package/lib/components/VInfiniteScroll/VInfiniteScroll.sass +21 -19
- package/lib/components/VInput/VInput.mjs +6 -1
- package/lib/components/VInput/VInput.mjs.map +1 -1
- package/lib/components/VInput/VInput.sass +103 -102
- package/lib/components/VInput/index.d.mts +6 -0
- package/lib/components/VItemGroup/VItemGroup.sass +7 -5
- package/lib/components/VKbd/VKbd.sass +10 -9
- package/lib/components/VLabel/VLabel.sass +14 -13
- package/lib/components/VLayout/VLayout.mjs +6 -1
- package/lib/components/VLayout/VLayout.mjs.map +1 -1
- package/lib/components/VLayout/VLayout.sass +10 -7
- package/lib/components/VLayout/VLayoutItem.sass +7 -5
- package/lib/components/VLayout/index.d.mts +36 -0
- package/lib/components/VList/VList.mjs +2 -1
- package/lib/components/VList/VList.mjs.map +1 -1
- package/lib/components/VList/VList.sass +81 -80
- package/lib/components/VList/VListItem.css +1 -1
- package/lib/components/VList/VListItem.sass +260 -259
- package/lib/components/VLocaleProvider/VLocaleProvider.sass +5 -2
- package/lib/components/VMain/VMain.sass +22 -21
- package/lib/components/VMenu/VMenu.sass +14 -13
- package/lib/components/VMenu/index.d.mts +56 -0
- package/lib/components/VMessages/VMessages.sass +16 -15
- package/lib/components/VNavigationDrawer/VNavigationDrawer.css +4 -0
- package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +14 -5
- package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs.map +1 -1
- package/lib/components/VNavigationDrawer/VNavigationDrawer.sass +90 -84
- package/lib/components/VNavigationDrawer/index.d.mts +24 -0
- package/lib/components/VNavigationDrawer/touch.mjs +16 -2
- package/lib/components/VNavigationDrawer/touch.mjs.map +1 -1
- package/lib/components/VOtpInput/VOtpInput.sass +51 -50
- package/lib/components/VOverlay/VOverlay.mjs +2 -2
- package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
- package/lib/components/VOverlay/VOverlay.sass +57 -55
- package/lib/components/VOverlay/index.d.mts +27 -13
- package/lib/components/VOverlay/useActivator.mjs.map +1 -1
- package/lib/components/VPagination/VPagination.sass +14 -12
- package/lib/components/VParallax/VParallax.sass +8 -5
- package/lib/components/VProgressCircular/VProgressCircular.sass +85 -83
- package/lib/components/VProgressLinear/VProgressLinear.mjs +11 -1
- package/lib/components/VProgressLinear/VProgressLinear.mjs.map +1 -1
- package/lib/components/VProgressLinear/VProgressLinear.sass +170 -169
- package/lib/components/VProgressLinear/index.d.mts +21 -0
- package/lib/components/VRadioGroup/VRadioGroup.sass +12 -10
- package/lib/components/VRangeSlider/index.d.mts +6 -0
- package/lib/components/VRating/VRating.sass +46 -44
- package/lib/components/VResponsive/VResponsive.sass +21 -19
- package/lib/components/VSelect/VSelect.mjs +5 -1
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VSelect/VSelect.sass +50 -49
- package/lib/components/VSelect/index.d.mts +36 -0
- package/lib/components/VSelectionControl/VSelectionControl.sass +87 -86
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.sass +9 -7
- package/lib/components/VSheet/VSheet.sass +10 -9
- package/lib/components/VSkeletonLoader/VSkeletonLoader.sass +174 -173
- package/lib/components/VSlideGroup/VSlideGroup.css +14 -1
- package/lib/components/VSlideGroup/VSlideGroup.mjs +110 -93
- package/lib/components/VSlideGroup/VSlideGroup.mjs.map +1 -1
- package/lib/components/VSlideGroup/VSlideGroup.sass +54 -40
- package/lib/components/VSlideGroup/helpers.mjs +48 -28
- package/lib/components/VSlideGroup/helpers.mjs.map +1 -1
- package/lib/components/VSlideGroup/index.d.mts +16 -0
- package/lib/components/VSlider/VSlider.sass +49 -48
- package/lib/components/VSlider/VSliderThumb.sass +129 -128
- package/lib/components/VSlider/VSliderTrack.sass +120 -119
- package/lib/components/VSlider/index.d.mts +6 -0
- package/lib/components/VSnackbar/VSnackbar.css +18 -1
- package/lib/components/VSnackbar/VSnackbar.mjs +34 -9
- package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
- package/lib/components/VSnackbar/VSnackbar.sass +103 -83
- package/lib/components/VSnackbar/index.d.mts +42 -0
- package/lib/components/VStepper/VStepper.sass +37 -36
- package/lib/components/VStepper/VStepperItem.sass +69 -67
- package/lib/components/VSwitch/VSwitch.css +14 -2
- package/lib/components/VSwitch/VSwitch.sass +119 -112
- package/lib/components/VSystemBar/VSystemBar.css +1 -1
- package/lib/components/VSystemBar/VSystemBar.sass +24 -23
- package/lib/components/VTable/VTable.sass +140 -139
- package/lib/components/VTabs/VTab.sass +27 -25
- package/lib/components/VTabs/VTabs.sass +38 -37
- package/lib/components/VTabs/index.d.mts +49 -6
- package/lib/components/VTextField/VTextField.sass +58 -56
- package/lib/components/VTextField/index.d.mts +15 -3
- package/lib/components/VTextarea/VTextarea.sass +43 -42
- package/lib/components/VTextarea/index.d.mts +15 -3
- package/lib/components/VThemeProvider/VThemeProvider.sass +6 -3
- package/lib/components/VTimeline/VTimeline.sass +308 -307
- package/lib/components/VToolbar/VToolbar.sass +90 -89
- package/lib/components/VTooltip/VTooltip.sass +23 -21
- package/lib/components/VTooltip/index.d.mts +56 -0
- package/lib/components/VVirtualScroll/VVirtualScroll.sass +10 -7
- package/lib/components/VWindow/VWindow.css +1 -0
- package/lib/components/VWindow/VWindow.sass +74 -70
- package/lib/components/VWindow/index.d.mts +1 -0
- package/lib/components/index.d.mts +870 -253
- package/lib/composables/directiveComponent.mjs +4 -2
- package/lib/composables/directiveComponent.mjs.map +1 -1
- package/lib/composables/display.mjs +5 -0
- package/lib/composables/display.mjs.map +1 -1
- package/lib/composables/goto.mjs +40 -3
- package/lib/composables/goto.mjs.map +1 -1
- package/lib/composables/group.mjs +10 -1
- package/lib/composables/group.mjs.map +1 -1
- package/lib/composables/layout.mjs +3 -1
- package/lib/composables/layout.mjs.map +1 -1
- package/lib/directives/ripple/VRipple.sass +35 -33
- package/lib/entry-bundler.mjs +1 -1
- package/lib/entry-bundler.mjs.map +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/framework.mjs.map +1 -1
- package/lib/index.d.mts +58 -54
- package/lib/labs/VCalendar/VCalendar.sass +160 -158
- package/lib/labs/VCalendar/VCalendarDay.sass +26 -23
- package/lib/labs/VCalendar/VCalendarHeader.sass +12 -10
- package/lib/labs/VCalendar/VCalendarInterval.sass +36 -34
- package/lib/labs/VCalendar/VCalendarIntervalEvent.sass +9 -6
- package/lib/labs/VCalendar/VCalendarMonthDay.sass +59 -57
- package/lib/labs/VDateInput/VDateInput.mjs +129 -0
- package/lib/labs/VDateInput/VDateInput.mjs.map +1 -0
- package/lib/labs/VDateInput/index.d.mts +1068 -0
- package/lib/labs/VDateInput/index.mjs +2 -0
- package/lib/labs/VDateInput/index.mjs.map +1 -0
- package/lib/labs/VEmptyState/VEmptyState.css +3 -3
- package/lib/labs/VEmptyState/VEmptyState.sass +59 -57
- package/lib/labs/VFab/VFab.css +1 -0
- package/lib/labs/VFab/VFab.mjs +3 -2
- package/lib/labs/VFab/VFab.mjs.map +1 -1
- package/lib/labs/VFab/VFab.sass +62 -60
- package/lib/labs/VFab/index.d.mts +19 -0
- package/lib/labs/VNumberInput/VNumberInput.mjs +79 -24
- package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
- package/lib/labs/VNumberInput/VNumberInput.sass +42 -40
- package/lib/labs/VNumberInput/index.d.mts +56 -29
- package/lib/labs/VPicker/VPicker.sass +49 -48
- package/lib/labs/VPullToRefresh/VPullToRefresh.css +27 -0
- package/lib/labs/VPullToRefresh/VPullToRefresh.mjs +117 -0
- package/lib/labs/VPullToRefresh/VPullToRefresh.mjs.map +1 -0
- package/lib/labs/VPullToRefresh/VPullToRefresh.sass +23 -0
- package/lib/labs/VPullToRefresh/index.d.mts +189 -0
- package/lib/labs/VPullToRefresh/index.mjs +2 -0
- package/lib/labs/VPullToRefresh/index.mjs.map +1 -0
- package/lib/labs/VSnackbarQueue/VSnackbarQueue.mjs +112 -0
- package/lib/labs/VSnackbarQueue/VSnackbarQueue.mjs.map +1 -0
- package/lib/labs/VSnackbarQueue/index.d.mts +2763 -0
- package/lib/labs/VSnackbarQueue/index.mjs +2 -0
- package/lib/labs/VSnackbarQueue/index.mjs.map +1 -0
- package/lib/labs/VSpeedDial/VSpeedDial.mjs +8 -2
- package/lib/labs/VSpeedDial/VSpeedDial.mjs.map +1 -1
- package/lib/labs/VSpeedDial/VSpeedDial.sass +23 -20
- package/lib/labs/VSpeedDial/index.d.mts +28 -2
- package/lib/labs/VTimePicker/VTimePicker.sass +9 -8
- package/lib/labs/VTimePicker/VTimePickerClock.mjs +1 -3
- package/lib/labs/VTimePicker/VTimePickerClock.mjs.map +1 -1
- package/lib/labs/VTimePicker/VTimePickerClock.sass +114 -113
- package/lib/labs/VTimePicker/VTimePickerControls.sass +90 -90
- package/lib/labs/VTimePicker/_variables.scss +1 -1
- package/lib/labs/VTimePicker/index.d.mts +6 -13
- package/lib/labs/VTreeview/VTreeviewItem.sass +14 -12
- package/lib/labs/VTreeview/{variables.scss → _variables.scss} +0 -2
- package/lib/labs/components.d.mts +5587 -1641
- package/lib/labs/components.mjs +3 -0
- package/lib/labs/components.mjs.map +1 -1
- package/lib/locale/af.mjs +1 -0
- package/lib/locale/af.mjs.map +1 -1
- package/lib/locale/ar.mjs +1 -0
- package/lib/locale/ar.mjs.map +1 -1
- package/lib/locale/az.mjs +1 -0
- package/lib/locale/az.mjs.map +1 -1
- package/lib/locale/bg.mjs +1 -0
- package/lib/locale/bg.mjs.map +1 -1
- package/lib/locale/ca.mjs +1 -0
- package/lib/locale/ca.mjs.map +1 -1
- package/lib/locale/ckb.mjs +1 -0
- package/lib/locale/ckb.mjs.map +1 -1
- package/lib/locale/cs.mjs +1 -0
- package/lib/locale/cs.mjs.map +1 -1
- package/lib/locale/da.mjs +1 -0
- package/lib/locale/da.mjs.map +1 -1
- package/lib/locale/de.mjs +1 -0
- package/lib/locale/de.mjs.map +1 -1
- package/lib/locale/el.mjs +1 -0
- package/lib/locale/el.mjs.map +1 -1
- package/lib/locale/en.mjs +1 -0
- package/lib/locale/en.mjs.map +1 -1
- package/lib/locale/es.mjs +1 -0
- package/lib/locale/es.mjs.map +1 -1
- package/lib/locale/et.mjs +1 -0
- package/lib/locale/et.mjs.map +1 -1
- package/lib/locale/fa.mjs +1 -0
- package/lib/locale/fa.mjs.map +1 -1
- package/lib/locale/fi.mjs +1 -0
- package/lib/locale/fi.mjs.map +1 -1
- package/lib/locale/fr.mjs +1 -0
- package/lib/locale/fr.mjs.map +1 -1
- package/lib/locale/he.mjs +1 -0
- package/lib/locale/he.mjs.map +1 -1
- package/lib/locale/hr.mjs +1 -0
- package/lib/locale/hr.mjs.map +1 -1
- package/lib/locale/hu.mjs +1 -0
- package/lib/locale/hu.mjs.map +1 -1
- package/lib/locale/id.mjs +1 -0
- package/lib/locale/id.mjs.map +1 -1
- package/lib/locale/index.d.mts +43 -0
- package/lib/locale/it.mjs +1 -0
- package/lib/locale/it.mjs.map +1 -1
- package/lib/locale/ja.mjs +1 -0
- package/lib/locale/ja.mjs.map +1 -1
- package/lib/locale/km.mjs +1 -0
- package/lib/locale/km.mjs.map +1 -1
- package/lib/locale/ko.mjs +9 -8
- package/lib/locale/ko.mjs.map +1 -1
- package/lib/locale/lt.mjs +1 -0
- package/lib/locale/lt.mjs.map +1 -1
- package/lib/locale/lv.mjs +1 -0
- package/lib/locale/lv.mjs.map +1 -1
- package/lib/locale/nl.mjs +1 -0
- package/lib/locale/nl.mjs.map +1 -1
- package/lib/locale/no.mjs +1 -0
- package/lib/locale/no.mjs.map +1 -1
- package/lib/locale/pl.mjs +1 -0
- package/lib/locale/pl.mjs.map +1 -1
- package/lib/locale/pt.mjs +1 -0
- package/lib/locale/pt.mjs.map +1 -1
- package/lib/locale/ro.mjs +1 -0
- package/lib/locale/ro.mjs.map +1 -1
- package/lib/locale/ru.mjs +1 -0
- package/lib/locale/ru.mjs.map +1 -1
- package/lib/locale/sk.mjs +1 -0
- package/lib/locale/sk.mjs.map +1 -1
- package/lib/locale/sl.mjs +1 -0
- package/lib/locale/sl.mjs.map +1 -1
- package/lib/locale/sr-Cyrl.mjs +1 -0
- package/lib/locale/sr-Cyrl.mjs.map +1 -1
- package/lib/locale/sr-Latn.mjs +1 -0
- package/lib/locale/sr-Latn.mjs.map +1 -1
- package/lib/locale/sv.mjs +1 -0
- package/lib/locale/sv.mjs.map +1 -1
- package/lib/locale/th.mjs +1 -0
- package/lib/locale/th.mjs.map +1 -1
- package/lib/locale/tr.mjs +1 -0
- package/lib/locale/tr.mjs.map +1 -1
- package/lib/locale/uk.mjs +1 -0
- package/lib/locale/uk.mjs.map +1 -1
- package/lib/locale/vi.mjs +1 -0
- package/lib/locale/vi.mjs.map +1 -1
- package/lib/locale/zh-Hans.mjs +1 -0
- package/lib/locale/zh-Hans.mjs.map +1 -1
- package/lib/locale/zh-Hant.mjs +1 -0
- package/lib/locale/zh-Hant.mjs.map +1 -1
- package/lib/styles/elements/_blockquote.sass +6 -4
- package/lib/styles/elements/_global.sass +20 -18
- package/lib/styles/generic/_animations.scss +13 -9
- package/lib/styles/generic/_colors.scss +36 -35
- package/lib/styles/generic/_index.scss +1 -0
- package/lib/styles/generic/_layers.scss +7 -0
- package/lib/styles/generic/_reset.scss +235 -232
- package/lib/styles/generic/_rtl.scss +10 -6
- package/lib/styles/generic/_transitions.scss +244 -241
- package/lib/styles/main.css +78 -78
- package/lib/styles/settings/_variables.scss +22 -14
- package/lib/styles/tools/_index.sass +1 -0
- package/lib/styles/tools/_layer.scss +11 -0
- package/lib/styles/utilities/_display.sass +7 -5
- package/lib/styles/utilities/_elevation.scss +8 -6
- package/lib/styles/utilities/_index.sass +28 -29
- package/lib/styles/utilities/_screenreaders.sass +13 -11
- package/package.json +2 -2
|
@@ -5,529 +5,530 @@
|
|
|
5
5
|
@use '../../styles/tools'
|
|
6
6
|
@use './variables' as *
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
8
|
+
@include tools.layer('components')
|
|
9
|
+
/* region INPUT */
|
|
10
|
+
.v-field
|
|
11
|
+
display: grid
|
|
12
|
+
grid-template-areas: "prepend-inner field clear append-inner"
|
|
13
|
+
grid-template-columns: min-content minmax(0, 1fr) min-content min-content
|
|
14
|
+
font-size: $field-font-size
|
|
15
|
+
letter-spacing: $field-letter-spacing
|
|
16
|
+
max-width: $field-max-width
|
|
17
|
+
border-radius: $field-border-radius
|
|
18
|
+
contain: layout
|
|
19
|
+
flex: 1 0
|
|
20
|
+
grid-area: control
|
|
21
|
+
position: relative
|
|
22
|
+
|
|
23
|
+
&--disabled
|
|
24
|
+
opacity: var(--v-disabled-opacity)
|
|
25
|
+
pointer-events: none
|
|
25
26
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
--v-field-padding-start: #{$field-control-padding-start}
|
|
28
|
+
--v-field-padding-end: #{$field-control-padding-end}
|
|
29
|
+
--v-field-padding-top: #{$field-control-padding-top}
|
|
30
|
+
--v-field-padding-bottom: #{$field-control-padding-bottom}
|
|
31
|
+
--v-field-input-padding-top: #{$field-input-padding-top}
|
|
32
|
+
--v-field-input-padding-bottom: #{$field-input-padding-bottom}
|
|
32
33
|
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
.v-chip
|
|
35
|
+
--v-chip-height: #{$field-chip-height}
|
|
35
36
|
|
|
36
|
-
/* endregion */
|
|
37
|
-
/* region MODIFIERS */
|
|
38
|
-
.v-field
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
/* endregion */
|
|
38
|
+
/* region MODIFIERS */
|
|
39
|
+
.v-field
|
|
40
|
+
&--prepended
|
|
41
|
+
padding-inline-start: $field-control-affixed-padding
|
|
41
42
|
|
|
42
|
-
|
|
43
|
-
|
|
43
|
+
&--appended
|
|
44
|
+
padding-inline-end: $field-control-affixed-padding
|
|
44
45
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
46
|
+
&--variant-solo,
|
|
47
|
+
&--variant-solo-filled
|
|
48
|
+
background: $field-control-solo-background
|
|
49
|
+
border-color: transparent
|
|
50
|
+
color: $field-control-solo-color
|
|
50
51
|
|
|
51
|
-
|
|
52
|
+
@include tools.elevation($field-control-solo-elevation)
|
|
52
53
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
&--variant-solo-inverted
|
|
55
|
+
background: $field-control-solo-background
|
|
56
|
+
border-color: transparent
|
|
57
|
+
color: $field-control-solo-inverted-color
|
|
57
58
|
|
|
58
|
-
|
|
59
|
+
@include tools.elevation($field-control-solo-elevation)
|
|
59
60
|
|
|
60
|
-
|
|
61
|
-
|
|
61
|
+
&.v-field--focused
|
|
62
|
+
color: $field-control-solo-inverted-focused-color
|
|
62
63
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
&--variant-filled
|
|
65
|
+
border-bottom-left-radius: 0
|
|
66
|
+
border-bottom-right-radius: 0
|
|
66
67
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
68
|
+
&--variant-solo,
|
|
69
|
+
&--variant-solo-inverted,
|
|
70
|
+
&--variant-solo-filled,
|
|
71
|
+
&--variant-filled
|
|
72
|
+
$root: &
|
|
72
73
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
74
|
+
@at-root
|
|
75
|
+
@include tools.density('v-input', $input-density) using ($modifier)
|
|
76
|
+
@at-root #{selector.nest(&, $root)}
|
|
77
|
+
--v-input-control-height: #{$field-control-height + $modifier}
|
|
78
|
+
--v-field-padding-bottom: #{math.max(0px, $field-control-padding-bottom + $modifier * .5)}
|
|
78
79
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
80
|
+
&--variant-outlined,
|
|
81
|
+
&--single-line,
|
|
82
|
+
&--no-label
|
|
83
|
+
--v-field-padding-top: 0px
|
|
84
|
+
$root: &
|
|
84
85
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
86
|
+
@at-root
|
|
87
|
+
@include tools.density('v-input', $input-density) using ($modifier)
|
|
88
|
+
@at-root #{selector.nest(&, $root)}
|
|
89
|
+
--v-field-padding-bottom: #{16px + $modifier * .5}
|
|
89
90
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
91
|
+
&--variant-plain,
|
|
92
|
+
&--variant-underlined
|
|
93
|
+
$root: &
|
|
94
|
+
border-radius: 0
|
|
95
|
+
padding: 0
|
|
95
96
|
|
|
97
|
+
&.v-field
|
|
98
|
+
--v-field-padding-start: 0px
|
|
99
|
+
--v-field-padding-end: 0px
|
|
100
|
+
|
|
101
|
+
@at-root
|
|
102
|
+
@include tools.density('v-input', $input-density) using ($modifier)
|
|
103
|
+
@at-root #{selector.nest(&, $root)}
|
|
104
|
+
--v-input-control-height: #{$field-control-underlined-height + $modifier}
|
|
105
|
+
--v-field-padding-top: #{math.max(0px, 4px + $modifier * .25)}
|
|
106
|
+
--v-field-padding-bottom: #{math.max(0px, $field-control-padding-bottom + $modifier * .5)}
|
|
107
|
+
|
|
108
|
+
&--flat
|
|
109
|
+
box-shadow: none
|
|
110
|
+
|
|
111
|
+
&--rounded
|
|
112
|
+
@include tools.rounded($field-rounded-border-radius)
|
|
113
|
+
|
|
114
|
+
// These are separate so they can override the default variant styles
|
|
96
115
|
&.v-field
|
|
97
|
-
|
|
98
|
-
|
|
116
|
+
&--prepended
|
|
117
|
+
--v-field-padding-start: #{$field-control-affixed-inner-padding}
|
|
118
|
+
|
|
119
|
+
&--appended
|
|
120
|
+
--v-field-padding-end: #{$field-control-affixed-inner-padding}
|
|
121
|
+
|
|
122
|
+
/* endregion */
|
|
123
|
+
/* region ELEMENTS */
|
|
124
|
+
.v-field__input
|
|
125
|
+
align-items: center
|
|
126
|
+
color: inherit
|
|
127
|
+
column-gap: $field-input-column-gap
|
|
128
|
+
display: flex
|
|
129
|
+
flex-wrap: wrap
|
|
130
|
+
letter-spacing: $field-letter-spacing
|
|
131
|
+
opacity: $field-input-opacity
|
|
132
|
+
min-height: $field-input-min-height
|
|
133
|
+
min-width: 0
|
|
134
|
+
padding-inline: var(--v-field-padding-start) var(--v-field-padding-end)
|
|
135
|
+
padding-top: var(--v-field-input-padding-top)
|
|
136
|
+
padding-bottom: var(--v-field-input-padding-bottom)
|
|
137
|
+
position: relative
|
|
138
|
+
width: 100%
|
|
139
|
+
|
|
140
|
+
$root: &
|
|
99
141
|
|
|
100
142
|
@at-root
|
|
101
143
|
@include tools.density('v-input', $input-density) using ($modifier)
|
|
102
144
|
@at-root #{selector.nest(&, $root)}
|
|
103
|
-
|
|
104
|
-
--v-field-padding-top: #{math.max(0px, 4px + $modifier * .25)}
|
|
105
|
-
--v-field-padding-bottom: #{math.max(0px, $field-control-padding-bottom + $modifier * .5)}
|
|
145
|
+
row-gap: #{$field-input-row-gap + $modifier * .25}
|
|
106
146
|
|
|
107
|
-
|
|
108
|
-
|
|
147
|
+
input
|
|
148
|
+
letter-spacing: inherit
|
|
109
149
|
|
|
110
|
-
|
|
111
|
-
|
|
150
|
+
@at-root
|
|
151
|
+
& input::placeholder,
|
|
152
|
+
input#{&}::placeholder,
|
|
153
|
+
textarea#{&}::placeholder
|
|
154
|
+
color: currentColor
|
|
155
|
+
opacity: var(--v-disabled-opacity)
|
|
156
|
+
|
|
157
|
+
&:focus,
|
|
158
|
+
&:active
|
|
159
|
+
outline: none
|
|
160
|
+
|
|
161
|
+
// Remove Firefox red outline
|
|
162
|
+
&:invalid
|
|
163
|
+
box-shadow: none
|
|
164
|
+
|
|
165
|
+
.v-field__field
|
|
166
|
+
flex: 1 0
|
|
167
|
+
grid-area: field
|
|
168
|
+
position: relative
|
|
169
|
+
align-items: flex-start
|
|
170
|
+
display: flex
|
|
112
171
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
172
|
+
/* endregion */
|
|
173
|
+
/* region AFFIXES */
|
|
174
|
+
.v-field__prepend-inner
|
|
175
|
+
grid-area: prepend-inner
|
|
176
|
+
padding-inline-end: var(--v-field-padding-after)
|
|
117
177
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
/* endregion */
|
|
122
|
-
/* region ELEMENTS */
|
|
123
|
-
.v-field__input
|
|
124
|
-
align-items: center
|
|
125
|
-
color: inherit
|
|
126
|
-
column-gap: $field-input-column-gap
|
|
127
|
-
display: flex
|
|
128
|
-
flex-wrap: wrap
|
|
129
|
-
letter-spacing: $field-letter-spacing
|
|
130
|
-
opacity: $field-input-opacity
|
|
131
|
-
min-height: $field-input-min-height
|
|
132
|
-
min-width: 0
|
|
133
|
-
padding-inline: var(--v-field-padding-start) var(--v-field-padding-end)
|
|
134
|
-
padding-top: var(--v-field-input-padding-top)
|
|
135
|
-
padding-bottom: var(--v-field-input-padding-bottom)
|
|
136
|
-
position: relative
|
|
137
|
-
width: 100%
|
|
138
|
-
|
|
139
|
-
$root: &
|
|
140
|
-
|
|
141
|
-
@at-root
|
|
142
|
-
@include tools.density('v-input', $input-density) using ($modifier)
|
|
143
|
-
@at-root #{selector.nest(&, $root)}
|
|
144
|
-
row-gap: #{$field-input-row-gap + $modifier * .25}
|
|
145
|
-
|
|
146
|
-
input
|
|
147
|
-
letter-spacing: inherit
|
|
148
|
-
|
|
149
|
-
@at-root
|
|
150
|
-
& input::placeholder,
|
|
151
|
-
input#{&}::placeholder,
|
|
152
|
-
textarea#{&}::placeholder
|
|
153
|
-
color: currentColor
|
|
154
|
-
opacity: var(--v-disabled-opacity)
|
|
178
|
+
.v-field__clearable
|
|
179
|
+
grid-area: clear
|
|
155
180
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
// Remove Firefox red outline
|
|
161
|
-
&:invalid
|
|
162
|
-
box-shadow: none
|
|
163
|
-
|
|
164
|
-
.v-field__field
|
|
165
|
-
flex: 1 0
|
|
166
|
-
grid-area: field
|
|
167
|
-
position: relative
|
|
168
|
-
align-items: flex-start
|
|
169
|
-
display: flex
|
|
170
|
-
|
|
171
|
-
/* endregion */
|
|
172
|
-
/* region AFFIXES */
|
|
173
|
-
.v-field__prepend-inner
|
|
174
|
-
grid-area: prepend-inner
|
|
175
|
-
padding-inline-end: var(--v-field-padding-after)
|
|
176
|
-
|
|
177
|
-
.v-field__clearable
|
|
178
|
-
grid-area: clear
|
|
179
|
-
|
|
180
|
-
.v-field__append-inner
|
|
181
|
-
grid-area: append-inner
|
|
182
|
-
padding-inline-start: var(--v-field-padding-after)
|
|
183
|
-
|
|
184
|
-
.v-field__append-inner,
|
|
185
|
-
.v-field__clearable,
|
|
186
|
-
.v-field__prepend-inner
|
|
187
|
-
display: flex
|
|
188
|
-
align-items: flex-start
|
|
189
|
-
padding-top: var(--v-input-padding-top, $field-control-padding-top)
|
|
190
|
-
|
|
191
|
-
.v-field--center-affix &
|
|
192
|
-
align-items: center
|
|
193
|
-
padding-top: 0
|
|
181
|
+
.v-field__append-inner
|
|
182
|
+
grid-area: append-inner
|
|
183
|
+
padding-inline-start: var(--v-field-padding-after)
|
|
194
184
|
|
|
195
|
-
.v-field.v-field--variant-underlined,
|
|
196
|
-
.v-field.v-field--variant-plain
|
|
197
185
|
.v-field__append-inner,
|
|
198
186
|
.v-field__clearable,
|
|
199
187
|
.v-field__prepend-inner
|
|
188
|
+
display: flex
|
|
200
189
|
align-items: flex-start
|
|
201
|
-
padding-top: $field-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
.v-
|
|
210
|
-
.v-
|
|
211
|
-
.v-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
.v-
|
|
217
|
-
|
|
190
|
+
padding-top: var(--v-input-padding-top, $field-control-padding-top)
|
|
191
|
+
|
|
192
|
+
.v-field--center-affix &
|
|
193
|
+
align-items: center
|
|
194
|
+
padding-top: 0
|
|
195
|
+
|
|
196
|
+
.v-field.v-field--variant-underlined,
|
|
197
|
+
.v-field.v-field--variant-plain
|
|
198
|
+
.v-field__append-inner,
|
|
199
|
+
.v-field__clearable,
|
|
200
|
+
.v-field__prepend-inner
|
|
201
|
+
align-items: flex-start
|
|
202
|
+
padding-top: $field-input-padding-top
|
|
203
|
+
padding-bottom: $field-input-padding-bottom
|
|
204
|
+
|
|
205
|
+
.v-field__prepend-inner,
|
|
206
|
+
.v-field__append-inner
|
|
207
|
+
.v-field--focused &
|
|
218
208
|
opacity: 1
|
|
219
209
|
|
|
220
|
-
.v-
|
|
210
|
+
.v-field__prepend-inner,
|
|
211
|
+
.v-field__append-inner,
|
|
212
|
+
.v-field__clearable
|
|
221
213
|
> .v-icon
|
|
222
|
-
|
|
214
|
+
opacity: var(--v-medium-emphasis-opacity)
|
|
223
215
|
|
|
224
|
-
.v-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
margin-inline: $field-clearable-margin
|
|
229
|
-
transition: $field-transition-timing
|
|
230
|
-
transition-property: opacity, transform, width
|
|
216
|
+
.v-field--disabled &,
|
|
217
|
+
.v-field--error &
|
|
218
|
+
> .v-icon
|
|
219
|
+
opacity: 1
|
|
231
220
|
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
221
|
+
.v-field--error:not(.v-field--disabled) &
|
|
222
|
+
> .v-icon
|
|
223
|
+
color: rgb(var(--v-theme-error))
|
|
235
224
|
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
/* endregion */
|
|
244
|
-
/* region LABEL */
|
|
245
|
-
.v-label.v-field-label
|
|
246
|
-
contain: layout paint
|
|
247
|
-
display: block
|
|
248
|
-
margin-inline-start: var(--v-field-padding-start)
|
|
249
|
-
margin-inline-end: var(--v-field-padding-end)
|
|
250
|
-
max-width: calc(100% - var(--v-field-padding-start) - var(--v-field-padding-end))
|
|
251
|
-
pointer-events: none
|
|
252
|
-
position: absolute
|
|
253
|
-
top: var(--v-input-padding-top)
|
|
254
|
-
transform-origin: left center
|
|
255
|
-
transition: $field-transition-timing
|
|
256
|
-
transition-property: opacity, transform
|
|
257
|
-
z-index: 1
|
|
258
|
-
|
|
259
|
-
.v-field--variant-underlined &,
|
|
260
|
-
.v-field--variant-plain &
|
|
261
|
-
top: calc(var(--v-input-padding-top) + var(--v-field-padding-top))
|
|
262
|
-
|
|
263
|
-
.v-field--center-affix &
|
|
264
|
-
top: 50%
|
|
265
|
-
transform: translateY(-50%)
|
|
266
|
-
|
|
267
|
-
.v-field--active &
|
|
268
|
-
visibility: hidden
|
|
269
|
-
|
|
270
|
-
.v-field--focused &,
|
|
271
|
-
.v-field--error &
|
|
272
|
-
opacity: 1
|
|
273
|
-
|
|
274
|
-
.v-field--error:not(.v-field--disabled) &
|
|
275
|
-
color: rgb(var(--v-theme-error))
|
|
276
|
-
|
|
277
|
-
&--floating
|
|
278
|
-
--v-field-label-scale: #{$field-label-floating-scale}em
|
|
279
|
-
font-size: var(--v-field-label-scale)
|
|
280
|
-
visibility: hidden
|
|
281
|
-
max-width: 100%
|
|
225
|
+
.v-field__clearable
|
|
226
|
+
cursor: pointer
|
|
227
|
+
opacity: 0
|
|
228
|
+
overflow: hidden
|
|
229
|
+
margin-inline: $field-clearable-margin
|
|
230
|
+
transition: $field-transition-timing
|
|
231
|
+
transition-property: opacity, transform, width
|
|
282
232
|
|
|
283
|
-
.v-field--
|
|
284
|
-
|
|
233
|
+
.v-field--focused &,
|
|
234
|
+
.v-field--persistent-clear &
|
|
235
|
+
opacity: 1
|
|
285
236
|
|
|
286
|
-
|
|
287
|
-
|
|
237
|
+
@media (hover: hover)
|
|
238
|
+
.v-field:hover &
|
|
239
|
+
opacity: 1
|
|
288
240
|
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
.v-field--variant-filled &,
|
|
292
|
-
.v-field--variant-solo-filled &
|
|
293
|
-
$root: &
|
|
241
|
+
@media (hover: none)
|
|
242
|
+
opacity: 1
|
|
294
243
|
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
244
|
+
/* endregion */
|
|
245
|
+
/* region LABEL */
|
|
246
|
+
.v-label.v-field-label
|
|
247
|
+
contain: layout paint
|
|
248
|
+
display: block
|
|
249
|
+
margin-inline-start: var(--v-field-padding-start)
|
|
250
|
+
margin-inline-end: var(--v-field-padding-end)
|
|
251
|
+
max-width: calc(100% - var(--v-field-padding-start) - var(--v-field-padding-end))
|
|
252
|
+
pointer-events: none
|
|
253
|
+
position: absolute
|
|
254
|
+
top: var(--v-input-padding-top)
|
|
255
|
+
transform-origin: left center
|
|
256
|
+
transition: $field-transition-timing
|
|
257
|
+
transition-property: opacity, transform
|
|
258
|
+
z-index: 1
|
|
299
259
|
|
|
300
|
-
.v-field--variant-
|
|
301
|
-
.v-field--variant-
|
|
302
|
-
|
|
303
|
-
margin: 0
|
|
304
|
-
top: var(--v-input-padding-top)
|
|
260
|
+
.v-field--variant-underlined &,
|
|
261
|
+
.v-field--variant-plain &
|
|
262
|
+
top: calc(var(--v-input-padding-top) + var(--v-field-padding-top))
|
|
305
263
|
|
|
306
|
-
.v-field--
|
|
264
|
+
.v-field--center-affix &
|
|
265
|
+
top: 50%
|
|
307
266
|
transform: translateY(-50%)
|
|
308
|
-
transform-origin: center
|
|
309
|
-
position: static
|
|
310
|
-
margin: 0 4px
|
|
311
|
-
|
|
312
|
-
/* endregion */
|
|
313
|
-
/* region OUTLINE */
|
|
314
|
-
.v-field__outline
|
|
315
|
-
--v-field-border-width: #{$field-border-width}
|
|
316
|
-
--v-field-border-opacity: #{$field-outline-opacity}
|
|
317
|
-
align-items: stretch
|
|
318
|
-
contain: layout
|
|
319
|
-
display: flex
|
|
320
|
-
height: 100%
|
|
321
|
-
left: 0
|
|
322
|
-
pointer-events: none
|
|
323
|
-
position: absolute
|
|
324
|
-
right: 0
|
|
325
|
-
width: 100%
|
|
326
|
-
|
|
327
|
-
@media (hover: hover)
|
|
328
|
-
.v-field:hover &
|
|
329
|
-
--v-field-border-opacity: var(--v-high-emphasis-opacity)
|
|
330
|
-
|
|
331
|
-
.v-field--error:not(.v-field--disabled) &
|
|
332
|
-
color: rgb(var(--v-theme-error))
|
|
333
|
-
|
|
334
|
-
.v-field.v-field--focused &,
|
|
335
|
-
.v-input.v-input--error &
|
|
336
|
-
--v-field-border-opacity: 1
|
|
337
|
-
|
|
338
|
-
.v-field--variant-outlined.v-field--focused &
|
|
339
|
-
--v-field-border-width: #{$field-focused-border-width}
|
|
340
|
-
|
|
341
|
-
.v-field--variant-filled &,
|
|
342
|
-
.v-field--variant-underlined &
|
|
343
|
-
&::before
|
|
344
|
-
border-color: currentColor
|
|
345
|
-
border-style: solid
|
|
346
|
-
border-width: 0 0 var(--v-field-border-width)
|
|
347
|
-
opacity: var(--v-field-border-opacity)
|
|
348
|
-
transition: opacity $field-subtle-transition-timing
|
|
349
|
-
@include tools.absolute(true)
|
|
350
|
-
|
|
351
|
-
.v-field--variant-filled &,
|
|
352
|
-
.v-field--variant-underlined &
|
|
353
|
-
&::after
|
|
354
|
-
border-color: currentColor
|
|
355
|
-
border-style: solid
|
|
356
|
-
border-width: 0 0 $field-focused-border-width
|
|
357
|
-
transform: scaleX(0)
|
|
358
|
-
transition: transform $field-transition-timing
|
|
359
|
-
@include tools.absolute(true)
|
|
360
|
-
|
|
361
|
-
@at-root #{selector.append('.v-field--focused', &)}
|
|
362
|
-
transform: scaleX(1)
|
|
363
|
-
|
|
364
|
-
.v-field--variant-outlined &
|
|
365
|
-
border-radius: inherit
|
|
366
267
|
|
|
367
|
-
&
|
|
368
|
-
|
|
369
|
-
&__notch::after,
|
|
370
|
-
&__end
|
|
371
|
-
border: 0 solid currentColor
|
|
372
|
-
opacity: var(--v-field-border-opacity)
|
|
373
|
-
transition: opacity $field-subtle-transition-timing
|
|
268
|
+
.v-field--active &
|
|
269
|
+
visibility: hidden
|
|
374
270
|
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
border-bottom-width: var(--v-field-border-width)
|
|
379
|
-
border-inline-start-width: var(--v-field-border-width)
|
|
380
|
-
border-start-start-radius: inherit
|
|
381
|
-
border-start-end-radius: 0
|
|
382
|
-
border-end-end-radius: 0
|
|
383
|
-
border-end-start-radius: inherit
|
|
271
|
+
.v-field--focused &,
|
|
272
|
+
.v-field--error &
|
|
273
|
+
opacity: 1
|
|
384
274
|
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
#{selector.append('[class^="rounded-"]', &)},
|
|
388
|
-
#{selector.append('[class*=" rounded-"]', &)}
|
|
389
|
-
flex-basis: calc(var(--v-input-control-height) / 2 + 2px)
|
|
390
|
-
|
|
391
|
-
@at-root #{selector.append('.v-field--reverse', &)}
|
|
392
|
-
border-start-start-radius: 0
|
|
393
|
-
border-start-end-radius: inherit
|
|
394
|
-
border-end-end-radius: inherit
|
|
395
|
-
border-end-start-radius: 0
|
|
396
|
-
border-inline-end-width: var(--v-field-border-width)
|
|
397
|
-
border-inline-start-width: 0
|
|
275
|
+
.v-field--error:not(.v-field--disabled) &
|
|
276
|
+
color: rgb(var(--v-theme-error))
|
|
398
277
|
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
278
|
+
&--floating
|
|
279
|
+
--v-field-label-scale: #{$field-label-floating-scale}em
|
|
280
|
+
font-size: var(--v-field-label-scale)
|
|
281
|
+
visibility: hidden
|
|
282
|
+
max-width: 100%
|
|
283
|
+
|
|
284
|
+
.v-field--center-affix &
|
|
285
|
+
transform: none
|
|
286
|
+
|
|
287
|
+
.v-field.v-field--active &
|
|
288
|
+
visibility: unset
|
|
289
|
+
|
|
290
|
+
.v-field--variant-solo &,
|
|
291
|
+
.v-field--variant-solo-inverted &,
|
|
292
|
+
.v-field--variant-filled &,
|
|
293
|
+
.v-field--variant-solo-filled &
|
|
294
|
+
$root: &
|
|
295
|
+
|
|
296
|
+
@at-root
|
|
297
|
+
@include tools.density('v-input', $input-density) using ($modifier)
|
|
298
|
+
@at-root #{selector.nest(&, $root)}
|
|
299
|
+
top: 7px + $modifier * .25
|
|
300
|
+
|
|
301
|
+
.v-field--variant-plain &,
|
|
302
|
+
.v-field--variant-underlined &
|
|
303
|
+
transform: translateY(-16px)
|
|
304
|
+
margin: 0
|
|
305
|
+
top: var(--v-input-padding-top)
|
|
306
|
+
|
|
307
|
+
.v-field--variant-outlined &
|
|
308
|
+
transform: translateY(-50%)
|
|
309
|
+
transform-origin: center
|
|
310
|
+
position: static
|
|
311
|
+
margin: 0 4px
|
|
312
|
+
|
|
313
|
+
/* endregion */
|
|
314
|
+
/* region OUTLINE */
|
|
315
|
+
.v-field__outline
|
|
316
|
+
--v-field-border-width: #{$field-border-width}
|
|
317
|
+
--v-field-border-opacity: #{$field-outline-opacity}
|
|
318
|
+
align-items: stretch
|
|
319
|
+
contain: layout
|
|
320
|
+
display: flex
|
|
321
|
+
height: 100%
|
|
322
|
+
left: 0
|
|
323
|
+
pointer-events: none
|
|
324
|
+
position: absolute
|
|
325
|
+
right: 0
|
|
326
|
+
width: 100%
|
|
403
327
|
|
|
404
|
-
|
|
405
|
-
|
|
328
|
+
@media (hover: hover)
|
|
329
|
+
.v-field:hover &
|
|
330
|
+
--v-field-border-opacity: var(--v-high-emphasis-opacity)
|
|
331
|
+
|
|
332
|
+
.v-field--error:not(.v-field--disabled) &
|
|
333
|
+
color: rgb(var(--v-theme-error))
|
|
334
|
+
|
|
335
|
+
.v-field.v-field--focused &,
|
|
336
|
+
.v-input.v-input--error &
|
|
337
|
+
--v-field-border-opacity: 1
|
|
338
|
+
|
|
339
|
+
.v-field--variant-outlined.v-field--focused &
|
|
340
|
+
--v-field-border-width: #{$field-focused-border-width}
|
|
341
|
+
|
|
342
|
+
.v-field--variant-filled &,
|
|
343
|
+
.v-field--variant-underlined &
|
|
344
|
+
&::before
|
|
345
|
+
border-color: currentColor
|
|
346
|
+
border-style: solid
|
|
347
|
+
border-width: 0 0 var(--v-field-border-width)
|
|
406
348
|
opacity: var(--v-field-border-opacity)
|
|
407
349
|
transition: opacity $field-subtle-transition-timing
|
|
350
|
+
@include tools.absolute(true)
|
|
408
351
|
|
|
352
|
+
.v-field--variant-filled &,
|
|
353
|
+
.v-field--variant-underlined &
|
|
354
|
+
&::after
|
|
355
|
+
border-color: currentColor
|
|
356
|
+
border-style: solid
|
|
357
|
+
border-width: 0 0 $field-focused-border-width
|
|
358
|
+
transform: scaleX(0)
|
|
359
|
+
transition: transform $field-transition-timing
|
|
409
360
|
@include tools.absolute(true)
|
|
410
361
|
|
|
411
|
-
|
|
412
|
-
|
|
362
|
+
@at-root #{selector.append('.v-field--focused', &)}
|
|
363
|
+
transform: scaleX(1)
|
|
413
364
|
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
border-width: 0 0 var(--v-field-border-width)
|
|
365
|
+
.v-field--variant-outlined &
|
|
366
|
+
border-radius: inherit
|
|
417
367
|
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
@at-root #{selector.append('.v-field--reverse', &)}
|
|
368
|
+
&__start,
|
|
369
|
+
&__notch::before,
|
|
370
|
+
&__notch::after,
|
|
371
|
+
&__end
|
|
372
|
+
border: 0 solid currentColor
|
|
373
|
+
opacity: var(--v-field-border-opacity)
|
|
374
|
+
transition: opacity $field-subtle-transition-timing
|
|
375
|
+
|
|
376
|
+
&__start
|
|
377
|
+
flex: 0 0 $field-control-affixed-padding
|
|
378
|
+
border-top-width: var(--v-field-border-width)
|
|
379
|
+
border-bottom-width: var(--v-field-border-width)
|
|
380
|
+
border-inline-start-width: var(--v-field-border-width)
|
|
433
381
|
border-start-start-radius: inherit
|
|
434
382
|
border-start-end-radius: 0
|
|
435
383
|
border-end-end-radius: 0
|
|
436
|
-
border-end-start-radius: inherit
|
|
437
|
-
|
|
438
|
-
|
|
384
|
+
border-end-start-radius: inherit
|
|
385
|
+
|
|
386
|
+
@at-root
|
|
387
|
+
#{selector.append('.v-field--rounded', &)},
|
|
388
|
+
#{selector.append('[class^="rounded-"]', &)},
|
|
389
|
+
#{selector.append('[class*=" rounded-"]', &)}
|
|
390
|
+
flex-basis: calc(var(--v-input-control-height) / 2 + 2px)
|
|
391
|
+
|
|
392
|
+
@at-root #{selector.append('.v-field--reverse', &)}
|
|
393
|
+
border-start-start-radius: 0
|
|
394
|
+
border-start-end-radius: inherit
|
|
395
|
+
border-end-end-radius: inherit
|
|
396
|
+
border-end-start-radius: 0
|
|
397
|
+
border-inline-end-width: var(--v-field-border-width)
|
|
398
|
+
border-inline-start-width: 0
|
|
399
|
+
|
|
400
|
+
&__notch
|
|
401
|
+
flex: none
|
|
402
|
+
position: relative
|
|
403
|
+
max-width: calc(100% - $field-control-affixed-padding)
|
|
404
|
+
|
|
405
|
+
&::before,
|
|
406
|
+
&::after
|
|
407
|
+
opacity: var(--v-field-border-opacity)
|
|
408
|
+
transition: opacity $field-subtle-transition-timing
|
|
409
|
+
|
|
410
|
+
@include tools.absolute(true)
|
|
439
411
|
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
.v-field__loader
|
|
443
|
-
top: calc(100% - 2px)
|
|
444
|
-
left: 0
|
|
445
|
-
position: absolute
|
|
446
|
-
right: 0
|
|
447
|
-
width: 100%
|
|
448
|
-
border-top-left-radius: 0
|
|
449
|
-
border-top-right-radius: 0
|
|
450
|
-
border-bottom-left-radius: inherit
|
|
451
|
-
border-bottom-right-radius: inherit
|
|
452
|
-
overflow: hidden
|
|
453
|
-
|
|
454
|
-
.v-field--variant-outlined &
|
|
455
|
-
top: calc(100% - 3px)
|
|
456
|
-
width: calc(100% - #{$field-border-width} * 2)
|
|
457
|
-
left: $field-border-width
|
|
458
|
-
|
|
459
|
-
/* endregion */
|
|
460
|
-
/* region OVERLAY */
|
|
461
|
-
.v-field__overlay
|
|
462
|
-
border-radius: inherit
|
|
463
|
-
pointer-events: none
|
|
464
|
-
|
|
465
|
-
@include tools.absolute()
|
|
466
|
-
|
|
467
|
-
.v-field--variant-filled
|
|
468
|
-
.v-field__overlay
|
|
469
|
-
background-color: currentColor
|
|
470
|
-
opacity: $field-overlay-filled-opacity
|
|
471
|
-
transition: opacity $field-subtle-transition-timing
|
|
412
|
+
&::before
|
|
413
|
+
border-width: var(--v-field-border-width) 0 0
|
|
472
414
|
|
|
473
|
-
|
|
474
|
-
|
|
415
|
+
&::after
|
|
416
|
+
bottom: 0
|
|
417
|
+
border-width: 0 0 var(--v-field-border-width)
|
|
475
418
|
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
419
|
+
@at-root #{selector.append('.v-field--active', &)}
|
|
420
|
+
&::before
|
|
421
|
+
opacity: 0
|
|
479
422
|
|
|
480
|
-
|
|
481
|
-
|
|
423
|
+
&__end
|
|
424
|
+
flex: 1
|
|
425
|
+
border-top-width: var(--v-field-border-width)
|
|
426
|
+
border-bottom-width: var(--v-field-border-width)
|
|
427
|
+
border-inline-end-width: var(--v-field-border-width)
|
|
428
|
+
border-start-start-radius: 0
|
|
429
|
+
border-start-end-radius: inherit
|
|
430
|
+
border-end-end-radius: inherit
|
|
431
|
+
border-end-start-radius: 0
|
|
432
|
+
|
|
433
|
+
@at-root #{selector.append('.v-field--reverse', &)}
|
|
434
|
+
border-start-start-radius: inherit
|
|
435
|
+
border-start-end-radius: 0
|
|
436
|
+
border-end-end-radius: 0
|
|
437
|
+
border-end-start-radius: inherit
|
|
438
|
+
border-inline-end-width: 0
|
|
439
|
+
border-inline-start-width: var(--v-field-border-width)
|
|
440
|
+
|
|
441
|
+
/* endregion */
|
|
442
|
+
/* region LOADER */
|
|
443
|
+
.v-field__loader
|
|
444
|
+
top: calc(100% - 2px)
|
|
445
|
+
left: 0
|
|
446
|
+
position: absolute
|
|
447
|
+
right: 0
|
|
448
|
+
width: 100%
|
|
449
|
+
border-top-left-radius: 0
|
|
450
|
+
border-top-right-radius: 0
|
|
451
|
+
border-bottom-left-radius: inherit
|
|
452
|
+
border-bottom-right-radius: inherit
|
|
453
|
+
overflow: hidden
|
|
454
|
+
|
|
455
|
+
.v-field--variant-outlined &
|
|
456
|
+
top: calc(100% - 3px)
|
|
457
|
+
width: calc(100% - #{$field-border-width} * 2)
|
|
458
|
+
left: $field-border-width
|
|
482
459
|
|
|
483
|
-
|
|
460
|
+
/* endregion */
|
|
461
|
+
/* region OVERLAY */
|
|
484
462
|
.v-field__overlay
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
transition: opacity $field-subtle-transition-timing
|
|
463
|
+
border-radius: inherit
|
|
464
|
+
pointer-events: none
|
|
488
465
|
|
|
489
|
-
|
|
490
|
-
&:hover .v-field__overlay
|
|
491
|
-
opacity: calc((#{$field-overlay-filled-opacity} + #{map.get(settings.$states, 'hover')}) * var(--v-theme-overlay-multiplier))
|
|
466
|
+
@include tools.absolute()
|
|
492
467
|
|
|
493
|
-
|
|
494
|
-
|
|
468
|
+
.v-field--variant-filled
|
|
469
|
+
.v-field__overlay
|
|
470
|
+
background-color: currentColor
|
|
471
|
+
opacity: $field-overlay-filled-opacity
|
|
472
|
+
transition: opacity $field-subtle-transition-timing
|
|
495
473
|
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
transition: opacity $field-subtle-transition-timing
|
|
474
|
+
&.v-field--has-background .v-field__overlay
|
|
475
|
+
opacity: 0
|
|
499
476
|
|
|
500
|
-
|
|
501
|
-
|
|
477
|
+
@media (hover: hover)
|
|
478
|
+
&:hover .v-field__overlay
|
|
479
|
+
opacity: calc((#{$field-overlay-filled-opacity} + #{map.get(settings.$states, 'hover')}) * var(--v-theme-overlay-multiplier))
|
|
502
480
|
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
opacity: calc((#{.04} + #{map.get(settings.$states, 'hover')}) * var(--v-theme-overlay-multiplier))
|
|
481
|
+
&.v-field--focused .v-field__overlay
|
|
482
|
+
opacity: calc((#{$field-overlay-filled-opacity} + #{map.get(settings.$states, 'focus')}) * var(--v-theme-overlay-multiplier))
|
|
506
483
|
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
484
|
+
.v-field--variant-solo-filled
|
|
485
|
+
.v-field__overlay
|
|
486
|
+
background-color: currentColor
|
|
487
|
+
opacity: $field-overlay-filled-opacity
|
|
488
|
+
transition: opacity $field-subtle-transition-timing
|
|
510
489
|
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
.v-
|
|
514
|
-
.v-field__field,
|
|
515
|
-
.v-field__input,
|
|
516
|
-
.v-field__outline
|
|
517
|
-
flex-direction: row-reverse
|
|
490
|
+
@media (hover: hover)
|
|
491
|
+
&:hover .v-field__overlay
|
|
492
|
+
opacity: calc((#{$field-overlay-filled-opacity} + #{map.get(settings.$states, 'hover')}) * var(--v-theme-overlay-multiplier))
|
|
518
493
|
|
|
519
|
-
|
|
520
|
-
|
|
494
|
+
&.v-field--focused .v-field__overlay
|
|
495
|
+
opacity: calc((#{$field-overlay-filled-opacity} + #{map.get(settings.$states, 'focus')}) * var(--v-theme-overlay-multiplier))
|
|
521
496
|
|
|
522
|
-
.v-field--variant-
|
|
523
|
-
.v-
|
|
524
|
-
|
|
525
|
-
.v-field__outline::before
|
|
526
|
-
border-image: repeating-linear-gradient(to right, $field-disabled-color 0px, $field-disabled-color 2px, transparent 2px, transparent 4px) 1 repeat
|
|
497
|
+
.v-field--variant-solo-inverted
|
|
498
|
+
.v-field__overlay
|
|
499
|
+
transition: opacity $field-subtle-transition-timing
|
|
527
500
|
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
501
|
+
&.v-field--has-background .v-field__overlay
|
|
502
|
+
opacity: 0
|
|
503
|
+
|
|
504
|
+
@media (hover: hover)
|
|
505
|
+
&:hover .v-field__overlay
|
|
506
|
+
opacity: calc((#{.04} + #{map.get(settings.$states, 'hover')}) * var(--v-theme-overlay-multiplier))
|
|
507
|
+
|
|
508
|
+
&.v-field--focused .v-field__overlay
|
|
509
|
+
background-color: $field-overlay-focused-background-color
|
|
510
|
+
opacity: 1
|
|
511
|
+
|
|
512
|
+
/* endregion */
|
|
513
|
+
/* region MODIFIERS */
|
|
514
|
+
.v-field--reverse
|
|
515
|
+
.v-field__field,
|
|
516
|
+
.v-field__input,
|
|
517
|
+
.v-field__outline
|
|
518
|
+
flex-direction: row-reverse
|
|
519
|
+
|
|
520
|
+
.v-field__input, input
|
|
521
|
+
text-align: end
|
|
522
|
+
|
|
523
|
+
.v-field--variant-filled,
|
|
524
|
+
.v-field--variant-underlined
|
|
525
|
+
.v-input--disabled &
|
|
526
|
+
.v-field__outline::before
|
|
527
|
+
border-image: repeating-linear-gradient(to right, $field-disabled-color 0px, $field-disabled-color 2px, transparent 2px, transparent 4px) 1 repeat
|
|
528
|
+
|
|
529
|
+
.v-field--loading
|
|
530
|
+
.v-field__outline::after,
|
|
531
|
+
.v-field__outline::before
|
|
532
|
+
opacity: 0
|
|
532
533
|
|
|
533
|
-
/* endregion */
|
|
534
|
+
/* endregion */
|