@vuetify/nightly 3.0.0-alpha.3 → 3.0.0-beta.2

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 (1247) hide show
  1. package/CHANGELOG.md +41 -98
  2. package/dist/json/attributes.json +5378 -0
  3. package/dist/json/importMap.json +585 -0
  4. package/dist/json/tags.json +1933 -0
  5. package/dist/json/web-types.json +18314 -0
  6. package/dist/vuetify.css +12154 -8451
  7. package/dist/vuetify.d.ts +15974 -0
  8. package/dist/vuetify.esm.js +17658 -0
  9. package/dist/vuetify.esm.js.map +1 -0
  10. package/dist/vuetify.js +16972 -9378
  11. package/dist/vuetify.js.map +1 -1
  12. package/dist/vuetify.min.css +6 -3
  13. package/dist/vuetify.min.js +1466 -5252
  14. package/dist/vuetify.min.js.map +1 -1
  15. package/lib/components/VAlert/VAlert.css +214 -0
  16. package/lib/components/VAlert/VAlert.mjs +157 -206
  17. package/lib/components/VAlert/VAlert.mjs.map +1 -1
  18. package/lib/components/VAlert/VAlert.sass +106 -159
  19. package/lib/components/VAlert/VAlertTitle.mjs +4 -0
  20. package/lib/components/VAlert/VAlertTitle.mjs.map +1 -0
  21. package/lib/components/VAlert/_variables.scss +50 -14
  22. package/lib/components/VAlert/index.mjs +2 -3
  23. package/lib/components/VAlert/index.mjs.map +1 -1
  24. package/lib/components/VApp/VApp.css +29 -0
  25. package/lib/components/VApp/VApp.mjs +36 -22
  26. package/lib/components/VApp/VApp.mjs.map +1 -1
  27. package/lib/components/VApp/VApp.sass +1 -4
  28. package/lib/components/VApp/index.mjs +1 -1
  29. package/lib/components/VApp/index.mjs.map +1 -1
  30. package/lib/components/VAppBar/VAppBar.css +10 -0
  31. package/lib/components/VAppBar/VAppBar.mjs +63 -227
  32. package/lib/components/VAppBar/VAppBar.mjs.map +1 -1
  33. package/lib/components/VAppBar/VAppBar.sass +8 -54
  34. package/lib/components/VAppBar/VAppBarNavIcon.mjs +24 -25
  35. package/lib/components/VAppBar/VAppBarNavIcon.mjs.map +1 -1
  36. package/lib/components/VAppBar/VAppBarTitle.mjs +15 -62
  37. package/lib/components/VAppBar/VAppBarTitle.mjs.map +1 -1
  38. package/lib/components/VAppBar/_variables.scss +39 -4
  39. package/lib/components/VAppBar/index.mjs +3 -11
  40. package/lib/components/VAppBar/index.mjs.map +1 -1
  41. package/lib/components/VAutocomplete/VAutocomplete.css +57 -0
  42. package/lib/components/VAutocomplete/VAutocomplete.mjs +240 -357
  43. package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
  44. package/lib/components/VAutocomplete/VAutocomplete.sass +69 -33
  45. package/lib/components/VAutocomplete/_variables.scss +7 -4
  46. package/lib/components/VAutocomplete/index.mjs +1 -3
  47. package/lib/components/VAutocomplete/index.mjs.map +1 -1
  48. package/lib/components/VAvatar/VAvatar.css +43 -0
  49. package/lib/components/VAvatar/VAvatar.mjs +49 -27
  50. package/lib/components/VAvatar/VAvatar.mjs.map +1 -1
  51. package/lib/components/VAvatar/VAvatar.sass +9 -13
  52. package/lib/components/VAvatar/_mixins.scss +32 -0
  53. package/lib/components/VAvatar/_variables.scss +19 -8
  54. package/lib/components/VAvatar/index.mjs +1 -1
  55. package/lib/components/VAvatar/index.mjs.map +1 -1
  56. package/lib/components/VBadge/VBadge.css +74 -0
  57. package/lib/components/VBadge/VBadge.mjs +51 -35
  58. package/lib/components/VBadge/VBadge.mjs.map +1 -1
  59. package/lib/components/VBadge/VBadge.sass +5 -5
  60. package/lib/components/VBadge/_variables.scss +11 -3
  61. package/lib/components/VBadge/index.mjs +1 -1
  62. package/lib/components/VBadge/index.mjs.map +1 -1
  63. package/lib/components/VBanner/VBanner.css +157 -0
  64. package/lib/components/VBanner/VBanner.mjs +75 -46
  65. package/lib/components/VBanner/VBanner.mjs.map +1 -1
  66. package/lib/components/VBanner/VBanner.sass +80 -122
  67. package/lib/components/VBanner/VBannerActions.mjs +35 -0
  68. package/lib/components/VBanner/VBannerActions.mjs.map +1 -0
  69. package/lib/components/VBanner/VBannerAvatar.mjs +20 -0
  70. package/lib/components/VBanner/VBannerAvatar.mjs.map +1 -0
  71. package/lib/components/VBanner/VBannerIcon.mjs +20 -0
  72. package/lib/components/VBanner/VBannerIcon.mjs.map +1 -0
  73. package/lib/components/VBanner/VBannerText.mjs +3 -0
  74. package/lib/components/VBanner/VBannerText.mjs.map +1 -0
  75. package/lib/components/VBanner/_variables.scss +37 -45
  76. package/lib/components/VBanner/index.mjs +5 -1
  77. package/lib/components/VBanner/index.mjs.map +1 -1
  78. package/lib/components/VBottomNavigation/VBottomNavigation.css +61 -0
  79. package/lib/components/VBottomNavigation/VBottomNavigation.mjs +104 -111
  80. package/lib/components/VBottomNavigation/VBottomNavigation.mjs.map +1 -1
  81. package/lib/components/VBottomNavigation/VBottomNavigation.sass +48 -74
  82. package/lib/components/VBottomNavigation/_variables.scss +42 -6
  83. package/lib/components/VBottomNavigation/index.mjs +1 -3
  84. package/lib/components/VBottomNavigation/index.mjs.map +1 -1
  85. package/lib/components/VBottomSheet/VBottomSheet.mjs +1 -1
  86. package/lib/components/VBottomSheet/VBottomSheet.mjs.map +1 -1
  87. package/lib/components/VBreadcrumbs/VBreadcrumbs.css +48 -0
  88. package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs +81 -51
  89. package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs.map +1 -1
  90. package/lib/components/VBreadcrumbs/VBreadcrumbs.sass +26 -30
  91. package/lib/components/VBreadcrumbs/VBreadcrumbsDivider.mjs +2 -5
  92. package/lib/components/VBreadcrumbs/VBreadcrumbsDivider.mjs.map +1 -1
  93. package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs +56 -35
  94. package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs.map +1 -1
  95. package/lib/components/VBreadcrumbs/_variables.scss +15 -7
  96. package/lib/components/VBreadcrumbs/index.mjs +3 -11
  97. package/lib/components/VBreadcrumbs/index.mjs.map +1 -1
  98. package/lib/components/VBreadcrumbs/shared.mjs +2 -0
  99. package/lib/components/VBreadcrumbs/shared.mjs.map +1 -0
  100. package/lib/components/VBtn/VBtn.css +319 -0
  101. package/lib/components/VBtn/VBtn.mjs +103 -67
  102. package/lib/components/VBtn/VBtn.mjs.map +1 -1
  103. package/lib/components/VBtn/VBtn.sass +101 -34
  104. package/lib/components/VBtn/_mixins.scss +31 -7
  105. package/lib/components/VBtn/_variables.scss +66 -29
  106. package/lib/components/VBtn/index.mjs +1 -1
  107. package/lib/components/VBtn/index.mjs.map +1 -1
  108. package/lib/components/VBtnGroup/VBtnGroup.css +57 -0
  109. package/lib/components/VBtnGroup/VBtnGroup.mjs +67 -0
  110. package/lib/components/VBtnGroup/VBtnGroup.mjs.map +1 -0
  111. package/lib/components/VBtnGroup/VBtnGroup.sass +52 -0
  112. package/lib/components/VBtnGroup/_variables.scss +25 -0
  113. package/lib/components/VBtnGroup/index.mjs +2 -0
  114. package/lib/components/VBtnGroup/index.mjs.map +1 -0
  115. package/lib/components/VBtnToggle/VBtnToggle.css +3 -0
  116. package/lib/components/VBtnToggle/VBtnToggle.mjs +45 -39
  117. package/lib/components/VBtnToggle/VBtnToggle.mjs.map +1 -1
  118. package/lib/components/VBtnToggle/VBtnToggle.sass +5 -95
  119. package/lib/components/VBtnToggle/_variables.scss +3 -10
  120. package/lib/components/VBtnToggle/index.mjs +1 -3
  121. package/lib/components/VBtnToggle/index.mjs.map +1 -1
  122. package/lib/components/VCalendar/VCalendar.mjs +15 -6
  123. package/lib/components/VCalendar/VCalendar.mjs.map +1 -1
  124. package/lib/components/VCalendar/VCalendarCategory.mjs +5 -4
  125. package/lib/components/VCalendar/VCalendarCategory.mjs.map +1 -1
  126. package/lib/components/VCalendar/VCalendarCategory.sass +67 -0
  127. package/lib/components/VCalendar/VCalendarDaily.mjs +1 -1
  128. package/lib/components/VCalendar/VCalendarDaily.mjs.map +1 -1
  129. package/lib/components/VCalendar/VCalendarMonthly.mjs +1 -1
  130. package/lib/components/VCalendar/VCalendarMonthly.mjs.map +1 -1
  131. package/lib/components/VCalendar/VCalendarWeekly.mjs +1 -1
  132. package/lib/components/VCalendar/VCalendarWeekly.mjs.map +1 -1
  133. package/lib/components/VCalendar/_variables.scss +4 -0
  134. package/lib/components/VCalendar/mixins/calendar-base.mjs +5 -4
  135. package/lib/components/VCalendar/mixins/calendar-base.mjs.map +1 -1
  136. package/lib/components/VCalendar/mixins/calendar-with-events.mjs +40 -33
  137. package/lib/components/VCalendar/mixins/calendar-with-events.mjs.map +1 -1
  138. package/lib/components/VCalendar/mixins/calendar-with-events.sass +7 -1
  139. package/lib/components/VCalendar/mixins/calendar-with-intervals.mjs +2 -1
  140. package/lib/components/VCalendar/mixins/calendar-with-intervals.mjs.map +1 -1
  141. package/lib/components/VCalendar/mixins/mouse.mjs +20 -1
  142. package/lib/components/VCalendar/mixins/mouse.mjs.map +1 -1
  143. package/lib/components/VCalendar/modes/common.mjs +7 -3
  144. package/lib/components/VCalendar/modes/common.mjs.map +1 -1
  145. package/lib/components/VCalendar/modes/stack.mjs +2 -1
  146. package/lib/components/VCalendar/modes/stack.mjs.map +1 -1
  147. package/lib/components/VCalendar/util/events.mjs +8 -3
  148. package/lib/components/VCalendar/util/events.mjs.map +1 -1
  149. package/lib/components/VCalendar/util/parser.mjs +1 -3
  150. package/lib/components/VCalendar/util/parser.mjs.map +1 -1
  151. package/lib/components/VCalendar/util/timestamp.mjs +24 -12
  152. package/lib/components/VCalendar/util/timestamp.mjs.map +1 -1
  153. package/lib/components/VCard/VCard.css +270 -0
  154. package/lib/components/VCard/VCard.mjs +163 -65
  155. package/lib/components/VCard/VCard.mjs.map +1 -1
  156. package/lib/components/VCard/VCard.sass +147 -119
  157. package/lib/components/VCard/VCardActions.mjs +29 -0
  158. package/lib/components/VCard/VCardActions.mjs.map +1 -0
  159. package/lib/components/VCard/VCardAvatar.mjs +3 -0
  160. package/lib/components/VCard/VCardAvatar.mjs.map +1 -0
  161. package/lib/components/VCard/VCardContent.mjs +3 -0
  162. package/lib/components/VCard/VCardContent.mjs.map +1 -0
  163. package/lib/components/VCard/VCardHeader.mjs +3 -0
  164. package/lib/components/VCard/VCardHeader.mjs.map +1 -0
  165. package/lib/components/VCard/VCardHeaderText.mjs +3 -0
  166. package/lib/components/VCard/VCardHeaderText.mjs.map +1 -0
  167. package/lib/components/VCard/VCardImg.mjs +3 -0
  168. package/lib/components/VCard/VCardImg.mjs.map +1 -0
  169. package/lib/components/VCard/VCardSubtitle.mjs +3 -0
  170. package/lib/components/VCard/VCardSubtitle.mjs.map +1 -0
  171. package/lib/components/VCard/VCardText.mjs +3 -0
  172. package/lib/components/VCard/VCardText.mjs.map +1 -0
  173. package/lib/components/VCard/VCardTitle.mjs +3 -0
  174. package/lib/components/VCard/VCardTitle.mjs.map +1 -0
  175. package/lib/components/VCard/_mixins.scss +13 -0
  176. package/lib/components/VCard/_variables.scss +106 -26
  177. package/lib/components/VCard/index.mjs +10 -16
  178. package/lib/components/VCard/index.mjs.map +1 -1
  179. package/lib/components/VCarousel/VCarousel.css +63 -0
  180. package/lib/components/VCarousel/VCarousel.mjs +99 -185
  181. package/lib/components/VCarousel/VCarousel.mjs.map +1 -1
  182. package/lib/components/VCarousel/VCarousel.sass +7 -2
  183. package/lib/components/VCarousel/VCarouselItem.mjs +22 -42
  184. package/lib/components/VCarousel/VCarouselItem.mjs.map +1 -1
  185. package/lib/components/VCarousel/_variables.scss +1 -3
  186. package/lib/components/VCarousel/index.mjs +2 -9
  187. package/lib/components/VCarousel/index.mjs.map +1 -1
  188. package/lib/components/VCheckbox/VCheckbox.css +3 -0
  189. package/lib/components/VCheckbox/VCheckbox.mjs +56 -83
  190. package/lib/components/VCheckbox/VCheckbox.mjs.map +1 -1
  191. package/lib/components/VCheckbox/VCheckbox.sass +8 -8
  192. package/lib/components/VCheckbox/_variables.scss +2 -4
  193. package/lib/components/VCheckbox/index.mjs +1 -9
  194. package/lib/components/VCheckbox/index.mjs.map +1 -1
  195. package/lib/components/VChip/VChip.css +276 -0
  196. package/lib/components/VChip/VChip.mjs +153 -143
  197. package/lib/components/VChip/VChip.mjs.map +1 -1
  198. package/lib/components/VChip/VChip.sass +41 -177
  199. package/lib/components/VChip/_mixins.scss +65 -0
  200. package/lib/components/VChip/_variables.scss +48 -49
  201. package/lib/components/VChip/index.mjs +1 -3
  202. package/lib/components/VChip/index.mjs.map +1 -1
  203. package/lib/components/VChipGroup/VChipGroup.css +18 -0
  204. package/lib/components/VChipGroup/VChipGroup.mjs +66 -38
  205. package/lib/components/VChipGroup/VChipGroup.mjs.map +1 -1
  206. package/lib/components/VChipGroup/VChipGroup.sass +11 -17
  207. package/lib/components/VChipGroup/_variables.scss +3 -5
  208. package/lib/components/VChipGroup/index.mjs +1 -3
  209. package/lib/components/VChipGroup/index.mjs.map +1 -1
  210. package/lib/components/VCode/VCode.css +7 -0
  211. package/lib/components/VCode/VCode.sass +9 -0
  212. package/lib/components/VCode/_variables.scss +5 -0
  213. package/lib/components/VCode/index.mjs +4 -0
  214. package/lib/components/VCode/index.mjs.map +1 -0
  215. package/lib/components/VColorPicker/VColorPicker.css +21 -0
  216. package/lib/components/VColorPicker/VColorPicker.mjs +103 -133
  217. package/lib/components/VColorPicker/VColorPicker.mjs.map +1 -1
  218. package/lib/components/VColorPicker/VColorPicker.sass +10 -17
  219. package/lib/components/VColorPicker/VColorPickerCanvas.css +21 -0
  220. package/lib/components/VColorPicker/VColorPickerCanvas.mjs +139 -121
  221. package/lib/components/VColorPicker/VColorPickerCanvas.mjs.map +1 -1
  222. package/lib/components/VColorPicker/VColorPickerCanvas.sass +5 -3
  223. package/lib/components/VColorPicker/VColorPickerEdit.css +31 -0
  224. package/lib/components/VColorPicker/VColorPickerEdit.mjs +74 -134
  225. package/lib/components/VColorPicker/VColorPickerEdit.mjs.map +1 -1
  226. package/lib/components/VColorPicker/VColorPickerEdit.sass +9 -6
  227. package/lib/components/VColorPicker/VColorPickerPreview.css +67 -0
  228. package/lib/components/VColorPicker/VColorPickerPreview.mjs +65 -83
  229. package/lib/components/VColorPicker/VColorPickerPreview.mjs.map +1 -1
  230. package/lib/components/VColorPicker/VColorPickerPreview.sass +42 -39
  231. package/lib/components/VColorPicker/VColorPickerSwatches.css +35 -0
  232. package/lib/components/VColorPicker/VColorPickerSwatches.mjs +34 -54
  233. package/lib/components/VColorPicker/VColorPickerSwatches.mjs.map +1 -1
  234. package/lib/components/VColorPicker/VColorPickerSwatches.sass +6 -4
  235. package/lib/components/VColorPicker/_variables.scss +5 -9
  236. package/lib/components/VColorPicker/index.mjs +1 -5
  237. package/lib/components/VColorPicker/index.mjs.map +1 -1
  238. package/lib/components/VColorPicker/util/index.mjs +141 -97
  239. package/lib/components/VColorPicker/util/index.mjs.map +1 -1
  240. package/lib/components/VCombobox/VCombobox.css +66 -0
  241. package/lib/components/VCombobox/VCombobox.mjs +336 -200
  242. package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
  243. package/lib/components/VCombobox/VCombobox.sass +91 -0
  244. package/lib/components/VCombobox/_variables.scss +8 -0
  245. package/lib/components/VCombobox/index.mjs +1 -3
  246. package/lib/components/VCombobox/index.mjs.map +1 -1
  247. package/lib/components/VCounter/VCounter.css +6 -0
  248. package/lib/components/VCounter/VCounter.mjs +36 -27
  249. package/lib/components/VCounter/VCounter.mjs.map +1 -1
  250. package/lib/components/VCounter/VCounter.sass +5 -7
  251. package/lib/components/VCounter/_variables.scss +3 -2
  252. package/lib/components/VCounter/index.mjs +1 -3
  253. package/lib/components/VCounter/index.mjs.map +1 -1
  254. package/lib/components/VData/VData.mjs +8 -3
  255. package/lib/components/VData/VData.mjs.map +1 -1
  256. package/lib/components/VDataIterator/VDataFooter.mjs +1 -1
  257. package/lib/components/VDataIterator/VDataFooter.mjs.map +1 -1
  258. package/lib/components/VDataIterator/VDataIterator.mjs +20 -8
  259. package/lib/components/VDataIterator/VDataIterator.mjs.map +1 -1
  260. package/lib/components/VDataIterator/_variables.scss +2 -2
  261. package/lib/components/VDataTable/MobileRow.mjs +6 -5
  262. package/lib/components/VDataTable/MobileRow.mjs.map +1 -1
  263. package/lib/components/VDataTable/Row.mjs +20 -12
  264. package/lib/components/VDataTable/Row.mjs.map +1 -1
  265. package/lib/components/VDataTable/RowGroup.mjs +5 -4
  266. package/lib/components/VDataTable/RowGroup.mjs.map +1 -1
  267. package/lib/components/VDataTable/VDataTable.mjs +11 -6
  268. package/lib/components/VDataTable/VDataTable.mjs.map +1 -1
  269. package/lib/components/VDataTable/VDataTable.sass +5 -0
  270. package/lib/components/VDataTable/VDataTableHeader.mjs +7 -6
  271. package/lib/components/VDataTable/VDataTableHeader.mjs.map +1 -1
  272. package/lib/components/VDataTable/VDataTableHeaderDesktop.mjs +3 -3
  273. package/lib/components/VDataTable/VDataTableHeaderDesktop.mjs.map +1 -1
  274. package/lib/components/VDataTable/VDataTableHeaderMobile.mjs +2 -2
  275. package/lib/components/VDataTable/VDataTableHeaderMobile.mjs.map +1 -1
  276. package/lib/components/VDataTable/VEditDialog.mjs +7 -6
  277. package/lib/components/VDataTable/VEditDialog.mjs.map +1 -1
  278. package/lib/components/VDataTable/VVirtualTable.mjs +2 -2
  279. package/lib/components/VDataTable/VVirtualTable.mjs.map +1 -1
  280. package/lib/components/VDataTable/_variables.scss +2 -2
  281. package/lib/components/VDatePicker/VDatePicker.mjs +13 -13
  282. package/lib/components/VDatePicker/VDatePicker.mjs.map +1 -1
  283. package/lib/components/VDatePicker/VDatePickerDateTable.mjs +5 -5
  284. package/lib/components/VDatePicker/VDatePickerDateTable.mjs.map +1 -1
  285. package/lib/components/VDatePicker/VDatePickerHeader.mjs +5 -5
  286. package/lib/components/VDatePicker/VDatePickerHeader.mjs.map +1 -1
  287. package/lib/components/VDatePicker/VDatePickerMonthTable.mjs +2 -2
  288. package/lib/components/VDatePicker/VDatePickerMonthTable.mjs.map +1 -1
  289. package/lib/components/VDatePicker/VDatePickerTitle.mjs +2 -2
  290. package/lib/components/VDatePicker/VDatePickerTitle.mjs.map +1 -1
  291. package/lib/components/VDatePicker/VDatePickerYears.mjs +4 -4
  292. package/lib/components/VDatePicker/VDatePickerYears.mjs.map +1 -1
  293. package/lib/components/VDatePicker/mixins/date-picker-table.mjs +20 -9
  294. package/lib/components/VDatePicker/mixins/date-picker-table.mjs.map +1 -1
  295. package/lib/components/VDatePicker/util/createNativeLocaleFormatter.mjs +7 -5
  296. package/lib/components/VDatePicker/util/createNativeLocaleFormatter.mjs.map +1 -1
  297. package/lib/components/VDatePicker/util/eventHelpers.mjs +1 -0
  298. package/lib/components/VDatePicker/util/eventHelpers.mjs.map +1 -1
  299. package/lib/components/VDatePicker/util/monthChange.mjs +3 -3
  300. package/lib/components/VDatePicker/util/monthChange.mjs.map +1 -1
  301. package/lib/components/VDatePicker/util/pad.mjs +4 -1
  302. package/lib/components/VDatePicker/util/pad.mjs.map +1 -1
  303. package/lib/components/VDatePicker/util/sanitizeDateString.mjs +1 -1
  304. package/lib/components/VDatePicker/util/sanitizeDateString.mjs.map +1 -1
  305. package/lib/components/VDefaultsProvider/VDefaultsProvider.mjs +38 -0
  306. package/lib/components/VDefaultsProvider/VDefaultsProvider.mjs.map +1 -0
  307. package/lib/components/VDefaultsProvider/index.mjs +2 -0
  308. package/lib/components/VDefaultsProvider/index.mjs.map +1 -0
  309. package/lib/components/VDialog/VDialog.css +77 -0
  310. package/lib/components/VDialog/VDialog.mjs +91 -279
  311. package/lib/components/VDialog/VDialog.mjs.map +1 -1
  312. package/lib/components/VDialog/VDialog.sass +53 -81
  313. package/lib/components/VDialog/_variables.scss +12 -10
  314. package/lib/components/VDialog/index.mjs +1 -3
  315. package/lib/components/VDialog/index.mjs.map +1 -1
  316. package/lib/components/VDivider/VDivider.css +30 -0
  317. package/lib/components/VDivider/VDivider.mjs +25 -17
  318. package/lib/components/VDivider/VDivider.mjs.map +1 -1
  319. package/lib/components/VDivider/VDivider.sass +5 -9
  320. package/lib/components/VDivider/_variables.scss +9 -11
  321. package/lib/components/VDivider/index.mjs +1 -1
  322. package/lib/components/VDivider/index.mjs.map +1 -1
  323. package/lib/components/VExpansionPanel/VExpansionPanel.css +190 -0
  324. package/lib/components/VExpansionPanel/VExpansionPanel.mjs +87 -83
  325. package/lib/components/VExpansionPanel/VExpansionPanel.mjs.map +1 -1
  326. package/lib/components/VExpansionPanel/VExpansionPanel.sass +91 -129
  327. package/lib/components/VExpansionPanel/VExpansionPanelText.mjs +42 -0
  328. package/lib/components/VExpansionPanel/VExpansionPanelText.mjs.map +1 -0
  329. package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs +79 -0
  330. package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs.map +1 -0
  331. package/lib/components/VExpansionPanel/VExpansionPanels.mjs +45 -59
  332. package/lib/components/VExpansionPanel/VExpansionPanels.mjs.map +1 -1
  333. package/lib/components/VExpansionPanel/_variables.scss +13 -7
  334. package/lib/components/VExpansionPanel/index.mjs +4 -13
  335. package/lib/components/VExpansionPanel/index.mjs.map +1 -1
  336. package/lib/components/VField/VField.css +410 -0
  337. package/lib/components/VField/VField.mjs +248 -0
  338. package/lib/components/VField/VField.mjs.map +1 -0
  339. package/lib/components/VField/VField.sass +392 -0
  340. package/lib/components/VField/VFieldLabel.mjs +27 -0
  341. package/lib/components/VField/VFieldLabel.mjs.map +1 -0
  342. package/lib/components/VField/_variables.scss +44 -0
  343. package/lib/components/VField/index.mjs +3 -0
  344. package/lib/components/VField/index.mjs.map +1 -0
  345. package/lib/components/VFileInput/VFileInput.css +8 -0
  346. package/lib/components/VFileInput/VFileInput.mjs +181 -224
  347. package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
  348. package/lib/components/VFileInput/VFileInput.sass +3 -51
  349. package/lib/components/VFileInput/_variables.scss +2 -6
  350. package/lib/components/VFileInput/index.mjs +1 -3
  351. package/lib/components/VFileInput/index.mjs.map +1 -1
  352. package/lib/components/VFooter/VFooter.css +20 -0
  353. package/lib/components/VFooter/VFooter.mjs +54 -31
  354. package/lib/components/VFooter/VFooter.mjs.map +1 -1
  355. package/lib/components/VFooter/VFooter.sass +10 -7
  356. package/lib/components/VFooter/_variables.scss +13 -3
  357. package/lib/components/VFooter/index.mjs +1 -1
  358. package/lib/components/VFooter/index.mjs.map +1 -1
  359. package/lib/components/VForm/VForm.mjs +55 -122
  360. package/lib/components/VForm/VForm.mjs.map +1 -1
  361. package/lib/components/VForm/index.mjs +1 -3
  362. package/lib/components/VForm/index.mjs.map +1 -1
  363. package/lib/components/VGrid/VCol.mjs +23 -18
  364. package/lib/components/VGrid/VCol.mjs.map +1 -1
  365. package/lib/components/VGrid/VContainer.mjs +10 -12
  366. package/lib/components/VGrid/VContainer.mjs.map +1 -1
  367. package/lib/components/VGrid/VGrid.css +1002 -0
  368. package/lib/components/VGrid/VGrid.sass +9 -8
  369. package/lib/components/VGrid/VRow.mjs +22 -17
  370. package/lib/components/VGrid/VRow.mjs.map +1 -1
  371. package/lib/components/VGrid/VSpacer.mjs +1 -1
  372. package/lib/components/VGrid/VSpacer.mjs.map +1 -1
  373. package/lib/components/VGrid/_mixins.sass +26 -21
  374. package/lib/components/VGrid/index.mjs +4 -4
  375. package/lib/components/VGrid/index.mjs.map +1 -1
  376. package/lib/components/VHover/VHover.mjs +31 -61
  377. package/lib/components/VHover/VHover.mjs.map +1 -1
  378. package/lib/components/VHover/index.mjs +1 -3
  379. package/lib/components/VHover/index.mjs.map +1 -1
  380. package/lib/components/VIcon/VIcon.css +65 -0
  381. package/lib/components/VIcon/VIcon.mjs +36 -29
  382. package/lib/components/VIcon/VIcon.mjs.map +1 -1
  383. package/lib/components/VIcon/VIcon.sass +31 -49
  384. package/lib/components/VIcon/_variables.scss +17 -20
  385. package/lib/components/VIcon/index.mjs +1 -1
  386. package/lib/components/VIcon/index.mjs.map +1 -1
  387. package/lib/components/VImg/VImg.css +34 -0
  388. package/lib/components/VImg/VImg.mjs +121 -71
  389. package/lib/components/VImg/VImg.mjs.map +1 -1
  390. package/lib/components/VImg/VImg.sass +14 -8
  391. package/lib/components/VImg/_variables.scss +1 -0
  392. package/lib/components/VImg/index.mjs +1 -1
  393. package/lib/components/VImg/index.mjs.map +1 -1
  394. package/lib/components/VInput/VInput.css +112 -0
  395. package/lib/components/VInput/VInput.mjs +102 -278
  396. package/lib/components/VInput/VInput.mjs.map +1 -1
  397. package/lib/components/VInput/VInput.sass +77 -117
  398. package/lib/components/VInput/_variables.scss +21 -13
  399. package/lib/components/VInput/index.mjs +1 -3
  400. package/lib/components/VInput/index.mjs.map +1 -1
  401. package/lib/components/VItemGroup/VItem.mjs +33 -62
  402. package/lib/components/VItemGroup/VItem.mjs.map +1 -1
  403. package/lib/components/VItemGroup/VItemGroup.css +6 -0
  404. package/lib/components/VItemGroup/VItemGroup.mjs +45 -215
  405. package/lib/components/VItemGroup/VItemGroup.mjs.map +1 -1
  406. package/lib/components/VItemGroup/VItemGroup.sass +3 -2
  407. package/lib/components/VItemGroup/_variables.scss +3 -2
  408. package/lib/components/VItemGroup/index.mjs +2 -9
  409. package/lib/components/VItemGroup/index.mjs.map +1 -1
  410. package/lib/components/VKbd/VKbd.css +9 -0
  411. package/lib/components/VKbd/VKbd.sass +13 -0
  412. package/lib/components/VKbd/_variables.scss +6 -0
  413. package/lib/components/VKbd/index.mjs +4 -0
  414. package/lib/components/VKbd/index.mjs.map +1 -0
  415. package/lib/components/VLabel/VLabel.css +12 -0
  416. package/lib/components/VLabel/VLabel.mjs +18 -56
  417. package/lib/components/VLabel/VLabel.mjs.map +1 -1
  418. package/lib/components/VLabel/VLabel.sass +13 -11
  419. package/lib/components/VLabel/_variables.scss +7 -4
  420. package/lib/components/VLabel/index.mjs +1 -3
  421. package/lib/components/VLabel/index.mjs.map +1 -1
  422. package/lib/components/VLayout/VLayout.css +11 -0
  423. package/lib/components/VLayout/VLayout.mjs +20 -15
  424. package/lib/components/VLayout/VLayout.mjs.map +1 -1
  425. package/lib/components/VLayout/VLayout.sass +5 -3
  426. package/lib/components/VLayout/VLayoutItem.css +8 -0
  427. package/lib/components/VLayout/VLayoutItem.mjs +36 -17
  428. package/lib/components/VLayout/VLayoutItem.mjs.map +1 -1
  429. package/lib/components/VLayout/VLayoutItem.sass +8 -0
  430. package/lib/components/VLayout/index.mjs +2 -2
  431. package/lib/components/VLayout/index.mjs.map +1 -1
  432. package/lib/components/VLazy/VLazy.mjs +41 -51
  433. package/lib/components/VLazy/VLazy.mjs.map +1 -1
  434. package/lib/components/VLazy/index.mjs +1 -3
  435. package/lib/components/VLazy/index.mjs.map +1 -1
  436. package/lib/components/VList/VList.css +107 -0
  437. package/lib/components/VList/VList.mjs +140 -73
  438. package/lib/components/VList/VList.mjs.map +1 -1
  439. package/lib/components/VList/VList.sass +88 -94
  440. package/lib/components/VList/VListChildren.mjs +53 -0
  441. package/lib/components/VList/VListChildren.mjs.map +1 -0
  442. package/lib/components/VList/VListGroup.mjs +84 -164
  443. package/lib/components/VList/VListGroup.mjs.map +1 -1
  444. package/lib/components/VList/VListImg.mjs +3 -0
  445. package/lib/components/VList/VListImg.mjs.map +1 -0
  446. package/lib/components/VList/VListItem.css +350 -0
  447. package/lib/components/VList/VListItem.mjs +184 -141
  448. package/lib/components/VList/VListItem.mjs.map +1 -1
  449. package/lib/components/VList/VListItem.sass +178 -228
  450. package/lib/components/VList/VListItemAction.mjs +23 -19
  451. package/lib/components/VList/VListItemAction.mjs.map +1 -1
  452. package/lib/components/VList/VListItemAvatar.mjs +16 -29
  453. package/lib/components/VList/VListItemAvatar.mjs.map +1 -1
  454. package/lib/components/VList/VListItemHeader.mjs +3 -0
  455. package/lib/components/VList/VListItemHeader.mjs.map +1 -0
  456. package/lib/components/VList/VListItemIcon.mjs +17 -15
  457. package/lib/components/VList/VListItemIcon.mjs.map +1 -1
  458. package/lib/components/VList/VListItemMedia.mjs +29 -0
  459. package/lib/components/VList/VListItemMedia.mjs.map +1 -0
  460. package/lib/components/VList/VListItemSubtitle.mjs +3 -0
  461. package/lib/components/VList/VListItemSubtitle.mjs.map +1 -0
  462. package/lib/components/VList/VListItemTitle.mjs +3 -0
  463. package/lib/components/VList/VListItemTitle.mjs.map +1 -0
  464. package/lib/components/VList/VListSubheader.mjs +47 -0
  465. package/lib/components/VList/VListSubheader.mjs.map +1 -0
  466. package/lib/components/VList/_variables.scss +154 -57
  467. package/lib/components/VList/index.mjs +12 -28
  468. package/lib/components/VList/index.mjs.map +1 -1
  469. package/lib/components/VList/list.mjs +31 -0
  470. package/lib/components/VList/list.mjs.map +1 -0
  471. package/lib/components/VLocaleProvider/VLocaleProvider.css +3 -0
  472. package/lib/components/VLocaleProvider/VLocaleProvider.mjs +19 -10
  473. package/lib/components/VLocaleProvider/VLocaleProvider.mjs.map +1 -1
  474. package/lib/components/VLocaleProvider/VLocaleProvider.sass +2 -0
  475. package/lib/components/VLocaleProvider/index.mjs +1 -1
  476. package/lib/components/VLocaleProvider/index.mjs.map +1 -1
  477. package/lib/components/VMain/VMain.css +18 -0
  478. package/lib/components/VMain/VMain.mjs +23 -19
  479. package/lib/components/VMain/VMain.mjs.map +1 -1
  480. package/lib/components/VMain/VMain.sass +2 -1
  481. package/lib/components/VMain/_variables.scss +3 -1
  482. package/lib/components/VMain/index.mjs +1 -1
  483. package/lib/components/VMain/index.mjs.map +1 -1
  484. package/lib/components/VMenu/VMenu.css +14 -0
  485. package/lib/components/VMenu/VMenu.mjs +78 -447
  486. package/lib/components/VMenu/VMenu.mjs.map +1 -1
  487. package/lib/components/VMenu/VMenu.sass +17 -71
  488. package/lib/components/VMenu/_variables.scss +3 -2
  489. package/lib/components/VMenu/index.mjs +1 -3
  490. package/lib/components/VMenu/index.mjs.map +1 -1
  491. package/lib/components/VMenu/shared.mjs +2 -0
  492. package/lib/components/VMenu/shared.mjs.map +1 -0
  493. package/lib/components/VMessages/VMessages.css +16 -0
  494. package/lib/components/VMessages/VMessages.mjs +42 -41
  495. package/lib/components/VMessages/VMessages.mjs.map +1 -1
  496. package/lib/components/VMessages/VMessages.sass +5 -10
  497. package/lib/components/VMessages/_variables.scss +3 -2
  498. package/lib/components/VMessages/index.mjs +1 -3
  499. package/lib/components/VMessages/index.mjs.map +1 -1
  500. package/lib/components/VNavigationDrawer/VNavigationDrawer.css +93 -0
  501. package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +124 -55
  502. package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs.map +1 -1
  503. package/lib/components/VNavigationDrawer/VNavigationDrawer.sass +36 -23
  504. package/lib/components/VNavigationDrawer/_variables.scss +16 -9
  505. package/lib/components/VNavigationDrawer/index.mjs +1 -1
  506. package/lib/components/VNavigationDrawer/index.mjs.map +1 -1
  507. package/lib/components/VNavigationDrawer/touch.mjs +139 -0
  508. package/lib/components/VNavigationDrawer/touch.mjs.map +1 -0
  509. package/lib/components/VNoSsr/VNoSsr.mjs +23 -0
  510. package/lib/components/VNoSsr/VNoSsr.mjs.map +1 -0
  511. package/lib/components/VNoSsr/index.mjs +2 -0
  512. package/lib/components/VNoSsr/index.mjs.map +1 -0
  513. package/lib/components/VOtpInput/VOtpInput.mjs +345 -0
  514. package/lib/components/VOtpInput/VOtpInput.mjs.map +1 -0
  515. package/lib/components/VOtpInput/VOtpInput.sass +37 -0
  516. package/lib/components/VOtpInput/_variables.scss +4 -0
  517. package/lib/components/VOtpInput/index.mjs +4 -0
  518. package/lib/components/VOtpInput/index.mjs.map +1 -0
  519. package/lib/components/VOverflowBtn/VOverflowBtn.mjs +1 -1
  520. package/lib/components/VOverflowBtn/VOverflowBtn.mjs.map +1 -1
  521. package/lib/components/VOverlay/VOverlay.css +63 -0
  522. package/lib/components/VOverlay/VOverlay.mjs +229 -67
  523. package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
  524. package/lib/components/VOverlay/VOverlay.sass +39 -19
  525. package/lib/components/VOverlay/_variables.scss +4 -3
  526. package/lib/components/VOverlay/index.mjs +1 -3
  527. package/lib/components/VOverlay/index.mjs.map +1 -1
  528. package/lib/components/VOverlay/positionStrategies.mjs +207 -0
  529. package/lib/components/VOverlay/positionStrategies.mjs.map +1 -0
  530. package/lib/components/VOverlay/requestNewFrame.mjs +28 -0
  531. package/lib/components/VOverlay/requestNewFrame.mjs.map +1 -0
  532. package/lib/components/VOverlay/scrollStrategies.mjs +137 -0
  533. package/lib/components/VOverlay/scrollStrategies.mjs.map +1 -0
  534. package/lib/components/VOverlay/useActivator.mjs +241 -0
  535. package/lib/components/VOverlay/useActivator.mjs.map +1 -0
  536. package/lib/components/VOverlay/util/anchor.mjs +52 -0
  537. package/lib/components/VOverlay/util/anchor.mjs.map +1 -0
  538. package/lib/components/VOverlay/util/point.mjs +56 -0
  539. package/lib/components/VOverlay/util/point.mjs.map +1 -0
  540. package/lib/components/VPagination/VPagination.css +9 -0
  541. package/lib/components/VPagination/VPagination.mjs +261 -176
  542. package/lib/components/VPagination/VPagination.mjs.map +1 -1
  543. package/lib/components/VPagination/VPagination.sass +11 -77
  544. package/lib/components/VPagination/_variables.scss +1 -15
  545. package/lib/components/VPagination/index.mjs +1 -3
  546. package/lib/components/VPagination/index.mjs.map +1 -1
  547. package/lib/components/VParallax/VParallax.css +7 -0
  548. package/lib/components/VParallax/VParallax.mjs +71 -77
  549. package/lib/components/VParallax/VParallax.mjs.map +1 -1
  550. package/lib/components/VParallax/VParallax.sass +1 -32
  551. package/lib/components/VParallax/index.mjs +1 -3
  552. package/lib/components/VParallax/index.mjs.map +1 -1
  553. package/lib/components/VPicker/VPicker.mjs +5 -5
  554. package/lib/components/VPicker/VPicker.mjs.map +1 -1
  555. package/lib/components/VProgressCircular/VProgressCircular.css +101 -0
  556. package/lib/components/VProgressCircular/VProgressCircular.mjs +110 -141
  557. package/lib/components/VProgressCircular/VProgressCircular.mjs.map +1 -1
  558. package/lib/components/VProgressCircular/VProgressCircular.sass +57 -36
  559. package/lib/components/VProgressCircular/_variables.scss +12 -5
  560. package/lib/components/VProgressCircular/index.mjs +1 -3
  561. package/lib/components/VProgressCircular/index.mjs.map +1 -1
  562. package/lib/components/VProgressLinear/VProgressLinear.css +212 -0
  563. package/lib/components/VProgressLinear/VProgressLinear.mjs +138 -226
  564. package/lib/components/VProgressLinear/VProgressLinear.mjs.map +1 -1
  565. package/lib/components/VProgressLinear/VProgressLinear.sass +83 -157
  566. package/lib/components/VProgressLinear/_variables.scss +11 -3
  567. package/lib/components/VProgressLinear/index.mjs +1 -3
  568. package/lib/components/VProgressLinear/index.mjs.map +1 -1
  569. package/lib/components/VRadio/VRadio.mjs +33 -0
  570. package/lib/components/VRadio/VRadio.mjs.map +1 -0
  571. package/lib/components/VRadio/index.mjs +2 -0
  572. package/lib/components/VRadio/index.mjs.map +1 -0
  573. package/lib/components/VRadioGroup/VRadioGroup.css +10 -0
  574. package/lib/components/VRadioGroup/VRadioGroup.mjs +66 -69
  575. package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
  576. package/lib/components/VRadioGroup/VRadioGroup.sass +7 -37
  577. package/lib/components/VRadioGroup/_variables.scss +3 -3
  578. package/lib/components/VRadioGroup/index.mjs +1 -9
  579. package/lib/components/VRadioGroup/index.mjs.map +1 -1
  580. package/lib/components/VRangeSlider/VRangeSlider.mjs +194 -206
  581. package/lib/components/VRangeSlider/VRangeSlider.mjs.map +1 -1
  582. package/lib/components/VRangeSlider/index.mjs +1 -3
  583. package/lib/components/VRangeSlider/index.mjs.map +1 -1
  584. package/lib/components/VRating/VRating.css +58 -0
  585. package/lib/components/VRating/VRating.mjs +202 -177
  586. package/lib/components/VRating/VRating.mjs.map +1 -1
  587. package/lib/components/VRating/VRating.sass +51 -18
  588. package/lib/components/VRating/_variables.scss +9 -4
  589. package/lib/components/VRating/index.mjs +1 -3
  590. package/lib/components/VRating/index.mjs.map +1 -1
  591. package/lib/components/VResponsive/VResponsive.css +23 -0
  592. package/lib/components/VResponsive/VResponsive.mjs +24 -19
  593. package/lib/components/VResponsive/VResponsive.mjs.map +1 -1
  594. package/lib/components/VResponsive/VResponsive.sass +5 -7
  595. package/lib/components/VResponsive/index.mjs +1 -1
  596. package/lib/components/VResponsive/index.mjs.map +1 -1
  597. package/lib/components/VSelect/VSelect.css +34 -0
  598. package/lib/components/VSelect/VSelect.mjs +170 -781
  599. package/lib/components/VSelect/VSelect.mjs.map +1 -1
  600. package/lib/components/VSelect/VSelect.sass +44 -153
  601. package/lib/components/VSelect/_variables.scss +7 -21
  602. package/lib/components/VSelect/index.mjs +1 -3
  603. package/lib/components/VSelect/index.mjs.map +1 -1
  604. package/lib/components/VSelectionControl/VSelectionControl.css +97 -0
  605. package/lib/components/VSelectionControl/VSelectionControl.mjs +210 -0
  606. package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -0
  607. package/lib/components/VSelectionControl/VSelectionControl.sass +96 -0
  608. package/lib/components/VSelectionControl/_variables.scss +9 -0
  609. package/lib/components/VSelectionControl/index.mjs +2 -0
  610. package/lib/components/VSelectionControl/index.mjs.map +1 -0
  611. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.css +3 -0
  612. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +64 -0
  613. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs.map +1 -0
  614. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.sass +9 -0
  615. package/lib/components/VSelectionControlGroup/_variables.scss +4 -0
  616. package/lib/components/VSelectionControlGroup/index.mjs +2 -0
  617. package/lib/components/VSelectionControlGroup/index.mjs.map +1 -0
  618. package/lib/components/VSheet/VSheet.css +23 -0
  619. package/lib/components/VSheet/VSheet.mjs +18 -18
  620. package/lib/components/VSheet/VSheet.mjs.map +1 -1
  621. package/lib/components/VSheet/VSheet.sass +11 -7
  622. package/lib/components/VSheet/_variables.scss +15 -4
  623. package/lib/components/VSheet/index.mjs +1 -1
  624. package/lib/components/VSheet/index.mjs.map +1 -1
  625. package/lib/components/VSkeletonLoader/VSkeletonLoader.mjs +8 -8
  626. package/lib/components/VSkeletonLoader/VSkeletonLoader.mjs.map +1 -1
  627. package/lib/components/VSlideGroup/VSlideGroup.css +42 -0
  628. package/lib/components/VSlideGroup/VSlideGroup.mjs +301 -361
  629. package/lib/components/VSlideGroup/VSlideGroup.mjs.map +1 -1
  630. package/lib/components/VSlideGroup/VSlideGroup.sass +21 -25
  631. package/lib/components/VSlideGroup/VSlideGroupItem.mjs +29 -0
  632. package/lib/components/VSlideGroup/VSlideGroupItem.mjs.map +1 -0
  633. package/lib/components/VSlideGroup/_variables.scss +4 -1
  634. package/lib/components/VSlideGroup/helpers.mjs +54 -0
  635. package/lib/components/VSlideGroup/helpers.mjs.map +1 -0
  636. package/lib/components/VSlideGroup/index.mjs +2 -9
  637. package/lib/components/VSlideGroup/index.mjs.map +1 -1
  638. package/lib/components/VSlider/VSlider.css +53 -0
  639. package/lib/components/VSlider/VSlider.mjs +113 -538
  640. package/lib/components/VSlider/VSlider.mjs.map +1 -1
  641. package/lib/components/VSlider/VSlider.sass +38 -274
  642. package/lib/components/VSlider/VSliderThumb.css +142 -0
  643. package/lib/components/VSlider/VSliderThumb.mjs +165 -0
  644. package/lib/components/VSlider/VSliderThumb.mjs.map +1 -0
  645. package/lib/components/VSlider/VSliderThumb.sass +147 -0
  646. package/lib/components/VSlider/VSliderTrack.css +150 -0
  647. package/lib/components/VSlider/VSliderTrack.mjs +121 -0
  648. package/lib/components/VSlider/VSliderTrack.mjs.map +1 -0
  649. package/lib/components/VSlider/VSliderTrack.sass +159 -0
  650. package/lib/components/VSlider/_variables.scss +23 -14
  651. package/lib/components/VSlider/index.mjs +1 -3
  652. package/lib/components/VSlider/index.mjs.map +1 -1
  653. package/lib/components/VSlider/slider.mjs +300 -0
  654. package/lib/components/VSlider/slider.mjs.map +1 -0
  655. package/lib/components/VSnackbar/VSnackbar.css +137 -0
  656. package/lib/components/VSnackbar/VSnackbar.mjs +101 -168
  657. package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
  658. package/lib/components/VSnackbar/VSnackbar.sass +43 -79
  659. package/lib/components/VSnackbar/_variables.scss +20 -25
  660. package/lib/components/VSnackbar/index.mjs +1 -3
  661. package/lib/components/VSnackbar/index.mjs.map +1 -1
  662. package/lib/components/VSparkline/VSparkline.mjs +13 -13
  663. package/lib/components/VSparkline/VSparkline.mjs.map +1 -1
  664. package/lib/components/VSparkline/helpers/path.mjs +7 -5
  665. package/lib/components/VSparkline/helpers/path.mjs.map +1 -1
  666. package/lib/components/VSpeedDial/VSpeedDial.mjs +4 -4
  667. package/lib/components/VSpeedDial/VSpeedDial.mjs.map +1 -1
  668. package/lib/components/VStepper/VStepper.mjs +2 -2
  669. package/lib/components/VStepper/VStepper.mjs.map +1 -1
  670. package/lib/components/VStepper/VStepper.sass +5 -1
  671. package/lib/components/VStepper/VStepperStep.mjs +1 -1
  672. package/lib/components/VStepper/_variables.scss +6 -5
  673. package/lib/components/VSwitch/VSwitch.css +69 -0
  674. package/lib/components/VSwitch/VSwitch.mjs +99 -107
  675. package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
  676. package/lib/components/VSwitch/VSwitch.sass +71 -129
  677. package/lib/components/VSwitch/_variables.scss +10 -23
  678. package/lib/components/VSwitch/index.mjs +1 -3
  679. package/lib/components/VSwitch/index.mjs.map +1 -1
  680. package/lib/components/VSystemBar/VSystemBar.css +35 -0
  681. package/lib/components/VSystemBar/VSystemBar.mjs +52 -37
  682. package/lib/components/VSystemBar/VSystemBar.mjs.map +1 -1
  683. package/lib/components/VSystemBar/VSystemBar.sass +14 -26
  684. package/lib/components/VSystemBar/_variables.scss +27 -17
  685. package/lib/components/VSystemBar/index.mjs +1 -1
  686. package/lib/components/VSystemBar/index.mjs.map +1 -1
  687. package/lib/components/VTable/VTable.css +143 -0
  688. package/lib/components/VTable/VTable.mjs +54 -0
  689. package/lib/components/VTable/VTable.mjs.map +1 -0
  690. package/lib/components/VTable/VTable.sass +156 -0
  691. package/lib/components/VTable/_mixins.scss +25 -0
  692. package/lib/components/VTable/_variables.scss +21 -0
  693. package/lib/components/VTable/index.mjs +2 -0
  694. package/lib/components/VTable/index.mjs.map +1 -0
  695. package/lib/components/VTabs/VTab.css +29 -0
  696. package/lib/components/VTabs/VTab.mjs +109 -69
  697. package/lib/components/VTabs/VTab.mjs.map +1 -1
  698. package/lib/components/VTabs/VTab.sass +30 -0
  699. package/lib/components/VTabs/VTabs.css +71 -0
  700. package/lib/components/VTabs/VTabs.mjs +86 -283
  701. package/lib/components/VTabs/VTabs.mjs.map +1 -1
  702. package/lib/components/VTabs/VTabs.sass +40 -202
  703. package/lib/components/VTabs/_variables.scss +10 -18
  704. package/lib/components/VTabs/index.mjs +2 -15
  705. package/lib/components/VTabs/index.mjs.map +1 -1
  706. package/lib/components/VTabs/shared.mjs +2 -0
  707. package/lib/components/VTabs/shared.mjs.map +1 -0
  708. package/lib/components/VTextField/VTextField.css +70 -0
  709. package/lib/components/VTextField/VTextField.mjs +162 -483
  710. package/lib/components/VTextField/VTextField.mjs.map +1 -1
  711. package/lib/components/VTextField/VTextField.sass +56 -493
  712. package/lib/components/VTextField/_variables.scss +10 -50
  713. package/lib/components/VTextField/index.mjs +1 -3
  714. package/lib/components/VTextField/index.mjs.map +1 -1
  715. package/lib/components/VTextarea/VTextarea.css +37 -0
  716. package/lib/components/VTextarea/VTextarea.mjs +210 -74
  717. package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
  718. package/lib/components/VTextarea/VTextarea.sass +35 -75
  719. package/lib/components/VTextarea/_variables.scss +2 -4
  720. package/lib/components/VTextarea/index.mjs +1 -3
  721. package/lib/components/VTextarea/index.mjs.map +1 -1
  722. package/lib/components/VThemeProvider/VThemeProvider.css +4 -0
  723. package/lib/components/VThemeProvider/VThemeProvider.mjs +23 -18
  724. package/lib/components/VThemeProvider/VThemeProvider.mjs.map +1 -1
  725. package/lib/components/VThemeProvider/index.mjs +1 -1
  726. package/lib/components/VThemeProvider/index.mjs.map +1 -1
  727. package/lib/components/VTimePicker/VTimePicker.mjs +4 -4
  728. package/lib/components/VTimePicker/VTimePicker.mjs.map +1 -1
  729. package/lib/components/VTimePicker/VTimePickerClock.mjs +9 -9
  730. package/lib/components/VTimePicker/VTimePickerClock.mjs.map +1 -1
  731. package/lib/components/VTimePicker/VTimePickerTitle.mjs +2 -2
  732. package/lib/components/VTimePicker/VTimePickerTitle.mjs.map +1 -1
  733. package/lib/components/VTimeline/VTimeline.css +399 -0
  734. package/lib/components/VTimeline/VTimeline.mjs +89 -34
  735. package/lib/components/VTimeline/VTimeline.mjs.map +1 -1
  736. package/lib/components/VTimeline/VTimeline.sass +347 -115
  737. package/lib/components/VTimeline/VTimelineDivider.mjs +76 -0
  738. package/lib/components/VTimeline/VTimelineDivider.mjs.map +1 -0
  739. package/lib/components/VTimeline/VTimelineItem.mjs +68 -90
  740. package/lib/components/VTimeline/VTimelineItem.mjs.map +1 -1
  741. package/lib/components/VTimeline/_mixins.sass +21 -32
  742. package/lib/components/VTimeline/_variables.scss +28 -15
  743. package/lib/components/VTimeline/index.mjs +2 -9
  744. package/lib/components/VTimeline/index.mjs.map +1 -1
  745. package/lib/components/VTimeline/shared.mjs +2 -0
  746. package/lib/components/VTimeline/shared.mjs.map +1 -0
  747. package/lib/components/VToolbar/VToolbar.css +145 -0
  748. package/lib/components/VToolbar/VToolbar.mjs +135 -141
  749. package/lib/components/VToolbar/VToolbar.mjs.map +1 -1
  750. package/lib/components/VToolbar/VToolbar.sass +75 -123
  751. package/lib/components/VToolbar/VToolbarItems.mjs +32 -0
  752. package/lib/components/VToolbar/VToolbarItems.mjs.map +1 -0
  753. package/lib/components/VToolbar/VToolbarTitle.mjs +34 -0
  754. package/lib/components/VToolbar/VToolbarTitle.mjs.map +1 -0
  755. package/lib/components/VToolbar/_variables.scss +65 -15
  756. package/lib/components/VToolbar/index.mjs +3 -14
  757. package/lib/components/VToolbar/index.mjs.map +1 -1
  758. package/lib/components/VTooltip/VTooltip.css +22 -0
  759. package/lib/components/VTooltip/VTooltip.mjs +73 -199
  760. package/lib/components/VTooltip/VTooltip.mjs.map +1 -1
  761. package/lib/components/VTooltip/VTooltip.sass +8 -15
  762. package/lib/components/VTooltip/_variables.scss +6 -6
  763. package/lib/components/VTooltip/index.mjs +1 -3
  764. package/lib/components/VTooltip/index.mjs.map +1 -1
  765. package/lib/components/VTreeview/VTreeview.mjs +18 -9
  766. package/lib/components/VTreeview/VTreeview.mjs.map +1 -1
  767. package/lib/components/VTreeview/VTreeviewNode.mjs +4 -2
  768. package/lib/components/VTreeview/VTreeviewNode.mjs.map +1 -1
  769. package/lib/components/VTreeview/_mixins.sass +3 -3
  770. package/lib/components/VValidation/VValidation.mjs +26 -0
  771. package/lib/components/VValidation/VValidation.mjs.map +1 -0
  772. package/lib/components/VValidation/index.mjs +2 -0
  773. package/lib/components/VValidation/index.mjs.map +1 -0
  774. package/lib/components/VVirtualScroll/VVirtualScroll.mjs +1 -1
  775. package/lib/components/VVirtualScroll/VVirtualScroll.mjs.map +1 -1
  776. package/lib/components/VWindow/VWindow.css +70 -0
  777. package/lib/components/VWindow/VWindow.mjs +158 -233
  778. package/lib/components/VWindow/VWindow.mjs.map +1 -1
  779. package/lib/components/VWindow/VWindow.sass +29 -51
  780. package/lib/components/VWindow/VWindowItem.mjs +72 -98
  781. package/lib/components/VWindow/VWindowItem.mjs.map +1 -1
  782. package/lib/components/VWindow/_variables.scss +2 -3
  783. package/lib/components/VWindow/index.mjs +2 -9
  784. package/lib/components/VWindow/index.mjs.map +1 -1
  785. package/lib/components/index.d.ts +15391 -0
  786. package/lib/components/index.mjs +75 -65
  787. package/lib/components/index.mjs.map +1 -1
  788. package/lib/components/transitions/createTransition.mjs +61 -16
  789. package/lib/components/transitions/createTransition.mjs.map +1 -1
  790. package/lib/components/transitions/dialog-transition.mjs +107 -0
  791. package/lib/components/transitions/dialog-transition.mjs.map +1 -0
  792. package/lib/components/transitions/expand-transition.mjs +6 -4
  793. package/lib/components/transitions/expand-transition.mjs.map +1 -1
  794. package/lib/components/transitions/index.mjs +1 -1
  795. package/lib/components/transitions/index.mjs.map +1 -1
  796. package/lib/composables/border.mjs +9 -7
  797. package/lib/composables/border.mjs.map +1 -1
  798. package/lib/composables/color.mjs +2 -2
  799. package/lib/composables/color.mjs.map +1 -1
  800. package/lib/composables/defaults.mjs +42 -0
  801. package/lib/composables/defaults.mjs.map +1 -0
  802. package/lib/composables/density.mjs +5 -4
  803. package/lib/composables/density.mjs.map +1 -1
  804. package/lib/composables/display.mjs +4 -3
  805. package/lib/composables/display.mjs.map +1 -1
  806. package/lib/composables/elevation.mjs +4 -3
  807. package/lib/composables/elevation.mjs.map +1 -1
  808. package/lib/composables/filter.mjs +87 -0
  809. package/lib/composables/filter.mjs.map +1 -0
  810. package/lib/composables/focus.mjs +35 -0
  811. package/lib/composables/focus.mjs.map +1 -0
  812. package/lib/composables/form.mjs +116 -0
  813. package/lib/composables/form.mjs.map +1 -0
  814. package/lib/composables/forwardRef.mjs +46 -0
  815. package/lib/composables/forwardRef.mjs.map +1 -0
  816. package/lib/composables/group.mjs +135 -45
  817. package/lib/composables/group.mjs.map +1 -1
  818. package/lib/composables/hydration.mjs +12 -0
  819. package/lib/composables/hydration.mjs.map +1 -0
  820. package/lib/composables/icons.mjs +24 -30
  821. package/lib/composables/icons.mjs.map +1 -1
  822. package/lib/composables/index.mjs +9 -0
  823. package/lib/composables/index.mjs.map +1 -0
  824. package/lib/composables/intersectionObserver.mjs +33 -0
  825. package/lib/composables/intersectionObserver.mjs.map +1 -0
  826. package/lib/composables/items.mjs +56 -0
  827. package/lib/composables/items.mjs.map +1 -0
  828. package/lib/composables/layout.mjs +157 -66
  829. package/lib/composables/layout.mjs.map +1 -1
  830. package/lib/composables/lazy.mjs +23 -0
  831. package/lib/composables/lazy.mjs.map +1 -0
  832. package/lib/composables/loader.mjs +39 -0
  833. package/lib/composables/loader.mjs.map +1 -0
  834. package/lib/composables/locale.mjs +25 -13
  835. package/lib/composables/locale.mjs.map +1 -1
  836. package/lib/composables/mutationObserver.mjs +43 -0
  837. package/lib/composables/mutationObserver.mjs.map +1 -0
  838. package/lib/composables/nested/nested.mjs +207 -0
  839. package/lib/composables/nested/nested.mjs.map +1 -0
  840. package/lib/composables/nested/openStrategies.mjs +76 -0
  841. package/lib/composables/nested/openStrategies.mjs.map +1 -0
  842. package/lib/composables/nested/selectStrategies.mjs +198 -0
  843. package/lib/composables/nested/selectStrategies.mjs.map +1 -0
  844. package/lib/composables/overlay.mjs +34 -0
  845. package/lib/composables/overlay.mjs.map +1 -0
  846. package/lib/composables/position.mjs +6 -5
  847. package/lib/composables/position.mjs.map +1 -1
  848. package/lib/composables/proxiedModel.mjs +13 -8
  849. package/lib/composables/proxiedModel.mjs.map +1 -1
  850. package/lib/composables/refs.mjs +16 -0
  851. package/lib/composables/refs.mjs.map +1 -0
  852. package/lib/composables/resizeObserver.mjs +35 -0
  853. package/lib/composables/resizeObserver.mjs.map +1 -0
  854. package/lib/composables/rounded.mjs +10 -8
  855. package/lib/composables/rounded.mjs.map +1 -1
  856. package/lib/composables/router.mjs +82 -0
  857. package/lib/composables/router.mjs.map +1 -0
  858. package/lib/composables/rtl.mjs +5 -5
  859. package/lib/composables/rtl.mjs.map +1 -1
  860. package/lib/composables/scroll.mjs +3 -2
  861. package/lib/composables/scroll.mjs.map +1 -1
  862. package/lib/composables/selectLink.mjs +19 -0
  863. package/lib/composables/selectLink.mjs.map +1 -0
  864. package/lib/composables/size.mjs +4 -3
  865. package/lib/composables/size.mjs.map +1 -1
  866. package/lib/composables/stack.mjs +36 -0
  867. package/lib/composables/stack.mjs.map +1 -0
  868. package/lib/composables/teleport.mjs +30 -0
  869. package/lib/composables/teleport.mjs.map +1 -0
  870. package/lib/composables/theme.mjs +147 -96
  871. package/lib/composables/theme.mjs.map +1 -1
  872. package/lib/composables/touch.mjs +129 -0
  873. package/lib/composables/touch.mjs.map +1 -0
  874. package/lib/composables/transition.mjs +20 -0
  875. package/lib/composables/transition.mjs.map +1 -1
  876. package/lib/composables/validation.mjs +119 -0
  877. package/lib/composables/validation.mjs.map +1 -0
  878. package/lib/composables/variant.mjs +50 -0
  879. package/lib/composables/variant.mjs.map +1 -0
  880. package/lib/directives/click-outside/index.mjs +23 -11
  881. package/lib/directives/click-outside/index.mjs.map +1 -1
  882. package/lib/directives/color/index.mjs +1 -1
  883. package/lib/directives/color/index.mjs.map +1 -1
  884. package/lib/directives/index.d.ts +58 -0
  885. package/lib/directives/index.mjs +2 -2
  886. package/lib/directives/index.mjs.map +1 -1
  887. package/lib/directives/intersect/index.mjs +26 -19
  888. package/lib/directives/intersect/index.mjs.map +1 -1
  889. package/lib/directives/mutate/index.mjs +33 -34
  890. package/lib/directives/mutate/index.mjs.map +1 -1
  891. package/lib/directives/resize/index.mjs +10 -7
  892. package/lib/directives/resize/index.mjs.map +1 -1
  893. package/lib/directives/ripple/VRipple.css +34 -0
  894. package/lib/directives/ripple/VRipple.sass +2 -1
  895. package/lib/directives/ripple/_variables.scss +4 -4
  896. package/lib/directives/ripple/index.mjs +35 -20
  897. package/lib/directives/ripple/index.mjs.map +1 -1
  898. package/lib/directives/scroll/index.mjs +9 -6
  899. package/lib/directives/scroll/index.mjs.map +1 -1
  900. package/lib/directives/touch/index.mjs +17 -7
  901. package/lib/directives/touch/index.mjs.map +1 -1
  902. package/lib/entry-bundler.mjs +8 -6
  903. package/lib/entry-bundler.mjs.map +1 -1
  904. package/lib/framework.mjs +55 -36
  905. package/lib/framework.mjs.map +1 -1
  906. package/lib/iconsets/fa-svg.d.ts +54 -0
  907. package/lib/iconsets/fa.d.ts +54 -0
  908. package/lib/iconsets/fa.mjs +1 -0
  909. package/lib/iconsets/fa.mjs.map +1 -1
  910. package/lib/iconsets/fa4.d.ts +54 -0
  911. package/lib/iconsets/fa4.mjs +2 -1
  912. package/lib/iconsets/fa4.mjs.map +1 -1
  913. package/lib/iconsets/md.d.ts +54 -0
  914. package/lib/iconsets/md.mjs +2 -1
  915. package/lib/iconsets/md.mjs.map +1 -1
  916. package/lib/iconsets/mdi-svg.d.ts +54 -0
  917. package/lib/iconsets/mdi-svg.mjs +1 -1
  918. package/lib/iconsets/mdi-svg.mjs.map +1 -1
  919. package/lib/iconsets/mdi.d.ts +54 -0
  920. package/lib/iconsets/mdi.mjs +4 -3
  921. package/lib/iconsets/mdi.mjs.map +1 -1
  922. package/lib/index.d.ts +450 -0
  923. package/lib/locale/adapters/vue-i18n.mjs +64 -0
  924. package/lib/locale/adapters/vue-i18n.mjs.map +1 -0
  925. package/lib/locale/adapters/vue-intl.mjs +67 -0
  926. package/lib/locale/adapters/vue-intl.mjs.map +1 -0
  927. package/lib/locale/af.mjs +5 -3
  928. package/lib/locale/af.mjs.map +1 -1
  929. package/lib/locale/ar.mjs +5 -3
  930. package/lib/locale/ar.mjs.map +1 -1
  931. package/lib/locale/az.mjs +5 -3
  932. package/lib/locale/az.mjs.map +1 -1
  933. package/lib/locale/bg.mjs +5 -3
  934. package/lib/locale/bg.mjs.map +1 -1
  935. package/lib/locale/ca.mjs +12 -10
  936. package/lib/locale/ca.mjs.map +1 -1
  937. package/lib/locale/ckb.mjs +5 -3
  938. package/lib/locale/ckb.mjs.map +1 -1
  939. package/lib/locale/cs.mjs +6 -4
  940. package/lib/locale/cs.mjs.map +1 -1
  941. package/lib/locale/da.mjs +72 -0
  942. package/lib/locale/da.mjs.map +1 -0
  943. package/lib/locale/de.mjs +5 -3
  944. package/lib/locale/de.mjs.map +1 -1
  945. package/lib/locale/el.mjs +5 -3
  946. package/lib/locale/el.mjs.map +1 -1
  947. package/lib/locale/en.mjs +5 -3
  948. package/lib/locale/en.mjs.map +1 -1
  949. package/lib/locale/es.mjs +6 -4
  950. package/lib/locale/es.mjs.map +1 -1
  951. package/lib/locale/et.mjs +5 -3
  952. package/lib/locale/et.mjs.map +1 -1
  953. package/lib/locale/fa.mjs +5 -3
  954. package/lib/locale/fa.mjs.map +1 -1
  955. package/lib/locale/fi.mjs +5 -3
  956. package/lib/locale/fi.mjs.map +1 -1
  957. package/lib/locale/fr.mjs +7 -5
  958. package/lib/locale/fr.mjs.map +1 -1
  959. package/lib/locale/he.mjs +5 -3
  960. package/lib/locale/he.mjs.map +1 -1
  961. package/lib/locale/hr.mjs +5 -3
  962. package/lib/locale/hr.mjs.map +1 -1
  963. package/lib/locale/hu.mjs +5 -3
  964. package/lib/locale/hu.mjs.map +1 -1
  965. package/lib/locale/id.mjs +5 -3
  966. package/lib/locale/id.mjs.map +1 -1
  967. package/lib/locale/index.d.ts +3111 -0
  968. package/lib/locale/index.mjs +1 -0
  969. package/lib/locale/index.mjs.map +1 -1
  970. package/lib/locale/it.mjs +8 -6
  971. package/lib/locale/it.mjs.map +1 -1
  972. package/lib/locale/ja.mjs +5 -3
  973. package/lib/locale/ja.mjs.map +1 -1
  974. package/lib/locale/ko.mjs +5 -3
  975. package/lib/locale/ko.mjs.map +1 -1
  976. package/lib/locale/lt.mjs +5 -3
  977. package/lib/locale/lt.mjs.map +1 -1
  978. package/lib/locale/lv.mjs +5 -3
  979. package/lib/locale/lv.mjs.map +1 -1
  980. package/lib/locale/nl.mjs +5 -3
  981. package/lib/locale/nl.mjs.map +1 -1
  982. package/lib/locale/no.mjs +5 -3
  983. package/lib/locale/no.mjs.map +1 -1
  984. package/lib/locale/pl.mjs +5 -3
  985. package/lib/locale/pl.mjs.map +1 -1
  986. package/lib/locale/pt.mjs +5 -3
  987. package/lib/locale/pt.mjs.map +1 -1
  988. package/lib/locale/ro.mjs +5 -3
  989. package/lib/locale/ro.mjs.map +1 -1
  990. package/lib/locale/ru.mjs +5 -3
  991. package/lib/locale/ru.mjs.map +1 -1
  992. package/lib/locale/sk.mjs +5 -3
  993. package/lib/locale/sk.mjs.map +1 -1
  994. package/lib/locale/sl.mjs +5 -3
  995. package/lib/locale/sl.mjs.map +1 -1
  996. package/lib/locale/sr-Cyrl.mjs +5 -3
  997. package/lib/locale/sr-Cyrl.mjs.map +1 -1
  998. package/lib/locale/sr-Latn.mjs +5 -3
  999. package/lib/locale/sr-Latn.mjs.map +1 -1
  1000. package/lib/locale/sv.mjs +5 -3
  1001. package/lib/locale/sv.mjs.map +1 -1
  1002. package/lib/locale/th.mjs +5 -3
  1003. package/lib/locale/th.mjs.map +1 -1
  1004. package/lib/locale/tr.mjs +5 -3
  1005. package/lib/locale/tr.mjs.map +1 -1
  1006. package/lib/locale/uk.mjs +5 -3
  1007. package/lib/locale/uk.mjs.map +1 -1
  1008. package/lib/locale/vi.mjs +5 -3
  1009. package/lib/locale/vi.mjs.map +1 -1
  1010. package/lib/locale/zh-Hans.mjs +5 -3
  1011. package/lib/locale/zh-Hans.mjs.map +1 -1
  1012. package/lib/locale/zh-Hant.mjs +5 -3
  1013. package/lib/locale/zh-Hant.mjs.map +1 -1
  1014. package/lib/presets/default/index.mjs +1 -1
  1015. package/lib/presets/default/index.mjs.map +1 -1
  1016. package/lib/services/goto/easing-patterns.mjs +0 -3
  1017. package/lib/services/goto/easing-patterns.mjs.map +1 -1
  1018. package/lib/services/goto/index.mjs +17 -17
  1019. package/lib/services/goto/index.mjs.map +1 -1
  1020. package/lib/services/goto/util.mjs +2 -2
  1021. package/lib/services/goto/util.mjs.map +1 -1
  1022. package/lib/styles/elements/_blockquote.sass +6 -4
  1023. package/lib/styles/elements/_global.sass +12 -8
  1024. package/lib/styles/elements/_index.sass +2 -6
  1025. package/lib/styles/generic/_colors.scss +31 -11
  1026. package/lib/styles/generic/_elevation.scss +3 -3
  1027. package/lib/styles/generic/_index.scss +6 -6
  1028. package/lib/styles/generic/_reset.scss +236 -226
  1029. package/lib/styles/generic/_transitions.scss +20 -4
  1030. package/lib/styles/main.css +18620 -0
  1031. package/lib/styles/main.sass +4 -5
  1032. package/lib/styles/settings/_colors.scss +431 -7
  1033. package/lib/styles/settings/_elevations.scss +1 -1
  1034. package/lib/styles/settings/_index.sass +4 -10
  1035. package/lib/styles/settings/_utilities.scss +514 -463
  1036. package/lib/styles/settings/_variables.scss +59 -64
  1037. package/lib/styles/tools/_absolute.sass +8 -0
  1038. package/lib/styles/tools/_border.sass +6 -1
  1039. package/lib/styles/tools/_density.sass +5 -9
  1040. package/lib/styles/tools/_display.sass +11 -0
  1041. package/lib/styles/tools/_elevation.sass +4 -2
  1042. package/lib/styles/tools/_functions.sass +32 -24
  1043. package/lib/styles/tools/_index.sass +17 -22
  1044. package/lib/styles/tools/_radius.sass +5 -2
  1045. package/lib/styles/tools/_rtl.sass +2 -0
  1046. package/lib/styles/tools/_sheet.sass +7 -4
  1047. package/lib/styles/tools/_states.sass +18 -8
  1048. package/lib/styles/tools/_theme.sass +3 -5
  1049. package/lib/styles/tools/_typography.sass +6 -0
  1050. package/lib/styles/tools/_utilities.sass +27 -24
  1051. package/lib/styles/tools/_variant.sass +53 -0
  1052. package/lib/styles/utilities/_display.sass +7 -6
  1053. package/lib/styles/utilities/_index.sass +25 -22
  1054. package/lib/styles/utilities/_text.sass +8 -7
  1055. package/lib/styles.scss +4 -0
  1056. package/lib/util/animation.mjs +43 -0
  1057. package/lib/util/animation.mjs.map +1 -0
  1058. package/lib/util/box.mjs +32 -0
  1059. package/lib/util/box.mjs.map +1 -0
  1060. package/lib/util/color/APCA.mjs +85 -0
  1061. package/lib/util/color/APCA.mjs.map +1 -0
  1062. package/lib/util/colorUtils.mjs +10 -7
  1063. package/lib/util/colorUtils.mjs.map +1 -1
  1064. package/lib/util/console.mjs +8 -7
  1065. package/lib/util/console.mjs.map +1 -1
  1066. package/lib/util/createSimpleFunctional.mjs +18 -11
  1067. package/lib/util/createSimpleFunctional.mjs.map +1 -1
  1068. package/lib/util/dateTimeUtils.mjs +3 -1
  1069. package/lib/util/dateTimeUtils.mjs.map +1 -1
  1070. package/lib/util/defineComponent.mjs +92 -0
  1071. package/lib/util/defineComponent.mjs.map +1 -0
  1072. package/lib/util/easing.mjs +5 -0
  1073. package/lib/util/easing.mjs.map +1 -0
  1074. package/lib/util/getCurrentInstance.mjs +19 -0
  1075. package/lib/util/getCurrentInstance.mjs.map +1 -0
  1076. package/lib/util/getScrollParent.mjs +24 -0
  1077. package/lib/util/getScrollParent.mjs.map +1 -0
  1078. package/lib/util/globals.mjs +1 -0
  1079. package/lib/util/globals.mjs.map +1 -1
  1080. package/lib/util/helpers.mjs +194 -41
  1081. package/lib/util/helpers.mjs.map +1 -1
  1082. package/lib/util/index.mjs +6 -2
  1083. package/lib/util/isFixedPosition.mjs +12 -0
  1084. package/lib/util/isFixedPosition.mjs.map +1 -0
  1085. package/lib/util/propsFactory.mjs.map +1 -1
  1086. package/lib/util/useRender.mjs +4 -2
  1087. package/lib/util/useRender.mjs.map +1 -1
  1088. package/package.json +109 -42
  1089. package/dist/vuetify.css.map +0 -1
  1090. package/lib/components/VApp/_index.scss +0 -1
  1091. package/lib/components/VAvatar/_index.scss +0 -2
  1092. package/lib/components/VBadge/_index.scss +0 -2
  1093. package/lib/components/VBanner/_index.scss +0 -2
  1094. package/lib/components/VBtn/_index.scss +0 -3
  1095. package/lib/components/VCheckbox/VSimpleCheckbox.mjs +0 -92
  1096. package/lib/components/VCheckbox/VSimpleCheckbox.mjs.map +0 -1
  1097. package/lib/components/VCheckbox/VSimpleCheckbox.sass +0 -16
  1098. package/lib/components/VDataTable/VSimpleTable.mjs +0 -48
  1099. package/lib/components/VDataTable/VSimpleTable.mjs.map +0 -1
  1100. package/lib/components/VDataTable/VSimpleTable.sass +0 -179
  1101. package/lib/components/VDivider/_index.scss +0 -2
  1102. package/lib/components/VExpansionPanel/VExpansionPanelContent.mjs +0 -47
  1103. package/lib/components/VExpansionPanel/VExpansionPanelContent.mjs.map +0 -1
  1104. package/lib/components/VExpansionPanel/VExpansionPanelHeader.mjs +0 -112
  1105. package/lib/components/VExpansionPanel/VExpansionPanelHeader.mjs.map +0 -1
  1106. package/lib/components/VFooter/_index.scss +0 -2
  1107. package/lib/components/VGrid/_index.scss +0 -2
  1108. package/lib/components/VIcon/_index.scss +0 -2
  1109. package/lib/components/VImg/_index.scss +0 -2
  1110. package/lib/components/VLayout/_index.scss +0 -1
  1111. package/lib/components/VList/VListGroup.sass +0 -111
  1112. package/lib/components/VList/VListItemGroup.mjs +0 -41
  1113. package/lib/components/VList/VListItemGroup.mjs.map +0 -1
  1114. package/lib/components/VList/VListItemGroup.sass +0 -5
  1115. package/lib/components/VList/_mixins.sass +0 -18
  1116. package/lib/components/VMain/_index.scss +0 -2
  1117. package/lib/components/VNavigationDrawer/_index.scss +0 -2
  1118. package/lib/components/VParallax/_variables.scss +0 -4
  1119. package/lib/components/VRadioGroup/VRadio.mjs +0 -179
  1120. package/lib/components/VRadioGroup/VRadio.mjs.map +0 -1
  1121. package/lib/components/VRadioGroup/VRadio.sass +0 -25
  1122. package/lib/components/VRangeSlider/VRangeSlider.sass +0 -19
  1123. package/lib/components/VResponsive/_index.scss +0 -1
  1124. package/lib/components/VSelect/VSelectList.mjs +0 -251
  1125. package/lib/components/VSelect/VSelectList.mjs.map +0 -1
  1126. package/lib/components/VSheet/_index.scss +0 -2
  1127. package/lib/components/VSlideGroup/VSlideItem.mjs +0 -14
  1128. package/lib/components/VSlideGroup/VSlideItem.mjs.map +0 -1
  1129. package/lib/components/VSubheader/VSubheader.mjs +0 -31
  1130. package/lib/components/VSubheader/VSubheader.mjs.map +0 -1
  1131. package/lib/components/VSubheader/VSubheader.sass +0 -15
  1132. package/lib/components/VSubheader/_variables.scss +0 -6
  1133. package/lib/components/VSubheader/index.mjs +0 -4
  1134. package/lib/components/VSubheader/index.mjs.map +0 -1
  1135. package/lib/components/VSystemBar/_index.scss +0 -2
  1136. package/lib/components/VTabs/VTabItem.mjs +0 -23
  1137. package/lib/components/VTabs/VTabItem.mjs.map +0 -1
  1138. package/lib/components/VTabs/VTabsBar.mjs +0 -86
  1139. package/lib/components/VTabs/VTabsBar.mjs.map +0 -1
  1140. package/lib/components/VTabs/VTabsItems.mjs +0 -37
  1141. package/lib/components/VTabs/VTabsItems.mjs.map +0 -1
  1142. package/lib/components/VTabs/VTabsSlider.mjs +0 -20
  1143. package/lib/components/VTabs/VTabsSlider.mjs.map +0 -1
  1144. package/lib/components/VTextField/_mixins.sass +0 -18
  1145. package/lib/components/VToolbar/_index.scss +0 -2
  1146. package/lib/entry.mjs +0 -4
  1147. package/lib/entry.mjs.map +0 -1
  1148. package/lib/globals.d.mjs +0 -2
  1149. package/lib/globals.d.mjs.map +0 -1
  1150. package/lib/mixins/activatable/index.mjs +0 -196
  1151. package/lib/mixins/activatable/index.mjs.map +0 -1
  1152. package/lib/mixins/applicationable/index.mjs +0 -72
  1153. package/lib/mixins/applicationable/index.mjs.map +0 -1
  1154. package/lib/mixins/binds-attrs/index.mjs +0 -42
  1155. package/lib/mixins/binds-attrs/index.mjs.map +0 -1
  1156. package/lib/mixins/bootable/index.mjs +0 -54
  1157. package/lib/mixins/bootable/index.mjs.map +0 -1
  1158. package/lib/mixins/button-group/index.mjs +0 -28
  1159. package/lib/mixins/button-group/index.mjs.map +0 -1
  1160. package/lib/mixins/colorable/index.mjs +0 -78
  1161. package/lib/mixins/colorable/index.mjs.map +0 -1
  1162. package/lib/mixins/comparable/index.mjs +0 -15
  1163. package/lib/mixins/comparable/index.mjs.map +0 -1
  1164. package/lib/mixins/dependent/index.mjs +0 -73
  1165. package/lib/mixins/dependent/index.mjs.map +0 -1
  1166. package/lib/mixins/detachable/index.mjs +0 -128
  1167. package/lib/mixins/detachable/index.mjs.map +0 -1
  1168. package/lib/mixins/elevatable/index.mjs +0 -26
  1169. package/lib/mixins/elevatable/index.mjs.map +0 -1
  1170. package/lib/mixins/filterable/index.mjs +0 -16
  1171. package/lib/mixins/filterable/index.mjs.map +0 -1
  1172. package/lib/mixins/intersectable/index.mjs +0 -53
  1173. package/lib/mixins/intersectable/index.mjs.map +0 -1
  1174. package/lib/mixins/loadable/index.mjs +0 -45
  1175. package/lib/mixins/loadable/index.mjs.map +0 -1
  1176. package/lib/mixins/localable/index.mjs +0 -17
  1177. package/lib/mixins/localable/index.mjs.map +0 -1
  1178. package/lib/mixins/menuable/index.mjs +0 -361
  1179. package/lib/mixins/menuable/index.mjs.map +0 -1
  1180. package/lib/mixins/mobile/index.mjs +0 -50
  1181. package/lib/mixins/mobile/index.mjs.map +0 -1
  1182. package/lib/mixins/overlayable/index.mjs +0 -201
  1183. package/lib/mixins/overlayable/index.mjs.map +0 -1
  1184. package/lib/mixins/picker/index.mjs +0 -75
  1185. package/lib/mixins/picker/index.mjs.map +0 -1
  1186. package/lib/mixins/picker-button/index.mjs +0 -35
  1187. package/lib/mixins/picker-button/index.mjs.map +0 -1
  1188. package/lib/mixins/proxyable/index.mjs +0 -50
  1189. package/lib/mixins/proxyable/index.mjs.map +0 -1
  1190. package/lib/mixins/returnable/index.mjs +0 -36
  1191. package/lib/mixins/returnable/index.mjs.map +0 -1
  1192. package/lib/mixins/rippleable/index.mjs +0 -35
  1193. package/lib/mixins/rippleable/index.mjs.map +0 -1
  1194. package/lib/mixins/roundable/index.mjs +0 -37
  1195. package/lib/mixins/roundable/index.mjs.map +0 -1
  1196. package/lib/mixins/routable/index.mjs +0 -146
  1197. package/lib/mixins/routable/index.mjs.map +0 -1
  1198. package/lib/mixins/selectable/index.mjs +0 -167
  1199. package/lib/mixins/selectable/index.mjs.map +0 -1
  1200. package/lib/mixins/stackable/index.mjs +0 -55
  1201. package/lib/mixins/stackable/index.mjs.map +0 -1
  1202. package/lib/mixins/themeable/index.mjs +0 -111
  1203. package/lib/mixins/themeable/index.mjs.map +0 -1
  1204. package/lib/mixins/toggleable/index.mjs +0 -40
  1205. package/lib/mixins/toggleable/index.mjs.map +0 -1
  1206. package/lib/mixins/transitionable/index.mjs +0 -13
  1207. package/lib/mixins/transitionable/index.mjs.map +0 -1
  1208. package/lib/mixins/translatable/index.mjs +0 -59
  1209. package/lib/mixins/translatable/index.mjs.map +0 -1
  1210. package/lib/mixins/validatable/index.mjs +0 -263
  1211. package/lib/mixins/validatable/index.mjs.map +0 -1
  1212. package/lib/services/application/index.mjs +0 -44
  1213. package/lib/services/application/index.mjs.map +0 -1
  1214. package/lib/services/breakpoint/index.mjs +0 -151
  1215. package/lib/services/breakpoint/index.mjs.map +0 -1
  1216. package/lib/services/index.mjs +0 -10
  1217. package/lib/services/index.mjs.map +0 -1
  1218. package/lib/services/lang/index.mjs +0 -69
  1219. package/lib/services/lang/index.mjs.map +0 -1
  1220. package/lib/services/service/index.mjs +0 -8
  1221. package/lib/services/service/index.mjs.map +0 -1
  1222. package/lib/styles/components/_index.sass +0 -1
  1223. package/lib/styles/components/_selection-controls.sass +0 -119
  1224. package/lib/styles/elements/_code.sass +0 -23
  1225. package/lib/styles/elements/_headings.sass +0 -8
  1226. package/lib/styles/elements/_lists.sass +0 -3
  1227. package/lib/styles/elements/_typography.sass +0 -88
  1228. package/lib/styles/settings/_dark.scss +0 -145
  1229. package/lib/styles/settings/_light.scss +0 -126
  1230. package/lib/styles/settings/_theme.scss +0 -1
  1231. package/lib/styles/styles.sass +0 -2
  1232. package/lib/util/makeProps.mjs +0 -52
  1233. package/lib/util/makeProps.mjs.map +0 -1
  1234. package/lib/util/useDirective.mjs +0 -7
  1235. package/lib/util/useDirective.mjs.map +0 -1
  1236. package/types/.npmignore +0 -2
  1237. package/types/alacarte.d.ts +0 -49
  1238. package/types/colors.d.ts +0 -107
  1239. package/types/index.d.ts +0 -300
  1240. package/types/lib.d.ts +0 -380
  1241. package/types/services/application.d.ts +0 -27
  1242. package/types/services/breakpoint.d.ts +0 -45
  1243. package/types/services/goto.d.ts +0 -31
  1244. package/types/services/icons.d.ts +0 -71
  1245. package/types/services/index.d.ts +0 -16
  1246. package/types/services/lang.d.ts +0 -19
  1247. package/types/services/theme.d.ts +0 -83
