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