@vuetify/nightly 3.7.4-next.2024-11-06 → 3.7.5-dev.2024-12-16

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 (262) hide show
  1. package/dist/json/attributes.json +2853 -2845
  2. package/dist/json/importMap-labs.json +20 -20
  3. package/dist/json/importMap.json +150 -150
  4. package/dist/json/tags.json +2 -0
  5. package/dist/json/web-types.json +5324 -5306
  6. package/dist/vuetify-labs.css +25135 -23418
  7. package/dist/vuetify-labs.d.ts +202 -196
  8. package/dist/vuetify-labs.esm.js +107 -106
  9. package/dist/vuetify-labs.esm.js.map +1 -1
  10. package/dist/vuetify-labs.js +106 -105
  11. package/dist/vuetify-labs.min.css +4 -3
  12. package/dist/vuetify.css +23838 -22118
  13. package/dist/vuetify.d.ts +191 -185
  14. package/dist/vuetify.esm.js +96 -96
  15. package/dist/vuetify.esm.js.map +1 -1
  16. package/dist/vuetify.js +95 -95
  17. package/dist/vuetify.js.map +1 -1
  18. package/dist/vuetify.min.css +4 -3
  19. package/dist/vuetify.min.js +884 -889
  20. package/dist/vuetify.min.js.map +1 -1
  21. package/lib/components/VAlert/VAlert.css +215 -207
  22. package/lib/components/VApp/VApp.css +15 -16
  23. package/lib/components/VAppBar/VAppBar.css +12 -14
  24. package/lib/components/VAppBar/index.d.mts +6 -6
  25. package/lib/components/VAutocomplete/VAutocomplete.css +85 -86
  26. package/lib/components/VAutocomplete/VAutocomplete.mjs +4 -4
  27. package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
  28. package/lib/components/VAutocomplete/index.d.mts +22 -22
  29. package/lib/components/VAvatar/VAvatar.css +106 -108
  30. package/lib/components/VBadge/VBadge.css +77 -73
  31. package/lib/components/VBadge/VBadge.sass +4 -0
  32. package/lib/components/VBanner/VBanner.css +166 -161
  33. package/lib/components/VBottomNavigation/VBottomNavigation.css +63 -64
  34. package/lib/components/VBottomSheet/VBottomSheet.css +31 -34
  35. package/lib/components/VBreadcrumbs/VBreadcrumbs.css +57 -54
  36. package/lib/components/VBtn/VBtn.css +408 -385
  37. package/lib/components/VBtn/VBtn.sass +4 -4
  38. package/lib/components/VBtn/index.d.mts +7 -7
  39. package/lib/components/VBtnGroup/VBtnGroup.css +64 -63
  40. package/lib/components/VBtnToggle/VBtnToggle.css +14 -16
  41. package/lib/components/VBtnToggle/index.d.mts +9 -9
  42. package/lib/components/VCard/VCard.css +302 -294
  43. package/lib/components/VCarousel/VCarousel.css +65 -63
  44. package/lib/components/VCarousel/VCarousel.mjs.map +1 -1
  45. package/lib/components/VCarousel/VCarousel.sass +1 -1
  46. package/lib/components/VCarousel/index.d.mts +9 -9
  47. package/lib/components/VCheckbox/VCheckbox.css +5 -7
  48. package/lib/components/VCheckbox/VCheckbox.mjs +3 -3
  49. package/lib/components/VCheckbox/VCheckbox.mjs.map +1 -1
  50. package/lib/components/VChip/VChip.css +411 -378
  51. package/lib/components/VChip/VChip.mjs +18 -10
  52. package/lib/components/VChip/VChip.mjs.map +1 -1
  53. package/lib/components/VChip/index.d.mts +13 -8
  54. package/lib/components/VChipGroup/VChipGroup.css +18 -19
  55. package/lib/components/VChipGroup/VChipGroup.mjs +2 -0
  56. package/lib/components/VChipGroup/VChipGroup.mjs.map +1 -1
  57. package/lib/components/VChipGroup/index.d.mts +20 -15
  58. package/lib/components/VCode/VCode.css +8 -10
  59. package/lib/components/VColorPicker/VColorPicker.css +22 -22
  60. package/lib/components/VColorPicker/VColorPickerCanvas.css +22 -24
  61. package/lib/components/VColorPicker/VColorPickerEdit.css +28 -29
  62. package/lib/components/VColorPicker/VColorPickerPreview.css +67 -69
  63. package/lib/components/VColorPicker/VColorPickerPreview.sass +2 -4
  64. package/lib/components/VColorPicker/VColorPickerSwatches.css +34 -34
  65. package/lib/components/VCombobox/VCombobox.css +85 -86
  66. package/lib/components/VCombobox/VCombobox.mjs +4 -4
  67. package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
  68. package/lib/components/VCombobox/index.d.mts +22 -22
  69. package/lib/components/VConfirmEdit/VConfirmEdit.mjs +9 -7
  70. package/lib/components/VConfirmEdit/VConfirmEdit.mjs.map +1 -1
  71. package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.browser.mjs +1 -1
  72. package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.browser.mjs.map +1 -1
  73. package/lib/components/VConfirmEdit/index.d.mts +3 -7
  74. package/lib/components/VCounter/VCounter.css +5 -7
  75. package/lib/components/VDataTable/VDataTable.css +186 -189
  76. package/lib/components/VDataTable/VDataTable.sass +10 -20
  77. package/lib/components/VDataTable/VDataTableFooter.css +31 -33
  78. package/lib/components/VDatePicker/VDatePicker.css +6 -8
  79. package/lib/components/VDatePicker/VDatePickerControls.css +56 -54
  80. package/lib/components/VDatePicker/VDatePickerHeader.css +60 -56
  81. package/lib/components/VDatePicker/VDatePickerHeader.mjs +2 -1
  82. package/lib/components/VDatePicker/VDatePickerHeader.mjs.map +1 -1
  83. package/lib/components/VDatePicker/VDatePickerMonth.css +55 -51
  84. package/lib/components/VDatePicker/VDatePickerMonths.css +19 -20
  85. package/lib/components/VDatePicker/VDatePickerYears.css +15 -16
  86. package/lib/components/VDatePicker/index.d.mts +5 -5
  87. package/lib/components/VDialog/VDialog.css +95 -95
  88. package/lib/components/VDivider/VDivider.css +52 -52
  89. package/lib/components/VEmptyState/VEmptyState.css +67 -62
  90. package/lib/components/VExpansionPanel/VExpansionPanel.css +209 -203
  91. package/lib/components/VExpansionPanel/VExpansionPanel.sass +25 -27
  92. package/lib/components/VExpansionPanel/index.d.mts +7 -7
  93. package/lib/components/VFab/VFab.css +69 -74
  94. package/lib/components/VFab/VFab.sass +4 -5
  95. package/lib/components/VFab/index.d.mts +6 -6
  96. package/lib/components/VField/VField.css +579 -539
  97. package/lib/components/VField/VField.mjs +5 -4
  98. package/lib/components/VField/VField.mjs.map +1 -1
  99. package/lib/components/VFileInput/VFileInput.css +29 -31
  100. package/lib/components/VFooter/VFooter.css +36 -38
  101. package/lib/components/VGrid/VGrid.css +592 -565
  102. package/lib/components/VIcon/VIcon.css +52 -51
  103. package/lib/components/VImg/VImg.css +51 -50
  104. package/lib/components/VInfiniteScroll/VInfiniteScroll.css +37 -36
  105. package/lib/components/VInput/VInput.css +142 -131
  106. package/lib/components/VInput/VInput.mjs +3 -3
  107. package/lib/components/VInput/VInput.mjs.map +1 -1
  108. package/lib/components/VItemGroup/VItemGroup.css +5 -7
  109. package/lib/components/VItemGroup/VItemGroup.mjs.map +1 -1
  110. package/lib/components/VItemGroup/index.d.mts +9 -9
  111. package/lib/components/VKbd/VKbd.css +11 -13
  112. package/lib/components/VLabel/VLabel.css +15 -16
  113. package/lib/components/VLayout/VLayout.css +8 -10
  114. package/lib/components/VLayout/VLayoutItem.css +7 -8
  115. package/lib/components/VList/VList.css +108 -104
  116. package/lib/components/VList/VList.mjs +3 -2
  117. package/lib/components/VList/VList.mjs.map +1 -1
  118. package/lib/components/VList/VList.sass +1 -1
  119. package/lib/components/VList/VListItem.css +452 -440
  120. package/lib/components/VList/VListItem.mjs +3 -2
  121. package/lib/components/VList/VListItem.mjs.map +1 -1
  122. package/lib/components/VList/VListItem.sass +1 -2
  123. package/lib/components/VList/index.d.mts +10 -10
  124. package/lib/components/VLocaleProvider/VLocaleProvider.css +2 -4
  125. package/lib/components/VMain/VMain.css +30 -32
  126. package/lib/components/VMenu/VMenu.css +19 -21
  127. package/lib/components/VMenu/VMenu.mjs +3 -3
  128. package/lib/components/VMenu/VMenu.mjs.map +1 -1
  129. package/lib/components/VMenu/index.d.mts +6 -6
  130. package/lib/components/VMessages/VMessages.css +15 -17
  131. package/lib/components/VNavigationDrawer/VNavigationDrawer.css +108 -106
  132. package/lib/components/VOtpInput/VOtpInput.css +58 -56
  133. package/lib/components/VOverlay/VOverlay.css +63 -60
  134. package/lib/components/VOverlay/VOverlay.sass +13 -14
  135. package/lib/components/VPagination/VPagination.css +8 -10
  136. package/lib/components/VParallax/VParallax.css +6 -8
  137. package/lib/components/VProgressCircular/VProgressCircular.css +101 -95
  138. package/lib/components/VProgressLinear/VProgressLinear.css +222 -209
  139. package/lib/components/VRadioGroup/VRadioGroup.css +12 -14
  140. package/lib/components/VRadioGroup/VRadioGroup.mjs +3 -3
  141. package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
  142. package/lib/components/VRating/VRating.css +53 -52
  143. package/lib/components/VRating/VRating.mjs +4 -3
  144. package/lib/components/VRating/VRating.mjs.map +1 -1
  145. package/lib/components/VResponsive/VResponsive.css +26 -25
  146. package/lib/components/VSelect/VSelect.css +52 -54
  147. package/lib/components/VSelect/VSelect.mjs +3 -3
  148. package/lib/components/VSelect/VSelect.mjs.map +1 -1
  149. package/lib/components/VSelect/index.d.mts +22 -22
  150. package/lib/components/VSelectionControl/VSelectionControl.css +102 -100
  151. package/lib/components/VSelectionControl/VSelectionControl.mjs +3 -3
  152. package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -1
  153. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.css +8 -10
  154. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +3 -3
  155. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs.map +1 -1
  156. package/lib/components/VSheet/VSheet.css +36 -38
  157. package/lib/components/VSkeletonLoader/VSkeletonLoader.css +224 -225
  158. package/lib/components/VSlideGroup/VSlideGroup.css +55 -53
  159. package/lib/components/VSlideGroup/index.d.mts +10 -10
  160. package/lib/components/VSlider/VSlider.css +57 -53
  161. package/lib/components/VSlider/VSliderThumb.css +153 -142
  162. package/lib/components/VSlider/VSliderTrack.css +174 -155
  163. package/lib/components/VSnackbar/VSnackbar.css +140 -140
  164. package/lib/components/VSparkline/VBarline.mjs +3 -3
  165. package/lib/components/VSparkline/VBarline.mjs.map +1 -1
  166. package/lib/components/VSparkline/VTrendline.mjs +3 -3
  167. package/lib/components/VSparkline/VTrendline.mjs.map +1 -1
  168. package/lib/components/VSpeedDial/VSpeedDial.css +41 -43
  169. package/lib/components/VStepper/VStepper.css +56 -55
  170. package/lib/components/VStepper/VStepper.mjs +5 -4
  171. package/lib/components/VStepper/VStepper.mjs.map +1 -1
  172. package/lib/components/VStepper/VStepperItem.css +115 -112
  173. package/lib/components/VStepper/VStepperItem.mjs +5 -4
  174. package/lib/components/VStepper/VStepperItem.mjs.map +1 -1
  175. package/lib/components/VStepper/index.d.mts +51 -45
  176. package/lib/components/VSwitch/VSwitch.css +139 -129
  177. package/lib/components/VSwitch/VSwitch.mjs +3 -3
  178. package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
  179. package/lib/components/VSystemBar/VSystemBar.css +43 -45
  180. package/lib/components/VTable/VTable.css +141 -140
  181. package/lib/components/VTable/VTable.sass +2 -4
  182. package/lib/components/VTabs/VTab.css +29 -30
  183. package/lib/components/VTabs/VTabs.css +65 -59
  184. package/lib/components/VTabs/index.d.mts +7 -7
  185. package/lib/components/VTextField/VTextField.css +68 -65
  186. package/lib/components/VTextarea/VTextarea.css +39 -47
  187. package/lib/components/VTextarea/VTextarea.sass +2 -4
  188. package/lib/components/VThemeProvider/VThemeProvider.css +3 -5
  189. package/lib/components/VTimeline/VTimeline.css +418 -379
  190. package/lib/components/VToolbar/VToolbar.css +143 -136
  191. package/lib/components/VTooltip/VTooltip.css +21 -25
  192. package/lib/components/VTooltip/VTooltip.mjs +3 -3
  193. package/lib/components/VTooltip/VTooltip.mjs.map +1 -1
  194. package/lib/components/VTooltip/VTooltip.sass +6 -8
  195. package/lib/components/VVirtualScroll/VVirtualScroll.css +9 -11
  196. package/lib/components/VWindow/VWindow.css +70 -73
  197. package/lib/components/VWindow/index.d.mts +7 -7
  198. package/lib/components/index.d.mts +138 -132
  199. package/lib/composables/form.mjs +7 -2
  200. package/lib/composables/form.mjs.map +1 -1
  201. package/lib/composables/group.mjs +3 -3
  202. package/lib/composables/group.mjs.map +1 -1
  203. package/lib/composables/layout.mjs +3 -3
  204. package/lib/composables/layout.mjs.map +1 -1
  205. package/lib/composables/nested/nested.mjs +2 -2
  206. package/lib/composables/nested/nested.mjs.map +1 -1
  207. package/lib/composables/theme.mjs +4 -4
  208. package/lib/composables/theme.mjs.map +1 -1
  209. package/lib/composables/validation.mjs +13 -15
  210. package/lib/composables/validation.mjs.map +1 -1
  211. package/lib/directives/ripple/VRipple.css +36 -38
  212. package/lib/entry-bundler.mjs +1 -1
  213. package/lib/entry-bundler.mjs.map +1 -1
  214. package/lib/framework.mjs +2 -3
  215. package/lib/framework.mjs.map +1 -1
  216. package/lib/index.d.mts +53 -53
  217. package/lib/labs/VCalendar/VCalendar.css +225 -219
  218. package/lib/labs/VCalendar/VCalendarDay.css +32 -33
  219. package/lib/labs/VCalendar/VCalendarHeader.css +13 -13
  220. package/lib/labs/VCalendar/VCalendarInterval.css +42 -43
  221. package/lib/labs/VCalendar/VCalendarIntervalEvent.css +5 -7
  222. package/lib/labs/VCalendar/VCalendarMonthDay.css +58 -61
  223. package/lib/labs/VCalendar/VCalendarMonthDay.sass +2 -3
  224. package/lib/labs/VDateInput/VDateInput.mjs +1 -1
  225. package/lib/labs/VDateInput/VDateInput.mjs.map +1 -1
  226. package/lib/labs/VNumberInput/VNumberInput.css +38 -40
  227. package/lib/labs/VNumberInput/VNumberInput.mjs +7 -5
  228. package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
  229. package/lib/labs/VPicker/VPicker.css +57 -53
  230. package/lib/labs/VStepperVertical/index.d.mts +44 -44
  231. package/lib/labs/VTimePicker/VTimePicker.css +7 -9
  232. package/lib/labs/VTimePicker/VTimePickerClock.css +129 -126
  233. package/lib/labs/VTimePicker/VTimePickerControls.css +103 -102
  234. package/lib/labs/VTreeview/VTreeviewItem.css +15 -17
  235. package/lib/labs/VTreeview/VTreeviewItem.mjs +3 -4
  236. package/lib/labs/VTreeview/VTreeviewItem.mjs.map +1 -1
  237. package/lib/labs/VTreeview/VTreeviewItem.sass +1 -2
  238. package/lib/labs/VTreeview/index.d.mts +20 -20
  239. package/lib/labs/components.d.mts +64 -64
  240. package/lib/locale/fr.mjs +1 -1
  241. package/lib/locale/fr.mjs.map +1 -1
  242. package/lib/styles/elements/_global.sass +1 -1
  243. package/lib/styles/generic/_colors.scss +3 -3
  244. package/lib/styles/generic/_layers.scss +1 -13
  245. package/lib/styles/generic/_transitions.scss +32 -32
  246. package/lib/styles/main.css +16139 -14666
  247. package/lib/styles/settings/_utilities.scss +5 -0
  248. package/lib/styles/settings/_variables.scss +2 -1
  249. package/lib/styles/tools/_bootable.sass +3 -0
  250. package/lib/styles/tools/_border.sass +4 -4
  251. package/lib/styles/tools/_display.sass +10 -0
  252. package/lib/styles/tools/_elevation.sass +2 -2
  253. package/lib/styles/tools/_index.sass +2 -0
  254. package/lib/styles/tools/_layer.scss +2 -4
  255. package/lib/styles/tools/_position.sass +2 -2
  256. package/lib/styles/tools/_radius.sass +10 -0
  257. package/lib/styles/tools/_rounded.sass +2 -2
  258. package/lib/styles/tools/_utilities.sass +5 -1
  259. package/lib/styles/utilities/_elevation.scss +1 -1
  260. package/lib/util/getCurrentInstance.mjs +1 -15
  261. package/lib/util/getCurrentInstance.mjs.map +1 -1
  262. package/package.json +1 -1