@@ -1,84 +1,94 @@
1
- export * from "./VApp/index.mjs"; // export * from './VAppBar'
2
- // export * from './VAlert'
3
- // export * from './VAutocomplete'
4
-
1
+ export * from "./VApp/index.mjs";
2
+ export * from "./VAppBar/index.mjs";
3
+ export * from "./VAlert/index.mjs";
4
+ export * from "./VAutocomplete/index.mjs";
5
5
  export * from "./VAvatar/index.mjs";
6
6
  export * from "./VBadge/index.mjs";
7
- export * from "./VBanner/index.mjs"; // export * from './VBottomNavigation'
8
- // export * from './VBottomSheet'
9
- // export * from './VBreadcrumbs'
10
- // export * from './VBtn'
7
+ export * from "./VBanner/index.mjs";
8
+ export * from "./VBottomNavigation/index.mjs"; // export * from './VBottomSheet'
9
+
10
+ export * from "./VBreadcrumbs/index.mjs";
11
+ export * from "./VBtn/index.mjs";
12
+ export * from "./VBtnGroup/index.mjs";
13
+ export * from "./VBtnToggle/index.mjs"; // export * from './VCalendar'
14
+
15
+ export * from "./VCard/index.mjs";
16
+ export * from "./VCarousel/index.mjs";
17
+ export * from "./VCheckbox/index.mjs";
18
+ export * from "./VChip/index.mjs";
19
+ export * from "./VChipGroup/index.mjs";
20
+ export * from "./VCode/index.mjs";
21
+ export * from "./VColorPicker/index.mjs"; // export * from './VContent'
11
22
 
