@vuetify/nightly 3.7.4-next.2024-11-06 → 3.7.5-master.2024-12-03

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 (416) hide show
  1. package/dist/json/attributes.json +1561 -1561
  2. package/dist/json/importMap-labs.json +8 -8
  3. package/dist/json/importMap.json +120 -120
  4. package/dist/json/web-types.json +2945 -2945
  5. package/dist/vuetify-labs.css +25432 -23715
  6. package/dist/vuetify-labs.d.ts +14220 -3389
  7. package/dist/vuetify-labs.esm.js +73 -70
  8. package/dist/vuetify-labs.esm.js.map +1 -1
  9. package/dist/vuetify-labs.js +73 -70
  10. package/dist/vuetify-labs.min.css +4 -3
  11. package/dist/vuetify.css +23969 -22249
  12. package/dist/vuetify.d.ts +11832 -2652
  13. package/dist/vuetify.esm.js +62 -60
  14. package/dist/vuetify.esm.js.map +1 -1
  15. package/dist/vuetify.js +62 -60
  16. package/dist/vuetify.js.map +1 -1
  17. package/dist/vuetify.min.css +4 -3
  18. package/dist/vuetify.min.js +37 -37
  19. package/dist/vuetify.min.js.map +1 -1
  20. package/lib/components/VAlert/VAlert.css +215 -207
  21. package/lib/components/VAlert/VAlert.mjs +1 -1
  22. package/lib/components/VAlert/index.d.mts +86 -8
  23. package/lib/components/VApp/VApp.css +15 -16
  24. package/lib/components/VApp/index.d.mts +20 -4
  25. package/lib/components/VAppBar/VAppBar.css +12 -14
  26. package/lib/components/VAppBar/VAppBar.mjs +1 -1
  27. package/lib/components/VAppBar/VAppBarNavIcon.mjs +1 -1
  28. package/lib/components/VAppBar/VAppBarTitle.mjs +1 -1
  29. package/lib/components/VAppBar/index.d.mts +148 -12
  30. package/lib/components/VAutocomplete/VAutocomplete.css +85 -86
  31. package/lib/components/VAutocomplete/VAutocomplete.mjs +5 -5
  32. package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
  33. package/lib/components/VAutocomplete/index.d.mts +1396 -237
  34. package/lib/components/VAvatar/VAvatar.css +106 -108
  35. package/lib/components/VAvatar/index.d.mts +31 -4
  36. package/lib/components/VBadge/VBadge.css +77 -73
  37. package/lib/components/VBadge/VBadge.mjs +1 -1
  38. package/lib/components/VBadge/VBadge.sass +4 -0
  39. package/lib/components/VBadge/index.d.mts +41 -4
  40. package/lib/components/VBanner/VBanner.css +166 -161
  41. package/lib/components/VBanner/VBanner.mjs +1 -1
  42. package/lib/components/VBanner/index.d.mts +88 -12
  43. package/lib/components/VBottomNavigation/VBottomNavigation.css +63 -64
  44. package/lib/components/VBottomNavigation/index.d.mts +32 -4
  45. package/lib/components/VBottomSheet/VBottomSheet.css +31 -34
  46. package/lib/components/VBottomSheet/VBottomSheet.mjs +1 -1
  47. package/lib/components/VBottomSheet/index.d.mts +88 -4
  48. package/lib/components/VBreadcrumbs/VBreadcrumbs.css +57 -54
  49. package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs +1 -1
  50. package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs +1 -1
  51. package/lib/components/VBreadcrumbs/index.d.mts +65 -12
  52. package/lib/components/VBtn/VBtn.css +408 -385
  53. package/lib/components/VBtn/VBtn.mjs +1 -1
  54. package/lib/components/VBtn/VBtn.sass +4 -4
  55. package/lib/components/VBtn/index.d.mts +72 -4
  56. package/lib/components/VBtnGroup/VBtnGroup.css +64 -63
  57. package/lib/components/VBtnGroup/VBtnGroup.mjs +1 -1
  58. package/lib/components/VBtnGroup/index.d.mts +28 -4
  59. package/lib/components/VBtnToggle/VBtnToggle.css +14 -16
  60. package/lib/components/VBtnToggle/VBtnToggle.mjs +1 -1
  61. package/lib/components/VBtnToggle/index.d.mts +24 -4
  62. package/lib/components/VCard/VCard.css +302 -294
  63. package/lib/components/VCard/VCard.mjs +1 -1
  64. package/lib/components/VCard/VCardItem.mjs +1 -1
  65. package/lib/components/VCard/VCardSubtitle.mjs +1 -1
  66. package/lib/components/VCard/VCardText.mjs +1 -1
  67. package/lib/components/VCard/index.d.mts +190 -24
  68. package/lib/components/VCarousel/VCarousel.css +65 -63
  69. package/lib/components/VCarousel/VCarousel.mjs +1 -1
  70. package/lib/components/VCarousel/VCarousel.sass +1 -1
  71. package/lib/components/VCarousel/VCarouselItem.mjs +1 -1
  72. package/lib/components/VCarousel/index.d.mts +86 -8
  73. package/lib/components/VCheckbox/VCheckbox.css +5 -7
  74. package/lib/components/VCheckbox/VCheckbox.mjs +1 -1
  75. package/lib/components/VCheckbox/VCheckboxBtn.mjs +1 -1
  76. package/lib/components/VCheckbox/index.d.mts +90 -8
  77. package/lib/components/VChip/VChip.css +411 -378
  78. package/lib/components/VChip/VChip.mjs +4 -3
  79. package/lib/components/VChip/VChip.mjs.map +1 -1
  80. package/lib/components/VChip/index.d.mts +113 -12
  81. package/lib/components/VChipGroup/VChipGroup.css +18 -19
  82. package/lib/components/VChipGroup/VChipGroup.mjs +1 -1
  83. package/lib/components/VChipGroup/index.d.mts +28 -4
  84. package/lib/components/VCode/VCode.css +8 -10
  85. package/lib/components/VCode/index.d.mts +18 -4
  86. package/lib/components/VColorPicker/VColorPicker.css +22 -22
  87. package/lib/components/VColorPicker/VColorPicker.mjs +1 -1
  88. package/lib/components/VColorPicker/VColorPickerCanvas.css +22 -24
  89. package/lib/components/VColorPicker/VColorPickerEdit.css +28 -29
  90. package/lib/components/VColorPicker/VColorPickerPreview.css +67 -69
  91. package/lib/components/VColorPicker/VColorPickerPreview.sass +2 -4
  92. package/lib/components/VColorPicker/VColorPickerSwatches.css +34 -34
  93. package/lib/components/VColorPicker/index.d.mts +68 -4
  94. package/lib/components/VCombobox/VCombobox.css +85 -86
  95. package/lib/components/VCombobox/VCombobox.mjs +5 -5
  96. package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
  97. package/lib/components/VCombobox/index.d.mts +1396 -237
  98. package/lib/components/VConfirmEdit/VConfirmEdit.mjs +9 -7
  99. package/lib/components/VConfirmEdit/VConfirmEdit.mjs.map +1 -1
  100. package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.browser.mjs +2 -2
  101. package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.browser.mjs.map +1 -1
  102. package/lib/components/VConfirmEdit/index.d.mts +16 -13
  103. package/lib/components/VCounter/VCounter.css +5 -7
  104. package/lib/components/VCounter/VCounter.mjs +1 -1
  105. package/lib/components/VCounter/index.d.mts +31 -9
  106. package/lib/components/VDataIterator/index.d.mts +56 -12
  107. package/lib/components/VDataTable/VDataTable.css +186 -189
  108. package/lib/components/VDataTable/VDataTable.mjs +1 -1
  109. package/lib/components/VDataTable/VDataTable.sass +10 -20
  110. package/lib/components/VDataTable/VDataTableFooter.css +31 -33
  111. package/lib/components/VDataTable/VDataTableFooter.mjs +1 -1
  112. package/lib/components/VDataTable/VDataTableGroupHeaderRow.mjs +1 -1
  113. package/lib/components/VDataTable/VDataTableHeaders.mjs +1 -1
  114. package/lib/components/VDataTable/VDataTableRow.mjs +1 -1
  115. package/lib/components/VDataTable/VDataTableRows.mjs +1 -1
  116. package/lib/components/VDataTable/VDataTableServer.mjs +1 -1
  117. package/lib/components/VDataTable/VDataTableVirtual.mjs +1 -1
  118. package/lib/components/VDataTable/index.d.mts +388 -36
  119. package/lib/components/VDatePicker/VDatePicker.css +6 -8
  120. package/lib/components/VDatePicker/VDatePicker.mjs +1 -1
  121. package/lib/components/VDatePicker/VDatePickerControls.css +56 -54
  122. package/lib/components/VDatePicker/VDatePickerHeader.css +60 -56
  123. package/lib/components/VDatePicker/VDatePickerHeader.mjs +2 -1
  124. package/lib/components/VDatePicker/VDatePickerHeader.mjs.map +1 -1
  125. package/lib/components/VDatePicker/VDatePickerMonth.css +55 -51
  126. package/lib/components/VDatePicker/VDatePickerMonth.mjs +1 -1
  127. package/lib/components/VDatePicker/VDatePickerMonths.css +19 -20
  128. package/lib/components/VDatePicker/VDatePickerMonths.mjs +1 -1
  129. package/lib/components/VDatePicker/VDatePickerYears.css +15 -16
  130. package/lib/components/VDatePicker/VDatePickerYears.mjs +1 -1
  131. package/lib/components/VDatePicker/index.d.mts +281 -29
  132. package/lib/components/VDefaultsProvider/index.d.mts +20 -4
  133. package/lib/components/VDialog/VDialog.css +95 -95
  134. package/lib/components/VDialog/VDialog.mjs +1 -1
  135. package/lib/components/VDialog/__test__/VDialog.spec.cy.mjs +1 -1
  136. package/lib/components/VDialog/index.d.mts +389 -143
  137. package/lib/components/VDivider/VDivider.css +52 -52
  138. package/lib/components/VDivider/index.d.mts +24 -4
  139. package/lib/components/VEmptyState/VEmptyState.css +67 -62
  140. package/lib/components/VEmptyState/VEmptyState.mjs +1 -1
  141. package/lib/components/VEmptyState/index.d.mts +66 -4
  142. package/lib/components/VExpansionPanel/VExpansionPanel.css +209 -203
  143. package/lib/components/VExpansionPanel/VExpansionPanel.sass +25 -27
  144. package/lib/components/VExpansionPanel/VExpansionPanelText.mjs +1 -1
  145. package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs +1 -1
  146. package/lib/components/VExpansionPanel/index.d.mts +152 -16
  147. package/lib/components/VFab/VFab.css +69 -74
  148. package/lib/components/VFab/VFab.mjs +1 -1
  149. package/lib/components/VFab/VFab.sass +4 -5
  150. package/lib/components/VFab/index.d.mts +78 -9
  151. package/lib/components/VField/VField.css +579 -539
  152. package/lib/components/VField/VField.mjs +3 -2
  153. package/lib/components/VField/VField.mjs.map +1 -1
  154. package/lib/components/VField/VFieldLabel.mjs +1 -1
  155. package/lib/components/VField/index.d.mts +59 -11
  156. package/lib/components/VFileInput/VFileInput.css +29 -31
  157. package/lib/components/VFileInput/VFileInput.mjs +1 -1
  158. package/lib/components/VFileInput/index.d.mts +256 -71
  159. package/lib/components/VFooter/VFooter.css +36 -38
  160. package/lib/components/VFooter/VFooter.mjs +1 -1
  161. package/lib/components/VFooter/index.d.mts +29 -4
  162. package/lib/components/VForm/index.d.mts +175 -267
  163. package/lib/components/VGrid/VContainer.mjs +1 -1
  164. package/lib/components/VGrid/VGrid.css +592 -565
  165. package/lib/components/VGrid/index.d.mts +118 -16
  166. package/lib/components/VHover/index.d.mts +33 -4
  167. package/lib/components/VIcon/VIcon.css +52 -51
  168. package/lib/components/VIcon/index.d.mts +75 -17
  169. package/lib/components/VImg/VImg.css +51 -50
  170. package/lib/components/VImg/VImg.mjs +1 -1
  171. package/lib/components/VImg/index.d.mts +74 -19
  172. package/lib/components/VInfiniteScroll/VInfiniteScroll.css +37 -36
  173. package/lib/components/VInfiniteScroll/VInfiniteScroll.mjs +1 -1
  174. package/lib/components/VInfiniteScroll/index.d.mts +46 -4
  175. package/lib/components/VInput/VInput.css +142 -131
  176. package/lib/components/VInput/VInput.mjs +1 -1
  177. package/lib/components/VInput/index.d.mts +37 -4
  178. package/lib/components/VItemGroup/VItemGroup.css +5 -7
  179. package/lib/components/VItemGroup/index.d.mts +65 -8
  180. package/lib/components/VKbd/VKbd.css +11 -13
  181. package/lib/components/VKbd/index.d.mts +18 -4
  182. package/lib/components/VLabel/VLabel.css +15 -16
  183. package/lib/components/VLabel/index.d.mts +20 -4
  184. package/lib/components/VLayout/VLayout.css +8 -10
  185. package/lib/components/VLayout/VLayoutItem.css +7 -8
  186. package/lib/components/VLayout/index.d.mts +48 -8
  187. package/lib/components/VLazy/VLazy.mjs +1 -1
  188. package/lib/components/VLazy/index.d.mts +31 -4
  189. package/lib/components/VList/VList.css +108 -104
  190. package/lib/components/VList/VList.mjs +4 -3
  191. package/lib/components/VList/VList.mjs.map +1 -1
  192. package/lib/components/VList/VList.sass +1 -1
  193. package/lib/components/VList/VListChildren.mjs +1 -1
  194. package/lib/components/VList/VListGroup.mjs +1 -1
  195. package/lib/components/VList/VListItem.css +452 -440
  196. package/lib/components/VList/VListItem.mjs +4 -3
  197. package/lib/components/VList/VListItem.mjs.map +1 -1
  198. package/lib/components/VList/VListItem.sass +1 -2
  199. package/lib/components/VList/VListItemAction.mjs +1 -1
  200. package/lib/components/VList/VListItemMedia.mjs +1 -1
  201. package/lib/components/VList/VListItemSubtitle.mjs +1 -1
  202. package/lib/components/VList/index.d.mts +301 -58
  203. package/lib/components/VLocaleProvider/VLocaleProvider.css +2 -4
  204. package/lib/components/VLocaleProvider/index.d.mts +21 -4
  205. package/lib/components/VMain/VMain.css +30 -32
  206. package/lib/components/VMain/index.d.mts +25 -4
  207. package/lib/components/VMenu/VMenu.css +19 -21
  208. package/lib/components/VMenu/VMenu.mjs +1 -1
  209. package/lib/components/VMenu/index.d.mts +397 -155
  210. package/lib/components/VMessages/VMessages.css +15 -17
  211. package/lib/components/VMessages/index.d.mts +27 -4
  212. package/lib/components/VNavigationDrawer/VNavigationDrawer.css +108 -106
  213. package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +1 -1
  214. package/lib/components/VNavigationDrawer/index.d.mts +62 -7
  215. package/lib/components/VOtpInput/VOtpInput.css +58 -56
  216. package/lib/components/VOtpInput/VOtpInput.mjs +1 -1
  217. package/lib/components/VOtpInput/index.d.mts +52 -7
  218. package/lib/components/VOverlay/VOverlay.css +63 -60
  219. package/lib/components/VOverlay/VOverlay.mjs +1 -1
  220. package/lib/components/VOverlay/VOverlay.sass +13 -14
  221. package/lib/components/VOverlay/index.d.mts +101 -19
  222. package/lib/components/VPagination/VPagination.css +8 -10
  223. package/lib/components/VPagination/VPagination.mjs +1 -1
  224. package/lib/components/VPagination/index.d.mts +64 -4
  225. package/lib/components/VParallax/VParallax.css +6 -8
  226. package/lib/components/VParallax/VParallax.mjs +1 -1
  227. package/lib/components/VParallax/index.d.mts +27 -4
  228. package/lib/components/VProgressCircular/VProgressCircular.css +101 -95
  229. package/lib/components/VProgressCircular/index.d.mts +34 -4
  230. package/lib/components/VProgressLinear/VProgressLinear.css +222 -209
  231. package/lib/components/VProgressLinear/index.d.mts +54 -4
  232. package/lib/components/VRadio/VRadio.mjs +1 -1
  233. package/lib/components/VRadio/index.d.mts +68 -4
  234. package/lib/components/VRadioGroup/VRadioGroup.css +12 -14
  235. package/lib/components/VRadioGroup/VRadioGroup.mjs +1 -1
  236. package/lib/components/VRadioGroup/index.d.mts +48 -4
  237. package/lib/components/VRangeSlider/VRangeSlider.mjs +1 -1
  238. package/lib/components/VRangeSlider/index.d.mts +107 -4
  239. package/lib/components/VRating/VRating.css +53 -52
  240. package/lib/components/VRating/VRating.mjs +1 -1
  241. package/lib/components/VRating/index.d.mts +42 -4
  242. package/lib/components/VResponsive/VResponsive.css +26 -25
  243. package/lib/components/VResponsive/index.d.mts +29 -4
  244. package/lib/components/VSelect/VSelect.css +52 -54
  245. package/lib/components/VSelect/VSelect.mjs +4 -4
  246. package/lib/components/VSelect/VSelect.mjs.map +1 -1
  247. package/lib/components/VSelect/index.d.mts +1388 -236
  248. package/lib/components/VSelectionControl/VSelectionControl.css +102 -100
  249. package/lib/components/VSelectionControl/VSelectionControl.mjs +1 -1
  250. package/lib/components/VSelectionControl/index.d.mts +37 -10
  251. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.css +8 -10
  252. package/lib/components/VSelectionControlGroup/index.d.mts +26 -4
  253. package/lib/components/VSheet/VSheet.css +36 -38
  254. package/lib/components/VSheet/VSheet.mjs +1 -1
  255. package/lib/components/VSheet/index.d.mts +32 -4
  256. package/lib/components/VSkeletonLoader/VSkeletonLoader.css +224 -225
  257. package/lib/components/VSkeletonLoader/VSkeletonLoader.mjs +1 -1
  258. package/lib/components/VSkeletonLoader/index.d.mts +28 -4
  259. package/lib/components/VSlideGroup/VSlideGroup.css +55 -53
  260. package/lib/components/VSlideGroup/index.d.mts +70 -14
  261. package/lib/components/VSlider/VSlider.css +57 -53
  262. package/lib/components/VSlider/VSlider.mjs +1 -1
  263. package/lib/components/VSlider/VSliderThumb.css +153 -142
  264. package/lib/components/VSlider/VSliderThumb.mjs +1 -1
  265. package/lib/components/VSlider/VSliderTrack.css +174 -155
  266. package/lib/components/VSlider/index.d.mts +106 -4
  267. package/lib/components/VSnackbar/VSnackbar.css +140 -140
  268. package/lib/components/VSnackbar/VSnackbar.mjs +1 -1
  269. package/lib/components/VSnackbar/index.d.mts +398 -152
  270. package/lib/components/VSparkline/VBarline.mjs +2 -1
  271. package/lib/components/VSparkline/VBarline.mjs.map +1 -1
  272. package/lib/components/VSparkline/VSparkline.mjs +1 -1
  273. package/lib/components/VSparkline/VTrendline.mjs +2 -1
  274. package/lib/components/VSparkline/VTrendline.mjs.map +1 -1
  275. package/lib/components/VSparkline/index.d.mts +49 -4
  276. package/lib/components/VSpeedDial/VSpeedDial.css +41 -43
  277. package/lib/components/VSpeedDial/VSpeedDial.mjs +1 -1
  278. package/lib/components/VSpeedDial/index.d.mts +85 -4
  279. package/lib/components/VStepper/VStepper.css +56 -55
  280. package/lib/components/VStepper/VStepper.mjs +6 -5
  281. package/lib/components/VStepper/VStepper.mjs.map +1 -1
  282. package/lib/components/VStepper/VStepperItem.css +115 -112
  283. package/lib/components/VStepper/VStepperItem.mjs +6 -5
  284. package/lib/components/VStepper/VStepperItem.mjs.map +1 -1
  285. package/lib/components/VStepper/VStepperWindow.mjs +1 -1
  286. package/lib/components/VStepper/VStepperWindowItem.mjs +1 -1
  287. package/lib/components/VStepper/index.d.mts +301 -69
  288. package/lib/components/VSwitch/VSwitch.css +139 -129
  289. package/lib/components/VSwitch/VSwitch.mjs +1 -1
  290. package/lib/components/VSwitch/index.d.mts +59 -4
  291. package/lib/components/VSystemBar/VSystemBar.css +43 -45
  292. package/lib/components/VSystemBar/VSystemBar.mjs +1 -1
  293. package/lib/components/VSystemBar/index.d.mts +28 -4
  294. package/lib/components/VTable/VTable.css +141 -140
  295. package/lib/components/VTable/VTable.sass +2 -4
  296. package/lib/components/VTable/index.d.mts +33 -4
  297. package/lib/components/VTabs/VTab.css +29 -30
  298. package/lib/components/VTabs/VTab.mjs +1 -1
  299. package/lib/components/VTabs/VTabs.css +65 -59
  300. package/lib/components/VTabs/VTabs.mjs +1 -1
  301. package/lib/components/VTabs/VTabsWindow.mjs +1 -1
  302. package/lib/components/VTabs/VTabsWindowItem.mjs +1 -1
  303. package/lib/components/VTabs/index.d.mts +394 -98
  304. package/lib/components/VTextField/VTextField.css +68 -65
  305. package/lib/components/VTextField/VTextField.mjs +1 -1
  306. package/lib/components/VTextField/index.d.mts +374 -152
  307. package/lib/components/VTextarea/VTextarea.css +39 -47
  308. package/lib/components/VTextarea/VTextarea.mjs +1 -1
  309. package/lib/components/VTextarea/VTextarea.sass +2 -4
  310. package/lib/components/VTextarea/index.d.mts +244 -71
  311. package/lib/components/VThemeProvider/VThemeProvider.css +3 -5
  312. package/lib/components/VThemeProvider/index.d.mts +20 -4
  313. package/lib/components/VTimeline/VTimeline.css +418 -379
  314. package/lib/components/VTimeline/VTimeline.mjs +1 -1
  315. package/lib/components/VTimeline/VTimelineDivider.mjs +1 -1
  316. package/lib/components/VTimeline/VTimelineItem.mjs +1 -1
  317. package/lib/components/VTimeline/index.d.mts +75 -8
  318. package/lib/components/VToolbar/VToolbar.css +143 -136
  319. package/lib/components/VToolbar/VToolbar.mjs +1 -1
  320. package/lib/components/VToolbar/index.d.mts +90 -12
  321. package/lib/components/VTooltip/VTooltip.css +21 -25
  322. package/lib/components/VTooltip/VTooltip.mjs +1 -1
  323. package/lib/components/VTooltip/VTooltip.sass +6 -8
  324. package/lib/components/VTooltip/index.d.mts +386 -147
  325. package/lib/components/VValidation/index.d.mts +24 -10
  326. package/lib/components/VVirtualScroll/VVirtualScroll.css +9 -11
  327. package/lib/components/VVirtualScroll/VVirtualScroll.mjs +1 -1
  328. package/lib/components/VVirtualScroll/VVirtualScrollItem.mjs +1 -1
  329. package/lib/components/VVirtualScroll/index.d.mts +15 -4
  330. package/lib/components/VWindow/VWindow.css +70 -73
  331. package/lib/components/VWindow/VWindow.mjs +1 -1
  332. package/lib/components/VWindow/VWindowItem.mjs +1 -1
  333. package/lib/components/VWindow/index.d.mts +47 -8
  334. package/lib/components/index.d.mts +11793 -2613
  335. package/lib/components/transitions/dialog-transition.mjs +2 -1
  336. package/lib/components/transitions/dialog-transition.mjs.map +1 -1
  337. package/lib/components/transitions/index.d.mts +309 -64
  338. package/lib/composables/form.mjs +7 -2
  339. package/lib/composables/form.mjs.map +1 -1
  340. package/lib/composables/icons.mjs +1 -1
  341. package/lib/composables/theme.mjs +4 -4
  342. package/lib/composables/theme.mjs.map +1 -1
  343. package/lib/composables/validation.mjs +10 -12
  344. package/lib/composables/validation.mjs.map +1 -1
  345. package/lib/composables/variant.mjs +1 -1
  346. package/lib/composables/virtual.mjs +1 -1
  347. package/lib/composables/virtual.mjs.map +1 -1
  348. package/lib/directives/ripple/VRipple.css +36 -38
  349. package/lib/entry-bundler.mjs +1 -1
  350. package/lib/entry-bundler.mjs.map +1 -1
  351. package/lib/framework.mjs +1 -1
  352. package/lib/framework.mjs.map +1 -1
  353. package/lib/index.d.mts +44 -44
  354. package/lib/labs/VCalendar/VCalendar.css +225 -219
  355. package/lib/labs/VCalendar/VCalendar.mjs +1 -1
  356. package/lib/labs/VCalendar/VCalendarDay.css +32 -33
  357. package/lib/labs/VCalendar/VCalendarDay.mjs +1 -1
  358. package/lib/labs/VCalendar/VCalendarHeader.css +13 -13
  359. package/lib/labs/VCalendar/VCalendarInterval.css +42 -43
  360. package/lib/labs/VCalendar/VCalendarIntervalEvent.css +5 -7
  361. package/lib/labs/VCalendar/VCalendarMonthDay.css +58 -61
  362. package/lib/labs/VCalendar/VCalendarMonthDay.sass +2 -3
  363. package/lib/labs/VCalendar/index.d.mts +211 -24
  364. package/lib/labs/VDateInput/VDateInput.mjs +2 -2
  365. package/lib/labs/VDateInput/VDateInput.mjs.map +1 -1
  366. package/lib/labs/VDateInput/index.d.mts +115 -4
  367. package/lib/labs/VNumberInput/VNumberInput.css +38 -40
  368. package/lib/labs/VNumberInput/VNumberInput.mjs +8 -6
  369. package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
  370. package/lib/labs/VNumberInput/index.d.mts +1267 -564
  371. package/lib/labs/VPicker/VPicker.css +57 -53
  372. package/lib/labs/VPicker/VPicker.mjs +1 -1
  373. package/lib/labs/VPicker/index.d.mts +63 -8
  374. package/lib/labs/VPullToRefresh/index.d.mts +35 -4
  375. package/lib/labs/VSnackbarQueue/VSnackbarQueue.mjs +1 -1
  376. package/lib/labs/VSnackbarQueue/index.d.mts +453 -156
  377. package/lib/labs/VStepperVertical/VStepperVertical.mjs +1 -1
  378. package/lib/labs/VStepperVertical/VStepperVerticalActions.mjs +1 -1
  379. package/lib/labs/VStepperVertical/VStepperVerticalItem.mjs +1 -1
  380. package/lib/labs/VStepperVertical/index.d.mts +271 -56
  381. package/lib/labs/VTimePicker/VTimePicker.css +7 -9
  382. package/lib/labs/VTimePicker/VTimePicker.mjs +1 -1
  383. package/lib/labs/VTimePicker/VTimePickerClock.css +129 -126
  384. package/lib/labs/VTimePicker/VTimePickerControls.css +103 -102
  385. package/lib/labs/VTimePicker/VTimePickerControls.mjs +1 -1
  386. package/lib/labs/VTimePicker/index.d.mts +122 -12
  387. package/lib/labs/VTreeview/VTreeview.mjs +1 -1
  388. package/lib/labs/VTreeview/VTreeviewChildren.mjs +1 -1
  389. package/lib/labs/VTreeview/VTreeviewGroup.mjs +1 -1
  390. package/lib/labs/VTreeview/VTreeviewItem.css +15 -17
  391. package/lib/labs/VTreeview/VTreeviewItem.mjs +4 -5
  392. package/lib/labs/VTreeview/VTreeviewItem.mjs.map +1 -1
  393. package/lib/labs/VTreeview/VTreeviewItem.sass +1 -2
  394. package/lib/labs/VTreeview/index.d.mts +225 -38
  395. package/lib/labs/components.d.mts +2940 -1043
  396. package/lib/locale/fr.mjs +1 -1
  397. package/lib/locale/fr.mjs.map +1 -1
  398. package/lib/styles/elements/_global.sass +1 -1
  399. package/lib/styles/generic/_colors.scss +3 -3
  400. package/lib/styles/generic/_layers.scss +1 -13
  401. package/lib/styles/generic/_transitions.scss +32 -32
  402. package/lib/styles/main.css +16139 -14666
  403. package/lib/styles/settings/_utilities.scss +5 -0
  404. package/lib/styles/settings/_variables.scss +2 -1
  405. package/lib/styles/tools/_bootable.sass +3 -0
  406. package/lib/styles/tools/_border.sass +4 -4
  407. package/lib/styles/tools/_display.sass +10 -0
  408. package/lib/styles/tools/_elevation.sass +2 -2
  409. package/lib/styles/tools/_index.sass +2 -0
  410. package/lib/styles/tools/_layer.scss +2 -4
  411. package/lib/styles/tools/_position.sass +2 -2
  412. package/lib/styles/tools/_radius.sass +10 -0
  413. package/lib/styles/tools/_rounded.sass +2 -2
  414. package/lib/styles/tools/_utilities.sass +5 -1
  415. package/lib/styles/utilities/_elevation.scss +1 -1
  416. package/package.json +4 -5