@@ -88,8 +88,9 @@
88
88
  opacity: $button-disabled-opacity
89
89
  @else
90
90
  opacity: 1
91
- @include tools.layer('trumps')
92
- color: rgba(var(--v-theme-on-surface), $button-disabled-opacity)
91
+ &.v-btn
92
+ // specificity has to be higher to override theme !important
93
+ color: rgba(var(--v-theme-on-surface), $button-disabled-opacity) !important
93
94
 
94
95
  &.v-btn--variant-elevated,
95
96
  &.v-btn--variant-flat
@@ -100,8 +101,7 @@
100
101
  color: rgba(var(--v-theme-on-surface), $button-disabled-opacity)
101
102
  background: rgb(var(--v-theme-surface))
102
103
  @else
103
- @include tools.layer('trumps')
104
- background: rgb(var(--v-theme-surface))
104
+ background: rgb(var(--v-theme-surface)) !important
105
105
 
106
106
  .v-btn__overlay
107
107
  // __overlay uses currentColor, so we need to divide
@@ -16,22 +16,22 @@ interface FilterPropsOptions<PropsOptions extends Readonly<ComponentPropsOptions
16
16
  }
17
17
 
18
18
  interface GroupItem {
19
- id: number;
19
+ id: string;
20
20
  value: Ref<unknown>;
21
21
  disabled: Ref<boolean | undefined>;
22
22
  useIndexAsValue?: boolean;
23
23
  }