12
- export * from "./VBtn/index.mjs"; // export * from './VBtnToggle'
13
- // export * from './VCalendar'
14
- // export * from './VCard'
15
- // export * from './VCarousel'
16
- // export * from './VCheckbox'
17
- // export * from './VChip'
18
- // export * from './VChipGroup'
19
- // export * from './VColorPicker'
20
- // export * from './VContent'
21
- // export * from './VCombobox'
22
- // export * from './VCounter'
23
- // export * from './VData'
23
+ export * from "./VCombobox/index.mjs";
24
+ export * from "./VCounter/index.mjs"; // export * from './VData'
24
25
  // export * from './VDataIterator'
25
26
  // export * from './VDataTable'
26
27
  // export * from './VDatePicker'
27
- // export * from './VDialog'
28
-
29
- export * from "./VDivider/index.mjs"; // export * from './VExpansionPanel'
30
- // export * from './VFileInput'
31
-
32
- export * from "./VFooter/index.mjs"; // export * from './VForm'
33
-
34
- export * from "./VGrid/index.mjs"; // export * from './VHover'
35
28
 
29
+ export * from "./VDefaultsProvider/index.mjs";
30
+ export * from "./VDialog/index.mjs";
31
+ export * from "./VDivider/index.mjs";
32
+ export * from "./VExpansionPanel/index.mjs";
33
+ export * from "./VField/index.mjs";
34
+ export * from "./VFileInput/index.mjs";
35
+ export * from "./VFooter/index.mjs";
36
+ export * from "./VForm/index.mjs";
37
+ export * from "./VGrid/index.mjs";
38
+ export * from "./VHover/index.mjs";
36
39
  export * from "./VIcon/index.mjs";