@@ -1,11 +1,9 @@
1
- @layer vuetify.components {
2
- .v-layout {
3
- --v-scrollbar-offset: 0px;
4
- display: flex;
5
- flex: 1 1 auto;
6
- }
7
- .v-layout--full-height {
8
- --v-scrollbar-offset: inherit;
9
- height: 100%;
10
- }
1
+ .v-layout {
2
+ --v-scrollbar-offset: 0px;
3
+ display: flex;
4
+ flex: 1 1 auto;
5
+ }
6
+ .v-layout--full-height {
7
+ --v-scrollbar-offset: inherit;
8
+ height: 100%;
11
9
  }
@@ -1,9 +1,8 @@
1
- @layer vuetify.components {
2
- .v-layout-item {
3
- position: absolute;
4
- transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
5
- }
6
- .v-layout-item--absolute {
7
- position: absolute;
8
- }
1
+ .v-layout-item {
2
+ position: absolute;
3
+ transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
4
+ }
5
+
6
+ .v-layout-item--absolute {
7
+ position: absolute;
9
8
  }
@@ -10,7 +10,7 @@ type ClassValue = any;
10
10
  type Position = 'top' | 'left' | 'right' | 'bottom';
11
11
 
12
12
  declare const VLayout: {
13
- new (...args: any[]): vue.CreateComponentPublicInstanceWithMixins<{
13
+ new (...args: any[]): vue.CreateComponentPublicInstance<{
14
14
  style: vue.StyleValue;
15
15
  fullHeight: boolean;
16
16
  } & {
@@ -50,12 +50,33 @@ declare const VLayout: {
50
50
  right: number;
51
51
  id: string;
52
52
  }[]>;
53
- }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, {
53
+ }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
54
+ style: vue.StyleValue;
55
+ fullHeight: boolean;
56
+ } & {
57
+ height?: string | number | undefined;
58
+ width?: string | number | undefined;
59
+ maxHeight?: string | number | undefined;
60
+ maxWidth?: string | number | undefined;
61
+ minHeight?: string | number | undefined;
62
+ minWidth?: string | number | undefined;
63
+ class?: any;
64
+ overlaps?: string[] | undefined;
65
+ } & {
66
+ $children?: vue.VNodeChild | {
67
+ default?: (() => vue.VNodeChild) | undefined;
68
+ } | (() => vue.VNodeChild);
69
+ 'v-slots'?: {
70
+ default?: false | (() => vue.VNodeChild) | undefined;
71
+ } | undefined;
72
+ } & {
73
+ "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
74
+ }, {
54
75
  style: vue.StyleValue;
55
76
  fullHeight: boolean;
56
77
  }, true, {}, vue.SlotsType<Partial<{
57
78
  default: () => vue.VNode[];
58
- }>>, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
79
+ }>>, {
59
80
  P: {};
60
81
  B: {};
61
82
  D: {};
@@ -154,7 +175,7 @@ declare const VLayout: {
154
175
  fullHeight: boolean;
155
176
  }, {}, string, vue.SlotsType<Partial<{
156
177
  default: () => vue.VNode[];
157
- }>>, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
178
+ }>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
158
179
  overlaps: vue.Prop<string[]>;
159
180
  fullHeight: BooleanConstructor;
160
181
  height: (StringConstructor | NumberConstructor)[];
@@ -186,7 +207,26 @@ declare const VLayout: {
186
207
  type VLayout = InstanceType<typeof VLayout>;
187
208
 
188
209
  declare const VLayoutItem: {
189
- new (...args: any[]): vue.CreateComponentPublicInstanceWithMixins<{
210
+ new (...args: any[]): vue.CreateComponentPublicInstance<{
211
+ absolute: boolean;
212
+ order: string | number;
213
+ position: "left" | "top" | "bottom" | "right";
214
+ style: vue.StyleValue;
215
+ size: string | number;
216
+ modelValue: boolean;
217
+ } & {
218
+ name?: string | undefined;
219
+ class?: any;
220
+ } & {
221
+ $children?: vue.VNodeChild | {
222
+ default?: (() => vue.VNodeChild) | undefined;
223
+ } | (() => vue.VNodeChild);
224
+ 'v-slots'?: {
225
+ default?: false | (() => vue.VNodeChild) | undefined;
226
+ } | undefined;
227
+ } & {
228
+ "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
229
+ }, () => JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
190
230
  absolute: boolean;
191
231
  order: string | number;
192
232
  position: "left" | "top" | "bottom" | "right";
@@ -205,7 +245,7 @@ declare const VLayoutItem: {
205
245
  } | undefined;
206
246
  } & {
207
247
  "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
208
- }, () => JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, {
248
+ }, {
209
249
  absolute: boolean;
210
250
  order: string | number;
211
251
  style: vue.StyleValue;
@@ -213,7 +253,7 @@ declare const VLayoutItem: {
213
253
  modelValue: boolean;
214
254
  }, true, {}, vue.SlotsType<Partial<{
215
255
  default: () => vue.VNode[];
216
- }>>, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
256
+ }>>, {
217
257
  P: {};
218
258
  B: {};
219
259
  D: {};
@@ -276,7 +316,7 @@ declare const VLayoutItem: {
276
316
  modelValue: boolean;
277
317
  }, {}, string, vue.SlotsType<Partial<{
278
318
  default: () => vue.VNode[];
279
- }>>, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
319
+ }>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
280
320
  name: {
281
321
  type: StringConstructor;
282
322
  };
@@ -1,4 +1,4 @@
1
- import { createVNode as _createVNode, resolveDirective as _resolveDirective, withDirectives as _withDirectives } from "vue";
1
+ import { withDirectives as _withDirectives, resolveDirective as _resolveDirective, createVNode as _createVNode } from "vue";
2
2
  // Composables
3
3
  import { makeComponentProps } from "../../composables/component.mjs";
4
4
  import { makeDimensionProps, useDimension } from "../../composables/dimensions.mjs";
@@ -8,7 +8,7 @@ interface FilterPropsOptions<PropsOptions extends Readonly<ComponentPropsOptions
8
8
  type ClassValue = any;
9
9
 
10
10
  declare const VLazy: {
11
- new (...args: any[]): vue.CreateComponentPublicInstanceWithMixins<{
11
+ new (...args: any[]): vue.CreateComponentPublicInstance<{
12
12
  transition: string | boolean | (vue.TransitionProps & {
13
13
  component?: vue.Component;
14
14
  });
@@ -37,7 +37,34 @@ declare const VLazy: {
37
37
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
38
38
  }, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
39
39
  'update:modelValue': (value: boolean) => true;
40
- }, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, {
40
+ }, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
41
+ transition: string | boolean | (vue.TransitionProps & {
42
+ component?: vue.Component;
43
+ });
44
+ style: vue.StyleValue;
45
+ options: IntersectionObserverInit;
46
+ tag: string;
47
+ modelValue: boolean;
48
+ } & {
49
+ height?: string | number | undefined;
50
+ width?: string | number | undefined;
51
+ maxHeight?: string | number | undefined;
52
+ maxWidth?: string | number | undefined;
53
+ minHeight?: string | number | undefined;
54
+ minWidth?: string | number | undefined;
55
+ class?: any;
56
+ } & {
57
+ $children?: vue.VNodeChild | {
58
+ default?: (() => vue.VNodeChild) | undefined;
59
+ } | (() => vue.VNodeChild);
60
+ 'v-slots'?: {
61
+ default?: false | (() => vue.VNodeChild) | undefined;
62
+ } | undefined;
63
+ } & {
64
+ "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
65
+ } & {
66
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
67
+ }, {
41
68
  transition: string | boolean | (vue.TransitionProps & {
42
69
  component?: vue.Component;
43
70
  });
@@ -47,7 +74,7 @@ declare const VLazy: {
47
74
  modelValue: boolean;
48
75
  }, true, {}, vue.SlotsType<Partial<{
49
76
  default: () => vue.VNode[];
50
- }>>, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
77
+ }>>, {
51
78
  P: {};
52
79
  B: {};
53
80
  D: {};
@@ -132,7 +159,7 @@ declare const VLazy: {
132
159
  modelValue: boolean;
133
160
  }, {}, string, vue.SlotsType<Partial<{
134
161
  default: () => vue.VNode[];
135
- }>>, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
162
+ }>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
136
163
  transition: Omit<{
137
164
  type: PropType<string | boolean | (vue.TransitionProps & {
138
165
  component?: vue.Component;
@@ -1,105 +1,109 @@
1
- @layer vuetify.components {
2
- .v-list {
3
- overflow: auto;
4
- padding: 8px 0;
5
- position: relative;
6
- outline: none;
7
- }
8
- .v-list {
9
- border-color: rgba(var(--v-border-color), var(--v-border-opacity));
10
- border-style: solid;
11
- border-width: 0;
12
- }
13
- .v-list--border {
14
- border-width: thin;
15
- box-shadow: none;
16
- }
17
- .v-list {
18
- box-shadow: 0px 0px 0px 0px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)), 0px 0px 0px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0px 0px 0px 0px var(--v-shadow-key-ambient-opacity, rgba(0, 0, 0, 0.12));
19
- }
20
- .v-list {
21
- border-radius: 0;
22
- }
23
- .v-list {
24
- background: rgba(var(--v-theme-surface));
25
- color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
26
- }
27
- .v-list--disabled {
28
- pointer-events: none;
29
- user-select: none;
30
- }
31
- .v-list--nav {
32
- padding-inline: 8px;
33
- }
34
- .v-list--rounded {
35
- border-radius: 4px;
36
- }
37
- .v-list--subheader {
38
- padding-top: 0;
39
- }
40
- .v-list-img {
41
- border-radius: inherit;
42
- display: flex;
43
- height: 100%;
44
- left: 0;
45
- overflow: hidden;
46
- position: absolute;
47
- top: 0;
48
- width: 100%;
49
- z-index: -1;
50
- }
51
- .v-list-subheader {
52
- align-items: center;
53
- background: inherit;
54
- color: rgba(var(--v-theme-on-surface), var(--v-medium-emphasis-opacity));
55
- display: flex;
56
- font-size: 0.875rem;
57
- font-weight: 400;
58
- line-height: 1.375rem;
59
- padding-inline-end: 16px;
60
- min-height: 40px;
61
- transition: 0.2s min-height cubic-bezier(0.4, 0, 0.2, 1);
62
- }
63
- .v-list-subheader__text {
64
- overflow: hidden;
65
- text-overflow: ellipsis;
66
- white-space: nowrap;
67
- }
68
- .v-list--density-default .v-list-subheader {
69
- min-height: 40px;
70
- padding-inline-start: calc(16px + var(--indent-padding));
71
- }
72
- .v-list--density-comfortable .v-list-subheader {
73
- min-height: 36px;
74
- padding-inline-start: calc(16px + var(--indent-padding));
75
- }
76
- .v-list--density-compact .v-list-subheader {
77
- min-height: 32px;
78
- padding-inline-start: calc(16px + var(--indent-padding));
79
- }
80
- .v-list-subheader--inset {
81
- --indent-padding: 56px;
82
- }
83
- .v-list--nav .v-list-subheader {
84
- font-size: 0.75rem;
85
- }
86
- .v-list-subheader--sticky {
87
- background: inherit;
88
- left: 0;
89
- position: sticky;
90
- top: 0;
91
- z-index: 1;
92
- }
93
- .v-list__overlay {
94
- background-color: currentColor;
95
- border-radius: inherit;
96
- bottom: 0;
97
- left: 0;
98
- opacity: 0;
99
- pointer-events: none;
100
- position: absolute;
101
- right: 0;
102
- top: 0;
103
- transition: opacity 0.2s ease-in-out;
104
- }
1
+ .v-list {
2
+ overflow: auto;
3
+ padding: 8px 0;
4
+ position: relative;
5
+ outline: none;
6
+ }
7
+ .v-list {
8
+ border-color: rgba(var(--v-border-color), var(--v-border-opacity));
9
+ border-style: solid;
10
+ border-width: 0;
11
+ }
12
+ .v-list--border {
13
+ border-width: thin;
14
+ box-shadow: none;
15
+ }
16
+ .v-list {
17
+ box-shadow: 0px 0px 0px 0px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)), 0px 0px 0px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0px 0px 0px 0px var(--v-shadow-key-ambient-opacity, rgba(0, 0, 0, 0.12));
18
+ }
19
+ .v-list {
20
+ border-radius: 0;
21
+ }
22
+ .v-list {
23
+ background: rgba(var(--v-theme-surface));
24
+ color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
25
+ }
26
+ .v-list--disabled {
27
+ pointer-events: none;
28
+ user-select: none;
29
+ }
30
+ .v-list--nav {
31
+ padding-inline: 8px;
32
+ }
33
+ .v-list--rounded {
34
+ border-radius: 4px;
35
+ }
36
+ .v-list--subheader {
37
+ padding-top: 0;
38
+ }
39
+
40
+ .v-list-img {
41
+ border-radius: inherit;
42
+ display: flex;
43
+ height: 100%;
44
+ left: 0;
45
+ overflow: hidden;
46
+ position: absolute;
47
+ top: 0;
48
+ width: 100%;
49
+ z-index: -1;
50
+ }
51
+
52
+ .v-list-subheader {
53
+ align-items: center;
54
+ background: inherit;
55
+ color: rgba(var(--v-theme-on-surface), var(--v-medium-emphasis-opacity));
56
+ display: flex;
57
+ font-size: 0.875rem;
58
+ font-weight: 400;
59
+ line-height: 1.375rem;
60
+ padding-inline-end: 16px;
61
+ min-height: 40px;
62
+ transition: 0.2s min-height cubic-bezier(0.4, 0, 0.2, 1);
63
+ }
64
+ .v-list-subheader__text {
65
+ overflow: hidden;
66
+ text-overflow: ellipsis;
67
+ white-space: nowrap;
68
+ }
69
+ .v-list--density-default .v-list-subheader {
70
+ min-height: 40px;
71
+ padding-inline-start: calc(16px + var(--indent-padding)) !important;
72
+ }
73
+
74
+ .v-list--density-comfortable .v-list-subheader {
75
+ min-height: 36px;
76
+ padding-inline-start: calc(16px + var(--indent-padding)) !important;
77
+ }
78
+
79
+ .v-list--density-compact .v-list-subheader {
80
+ min-height: 32px;
81
+ padding-inline-start: calc(16px + var(--indent-padding)) !important;
82
+ }
83
+
84
+ .v-list-subheader--inset {
85
+ --indent-padding: 56px;
86
+ }
87
+ .v-list--nav .v-list-subheader {
88
+ font-size: 0.75rem;
89
+ }
90
+ .v-list-subheader--sticky {
91
+ background: inherit;
92
+ left: 0;
93
+ position: sticky;
94
+ top: 0;
95
+ z-index: 1;
96
+ }
97
+
98
+ .v-list__overlay {
99
+ background-color: currentColor;
100
+ border-radius: inherit;
101
+ bottom: 0;
102
+ left: 0;
103
+ opacity: 0;
104
+ pointer-events: none;
105
+ position: absolute;
106
+ right: 0;
107
+ top: 0;
108
+ transition: opacity 0.2s ease-in-out;
105
109
  }
@@ -1,4 +1,4 @@
1
- import { createVNode as _createVNode } from "vue";
1
+ import { createVNode as _createVNode, resolveDirective as _resolveDirective } from "vue";
2
2
  // Styles
3
3
  import "./VList.css";
4
4
 
@@ -12,6 +12,7 @@ import { provideDefaults } from "../../composables/defaults.mjs";
12
12
  import { makeDensityProps, useDensity } from "../../composables/density.mjs";
13
13
  import { makeDimensionProps, useDimension } from "../../composables/dimensions.mjs";
14
14
  import { makeElevationProps, useElevation } from "../../composables/elevation.mjs";
15
+ import { IconValue } from "../../composables/icons.mjs";
15
16
  import { makeItemsProps } from "../../composables/list-items.mjs";
16
17
  import { makeNestedProps, useNested } from "../../composables/nested/nested.mjs";
17
18
  import { makeRoundedProps, useRounded } from "../../composables/rounded.mjs";
@@ -63,8 +64,8 @@ export const makeVListProps = propsFactory({
63
64
  activeClass: String,
64
65
  bgColor: String,
65
66
  disabled: Boolean,
66
- expandIcon: String,
67
- collapseIcon: String,
67
+ expandIcon: IconValue,
68
+ collapseIcon: IconValue,
68
69
  lines: {
69
70
  type: [Boolean, String],
70
71
  default: 'one'
@@ -1 +1 @@
1
- {"version":3,"file":"VList.mjs","names":["VListChildren","createList","makeBorderProps","useBorder","useBackgroundColor","makeComponentProps","provideDefaults","makeDensityProps","useDensity","makeDimensionProps","useDimension","makeElevationProps","useElevation","makeItemsProps","makeNestedProps","useNested","makeRoundedProps","useRounded","makeTagProps","makeThemeProps","provideTheme","makeVariantProps","computed","ref","shallowRef","toRef","EventProp","focusChild","genericComponent","getPropertyFromItem","omit","propsFactory","useRender","isPrimitive","value","transformItem","props","item","type","itemType","title","itemTitle","itemValue","undefined","children","itemChildren","itemProps","_props","transformItems","raw","items","array","push","useListItems","makeVListProps","baseColor","String","activeColor","activeClass","bgColor","disabled","Boolean","expandIcon","collapseIcon","lines","default","slim","nav","selectStrategy","openStrategy","variant","VList","name","emits","setup","_ref","slots","themeClasses","backgroundColorClasses","backgroundColorStyles","borderClasses","densityClasses","dimensionStyles","elevationClasses","roundedClasses","open","parents","select","getPath","lineClasses","color","VListGroup","VListItem","density","isFocused","contentRef","onFocusin","e","onFocusout","onFocus","relatedTarget","contains","focus","onKeydown","target","includes","tagName","key","preventDefault","onMousedown","location","_createVNode","tag","class","style","returnObject"],"sources":["../../../src/components/VList/VList.tsx"],"sourcesContent":["// Styles\nimport './VList.sass'\n\n// Components\nimport { VListChildren } from './VListChildren'\n\n// Composables\nimport { createList } from './list'\nimport { makeBorderProps, useBorder } from '@/composables/border'\nimport { useBackgroundColor } from '@/composables/color'\nimport { makeComponentProps } from '@/composables/component'\nimport { provideDefaults } from '@/composables/defaults'\nimport { makeDensityProps, useDensity } from '@/composables/density'\nimport { makeDimensionProps, useDimension } from '@/composables/dimensions'\nimport { makeElevationProps, useElevation } from '@/composables/elevation'\nimport { makeItemsProps } from '@/composables/list-items'\nimport { makeNestedProps, useNested } from '@/composables/nested/nested'\nimport { makeRoundedProps, useRounded } from '@/composables/rounded'\nimport { makeTagProps } from '@/composables/tag'\nimport { makeThemeProps, provideTheme } from '@/composables/theme'\nimport { makeVariantProps } from '@/composables/variant'\n\n// Utilities\nimport { computed, ref, shallowRef, toRef } from 'vue'\nimport { EventProp, focusChild, genericComponent, getPropertyFromItem, omit, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\nimport type { VListChildrenSlots } from './VListChildren'\nimport type { ItemProps, ListItem } from '@/composables/list-items'\nimport type { GenericProps, SelectItemKey } from '@/util'\n\nexport interface InternalListItem<T = any> extends ListItem<T> {\n type?: 'item' | 'subheader' | 'divider'\n}\n\nfunction isPrimitive (value: unknown): value is string | number | boolean {\n return typeof value === 'string' || typeof value === 'number' || typeof value === 'boolean'\n}\n\nfunction transformItem (props: ItemProps & { itemType?: string }, item: any): InternalListItem {\n const type = getPropertyFromItem(item, props.itemType, 'item')\n const title = isPrimitive(item) ? item : getPropertyFromItem(item, props.itemTitle)\n const value = getPropertyFromItem(item, props.itemValue, undefined)\n const children = getPropertyFromItem(item, props.itemChildren)\n const itemProps = props.itemProps === true\n ? omit(item, ['children'])\n : getPropertyFromItem(item, props.itemProps)\n\n const _props = {\n title,\n value,\n ...itemProps,\n }\n\n return {\n type,\n title: _props.title,\n value: _props.value,\n props: _props,\n children: type === 'item' && children ? transformItems(props, children) : undefined,\n raw: item,\n }\n}\n\nfunction transformItems (props: ItemProps & { itemType?: string }, items: (string | object)[]) {\n const array: InternalListItem[] = []\n\n for (const item of items) {\n array.push(transformItem(props, item))\n }\n\n return array\n}\n\nexport function useListItems (props: ItemProps & { itemType?: string }) {\n const items = computed(() => transformItems(props, props.items))\n\n return { items }\n}\n\nexport const makeVListProps = propsFactory({\n baseColor: String,\n /* @deprecated */\n activeColor: String,\n activeClass: String,\n bgColor: String,\n disabled: Boolean,\n expandIcon: String,\n collapseIcon: String,\n lines: {\n type: [Boolean, String] as PropType<'one' | 'two' | 'three' | false>,\n default: 'one',\n },\n slim: Boolean,\n nav: Boolean,\n\n 'onClick:open': EventProp<[{ id: unknown, value: boolean, path: unknown[] }]>(),\n 'onClick:select': EventProp<[{ id: unknown, value: boolean, path: unknown[] }]>(),\n 'onUpdate:opened': EventProp<[]>(),\n ...makeNestedProps({\n selectStrategy: 'single-leaf' as const,\n openStrategy: 'list' as const,\n }),\n ...makeBorderProps(),\n ...makeComponentProps(),\n ...makeDensityProps(),\n ...makeDimensionProps(),\n ...makeElevationProps(),\n itemType: {\n type: String,\n default: 'type',\n },\n ...makeItemsProps(),\n ...makeRoundedProps(),\n ...makeTagProps(),\n ...makeThemeProps(),\n ...makeVariantProps({ variant: 'text' } as const),\n}, 'VList')\n\ntype ItemType<T> = T extends readonly (infer U)[] ? U : never\n\nexport const VList = genericComponent<new <\n T extends readonly any[],\n S = unknown,\n O = unknown\n>(\n props: {\n items?: T\n itemTitle?: SelectItemKey<ItemType<T>>\n itemValue?: SelectItemKey<ItemType<T>>\n itemChildren?: SelectItemKey<ItemType<T>>\n itemProps?: SelectItemKey<ItemType<T>>\n selected?: S\n 'onUpdate:selected'?: (value: S) => void\n 'onClick:open'?: (value: { id: unknown, value: boolean, path: unknown[] }) => void\n 'onClick:select'?: (value: { id: unknown, value: boolean, path: unknown[] }) => void\n opened?: O\n 'onUpdate:opened'?: (value: O) => void\n },\n slots: VListChildrenSlots<ItemType<T>>\n) => GenericProps<typeof props, typeof slots>>()({\n name: 'VList',\n\n props: makeVListProps(),\n\n emits: {\n 'update:selected': (value: unknown) => true,\n 'update:activated': (value: unknown) => true,\n 'update:opened': (value: unknown) => true,\n 'click:open': (value: { id: unknown, value: boolean, path: unknown[] }) => true,\n 'click:activate': (value: { id: unknown, value: boolean, path: unknown[] }) => true,\n 'click:select': (value: { id: unknown, value: boolean, path: unknown[] }) => true,\n },\n\n setup (props, { slots }) {\n const { items } = useListItems(props)\n const { themeClasses } = provideTheme(props)\n const { backgroundColorClasses, backgroundColorStyles } = useBackgroundColor(toRef(props, 'bgColor'))\n const { borderClasses } = useBorder(props)\n const { densityClasses } = useDensity(props)\n const { dimensionStyles } = useDimension(props)\n const { elevationClasses } = useElevation(props)\n const { roundedClasses } = useRounded(props)\n const { children, open, parents, select, getPath } = useNested(props)\n const lineClasses = computed(() => props.lines ? `v-list--${props.lines}-line` : undefined)\n const activeColor = toRef(props, 'activeColor')\n const baseColor = toRef(props, 'baseColor')\n const color = toRef(props, 'color')\n\n createList()\n\n provideDefaults({\n VListGroup: {\n activeColor,\n baseColor,\n color,\n expandIcon: toRef(props, 'expandIcon'),\n collapseIcon: toRef(props, 'collapseIcon'),\n },\n VListItem: {\n activeClass: toRef(props, 'activeClass'),\n activeColor,\n baseColor,\n color,\n density: toRef(props, 'density'),\n disabled: toRef(props, 'disabled'),\n lines: toRef(props, 'lines'),\n nav: toRef(props, 'nav'),\n slim: toRef(props, 'slim'),\n variant: toRef(props, 'variant'),\n },\n })\n\n const isFocused = shallowRef(false)\n const contentRef = ref<HTMLElement>()\n function onFocusin (e: FocusEvent) {\n isFocused.value = true\n }\n\n function onFocusout (e: FocusEvent) {\n isFocused.value = false\n }\n\n function onFocus (e: FocusEvent) {\n if (\n !isFocused.value &&\n !(e.relatedTarget && contentRef.value?.contains(e.relatedTarget as Node))\n ) focus()\n }\n\n function onKeydown (e: KeyboardEvent) {\n const target = e.target as HTMLElement\n\n if (!contentRef.value || ['INPUT', 'TEXTAREA'].includes(target.tagName)) return\n\n if (e.key === 'ArrowDown') {\n focus('next')\n } else if (e.key === 'ArrowUp') {\n focus('prev')\n } else if (e.key === 'Home') {\n focus('first')\n } else if (e.key === 'End') {\n focus('last')\n } else {\n return\n }\n\n e.preventDefault()\n }\n\n function onMousedown (e: MouseEvent) {\n isFocused.value = true\n }\n\n function focus (location?: 'next' | 'prev' | 'first' | 'last') {\n if (contentRef.value) {\n return focusChild(contentRef.value, location)\n }\n }\n\n useRender(() => {\n return (\n <props.tag\n ref={ contentRef }\n class={[\n 'v-list',\n {\n 'v-list--disabled': props.disabled,\n 'v-list--nav': props.nav,\n 'v-list--slim': props.slim,\n },\n themeClasses.value,\n backgroundColorClasses.value,\n borderClasses.value,\n densityClasses.value,\n elevationClasses.value,\n lineClasses.value,\n roundedClasses.value,\n props.class,\n ]}\n style={[\n backgroundColorStyles.value,\n dimensionStyles.value,\n props.style,\n ]}\n tabindex={ (props.disabled || isFocused.value) ? -1 : 0 }\n role=\"listbox\"\n aria-activedescendant={ undefined }\n onFocusin={ onFocusin }\n onFocusout={ onFocusout }\n onFocus={ onFocus }\n onKeydown={ onKeydown }\n onMousedown={ onMousedown }\n >\n <VListChildren\n items={ items.value }\n returnObject={ props.returnObject }\n v-slots={ slots }\n />\n </props.tag>\n )\n })\n\n return {\n open,\n select,\n focus,\n children,\n parents,\n getPath,\n }\n },\n})\n\nexport type VList = InstanceType<typeof VList>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,aAAa,+BAEtB;AAAA,SACSC,UAAU;AAAA,SACVC,eAAe,EAAEC,SAAS;AAAA,SAC1BC,kBAAkB;AAAA,SAClBC,kBAAkB;AAAA,SAClBC,eAAe;AAAA,SACfC,gBAAgB,EAAEC,UAAU;AAAA,SAC5BC,kBAAkB,EAAEC,YAAY;AAAA,SAChCC,kBAAkB,EAAEC,YAAY;AAAA,SAChCC,cAAc;AAAA,SACdC,eAAe,EAAEC,SAAS;AAAA,SAC1BC,gBAAgB,EAAEC,UAAU;AAAA,SAC5BC,YAAY;AAAA,SACZC,cAAc,EAAEC,YAAY;AAAA,SAC5BC,gBAAgB,yCAEzB;AACA,SAASC,QAAQ,EAAEC,GAAG,EAAEC,UAAU,EAAEC,KAAK,QAAQ,KAAK;AAAA,SAC7CC,SAAS,EAAEC,UAAU,EAAEC,gBAAgB,EAAEC,mBAAmB,EAAEC,IAAI,E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["VListChildren","createList","makeBorderProps","useBorder","useBackgroundColor","makeComponentProps","provideDefaults","makeDensityProps","useDensity","makeDimensionProps","useDimension","makeElevationProps","useElevation","IconValue","makeItemsProps","makeNestedProps","useNested","makeRoundedProps","useRounded","makeTagProps","makeThemeProps","provideTheme","makeVariantProps","computed","ref","shallowRef","toRef","EventProp","focusChild","genericComponent","getPropertyFromItem","omit","propsFactory","useRender","isPrimitive","value","transformItem","props","item","type","itemType","title","itemTitle","itemValue","undefined","children","itemChildren","itemProps","_props","transformItems","raw","items","array","push","useListItems","makeVListProps","baseColor","String","activeColor","activeClass","bgColor","disabled","Boolean","expandIcon","collapseIcon","lines","default","slim","nav","selectStrategy","openStrategy","variant","VList","name","emits","setup","_ref","slots","themeClasses","backgroundColorClasses","backgroundColorStyles","borderClasses","densityClasses","dimensionStyles","elevationClasses","roundedClasses","open","parents","select","getPath","lineClasses","color","VListGroup","VListItem","density","isFocused","contentRef","onFocusin","e","onFocusout","onFocus","relatedTarget","contains","focus","onKeydown","target","includes","tagName","key","preventDefault","onMousedown","location","_createVNode","tag","class","style","returnObject"],"sources":["../../../src/components/VList/VList.tsx"],"sourcesContent":["// Styles\nimport './VList.sass'\n\n// Components\nimport { VListChildren } from './VListChildren'\n\n// Composables\nimport { createList } from './list'\nimport { makeBorderProps, useBorder } from '@/composables/border'\nimport { useBackgroundColor } from '@/composables/color'\nimport { makeComponentProps } from '@/composables/component'\nimport { provideDefaults } from '@/composables/defaults'\nimport { makeDensityProps, useDensity } from '@/composables/density'\nimport { makeDimensionProps, useDimension } from '@/composables/dimensions'\nimport { makeElevationProps, useElevation } from '@/composables/elevation'\nimport { IconValue } from '@/composables/icons'\nimport { makeItemsProps } from '@/composables/list-items'\nimport { makeNestedProps, useNested } from '@/composables/nested/nested'\nimport { makeRoundedProps, useRounded } from '@/composables/rounded'\nimport { makeTagProps } from '@/composables/tag'\nimport { makeThemeProps, provideTheme } from '@/composables/theme'\nimport { makeVariantProps } from '@/composables/variant'\n\n// Utilities\nimport { computed, ref, shallowRef, toRef } from 'vue'\nimport { EventProp, focusChild, genericComponent, getPropertyFromItem, omit, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\nimport type { VListChildrenSlots } from './VListChildren'\nimport type { ItemProps, ListItem } from '@/composables/list-items'\nimport type { GenericProps, SelectItemKey } from '@/util'\n\nexport interface InternalListItem<T = any> extends ListItem<T> {\n type?: 'item' | 'subheader' | 'divider'\n}\n\nfunction isPrimitive (value: unknown): value is string | number | boolean {\n return typeof value === 'string' || typeof value === 'number' || typeof value === 'boolean'\n}\n\nfunction transformItem (props: ItemProps & { itemType?: string }, item: any): InternalListItem {\n const type = getPropertyFromItem(item, props.itemType, 'item')\n const title = isPrimitive(item) ? item : getPropertyFromItem(item, props.itemTitle)\n const value = getPropertyFromItem(item, props.itemValue, undefined)\n const children = getPropertyFromItem(item, props.itemChildren)\n const itemProps = props.itemProps === true\n ? omit(item, ['children'])\n : getPropertyFromItem(item, props.itemProps)\n\n const _props = {\n title,\n value,\n ...itemProps,\n }\n\n return {\n type,\n title: _props.title,\n value: _props.value,\n props: _props,\n children: type === 'item' && children ? transformItems(props, children) : undefined,\n raw: item,\n }\n}\n\nfunction transformItems (props: ItemProps & { itemType?: string }, items: (string | object)[]) {\n const array: InternalListItem[] = []\n\n for (const item of items) {\n array.push(transformItem(props, item))\n }\n\n return array\n}\n\nexport function useListItems (props: ItemProps & { itemType?: string }) {\n const items = computed(() => transformItems(props, props.items))\n\n return { items }\n}\n\nexport const makeVListProps = propsFactory({\n baseColor: String,\n /* @deprecated */\n activeColor: String,\n activeClass: String,\n bgColor: String,\n disabled: Boolean,\n expandIcon: IconValue,\n collapseIcon: IconValue,\n lines: {\n type: [Boolean, String] as PropType<'one' | 'two' | 'three' | false>,\n default: 'one',\n },\n slim: Boolean,\n nav: Boolean,\n\n 'onClick:open': EventProp<[{ id: unknown, value: boolean, path: unknown[] }]>(),\n 'onClick:select': EventProp<[{ id: unknown, value: boolean, path: unknown[] }]>(),\n 'onUpdate:opened': EventProp<[]>(),\n ...makeNestedProps({\n selectStrategy: 'single-leaf' as const,\n openStrategy: 'list' as const,\n }),\n ...makeBorderProps(),\n ...makeComponentProps(),\n ...makeDensityProps(),\n ...makeDimensionProps(),\n ...makeElevationProps(),\n itemType: {\n type: String,\n default: 'type',\n },\n ...makeItemsProps(),\n ...makeRoundedProps(),\n ...makeTagProps(),\n ...makeThemeProps(),\n ...makeVariantProps({ variant: 'text' } as const),\n}, 'VList')\n\ntype ItemType<T> = T extends readonly (infer U)[] ? U : never\n\nexport const VList = genericComponent<new <\n T extends readonly any[],\n S = unknown,\n O = unknown\n>(\n props: {\n items?: T\n itemTitle?: SelectItemKey<ItemType<T>>\n itemValue?: SelectItemKey<ItemType<T>>\n itemChildren?: SelectItemKey<ItemType<T>>\n itemProps?: SelectItemKey<ItemType<T>>\n selected?: S\n 'onUpdate:selected'?: (value: S) => void\n 'onClick:open'?: (value: { id: unknown, value: boolean, path: unknown[] }) => void\n 'onClick:select'?: (value: { id: unknown, value: boolean, path: unknown[] }) => void\n opened?: O\n 'onUpdate:opened'?: (value: O) => void\n },\n slots: VListChildrenSlots<ItemType<T>>\n) => GenericProps<typeof props, typeof slots>>()({\n name: 'VList',\n\n props: makeVListProps(),\n\n emits: {\n 'update:selected': (value: unknown) => true,\n 'update:activated': (value: unknown) => true,\n 'update:opened': (value: unknown) => true,\n 'click:open': (value: { id: unknown, value: boolean, path: unknown[] }) => true,\n 'click:activate': (value: { id: unknown, value: boolean, path: unknown[] }) => true,\n 'click:select': (value: { id: unknown, value: boolean, path: unknown[] }) => true,\n },\n\n setup (props, { slots }) {\n const { items } = useListItems(props)\n const { themeClasses } = provideTheme(props)\n const { backgroundColorClasses, backgroundColorStyles } = useBackgroundColor(toRef(props, 'bgColor'))\n const { borderClasses } = useBorder(props)\n const { densityClasses } = useDensity(props)\n const { dimensionStyles } = useDimension(props)\n const { elevationClasses } = useElevation(props)\n const { roundedClasses } = useRounded(props)\n const { children, open, parents, select, getPath } = useNested(props)\n const lineClasses = computed(() => props.lines ? `v-list--${props.lines}-line` : undefined)\n const activeColor = toRef(props, 'activeColor')\n const baseColor = toRef(props, 'baseColor')\n const color = toRef(props, 'color')\n\n createList()\n\n provideDefaults({\n VListGroup: {\n activeColor,\n baseColor,\n color,\n expandIcon: toRef(props, 'expandIcon'),\n collapseIcon: toRef(props, 'collapseIcon'),\n },\n VListItem: {\n activeClass: toRef(props, 'activeClass'),\n activeColor,\n baseColor,\n color,\n density: toRef(props, 'density'),\n disabled: toRef(props, 'disabled'),\n lines: toRef(props, 'lines'),\n nav: toRef(props, 'nav'),\n slim: toRef(props, 'slim'),\n variant: toRef(props, 'variant'),\n },\n })\n\n const isFocused = shallowRef(false)\n const contentRef = ref<HTMLElement>()\n function onFocusin (e: FocusEvent) {\n isFocused.value = true\n }\n\n function onFocusout (e: FocusEvent) {\n isFocused.value = false\n }\n\n function onFocus (e: FocusEvent) {\n if (\n !isFocused.value &&\n !(e.relatedTarget && contentRef.value?.contains(e.relatedTarget as Node))\n ) focus()\n }\n\n function onKeydown (e: KeyboardEvent) {\n const target = e.target as HTMLElement\n\n if (!contentRef.value || ['INPUT', 'TEXTAREA'].includes(target.tagName)) return\n\n if (e.key === 'ArrowDown') {\n focus('next')\n } else if (e.key === 'ArrowUp') {\n focus('prev')\n } else if (e.key === 'Home') {\n focus('first')\n } else if (e.key === 'End') {\n focus('last')\n } else {\n return\n }\n\n e.preventDefault()\n }\n\n function onMousedown (e: MouseEvent) {\n isFocused.value = true\n }\n\n function focus (location?: 'next' | 'prev' | 'first' | 'last') {\n if (contentRef.value) {\n return focusChild(contentRef.value, location)\n }\n }\n\n useRender(() => {\n return (\n <props.tag\n ref={ contentRef }\n class={[\n 'v-list',\n {\n 'v-list--disabled': props.disabled,\n 'v-list--nav': props.nav,\n 'v-list--slim': props.slim,\n },\n themeClasses.value,\n backgroundColorClasses.value,\n borderClasses.value,\n densityClasses.value,\n elevationClasses.value,\n lineClasses.value,\n roundedClasses.value,\n props.class,\n ]}\n style={[\n backgroundColorStyles.value,\n dimensionStyles.value,\n props.style,\n ]}\n tabindex={ (props.disabled || isFocused.value) ? -1 : 0 }\n role=\"listbox\"\n aria-activedescendant={ undefined }\n onFocusin={ onFocusin }\n onFocusout={ onFocusout }\n onFocus={ onFocus }\n onKeydown={ onKeydown }\n onMousedown={ onMousedown }\n >\n <VListChildren\n items={ items.value }\n returnObject={ props.returnObject }\n v-slots={ slots }\n />\n </props.tag>\n )\n })\n\n return {\n open,\n select,\n focus,\n children,\n parents,\n getPath,\n }\n },\n})\n\nexport type VList = InstanceType<typeof VList>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,aAAa,+BAEtB;AAAA,SACSC,UAAU;AAAA,SACVC,eAAe,EAAEC,SAAS;AAAA,SAC1BC,kBAAkB;AAAA,SAClBC,kBAAkB;AAAA,SAClBC,eAAe;AAAA,SACfC,gBAAgB,EAAEC,UAAU;AAAA,SAC5BC,kBAAkB,EAAEC,YAAY;AAAA,SAChCC,kBAAkB,EAAEC,YAAY;AAAA,SAChCC,SAAS;AAAA,SACTC,cAAc;AAAA,SACdC,eAAe,EAAEC,SAAS;AAAA,SAC1BC,gBAAgB,EAAEC,UAAU;AAAA,SAC5BC,YAAY;AAAA,SACZC,cAAc,EAAEC,YAAY;AAAA,SAC5BC,gBAAgB,yCAEzB;AACA,SAASC,QAAQ,EAAEC,GAAG,EAAEC,UAAU,EAAEC,KAAK,QAAQ,KAAK;AAAA,SAC7CC,SAAS,EAAEC,UAAU,EAAEC,gBAAgB,EAAEC,mBAAmB,EAAEC,IAAI,EAAEC,YAAY,EAAEC,SAAS,gCAEpG;AAUA,SAASC,WAAWA,CAAEC,KAAc,EAAsC;EACxE,OAAO,OAAOA,KAAK,KAAK,QAAQ,IAAI,OAAOA,KAAK,KAAK,QAAQ,IAAI,OAAOA,KAAK,KAAK,SAAS;AAC7F;AAEA,SAASC,aAAaA,CAAEC,KAAwC,EAAE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L,QAAQ,EACR;UACE,kBAAkB,EAAE3D,KAAK,CAACwB,QAAQ;UAClC,aAAa,EAAExB,KAAK,CAAC+B,GAAG;UACxB,cAAc,EAAE/B,KAAK,CAAC8B;QACxB,CAAC,EACDW,YAAY,CAAC3C,KAAK,EAClB4C,sBAAsB,CAAC5C,KAAK,EAC5B8C,aAAa,CAAC9C,KAAK,EACnB+C,cAAc,CAAC/C,KAAK,EACpBiD,gBAAgB,CAACjD,KAAK,EACtBuD,WAAW,CAACvD,KAAK,EACjBkD,cAAc,CAAClD,KAAK,EACpBE,KAAK,CAAC6E,KAAK,CACZ;QAAA,SACM,CACLlC,qBAAqB,CAAC7C,KAAK,EAC3BgD,eAAe,CAAChD,KAAK,EACrBE,KAAK,CAAC8E,KAAK,CACZ;QAAA,YACW9E,KAAK,CAACwB,QAAQ,IAAIkC,SAAS,CAAC5D,KAAK,GAAI,CAAC,CAAC,GAAG,CAAC;QAAA;QAAA,yBAE/BS,SAAS;QAAA,aACrBqD,SAAS;QAAA,cACRE,UAAU;QAAA,WACbC,OAAO;QAAA,aACLI,SAAS;QAAA,eACPM;MAAW;QAAA5C,OAAA,EAAAA,CAAA,MAAA8C,YAAA,CAAAhH,aAAA;UAAA,SAGfmD,KAAK,CAAChB,KAAK;UAAA,gBACJE,KAAK,CAAC+E;QAAY,GACvBvC,KAAK;MAAA;IAIvB,CAAC,CAAC;IAEF,OAAO;MACLS,IAAI;MACJE,MAAM;MACNe,KAAK;MACL1D,QAAQ;MACR0C,OAAO;MACPE;IACF,CAAC;EACH;AACF,CAAC,CAAC","ignoreList":[]}
@@ -63,7 +63,7 @@
63
63
 
64
64
  #{$root}
65
65
  min-height: $list-subheader-min-height + ($modifier * $list-subheader-min-height-multiplier)
66
- padding-inline-start: calc(#{$base-padding} + var(--indent-padding))
66
+ padding-inline-start: calc(#{$base-padding} + var(--indent-padding)) !important
67
67
 
68
68
  &--inset
69
69
  --indent-padding: #{$list-subheader-inset-padding-start}
@@ -1,4 +1,4 @@
1
- import { createVNode as _createVNode, mergeProps as _mergeProps } from "vue";
1
+ import { mergeProps as _mergeProps, resolveDirective as _resolveDirective, createVNode as _createVNode } from "vue";
2
2
  // Components
3
3
  import { VListGroup } from "./VListGroup.mjs";
4
4
  import { VListItem } from "./VListItem.mjs";
@@ -1,4 +1,4 @@
1
- import { createVNode as _createVNode, vShow as _vShow, withDirectives as _withDirectives } from "vue";
1
+ import { withDirectives as _withDirectives, vShow as _vShow, createVNode as _createVNode } from "vue";
2
2
  // Components
3
3
  import { VExpandTransition } from "../transitions/index.mjs";
4
4
  import { VDefaultsProvider } from "../VDefaultsProvider/index.mjs"; // Composables