24
24
  interface GroupProvide {
25
25
  register: (item: GroupItem, cmp: ComponentInternalInstance) => void;
26
- unregister: (id: number) => void;
27
- select: (id: number, value: boolean) => void;
28
- selected: Ref<Readonly<number[]>>;
29
- isSelected: (id: number) => boolean;
26
+ unregister: (id: string) => void;
27
+ select: (id: string, value: boolean) => void;
28
+ selected: Ref<Readonly<string[]>>;
29
+ isSelected: (id: string) => boolean;
30
30
  prev: () => void;
31
31
  next: () => void;
32
32
  selectedClass: Ref<string | undefined>;
33
33
  items: ComputedRef<{
34
- id: number;
34
+ id: string;
35
35
  value: unknown;
36
36
  disabled: boolean | undefined;
37
37
  }[]>;
@@ -39,7 +39,7 @@ interface GroupProvide {
39
39
  getItemIndex: (value: unknown) => number;
40
40
  }
41
41
  interface GroupItemProvide {
42
- id: number;
42
+ id: string;
43
43
  isSelected: Ref<boolean>;
44
44
  isFirst: Ref<boolean>;
45
45
  isLast: Ref<boolean>;
@@ -1,64 +1,65 @@
1
- @layer vuetify.components {
2
- .v-btn-group {
3
- display: inline-flex;
4
- flex-wrap: nowrap;
5
- max-width: 100%;
6
- min-width: 0;
7
- overflow: hidden;
8
- vertical-align: middle;
9
- }
10
- .v-btn-group {
11
- border-color: rgba(var(--v-border-color), var(--v-border-opacity));
12
- border-style: solid;
13
- border-width: 0;
14
- }
15
- .v-btn-group--border {
16
- border-width: thin;
17
- box-shadow: none;
18
- }
19
- .v-btn-group {
20
- box-shadow: 0px 0px 0px 0px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)), 0px 0px 0px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0px 0px 0px 0px var(--v-shadow-key-ambient-opacity, rgba(0, 0, 0, 0.12));
21
- }
22
- .v-btn-group {
23
- border-radius: 4px;
24
- }
25
- .v-btn-group {
26
- background: transparent;
27
- color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
28
- }
29
- .v-btn-group--density-default.v-btn-group {
30
- height: 48px;
31
- }
32
- .v-btn-group--density-comfortable.v-btn-group {
33
- height: 40px;
34
- }
35
- .v-btn-group--density-compact.v-btn-group {
36
- height: 36px;
37
- }
38
- .v-btn-group .v-btn {
39
- border-radius: 0;
40
- border-color: inherit;
41
- }
42
- .v-btn-group .v-btn:not(:last-child) {
43
- border-inline-end: none;
44
- }
45
- .v-btn-group .v-btn:not(:first-child) {
46
- border-inline-start: none;
47
- }
48
- .v-btn-group .v-btn:first-child {
49
- border-start-start-radius: inherit;
50
- border-end-start-radius: inherit;
51
- }
52
- .v-btn-group .v-btn:last-child {
53
- border-start-end-radius: inherit;
54
- border-end-end-radius: inherit;
55
- }
56
- .v-btn-group--divided .v-btn:not(:last-child) {
57
- border-inline-end-width: thin;
58
- border-inline-end-style: solid;
59
- border-inline-end-color: rgba(var(--v-border-color), var(--v-border-opacity));
60
- }
61
- .v-btn-group--tile {
62
- border-radius: 0;
63
- }
1
+ .v-btn-group {
2
+ display: inline-flex;
3
+ flex-wrap: nowrap;
4
+ max-width: 100%;
5
+ min-width: 0;
6
+ overflow: hidden;
7
+ vertical-align: middle;
8
+ }
9
+ .v-btn-group {
10
+ border-color: rgba(var(--v-border-color), var(--v-border-opacity));
11
+ border-style: solid;
12
+ border-width: 0;
13
+ }
14
+ .v-btn-group--border {
15
+ border-width: thin;
16
+ box-shadow: none;
17
+ }
18
+ .v-btn-group {
19
+ box-shadow: 0px 0px 0px 0px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)), 0px 0px 0px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0px 0px 0px 0px var(--v-shadow-key-ambient-opacity, rgba(0, 0, 0, 0.12));
20
+ }
21
+ .v-btn-group {
22
+ border-radius: 4px;
23
+ }
24
+ .v-btn-group {
25
+ background: transparent;
26
+ color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
27
+ }
28
+ .v-btn-group--density-default.v-btn-group {
29
+ height: 48px;
30
+ }
31
+
32
+ .v-btn-group--density-comfortable.v-btn-group {
33
+ height: 40px;
34
+ }
35
+
36
+ .v-btn-group--density-compact.v-btn-group {
37
+ height: 36px;
38
+ }
39
+
40
+ .v-btn-group .v-btn {
41
+ border-radius: 0;
42
+ border-color: inherit;
43
+ }
44
+ .v-btn-group .v-btn:not(:last-child) {
45
+ border-inline-end: none;
46
+ }
47
+ .v-btn-group .v-btn:not(:first-child) {
48
+ border-inline-start: none;
49
+ }
50
+ .v-btn-group .v-btn:first-child {
51
+ border-start-start-radius: inherit;
52
+ border-end-start-radius: inherit;
53
+ }
54
+ .v-btn-group .v-btn:last-child {
55
+ border-start-end-radius: inherit;
56
+ border-end-end-radius: inherit;
57
+ }
58
+ .v-btn-group--divided .v-btn:not(:last-child) {
59
+ border-inline-end-width: thin;
60
+ border-inline-end-style: solid;
61
+ border-inline-end-color: rgba(var(--v-border-color), var(--v-border-opacity));
62
+ }
63
+ .v-btn-group--tile {
64
+ border-radius: 0;
64
65
  }