37
- export * from "./VImg/index.mjs"; // export * from './VInput'
38
- // export * from './VItemGroup'
39
- // export * from './VLabel'
40
-
40
+ export * from "./VImg/index.mjs";
41
+ export * from "./VInput/index.mjs";
42
+ export * from "./VItemGroup/index.mjs";
43
+ export * from "./VKbd/index.mjs";
44
+ export * from "./VLabel/index.mjs";
41
45
  export * from "./VLayout/index.mjs";
42
- export * from "./VLocaleProvider/index.mjs"; // export * from './VLazy'
43
- // export * from './VList'
46
+ export * from "./VLazy/index.mjs";
47
+ export * from "./VList/index.mjs";
48
+ export * from "./VLocaleProvider/index.mjs";
49
+ export * from "./VMain/index.mjs";
50
+ export * from "./VMenu/index.mjs";
51
+ export * from "./VMessages/index.mjs";
52
+ export * from "./VNavigationDrawer/index.mjs";
53
+ export * from "./VNoSsr/index.mjs"; // export * from './VOtpInput'
54
+ // export * from './VOverflowBtn'
44
55
 
45
- export * from "./VMain/index.mjs"; // export * from './VMenu'
46
- // export * from './VMessages'
56
+ export * from "./VOverlay/index.mjs";
57
+ export * from "./VPagination/index.mjs";
58
+ export * from "./VParallax/index.mjs"; // export * from './VPicker'
47
59
 
48
- export * from "./VNavigationDrawer/index.mjs"; // export * from './VOverflowBtn'
49
- // export * from './VOverlay'
50
- // export * from './VPagination'
60
+ export * from "./VProgressCircular/index.mjs";
61
+ export * from "./VProgressLinear/index.mjs";
62
+ export * from "./VRadio/index.mjs";
63
+ export * from "./VRadioGroup/index.mjs";
64
+ export * from "./VRangeSlider/index.mjs";
65
+ export * from "./VRating/index.mjs";
66
+ export * from "./VResponsive/index.mjs";
67
+ export * from "./VSelect/index.mjs";
68
+ export * from "./VSelectionControl/index.mjs";
69
+ export * from "./VSelectionControlGroup/index.mjs";
70
+ export * from "./VSheet/index.mjs"; // export * from './VSkeletonLoader'
51
71
 
52
- export * from "./VSheet/index.mjs"; // export * from './VParallax'
53
- // export * from './VPicker'
54
- // export * from './VProgressCircular'
55
- // export * from './VProgressLinear'
56
- // export * from './VRadioGroup'
57
- // export * from './VRangeSlider'
58
- // export * from './VRating'
59
-
60
- export * from "./VResponsive/index.mjs"; // export * from './VSelect'
61
- // export * from './VSkeletonLoader'
62
- // export * from './VSlider'
63
- // export * from './VSlideGroup'
64
- // export * from './VSnackbar'
65
- // export * from './VSparkline'
72
+ export * from "./VSlideGroup/index.mjs";
73
+ export * from "./VSlider/index.mjs";
74
+ export * from "./VSnackbar/index.mjs"; // export * from './VSparkline'
66
75
  // export * from './VSpeedDial'