@@ -1,19 +1,17 @@
1
- @layer vuetify.components {
2
- .v-btn-toggle > .v-btn.v-btn--active:not(.v-btn--disabled) > .v-btn__overlay {
3
- opacity: calc(var(--v-activated-opacity) * var(--v-theme-overlay-multiplier));
4
- }
5
- .v-btn-toggle > .v-btn.v-btn--active:not(.v-btn--disabled):hover > .v-btn__overlay {
6
- opacity: calc((var(--v-activated-opacity) + var(--v-hover-opacity)) * var(--v-theme-overlay-multiplier));
7
- }
8
- .v-btn-toggle > .v-btn.v-btn--active:not(.v-btn--disabled):focus-visible > .v-btn__overlay {
1
+ .v-btn-toggle > .v-btn.v-btn--active:not(.v-btn--disabled) > .v-btn__overlay {
2
+ opacity: calc(var(--v-activated-opacity) * var(--v-theme-overlay-multiplier));
3
+ }
4
+ .v-btn-toggle > .v-btn.v-btn--active:not(.v-btn--disabled):hover > .v-btn__overlay {
5
+ opacity: calc((var(--v-activated-opacity) + var(--v-hover-opacity)) * var(--v-theme-overlay-multiplier));
6
+ }
7
+ .v-btn-toggle > .v-btn.v-btn--active:not(.v-btn--disabled):focus-visible > .v-btn__overlay {
8
+ opacity: calc((var(--v-activated-opacity) + var(--v-focus-opacity)) * var(--v-theme-overlay-multiplier));
9
+ }
10
+ @supports not selector(:focus-visible) {
11
+ .v-btn-toggle > .v-btn.v-btn--active:not(.v-btn--disabled):focus > .v-btn__overlay {
9
12
  opacity: calc((var(--v-activated-opacity) + var(--v-focus-opacity)) * var(--v-theme-overlay-multiplier));
10
13
  }
11
- @supports not selector(:focus-visible) {
12
- .v-btn-toggle > .v-btn.v-btn--active:not(.v-btn--disabled):focus > .v-btn__overlay {
13
- opacity: calc((var(--v-activated-opacity) + var(--v-focus-opacity)) * var(--v-theme-overlay-multiplier));
14
- }
15
- }
16
- .v-btn-toggle > .v-btn.v-btn--active:not(.v-btn--disabled).v-btn--variant-plain {
17
- opacity: 1;
18
- }
14
+ }
15
+ .v-btn-toggle > .v-btn.v-btn--active:not(.v-btn--disabled).v-btn--variant-plain {
16
+ opacity: 1;
19
17
  }
@@ -38,22 +38,22 @@ declare const allowedVariants: readonly ["elevated", "flat", "tonal", "outlined"
38
38
  type Variant = typeof allowedVariants[number];
39
39
 
40
40
  interface GroupItem {
41
- id: number;
41
+ id: string;
42
42
  value: Ref<unknown>;
43
43
  disabled: Ref<boolean | undefined>;
44
44
  useIndexAsValue?: boolean;
45
45
  }
46
46
  interface GroupProvide {
47
47
  register: (item: GroupItem, cmp: ComponentInternalInstance) => void;
48
- unregister: (id: number) => void;
49
- select: (id: number, value: boolean) => void;
50
- selected: Ref<Readonly<number[]>>;
51
- isSelected: (id: number) => boolean;
48
+ unregister: (id: string) => void;
49
+ select: (id: string, value: boolean) => void;
50
+ selected: Ref<Readonly<string[]>>;
51
+ isSelected: (id: string) => boolean;
52
52
  prev: () => void;
53
53
  next: () => void;
54
54
  selectedClass: Ref<string | undefined>;
55
55
  items: ComputedRef<{
56
- id: number;
56
+ id: string;
57
57
  value: unknown;
58
58
  disabled: boolean | undefined;
59
59
  }[]>;
@@ -91,7 +91,7 @@ declare const VBtnToggle: {
91
91
  } & {}, {
92
92
  next: () => void;
93
93
  prev: () => void;
94
- select: (id: number, value: boolean) => void;
94
+ select: (id: string, value: boolean) => void;
95
95
  }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<{
96
96
  'update:modelValue': (value: any) => true;
97
97
  }, "$children" | "v-slots" | "v-slot:default" | "modelValue" | "update:modelValue">, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, {
@@ -136,7 +136,7 @@ declare const VBtnToggle: {
136
136
  } & {}, {
137
137
  next: () => void;
138
138
  prev: () => void;
139
- select: (id: number, value: boolean) => void;
139
+ select: (id: string, value: boolean) => void;
140
140
  }, {}, {}, {}, {
141
141
  variant: "flat" | "text" | "elevated" | "tonal" | "outlined" | "plain";
142
142
  style: vue.StyleValue;
@@ -174,7 +174,7 @@ declare const VBtnToggle: {
174
174
  } & {}, {
175
175
  next: () => void;
176
176
  prev: () => void;
177
- select: (id: number, value: boolean) => void;
177
+ select: (id: string, value: boolean) => void;
178
178
  }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<{
179
179
  'update:modelValue': (value: any) => true;
180
180
  }, "$children" | "v-slots" | "v-slot:default" | "modelValue" | "update:modelValue">, string, {