67
76
  // export * from './VStepper'
68
- // export * from './VSubheader'
69
- // export * from './VSwitch'
70
77
 
71
- export * from "./VSystemBar/index.mjs"; // export * from './VTabs'
72
- // export * from './VTextarea'
73
- // export * from './VTextField'
78
+ export * from "./VSwitch/index.mjs";
79
+ export * from "./VSystemBar/index.mjs";
80
+ export * from "./VTabs/index.mjs";
81
+ export * from "./VTable/index.mjs";
82
+ export * from "./VTextarea/index.mjs";
83
+ export * from "./VTextField/index.mjs";
84
+ export * from "./VThemeProvider/index.mjs";
85
+ export * from "./VTimeline/index.mjs"; // export * from './VTimePicker'
86
+
87
+ export * from "./VToolbar/index.mjs";
88
+ export * from "./VTooltip/index.mjs"; // export * from './VTreeview'
74
89
 
75
- export * from "./VThemeProvider/index.mjs"; // export * from './VTimeline'
76
- // export * from './VTimePicker'
77
- // export * from './VToolbar'
78
- // export * from './VTooltip'
79
- // export * from './VTreeview'
80
- // export * from './VVirtualScroll'
81
- // export * from './VWindow'
90
+ export * from "./VValidation/index.mjs"; // export * from './VVirtualScroll'
82
91
 
92
+ export * from "./VWindow/index.mjs";
83
93
  export * from "./transitions/index.mjs";
84
94
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/components/index.ts"],"names":[],"mappings":"kCACA;AACA;AACA;;;;qCAIA;AACA;AACA;AACA;;kCAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;sCAEA;AACA;;qCAEA;;mCAEA;;;kCAGA;AACA;AACA;;;6CAGA;AACA;;mCAEA;AACA;;+CAEA;AACA;AACA;;oCAEA;AACA;AACA;AACA;AACA;AACA;AACA;;yCAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;wCAEA;AACA;AACA;;4CAEA;AACA;AACA;AACA;AACA;AACA;AACA","sourcesContent":["export * from './VApp'\n// export * from './VAppBar'\n// export * from './VAlert'\n// export * from './VAutocomplete'\nexport * from './VAvatar'\nexport * from './VBadge'\nexport * from './VBanner'\n// export * from './VBottomNavigation'\n// export * from './VBottomSheet'\n// export * from './VBreadcrumbs'\n// export * from './VBtn'\nexport * from './VBtn'\n// export * from './VBtnToggle'\n// export * from './VCalendar'\n// export * from './VCard'\n// export * from './VCarousel'\n// export * from './VCheckbox'\n// export * from './VChip'\n// export * from './VChipGroup'\n// export * from './VColorPicker'\n// export * from './VContent'\n// export * from './VCombobox'\n// export * from './VCounter'\n// export * from './VData'\n// export * from './VDataIterator'\n// export * from './VDataTable'\n// export * from './VDatePicker'\n// export * from './VDialog'\nexport * from './VDivider'\n// export * from './VExpansionPanel'\n// export * from './VFileInput'\nexport * from './VFooter'\n// export * from './VForm'\nexport * from './VGrid'\n// export * from './VHover'\nexport * from './VIcon'\nexport * from './VImg'\n// export * from './VInput'\n// export * from './VItemGroup'\n// export * from './VLabel'\nexport * from './VLayout'\nexport * from './VLocaleProvider'\n// export * from './VLazy'\n// export * from './VList'\nexport * from './VMain'\n// export * from './VMenu'\n// export * from './VMessages'\nexport * from './VNavigationDrawer'\n// export * from './VOverflowBtn'\n// export * from './VOverlay'\n// export * from './VPagination'\nexport * from './VSheet'\n// export * from './VParallax'\n// export * from './VPicker'\n// export * from './VProgressCircular'\n// export * from './VProgressLinear'\n// export * from './VRadioGroup'\n// export * from './VRangeSlider'\n// export * from './VRating'\nexport * from './VResponsive'\n// export * from './VSelect'\n// export * from './VSkeletonLoader'\n// export * from './VSlider'\n// export * from './VSlideGroup'\n// export * from './VSnackbar'\n// export * from './VSparkline'\n// export * from './VSpeedDial'\n// export * from './VStepper'\n// export * from './VSubheader'\n// export * from './VSwitch'\nexport * from './VSystemBar'\n// export * from './VTabs'\n// export * from './VTextarea'\n// export * from './VTextField'\nexport * from './VThemeProvider'\n// export * from './VTimeline'\n// export * from './VTimePicker'\n// export * from './VToolbar'\n// export * from './VTooltip'\n// export * from './VTreeview'\n// export * from './VVirtualScroll'\n// export * from './VWindow'\nexport * from './transitions'\n"],"file":"index.mjs"}
1
+ {"version":3,"sources":["../../src/components/index.ts"],"names":[],"mappings":";;;;;;;+CAQA;;;;;wCAKA;;;;;;;;0CAQA;;;sCAGA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;oCA0BA;AACA;;;;uCAIA;;;;;;;;;;;;oCAYA;;;;uCAIA;AACA;AACA;;;;;;;;;uCASA;;;sCAGA;;yCAEA","sourcesContent":["export * from './VApp'\nexport * from './VAppBar'\nexport * from './VAlert'\nexport * from './VAutocomplete'\nexport * from './VAvatar'\nexport * from './VBadge'\nexport * from './VBanner'\nexport * from './VBottomNavigation'\n// export * from './VBottomSheet'\nexport * from './VBreadcrumbs'\nexport * from './VBtn'\nexport * from './VBtnGroup'\nexport * from './VBtnToggle'\n// export * from './VCalendar'\nexport * from './VCard'\nexport * from './VCarousel'\nexport * from './VCheckbox'\nexport * from './VChip'\nexport * from './VChipGroup'\nexport * from './VCode'\nexport * from './VColorPicker'\n// export * from './VContent'\nexport * from './VCombobox'\nexport * from './VCounter'\n// export * from './VData'\n// export * from './VDataIterator'\n// export * from './VDataTable'\n// export * from './VDatePicker'\nexport * from './VDefaultsProvider'\nexport * from './VDialog'\nexport * from './VDivider'\nexport * from './VExpansionPanel'\nexport * from './VField'\nexport * from './VFileInput'\nexport * from './VFooter'\nexport * from './VForm'\nexport * from './VGrid'\nexport * from './VHover'\nexport * from './VIcon'\nexport * from './VImg'\nexport * from './VInput'\nexport * from './VItemGroup'\nexport * from './VKbd'\nexport * from './VLabel'\nexport * from './VLayout'\nexport * from './VLazy'\nexport * from './VList'\nexport * from './VLocaleProvider'\nexport * from './VMain'\nexport * from './VMenu'\nexport * from './VMessages'\nexport * from './VNavigationDrawer'\nexport * from './VNoSsr'\n// export * from './VOtpInput'\n// export * from './VOverflowBtn'\nexport * from './VOverlay'\nexport * from './VPagination'\nexport * from './VParallax'\n// export * from './VPicker'\nexport * from './VProgressCircular'\nexport * from './VProgressLinear'\nexport * from './VRadio'\nexport * from './VRadioGroup'\nexport * from './VRangeSlider'\nexport * from './VRating'\nexport * from './VResponsive'\nexport * from './VSelect'\nexport * from './VSelectionControl'\nexport * from './VSelectionControlGroup'\nexport * from './VSheet'\n// export * from './VSkeletonLoader'\nexport * from './VSlideGroup'\nexport * from './VSlider'\nexport * from './VSnackbar'\n// export * from './VSparkline'\n// export * from './VSpeedDial'\n// export * from './VStepper'\nexport * from './VSwitch'\nexport * from './VSystemBar'\nexport * from './VTabs'\nexport * from './VTable'\nexport * from './VTextarea'\nexport * from './VTextField'\nexport * from './VThemeProvider'\nexport * from './VTimeline'\n// export * from './VTimePicker'\nexport * from './VToolbar'\nexport * from './VTooltip'\n// export * from './VTreeview'\nexport * from './VValidation'\n// export * from './VVirtualScroll'\nexport * from './VWindow'\nexport * from './transitions'\n"],"file":"index.mjs"}
@@ -1,11 +1,13 @@
1
1
  // Utilities
2
- import { defineComponent, h, Transition, TransitionGroup } from 'vue';
3
- import { makeProps } from "../../util/index.mjs"; // Types
2
+ import { h, Transition, TransitionGroup } from 'vue';
3
+ import { defineComponent } from "../../util/index.mjs"; // Types
4
4
 
5
- export function createCssTransition(name, origin = 'top center 0', mode) {
5
+ export function createCssTransition(name) {
6
+ let origin = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'top center 0';
7
+ let mode = arguments.length > 2 ? arguments[2] : undefined;
6
8
  return defineComponent({
7
9
  name,
8
- props: makeProps({
10
+ props: {
9
11
  group: Boolean,
10
12
  hideOnLeave: Boolean,
11
13
  leaveAbsolute: Boolean,
@@ -17,11 +19,12 @@ export function createCssTransition(name, origin = 'top center 0', mode) {
17
19
  type: String,
18
20
  default: origin
19
21
  }
20
- }),
22
+ },
21
23
 
22
- setup(props, {
23
- slots
24
- }) {
24
+ setup(props, _ref) {
25
+ let {
26
+ slots
27
+ } = _ref;
25
28
  return () => {
26
29
  const tag = props.group ? TransitionGroup : Transition;
27
30
  return h(tag, {
@@ -33,8 +36,48 @@ export function createCssTransition(name, origin = 'top center 0', mode) {
33
36
  },
34
37
 
35
38
  onLeave(el) {
36
- if (props.leaveAbsolute) el.style.position = 'absolute';
37
- if (props.hideOnLeave) el.style.display = 'none';
39
+ if (props.leaveAbsolute) {
40
+ const {
41
+ offsetTop,
42
+ offsetLeft,
43
+ offsetWidth,
44
+ offsetHeight
45
+ } = el;
46
+ el._transitionInitialStyles = {
47
+ position: el.style.position,
48
+ top: el.style.top,
49
+ left: el.style.left,
50
+ width: el.style.width,
51
+ height: el.style.height
52
+ };
53
+ el.style.position = 'absolute';
54
+ el.style.top = `${offsetTop}px`;
55
+ el.style.left = `${offsetLeft}px`;
56
+ el.style.width = `${offsetWidth}px`;
57
+ el.style.height = `${offsetHeight}px`;
58
+ }
59
+
60
+ if (props.hideOnLeave) {
61
+ el.style.setProperty('display', 'none', 'important');
62
+ }
63
+ },
64
+
65
+ onAfterLeave(el) {
66
+ if (props.leaveAbsolute && el != null && el._transitionInitialStyles) {
67
+ const {
68
+ position,
69
+ top,
70
+ left,
71
+ width,
72
+ height
73
+ } = el._transitionInitialStyles;
74
+ delete el._transitionInitialStyles;
75
+ el.style.position = position || '';
76
+ el.style.top = top || '';
77
+ el.style.left = left || '';
78
+ el.style.width = width || '';
79
+ el.style.height = height || '';
80
+ }
38
81
  }
39
82
 
40
83
  }, slots.default);
@@ -43,19 +86,21 @@ export function createCssTransition(name, origin = 'top center 0', mode) {
43
86
 
44
87
  });
45
88
  }
46
- export function createJavascriptTransition(name, functions, mode = 'in-out') {
89
+ export function createJavascriptTransition(name, functions) {
90
+ let mode = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'in-out';
47
91
  return defineComponent({
48
92
  name,
49
- props: makeProps({
93
+ props: {
50
94
  mode: {
51
95
  type: String,
52
96
  default: mode
53
97
  }
54
- }),
98
+ },
55
99
 
56
- setup(props, {
57
- slots
58
- }) {
100
+ setup(props, _ref2) {
101
+ let {
102
+ slots
103
+ } = _ref2;
59
104
  return () => {
60
105
  return h(Transition, {
61
106
  name,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/transitions/createTransition.ts"],"names":["defineComponent","h","Transition","TransitionGroup","makeProps","createCssTransition","name","origin","mode","props","group","Boolean","hideOnLeave","leaveAbsolute","type","String","default","setup","slots","tag","onBeforeEnter","el","style","transformOrigin","onLeave","position","display","createJavascriptTransition","functions"],"mappings":"AAAA;AACA,SAASA,eAAT,EAA0BC,CAA1B,EAA6BC,UAA7B,EAAyCC,eAAzC,QAAgE,KAAhE;SACSC,S,gCAET;;AAGA,OAAO,SAASC,mBAAT,CACLC,IADK,EAELC,MAAM,GAAG,cAFJ,EAGLC,IAHK,EAIL;AACA,SAAOR,eAAe,CAAC;AACrBM,IAAAA,IADqB;AAGrBG,IAAAA,KAAK,EAAEL,SAAS,CAAC;AACfM,MAAAA,KAAK,EAAEC,OADQ;AAEfC,MAAAA,WAAW,EAAED,OAFE;AAGfE,MAAAA,aAAa,EAAEF,OAHA;AAIfH,MAAAA,IAAI,EAAE;AACJM,QAAAA,IAAI,EAAEC,MADF;AAEJC,QAAAA,OAAO,EAAER;AAFL,OAJS;AAQfD,MAAAA,MAAM,EAAE;AACNO,QAAAA,IAAI,EAAEC,MADA;AAENC,QAAAA,OAAO,EAAET;AAFH;AARO,KAAD,CAHK;;AAiBrBU,IAAAA,KAAK,CAAER,KAAF,EAAS;AAAES,MAAAA;AAAF,KAAT,EAAoB;AACvB,aAAO,MAAM;AACX,cAAMC,GAAG,GAAGV,KAAK,CAACC,KAAN,GAAcP,eAAd,GAAgCD,UAA5C;AAEA,eAAOD,CAAC,CAACkB,GAAD,EAA6B;AACnCb,UAAAA,IADmC;AAEnCE,UAAAA,IAAI,EAAEC,KAAK,CAACD,IAFuB;;AAGnCY,UAAAA,aAAa,CAAEC,EAAF,EAAmB;AAC9BA,YAAAA,EAAE,CAACC,KAAH,CAASC,eAAT,GAA2Bd,KAAK,CAACF,MAAjC;AACD,WALkC;;AAMnCiB,UAAAA,OAAO,CAAEH,EAAF,EAAmB;AACxB,gBAAIZ,KAAK,CAACI,aAAV,EAAyBQ,EAAE,CAACC,KAAH,CAASG,QAAT,GAAoB,UAApB;AACzB,gBAAIhB,KAAK,CAACG,WAAV,EAAuBS,EAAE,CAACC,KAAH,CAASI,OAAT,GAAmB,MAAnB;AACxB;;AATkC,SAA7B,EAULR,KAAK,CAACF,OAVD,CAAR;AAWD,OAdD;AAeD;;AAjCoB,GAAD,CAAtB;AAmCD;AAED,OAAO,SAASW,0BAAT,CACLrB,IADK,EAELsB,SAFK,EAGLpB,IAAI,GAAG,QAHF,EAIL;AACA,SAAOR,eAAe,CAAC;AACrBM,IAAAA,IADqB;AAGrBG,IAAAA,KAAK,EAAEL,SAAS,CAAC;AACfI,MAAAA,IAAI,EAAE;AACJM,QAAAA,IAAI,EAAEC,MADF;AAEJC,QAAAA,OAAO,EAAER;AAFL;AADS,KAAD,CAHK;;AAUrBS,IAAAA,KAAK,CAAER,KAAF,EAAS;AAAES,MAAAA;AAAF,KAAT,EAAoB;AACvB,aAAO,MAAM;AACX,eAAOjB,CAAC,CAACC,UAAD,EAAa;AACnBI,UAAAA,IADmB;AAEnB;AACA,aAAGsB;AAHgB,SAAb,EAILV,KAAK,CAACF,OAJD,CAAR;AAKD,OAND;AAOD;;AAlBoB,GAAD,CAAtB;AAoBD","sourcesContent":["// Utilities\nimport { defineComponent, h, Transition, TransitionGroup } from 'vue'\nimport { makeProps } from '@/util'\n\n// Types\nimport type { FunctionalComponent, Prop } from 'vue'\n\nexport function createCssTransition (\n name: string,\n origin = 'top center 0',\n mode?: string\n) {\n return defineComponent({\n name,\n\n props: makeProps({\n group: Boolean,\n hideOnLeave: Boolean,\n leaveAbsolute: Boolean,\n mode: {\n type: String,\n default: mode,\n },\n origin: {\n type: String,\n default: origin,\n },\n }),\n\n setup (props, { slots }) {\n return () => {\n const tag = props.group ? TransitionGroup : Transition\n\n return h(tag as FunctionalComponent, {\n name,\n mode: props.mode,\n onBeforeEnter (el: HTMLElement) {\n el.style.transformOrigin = props.origin\n },\n onLeave (el: HTMLElement) {\n if (props.leaveAbsolute) el.style.position = 'absolute'\n if (props.hideOnLeave) el.style.display = 'none'\n },\n }, slots.default)\n }\n },\n })\n}\n\nexport function createJavascriptTransition (\n name: string,\n functions: Record<string, any>,\n mode = 'in-out'\n) {\n return defineComponent({\n name,\n\n props: makeProps({\n mode: {\n type: String,\n default: mode,\n } as Prop<'in-out' | 'out-in' | 'default'>,\n }),\n\n setup (props, { slots }) {\n return () => {\n return h(Transition, {\n name,\n // mode: props.mode, // TODO: vuejs/vue-next#3104\n ...functions,\n }, slots.default)\n }\n },\n })\n}\n"],"file":"createTransition.mjs"}
1
+ {"version":3,"sources":["../../../src/components/transitions/createTransition.ts"],"names":["h","Transition","TransitionGroup","defineComponent","createCssTransition","name","origin","mode","props","group","Boolean","hideOnLeave","leaveAbsolute","type","String","default","setup","slots","tag","onBeforeEnter","el","style","transformOrigin","onLeave","offsetTop","offsetLeft","offsetWidth","offsetHeight","_transitionInitialStyles","position","top","left","width","height","setProperty","onAfterLeave","createJavascriptTransition","functions"],"mappings":"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","sourcesContent":["// Utilities\nimport { h, Transition, TransitionGroup } from 'vue'\nimport { defineComponent } from '@/util'\n\n// Types\nimport type { FunctionalComponent, Prop } from 'vue'\n\nexport function createCssTransition (\n name: string,\n origin = 'top center 0',\n mode?: string\n) {\n return defineComponent({\n name,\n\n props: {\n group: Boolean,\n hideOnLeave: Boolean,\n leaveAbsolute: Boolean,\n mode: {\n type: String,\n default: mode,\n },\n origin: {\n type: String,\n default: origin,\n },\n },\n\n setup (props, { slots }) {\n return () => {\n const tag = props.group ? TransitionGroup : Transition\n\n return h(tag as FunctionalComponent, {\n name,\n mode: props.mode,\n onBeforeEnter (el: HTMLElement) {\n el.style.transformOrigin = props.origin\n },\n onLeave (el: HTMLElement) {\n if (props.leaveAbsolute) {\n const { offsetTop, offsetLeft, offsetWidth, offsetHeight } = el\n el._transitionInitialStyles = {\n position: el.style.position,\n top: el.style.top,\n left: el.style.left,\n width: el.style.width,\n height: el.style.height,\n }\n el.style.position = 'absolute'\n el.style.top = `${offsetTop}px`\n el.style.left = `${offsetLeft}px`\n el.style.width = `${offsetWidth}px`\n el.style.height = `${offsetHeight}px`\n }\n\n if (props.hideOnLeave) {\n el.style.setProperty('display', 'none', 'important')\n }\n },\n onAfterLeave (el: HTMLElement) {\n if (props.leaveAbsolute && el?._transitionInitialStyles) {\n const { position, top, left, width, height } = el._transitionInitialStyles\n delete el._transitionInitialStyles\n el.style.position = position || ''\n el.style.top = top || ''\n el.style.left = left || ''\n el.style.width = width || ''\n el.style.height = height || ''\n }\n },\n }, slots.default)\n }\n },\n })\n}\n\nexport function createJavascriptTransition (\n name: string,\n functions: Record<string, any>,\n mode = 'in-out'\n) {\n return defineComponent({\n name,\n\n props: {\n mode: {\n type: String,\n default: mode,\n } as Prop<'in-out' | 'out-in' | 'default'>,\n },\n\n setup (props, { slots }) {\n return () => {\n return h(Transition, {\n name,\n // mode: props.mode, // TODO: vuejs/vue-next#3104\n ...functions,\n }, slots.default)\n }\n },\n })\n}\n"],"file":"createTransition.mjs"}
@@ -0,0 +1,107 @@
1
+ import { createVNode as _createVNode, mergeProps as _mergeProps, resolveDirective as _resolveDirective } from "vue";
2
+ import { Transition } from 'vue';
3
+ import { acceleratedEasing, deceleratedEasing, defineComponent, nullifyTransforms } from "../../util/index.mjs";
4
+ export const VDialogTransition = defineComponent({
5
+ name: 'VDialogTransition',
6
+ props: {
7
+ target: Object
8
+ },
9
+
10
+ setup(props, _ref) {
11
+ let {
12
+ slots
13
+ } = _ref;
14
+ const functions = {
15
+ onBeforeEnter(el) {
16
+ el.style.pointerEvents = 'none';
17
+ },
18
+
19
+ async onEnter(el, done) {
20
+ await new Promise(resolve => requestAnimationFrame(resolve));
21
+ const {
22
+ x,
23
+ y
24
+ } = getDimensions(props.target, el);
25
+ const animation = el.animate([{
26
+ transform: `translate(${x}px, ${y}px) scale(0.1)`,
27
+ opacity: 0
28
+ }, {
29
+ transform: ''
30
+ }], {
31
+ duration: 225,
32
+ easing: deceleratedEasing
33
+ });
34
+ animation.finished.then(() => done());
35
+ },
36
+
37
+ onAfterEnter(el) {
38
+ el.style.removeProperty('pointer-events');
39
+ },
40
+
41
+ onBeforeLeave(el) {
42
+ el.style.pointerEvents = 'none';
43
+ },
44
+
45
+ async onLeave(el, done) {
46
+ await new Promise(resolve => requestAnimationFrame(resolve));
47
+ const {
48
+ x,
49
+ y
50
+ } = getDimensions(props.target, el);
51
+ const animation = el.animate([{
52
+ transform: ''
53
+ }, {
54
+ transform: `translate(${x}px, ${y}px) scale(0.1)`,
55
+ opacity: 0
56
+ }], {
57
+ duration: 125,
58
+ easing: acceleratedEasing
59
+ });
60
+ animation.finished.then(() => done());
61
+ },
62
+
63
+ onAfterLeave(el) {
64
+ el.style.removeProperty('pointer-events');
65
+ }
66
+
67
+ };
68
+ return () => {
69
+ return props.target ? _createVNode(Transition, _mergeProps({
70
+ "name": "dialog-transition"
71
+ }, functions, {
72
+ "css": false
73
+ }), slots) : _createVNode(Transition, {
74
+ "name": "dialog-transition"
75
+ }, slots);
76
+ };
77
+ }
78
+
79
+ });
80
+
81
+ function getDimensions(target, el) {
82
+ const targetBox = target.getBoundingClientRect();
83
+ const elBox = nullifyTransforms(el);
84
+ const [originX, originY] = getComputedStyle(el).transformOrigin.split(' ').map(v => parseFloat(v));
85
+ const [anchorSide, anchorOffset] = getComputedStyle(el).getPropertyValue('--v-overlay-anchor-origin').split(' ');
86
+ let offsetX = targetBox.left + targetBox.width / 2;
87
+
88
+ if (anchorSide === 'left' || anchorOffset === 'left') {
89
+ offsetX -= targetBox.width / 2;
90
+ } else if (anchorSide === 'right' || anchorOffset === 'right') {
91
+ offsetX += targetBox.width / 2;
92
+ }
93
+
94
+ let offsetY = targetBox.top + targetBox.height / 2;
95
+
96
+ if (anchorSide === 'top' || anchorOffset === 'top') {
97
+ offsetY -= targetBox.height / 2;
98
+ } else if (anchorSide === 'bottom' || anchorOffset === 'bottom') {
99
+ offsetY += targetBox.height / 2;
100
+ }
101
+
102
+ return {
103
+ x: offsetX - (originX + elBox.left),
104
+ y: offsetY - (originY + elBox.top)
105
+ };
106
+ }
107
+ //# sourceMappingURL=dialog-transition.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/transitions/dialog-transition.tsx"],"names":["Transition","acceleratedEasing","deceleratedEasing","defineComponent","nullifyTransforms","VDialogTransition","name","props","target","Object","setup","slots","functions","onBeforeEnter","el","style","pointerEvents","onEnter","done","Promise","resolve","requestAnimationFrame","x","y","getDimensions","animation","animate","transform","opacity","duration","easing","finished","then","onAfterEnter","removeProperty","onBeforeLeave","onLeave","onAfterLeave","targetBox","getBoundingClientRect","elBox","originX","originY","getComputedStyle","transformOrigin","split","map","v","parseFloat","anchorSide","anchorOffset","getPropertyValue","offsetX","left","width","offsetY","top","height"],"mappings":"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","sourcesContent":["import type { PropType } from 'vue'\nimport { Transition } from 'vue'\nimport { acceleratedEasing, deceleratedEasing, defineComponent, nullifyTransforms } from '@/util'\n\nexport const VDialogTransition = defineComponent({\n name: 'VDialogTransition',\n\n props: {\n target: Object as PropType<HTMLElement>,\n },\n\n setup (props, { slots }) {\n const functions = {\n onBeforeEnter (el: Element) {\n (el as HTMLElement).style.pointerEvents = 'none'\n },\n async onEnter (el: Element, done: () => void) {\n await new Promise(resolve => requestAnimationFrame(resolve))\n\n const { x, y } = getDimensions(props.target!, el as HTMLElement)\n\n const animation = el.animate([\n { transform: `translate(${x}px, ${y}px) scale(0.1)`, opacity: 0 },\n { transform: '' },\n ], {\n duration: 225,\n easing: deceleratedEasing,\n })\n animation.finished.then(() => done())\n },\n onAfterEnter (el: Element) {\n (el as HTMLElement).style.removeProperty('pointer-events')\n },\n onBeforeLeave (el: Element) {\n (el as HTMLElement).style.pointerEvents = 'none'\n },\n async onLeave (el: Element, done: () => void) {\n await new Promise(resolve => requestAnimationFrame(resolve))\n\n const { x, y } = getDimensions(props.target!, el as HTMLElement)\n\n const animation = el.animate([\n { transform: '' },\n { transform: `translate(${x}px, ${y}px) scale(0.1)`, opacity: 0 },\n ], {\n duration: 125,\n easing: acceleratedEasing,\n })\n animation.finished.then(() => done())\n },\n onAfterLeave (el: Element) {\n (el as HTMLElement).style.removeProperty('pointer-events')\n },\n }\n\n return () => {\n return props.target\n ? (\n <Transition\n name=\"dialog-transition\"\n { ...functions }\n css={ false }\n v-slots={ slots }\n />\n )\n : <Transition name=\"dialog-transition\" v-slots={ slots } />\n }\n },\n})\n\nfunction getDimensions (target: HTMLElement, el: HTMLElement) {\n const targetBox = target.getBoundingClientRect()\n const elBox = nullifyTransforms(el)\n const [originX, originY] = getComputedStyle(el).transformOrigin.split(' ').map(v => parseFloat(v))\n\n const [anchorSide, anchorOffset] = getComputedStyle(el).getPropertyValue('--v-overlay-anchor-origin').split(' ')\n\n let offsetX = targetBox.left + targetBox.width / 2\n if (anchorSide === 'left' || anchorOffset === 'left') {\n offsetX -= targetBox.width / 2\n } else if (anchorSide === 'right' || anchorOffset === 'right') {\n offsetX += targetBox.width / 2\n }\n\n let offsetY = targetBox.top + targetBox.height / 2\n if (anchorSide === 'top' || anchorOffset === 'top') {\n offsetY -= targetBox.height / 2\n } else if (anchorSide === 'bottom' || anchorOffset === 'bottom') {\n offsetY += targetBox.height / 2\n }\n\n return {\n x: offsetX - (originX + elBox.left),\n y: offsetY - (originY + elBox.top),\n }\n}\n"],"file":"dialog-transition.mjs"}
@@ -1,8 +1,10 @@
1
1
  // Utilities
2
2
  import { camelize } from 'vue';
3
- export default function (expandedParentClass = '', x = false) {
3
+ export default function () {
4
+ let expandedParentClass = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
5
+ let x = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
4
6
  const sizeProperty = x ? 'width' : 'height';
5
- const offsetProperty = camelize("offset-".concat(sizeProperty));
7
+ const offsetProperty = camelize(`offset-${sizeProperty}`);
6
8
  return {
7
9
  onBeforeEnter(el) {
8
10
  el._parent = el.parentNode;
@@ -18,7 +20,7 @@ export default function (expandedParentClass = '', x = false) {
18
20
  el.style.setProperty('transition', 'none', 'important'); // Hide overflow to account for collapsed margins in the calculated height
19
21
 
20
22
  el.style.overflow = 'hidden';
21
- const offset = "".concat(el[offsetProperty], "px");
23
+ const offset = `${el[offsetProperty]}px`;
22
24
  el.style[sizeProperty] = '0';
23
25
  void el.offsetHeight; // force reflow
24
26
 
@@ -43,7 +45,7 @@ export default function (expandedParentClass = '', x = false) {
43
45
  [sizeProperty]: el.style[sizeProperty]
44
46
  };
45
47
  el.style.overflow = 'hidden';
46
- el.style[sizeProperty] = "".concat(el[offsetProperty], "px");
48
+ el.style[sizeProperty] = `${el[offsetProperty]}px`;
47
49
  void el.offsetHeight; // force reflow
48
50
 
49
51
  requestAnimationFrame(() => el.style[sizeProperty] = '0');
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/transitions/expand-transition.ts"],"names":["camelize","expandedParentClass","x","sizeProperty","offsetProperty","onBeforeEnter","el","_parent","parentNode","_initialStyle","transition","style","overflow","onEnter","initialStyle","setProperty","offset","offsetHeight","classList","add","requestAnimationFrame","onAfterEnter","resetStyles","onEnterCancelled","onLeave","onAfterLeave","onLeaveCancelled","remove","size"],"mappings":"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","sourcesContent":["// Utilities\nimport { camelize } from 'vue'\n\ninterface HTMLExpandElement extends HTMLElement {\n _parent?: (Node & ParentNode & HTMLElement) | null\n _initialStyle?: {\n transition: string\n overflow: string\n height?: string | null\n width?: string | null\n }\n}\n\nexport default function (expandedParentClass = '', x = false) {\n const sizeProperty = x ? 'width' : 'height' as 'width' | 'height'\n const offsetProperty = camelize(`offset-${sizeProperty}`) as 'offsetHeight' | 'offsetWidth'\n\n return {\n onBeforeEnter (el: HTMLExpandElement) {\n el._parent = el.parentNode as (Node & ParentNode & HTMLElement) | null\n el._initialStyle = {\n transition: el.style.transition,\n overflow: el.style.overflow,\n [sizeProperty]: el.style[sizeProperty],\n }\n },\n\n onEnter (el: HTMLExpandElement) {\n const initialStyle = el._initialStyle!\n\n el.style.setProperty('transition', 'none', 'important')\n // Hide overflow to account for collapsed margins in the calculated height\n el.style.overflow = 'hidden'\n const offset = `${el[offsetProperty]}px`\n\n el.style[sizeProperty] = '0'\n\n void el.offsetHeight // force reflow\n\n el.style.transition = initialStyle.transition\n\n if (expandedParentClass && el._parent) {\n el._parent.classList.add(expandedParentClass)\n }\n\n requestAnimationFrame(() => {\n el.style[sizeProperty] = offset\n })\n },\n\n onAfterEnter: resetStyles,\n onEnterCancelled: resetStyles,\n\n onLeave (el: HTMLExpandElement) {\n el._initialStyle = {\n transition: '',\n overflow: el.style.overflow,\n [sizeProperty]: el.style[sizeProperty],\n }\n\n el.style.overflow = 'hidden'\n el.style[sizeProperty] = `${el[offsetProperty]}px`\n void el.offsetHeight // force reflow\n\n requestAnimationFrame(() => (el.style[sizeProperty] = '0'))\n },\n\n onAfterLeave,\n onLeaveCancelled: onAfterLeave,\n }\n\n function onAfterLeave (el: HTMLExpandElement) {\n if (expandedParentClass && el._parent) {\n el._parent.classList.remove(expandedParentClass)\n }\n resetStyles(el)\n }\n\n function resetStyles (el: HTMLExpandElement) {\n const size = el._initialStyle![sizeProperty]\n el.style.overflow = el._initialStyle!.overflow\n if (size != null) el.style[sizeProperty] = size\n delete el._initialStyle\n }\n}\n"],"file":"expand-transition.mjs"}
1
+ {"version":3,"sources":["../../../src/components/transitions/expand-transition.ts"],"names":["camelize","expandedParentClass","x","sizeProperty","offsetProperty","onBeforeEnter","el","_parent","parentNode","_initialStyle","transition","style","overflow","onEnter","initialStyle","setProperty","offset","offsetHeight","classList","add","requestAnimationFrame","onAfterEnter","resetStyles","onEnterCancelled","onLeave","onAfterLeave","onLeaveCancelled","remove","size"],"mappings":"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","sourcesContent":["// Utilities\nimport { camelize } from 'vue'\n\ninterface HTMLExpandElement extends HTMLElement {\n _parent?: (Node & ParentNode & HTMLElement) | null\n _initialStyle?: {\n transition: string\n overflow: string\n height?: string | null\n width?: string | null\n }\n}\n\nexport default function (expandedParentClass = '', x = false) {\n const sizeProperty = x ? 'width' : 'height' as 'width' | 'height'\n const offsetProperty = camelize(`offset-${sizeProperty}`) as 'offsetHeight' | 'offsetWidth'\n\n return {\n onBeforeEnter (el: HTMLExpandElement) {\n el._parent = el.parentNode as (Node & ParentNode & HTMLElement) | null\n el._initialStyle = {\n transition: el.style.transition,\n overflow: el.style.overflow,\n [sizeProperty]: el.style[sizeProperty],\n }\n },\n\n onEnter (el: HTMLExpandElement) {\n const initialStyle = el._initialStyle!\n\n el.style.setProperty('transition', 'none', 'important')\n // Hide overflow to account for collapsed margins in the calculated height\n el.style.overflow = 'hidden'\n const offset = `${el[offsetProperty]}px`\n\n el.style[sizeProperty] = '0'\n\n void el.offsetHeight // force reflow\n\n el.style.transition = initialStyle.transition\n\n if (expandedParentClass && el._parent) {\n el._parent.classList.add(expandedParentClass)\n }\n\n requestAnimationFrame(() => {\n el.style[sizeProperty] = offset\n })\n },\n\n onAfterEnter: resetStyles,\n onEnterCancelled: resetStyles,\n\n onLeave (el: HTMLExpandElement) {\n el._initialStyle = {\n transition: '',\n overflow: el.style.overflow,\n [sizeProperty]: el.style[sizeProperty],\n }\n\n el.style.overflow = 'hidden'\n el.style[sizeProperty] = `${el[offsetProperty]}px`\n void el.offsetHeight // force reflow\n\n requestAnimationFrame(() => (el.style[sizeProperty] = '0'))\n },\n\n onAfterLeave,\n onLeaveCancelled: onAfterLeave,\n }\n\n function onAfterLeave (el: HTMLExpandElement) {\n if (expandedParentClass && el._parent) {\n el._parent.classList.remove(expandedParentClass)\n }\n resetStyles(el)\n }\n\n function resetStyles (el: HTMLExpandElement) {\n const size = el._initialStyle![sizeProperty]\n el.style.overflow = el._initialStyle!.overflow\n if (size != null) el.style[sizeProperty] = size\n delete el._initialStyle\n }\n}\n"],"file":"expand-transition.mjs"}
@@ -8,7 +8,6 @@ export const VTabReverseTransition = createCssTransition('tab-reverse-transition
8
8
  export const VMenuTransition = createCssTransition('menu-transition');
9
9
  export const VFabTransition = createCssTransition('fab-transition', 'center center', 'out-in'); // Generic transitions
10
10
 
11
- export const VDialogTransition = createCssTransition('dialog-transition');
12
11
  export const VDialogBottomTransition = createCssTransition('dialog-bottom-transition');
13
12
  export const VDialogTopTransition = createCssTransition('dialog-top-transition');
14
13
  export const VFadeTransition = createCssTransition('fade-transition');
@@ -24,4 +23,5 @@ export const VSlideYReverseTransition = createCssTransition('slide-y-reverse-tra
24
23
 
25
24
  export const VExpandTransition = createJavascriptTransition('expand-transition', ExpandTransitionGenerator());
26
25
  export const VExpandXTransition = createJavascriptTransition('expand-x-transition', ExpandTransitionGenerator('', true));
26
+ export { VDialogTransition } from "./dialog-transition.mjs";
27
27
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/transitions/index.ts"],"names":["createCssTransition","createJavascriptTransition","ExpandTransitionGenerator","VCarouselTransition","VCarouselReverseTransition","VTabTransition","VTabReverseTransition","VMenuTransition","VFabTransition","VDialogTransition","VDialogBottomTransition","VDialogTopTransition","VFadeTransition","VScaleTransition","VScrollXTransition","VScrollXReverseTransition","VScrollYTransition","VScrollYReverseTransition","VSlideXTransition","VSlideXReverseTransition","VSlideYTransition","VSlideYReverseTransition","VExpandTransition","VExpandXTransition"],"mappings":"SACEA,mB,EACAC,0B;OAGKC,yB,iCAEP;;AACA,OAAO,MAAMC,mBAAmB,GAAGH,mBAAmB,CAAC,qBAAD,CAA/C;AACP,OAAO,MAAMI,0BAA0B,GAAGJ,mBAAmB,CAAC,6BAAD,CAAtD;AACP,OAAO,MAAMK,cAAc,GAAGL,mBAAmB,CAAC,gBAAD,CAA1C;AACP,OAAO,MAAMM,qBAAqB,GAAGN,mBAAmB,CAAC,wBAAD,CAAjD;AACP,OAAO,MAAMO,eAAe,GAAGP,mBAAmB,CAAC,iBAAD,CAA3C;AACP,OAAO,MAAMQ,cAAc,GAAGR,mBAAmB,CAAC,gBAAD,EAAmB,eAAnB,EAAoC,QAApC,CAA1C,C,CAEP;;AACA,OAAO,MAAMS,iBAAiB,GAAGT,mBAAmB,CAAC,mBAAD,CAA7C;AACP,OAAO,MAAMU,uBAAuB,GAAGV,mBAAmB,CAAC,0BAAD,CAAnD;AACP,OAAO,MAAMW,oBAAoB,GAAGX,mBAAmB,CAAC,uBAAD,CAAhD;AACP,OAAO,MAAMY,eAAe,GAAGZ,mBAAmB,CAAC,iBAAD,CAA3C;AACP,OAAO,MAAMa,gBAAgB,GAAGb,mBAAmB,CAAC,kBAAD,CAA5C;AACP,OAAO,MAAMc,kBAAkB,GAAGd,mBAAmB,CAAC,qBAAD,CAA9C;AACP,OAAO,MAAMe,yBAAyB,GAAGf,mBAAmB,CAAC,6BAAD,CAArD;AACP,OAAO,MAAMgB,kBAAkB,GAAGhB,mBAAmB,CAAC,qBAAD,CAA9C;AACP,OAAO,MAAMiB,yBAAyB,GAAGjB,mBAAmB,CAAC,6BAAD,CAArD;AACP,OAAO,MAAMkB,iBAAiB,GAAGlB,mBAAmB,CAAC,oBAAD,CAA7C;AACP,OAAO,MAAMmB,wBAAwB,GAAGnB,mBAAmB,CAAC,4BAAD,CAApD;AACP,OAAO,MAAMoB,iBAAiB,GAAGpB,mBAAmB,CAAC,oBAAD,CAA7C;AACP,OAAO,MAAMqB,wBAAwB,GAAGrB,mBAAmB,CAAC,4BAAD,CAApD,C,CAEP;;AACA,OAAO,MAAMsB,iBAAiB,GAAGrB,0BAA0B,CAAC,mBAAD,EAAsBC,yBAAyB,EAA/C,CAApD;AACP,OAAO,MAAMqB,kBAAkB,GAAGtB,0BAA0B,CAAC,qBAAD,EAAwBC,yBAAyB,CAAC,EAAD,EAAK,IAAL,CAAjD,CAArD","sourcesContent":["import {\n createCssTransition,\n createJavascriptTransition,\n} from './createTransition'\n\nimport ExpandTransitionGenerator from './expand-transition'\n\n// Component specific transitions\nexport const VCarouselTransition = createCssTransition('carousel-transition')\nexport const VCarouselReverseTransition = createCssTransition('carousel-reverse-transition')\nexport const VTabTransition = createCssTransition('tab-transition')\nexport const VTabReverseTransition = createCssTransition('tab-reverse-transition')\nexport const VMenuTransition = createCssTransition('menu-transition')\nexport const VFabTransition = createCssTransition('fab-transition', 'center center', 'out-in')\n\n// Generic transitions\nexport const VDialogTransition = createCssTransition('dialog-transition')\nexport const VDialogBottomTransition = createCssTransition('dialog-bottom-transition')\nexport const VDialogTopTransition = createCssTransition('dialog-top-transition')\nexport const VFadeTransition = createCssTransition('fade-transition')\nexport const VScaleTransition = createCssTransition('scale-transition')\nexport const VScrollXTransition = createCssTransition('scroll-x-transition')\nexport const VScrollXReverseTransition = createCssTransition('scroll-x-reverse-transition')\nexport const VScrollYTransition = createCssTransition('scroll-y-transition')\nexport const VScrollYReverseTransition = createCssTransition('scroll-y-reverse-transition')\nexport const VSlideXTransition = createCssTransition('slide-x-transition')\nexport const VSlideXReverseTransition = createCssTransition('slide-x-reverse-transition')\nexport const VSlideYTransition = createCssTransition('slide-y-transition')\nexport const VSlideYReverseTransition = createCssTransition('slide-y-reverse-transition')\n\n// Javascript transitions\nexport const VExpandTransition = createJavascriptTransition('expand-transition', ExpandTransitionGenerator())\nexport const VExpandXTransition = createJavascriptTransition('expand-x-transition', ExpandTransitionGenerator('', true))\n"],"file":"index.mjs"}
1
+ {"version":3,"sources":["../../../src/components/transitions/index.ts"],"names":["createCssTransition","createJavascriptTransition","ExpandTransitionGenerator","VCarouselTransition","VCarouselReverseTransition","VTabTransition","VTabReverseTransition","VMenuTransition","VFabTransition","VDialogBottomTransition","VDialogTopTransition","VFadeTransition","VScaleTransition","VScrollXTransition","VScrollXReverseTransition","VScrollYTransition","VScrollYReverseTransition","VSlideXTransition","VSlideXReverseTransition","VSlideYTransition","VSlideYReverseTransition","VExpandTransition","VExpandXTransition","VDialogTransition"],"mappings":"SACEA,mB,EACAC,0B;OAGKC,yB,iCAEP;;AACA,OAAO,MAAMC,mBAAmB,GAAGH,mBAAmB,CAAC,qBAAD,CAA/C;AACP,OAAO,MAAMI,0BAA0B,GAAGJ,mBAAmB,CAAC,6BAAD,CAAtD;AACP,OAAO,MAAMK,cAAc,GAAGL,mBAAmB,CAAC,gBAAD,CAA1C;AACP,OAAO,MAAMM,qBAAqB,GAAGN,mBAAmB,CAAC,wBAAD,CAAjD;AACP,OAAO,MAAMO,eAAe,GAAGP,mBAAmB,CAAC,iBAAD,CAA3C;AACP,OAAO,MAAMQ,cAAc,GAAGR,mBAAmB,CAAC,gBAAD,EAAmB,eAAnB,EAAoC,QAApC,CAA1C,C,CAEP;;AACA,OAAO,MAAMS,uBAAuB,GAAGT,mBAAmB,CAAC,0BAAD,CAAnD;AACP,OAAO,MAAMU,oBAAoB,GAAGV,mBAAmB,CAAC,uBAAD,CAAhD;AACP,OAAO,MAAMW,eAAe,GAAGX,mBAAmB,CAAC,iBAAD,CAA3C;AACP,OAAO,MAAMY,gBAAgB,GAAGZ,mBAAmB,CAAC,kBAAD,CAA5C;AACP,OAAO,MAAMa,kBAAkB,GAAGb,mBAAmB,CAAC,qBAAD,CAA9C;AACP,OAAO,MAAMc,yBAAyB,GAAGd,mBAAmB,CAAC,6BAAD,CAArD;AACP,OAAO,MAAMe,kBAAkB,GAAGf,mBAAmB,CAAC,qBAAD,CAA9C;AACP,OAAO,MAAMgB,yBAAyB,GAAGhB,mBAAmB,CAAC,6BAAD,CAArD;AACP,OAAO,MAAMiB,iBAAiB,GAAGjB,mBAAmB,CAAC,oBAAD,CAA7C;AACP,OAAO,MAAMkB,wBAAwB,GAAGlB,mBAAmB,CAAC,4BAAD,CAApD;AACP,OAAO,MAAMmB,iBAAiB,GAAGnB,mBAAmB,CAAC,oBAAD,CAA7C;AACP,OAAO,MAAMoB,wBAAwB,GAAGpB,mBAAmB,CAAC,4BAAD,CAApD,C,CAEP;;AACA,OAAO,MAAMqB,iBAAiB,GAAGpB,0BAA0B,CAAC,mBAAD,EAAsBC,yBAAyB,EAA/C,CAApD;AACP,OAAO,MAAMoB,kBAAkB,GAAGrB,0BAA0B,CAAC,qBAAD,EAAwBC,yBAAyB,CAAC,EAAD,EAAK,IAAL,CAAjD,CAArD;SAEEqB,iB","sourcesContent":["import {\n createCssTransition,\n createJavascriptTransition,\n} from './createTransition'\n\nimport ExpandTransitionGenerator from './expand-transition'\n\n// Component specific transitions\nexport const VCarouselTransition = createCssTransition('carousel-transition')\nexport const VCarouselReverseTransition = createCssTransition('carousel-reverse-transition')\nexport const VTabTransition = createCssTransition('tab-transition')\nexport const VTabReverseTransition = createCssTransition('tab-reverse-transition')\nexport const VMenuTransition = createCssTransition('menu-transition')\nexport const VFabTransition = createCssTransition('fab-transition', 'center center', 'out-in')\n\n// Generic transitions\nexport const VDialogBottomTransition = createCssTransition('dialog-bottom-transition')\nexport const VDialogTopTransition = createCssTransition('dialog-top-transition')\nexport const VFadeTransition = createCssTransition('fade-transition')\nexport const VScaleTransition = createCssTransition('scale-transition')\nexport const VScrollXTransition = createCssTransition('scroll-x-transition')\nexport const VScrollXReverseTransition = createCssTransition('scroll-x-reverse-transition')\nexport const VScrollYTransition = createCssTransition('scroll-y-transition')\nexport const VScrollYReverseTransition = createCssTransition('scroll-y-reverse-transition')\nexport const VSlideXTransition = createCssTransition('slide-x-transition')\nexport const VSlideXReverseTransition = createCssTransition('slide-x-reverse-transition')\nexport const VSlideYTransition = createCssTransition('slide-y-transition')\nexport const VSlideYReverseTransition = createCssTransition('slide-y-reverse-transition')\n\n// Javascript transitions\nexport const VExpandTransition = createJavascriptTransition('expand-transition', ExpandTransitionGenerator())\nexport const VExpandXTransition = createJavascriptTransition('expand-x-transition', ExpandTransitionGenerator('', true))\n\nexport { VDialogTransition } from './dialog-transition'\n"],"file":"index.mjs"}
@@ -1,21 +1,23 @@
1
1
  // Utilities
2
2
  import { computed } from 'vue';
3
- import { propsFactory } from "../util/index.mjs"; // Types
3
+ import { getCurrentInstanceName, propsFactory } from "../util/index.mjs"; // Types
4
4
 
5
5
  // Composables
6
6
  export const makeBorderProps = propsFactory({
7
- outlined: Boolean,
8
7
  border: [Boolean, Number, String]
9
8
  }, 'border');
10
- export function useBorder(props, name) {
9
+ export function useBorder(props) {
10
+ let name = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : getCurrentInstanceName();
11
11
  const borderClasses = computed(() => {
12
12
  const classes = [];
13
13
 
14
- if (props.outlined || props.border === true || props.border === '') {
15
- classes.push("".concat(name, "--border"));
16
- } else if (typeof props.border === 'string' || props.border === 0) {
14
+ if (props.border != null && props.border !== false) {
15
+ classes.push(`${name}--border`);
16
+ }
17
+
18
+ if (typeof props.border === 'string' && props.border !== '' || props.border === 0) {
17
19
  for (const value of String(props.border).split(' ')) {
18
- classes.push("border-".concat(value));
20
+ classes.push(`border-${value}`);
19
21
  }
20
22
  }
21
23
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/composables/border.ts"],"names":["computed","propsFactory","makeBorderProps","outlined","Boolean","border","Number","String","useBorder","props","name","borderClasses","classes","push","value","split"],"mappings":"AAAA;AACA,SAASA,QAAT,QAAyB,KAAzB;SACSC,Y,6BAET;;AAMA;AACA,OAAO,MAAMC,eAAe,GAAGD,YAAY,CAAC;AAC1CE,EAAAA,QAAQ,EAAEC,OADgC;AAE1CC,EAAAA,MAAM,EAAE,CAACD,OAAD,EAAUE,MAAV,EAAkBC,MAAlB;AAFkC,CAAD,EAGxC,QAHwC,CAApC;AAKP,OAAO,SAASC,SAAT,CAAoBC,KAApB,EAAwCC,IAAxC,EAAsD;AAC3D,QAAMC,aAAa,GAAGX,QAAQ,CAAC,MAAM;AACnC,UAAMY,OAAiB,GAAG,EAA1B;;AAEA,QAAIH,KAAK,CAACN,QAAN,IAAkBM,KAAK,CAACJ,MAAN,KAAiB,IAAnC,IAA2CI,KAAK,CAACJ,MAAN,KAAiB,EAAhE,EAAoE;AAClEO,MAAAA,OAAO,CAACC,IAAR,WAAgBH,IAAhB;AACD,KAFD,MAEO,IACL,OAAOD,KAAK,CAACJ,MAAb,KAAwB,QAAxB,IACAI,KAAK,CAACJ,MAAN,KAAiB,CAFZ,EAGL;AACA,WAAK,MAAMS,KAAX,IAAoBP,MAAM,CAACE,KAAK,CAACJ,MAAP,CAAN,CAAqBU,KAArB,CAA2B,GAA3B,CAApB,EAAqD;AACnDH,QAAAA,OAAO,CAACC,IAAR,kBAAuBC,KAAvB;AACD;AACF;;AAED,WAAOF,OAAP;AACD,GAf6B,CAA9B;AAiBA,SAAO;AAAED,IAAAA;AAAF,GAAP;AACD","sourcesContent":["// Utilities\nimport { computed } from 'vue'\nimport { propsFactory } from '@/util'\n\n// Types\nexport interface BorderProps {\n outlined?: boolean\n border?: boolean | number | string\n}\n\n// Composables\nexport const makeBorderProps = propsFactory({\n outlined: Boolean,\n border: [Boolean, Number, String],\n}, 'border')\n\nexport function useBorder (props: BorderProps, name: string) {\n const borderClasses = computed(() => {\n const classes: string[] = []\n\n if (props.outlined || props.border === true || props.border === '') {\n classes.push(`${name}--border`)\n } else if (\n typeof props.border === 'string' ||\n props.border === 0\n ) {\n for (const value of String(props.border).split(' ')) {\n classes.push(`border-${value}`)\n }\n }\n\n return classes\n })\n\n return { borderClasses }\n}\n"],"file":"border.mjs"}
1
+ {"version":3,"sources":["../../src/composables/border.ts"],"names":["computed","getCurrentInstanceName","propsFactory","makeBorderProps","border","Boolean","Number","String","useBorder","props","name","borderClasses","classes","push","value","split"],"mappings":"AAAA;AACA,SAASA,QAAT,QAAyB,KAAzB;SACSC,sB,EAAwBC,Y,6BAEjC;;AAKA;AACA,OAAO,MAAMC,eAAe,GAAGD,YAAY,CAAC;AAC1CE,EAAAA,MAAM,EAAE,CAACC,OAAD,EAAUC,MAAV,EAAkBC,MAAlB;AADkC,CAAD,EAExC,QAFwC,CAApC;AAIP,OAAO,SAASC,SAAT,CACLC,KADK,EAGL;AAAA,MADAC,IACA,uEADOT,sBAAsB,EAC7B;AACA,QAAMU,aAAa,GAAGX,QAAQ,CAAC,MAAM;AACnC,UAAMY,OAAiB,GAAG,EAA1B;;AAEA,QAAIH,KAAK,CAACL,MAAN,IAAgB,IAAhB,IAAwBK,KAAK,CAACL,MAAN,KAAiB,KAA7C,EAAoD;AAClDQ,MAAAA,OAAO,CAACC,IAAR,CAAc,GAAEH,IAAK,UAArB;AACD;;AAED,QACG,OAAOD,KAAK,CAACL,MAAb,KAAwB,QAAxB,IAAoCK,KAAK,CAACL,MAAN,KAAiB,EAAtD,IACAK,KAAK,CAACL,MAAN,KAAiB,CAFnB,EAGE;AACA,WAAK,MAAMU,KAAX,IAAoBP,MAAM,CAACE,KAAK,CAACL,MAAP,CAAN,CAAqBW,KAArB,CAA2B,GAA3B,CAApB,EAAqD;AACnDH,QAAAA,OAAO,CAACC,IAAR,CAAc,UAASC,KAAM,EAA7B;AACD;AACF;;AAED,WAAOF,OAAP;AACD,GAjB6B,CAA9B;AAmBA,SAAO;AAAED,IAAAA;AAAF,GAAP;AACD","sourcesContent":["// Utilities\nimport { computed } from 'vue'\nimport { getCurrentInstanceName, propsFactory } from '@/util'\n\n// Types\nexport interface BorderProps {\n border?: boolean | number | string\n}\n\n// Composables\nexport const makeBorderProps = propsFactory({\n border: [Boolean, Number, String],\n}, 'border')\n\nexport function useBorder (\n props: BorderProps,\n name = getCurrentInstanceName(),\n) {\n const borderClasses = computed(() => {\n const classes: string[] = []\n\n if (props.border != null && props.border !== false) {\n classes.push(`${name}--border`)\n }\n\n if (\n (typeof props.border === 'string' && props.border !== '') ||\n props.border === 0\n ) {\n for (const value of String(props.border).split(' ')) {\n classes.push(`border-${value}`)\n }\n }\n\n return classes\n })\n\n return { borderClasses }\n}\n"],"file":"border.mjs"}
@@ -10,11 +10,11 @@ export function useColor(colors) {
10
10
  const classes = [];
11
11
 
12
12
  if (colors.value.background && !backgroundIsCssColor.value) {
13
- classes.push("bg-".concat(colors.value.background));
13
+ classes.push(`bg-${colors.value.background}`);
14
14
  }
15
15
 
16
16
  if (colors.value.text && !textIsCssColor.value) {
17
- classes.push("text-".concat(colors.value.text));
17
+ classes.push(`text-${colors.value.text}`);
18
18
  }
19
19
 
20
20
  return classes;