@vuetify/nightly 3.8.9-master.2025-06-14 → 3.8.10-dev.2025-06-18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +46 -14
- package/dist/json/attributes.json +3541 -3137
- package/dist/json/importMap-labs.json +30 -26
- package/dist/json/importMap.json +174 -174
- package/dist/json/tags.json +108 -2
- package/dist/json/web-types.json +7295 -5648
- package/dist/vuetify-labs.cjs +795 -198
- package/dist/vuetify-labs.css +4855 -4806
- package/dist/vuetify-labs.d.ts +10430 -3099
- package/dist/vuetify-labs.esm.js +796 -199
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +795 -198
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.cjs +520 -183
- package/dist/vuetify.cjs.map +1 -1
- package/dist/vuetify.css +2398 -2349
- package/dist/vuetify.d.ts +2798 -2091
- package/dist/vuetify.esm.js +521 -184
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +520 -183
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +1257 -1234
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAlert/VAlert.css +6 -1
- package/lib/components/VAlert/VAlert.d.ts +35 -0
- package/lib/components/VAlert/VAlert.js +15 -10
- package/lib/components/VAlert/VAlert.js.map +1 -1
- package/lib/components/VAlert/VAlert.sass +7 -1
- package/lib/components/VAppBar/VAppBar.d.ts +15 -3
- package/lib/components/VAppBar/VAppBarNavIcon.d.ts +20 -10
- package/lib/components/VAutocomplete/VAutocomplete.d.ts +175 -110
- package/lib/components/VAutocomplete/VAutocomplete.js +21 -3
- package/lib/components/VAutocomplete/VAutocomplete.js.map +1 -1
- package/lib/components/VBadge/VBadge.d.ts +60 -0
- package/lib/components/VBadge/VBadge.js +7 -2
- package/lib/components/VBadge/VBadge.js.map +1 -1
- package/lib/components/VBtn/VBtn.css +3 -0
- package/lib/components/VBtn/VBtn.d.ts +20 -10
- package/lib/components/VBtn/VBtn.sass +3 -0
- package/lib/components/VBtnGroup/VBtnGroup.css +32 -8
- package/lib/components/VBtnGroup/VBtnGroup.d.ts +58 -32
- package/lib/components/VBtnGroup/VBtnGroup.js +7 -3
- package/lib/components/VBtnGroup/VBtnGroup.js.map +1 -1
- package/lib/components/VBtnGroup/VBtnGroup.sass +46 -18
- package/lib/components/VBtnToggle/VBtnToggle.d.ts +25 -0
- package/lib/components/VCard/VCard.d.ts +20 -10
- package/lib/components/VCheckbox/VCheckbox.d.ts +23 -13
- package/lib/components/VCheckbox/VCheckboxBtn.d.ts +20 -10
- package/lib/components/VChip/VChip.d.ts +20 -10
- package/lib/components/VChipGroup/VChipGroup.d.ts +10 -0
- package/lib/components/VCombobox/VCombobox.d.ts +175 -110
- package/lib/components/VCombobox/VCombobox.js +22 -3
- package/lib/components/VCombobox/VCombobox.js.map +1 -1
- package/lib/components/VDataTable/VDataTable.d.ts +60 -0
- package/lib/components/VDataTable/VDataTableHeaders.d.ts +13 -0
- package/lib/components/VDataTable/VDataTableHeaders.js +4 -2
- package/lib/components/VDataTable/VDataTableHeaders.js.map +1 -1
- package/lib/components/VDataTable/VDataTableServer.d.ts +42 -0
- package/lib/components/VDataTable/VDataTableVirtual.d.ts +42 -0
- package/lib/components/VDatePicker/VDatePicker.d.ts +80 -5
- package/lib/components/VDatePicker/VDatePicker.js +10 -4
- package/lib/components/VDatePicker/VDatePicker.js.map +1 -1
- package/lib/components/VDatePicker/VDatePickerMonth.d.ts +10 -0
- package/lib/components/VDatePicker/VDatePickerMonth.js +1 -1
- package/lib/components/VDatePicker/VDatePickerMonth.js.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanel.d.ts +20 -10
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.d.ts +20 -10
- package/lib/components/VExpansionPanel/VExpansionPanels.d.ts +20 -10
- package/lib/components/VFab/VFab.d.ts +20 -10
- package/lib/components/VField/VField.d.ts +3 -3
- package/lib/components/VFileInput/VFileInput.d.ts +15 -15
- package/lib/components/VInfiniteScroll/VInfiniteScroll.d.ts +9 -3
- package/lib/components/VInfiniteScroll/VInfiniteScroll.js +29 -0
- package/lib/components/VInfiniteScroll/VInfiniteScroll.js.map +1 -1
- package/lib/components/VInput/VInput.d.ts +4 -4
- package/lib/components/VKbd/VKbd.css +13 -2
- package/lib/components/VKbd/VKbd.d.ts +221 -0
- package/lib/components/VKbd/VKbd.js +55 -0
- package/lib/components/VKbd/VKbd.js.map +1 -0
- package/lib/components/VKbd/VKbd.sass +2 -1
- package/lib/components/VKbd/_variables.scss +12 -1
- package/lib/components/VKbd/index.d.ts +1 -95
- package/lib/components/VKbd/index.js +1 -4
- package/lib/components/VKbd/index.js.map +1 -1
- package/lib/components/VList/VList.d.ts +13 -0
- package/lib/components/VList/VList.js +4 -1
- package/lib/components/VList/VList.js.map +1 -1
- package/lib/components/VList/VListChildren.js +4 -3
- package/lib/components/VList/VListChildren.js.map +1 -1
- package/lib/components/VList/VListGroup.d.ts +10 -0
- package/lib/components/VList/VListGroup.js +2 -2
- package/lib/components/VList/VListGroup.js.map +1 -1
- package/lib/components/VList/VListItem.d.ts +28 -10
- package/lib/components/VList/VListItem.js +7 -3
- package/lib/components/VList/VListItem.js.map +1 -1
- package/lib/components/VList/list.d.ts +9 -2
- package/lib/components/VList/list.js +7 -0
- package/lib/components/VList/list.js.map +1 -1
- package/lib/components/VMenu/VMenu.d.ts +13 -0
- package/lib/components/VMenu/VMenu.js +2 -1
- package/lib/components/VMenu/VMenu.js.map +1 -1
- package/lib/components/VNumberInput/VNumberInput.d.ts +114 -89
- package/lib/components/VNumberInput/VNumberInput.js +43 -20
- package/lib/components/VNumberInput/VNumberInput.js.map +1 -1
- package/lib/components/VOtpInput/VOtpInput.js +19 -2
- package/lib/components/VOtpInput/VOtpInput.js.map +1 -1
- package/lib/components/VOverlay/VOverlay.css +1 -1
- package/lib/components/VOverlay/_variables.scss +1 -1
- package/lib/components/VRadio/VRadio.d.ts +20 -10
- package/lib/components/VRadioGroup/VRadioGroup.d.ts +23 -13
- package/lib/components/VRangeSlider/VRangeSlider.d.ts +3 -3
- package/lib/components/VSelect/VSelect.d.ts +204 -118
- package/lib/components/VSelect/VSelect.js +21 -3
- package/lib/components/VSelect/VSelect.js.map +1 -1
- package/lib/components/VSelectionControl/VSelectionControl.d.ts +20 -10
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.d.ts +28 -14
- package/lib/components/VSlideGroup/VSlideGroup.d.ts +10 -0
- package/lib/components/VSlideGroup/VSlideGroup.js +2 -1
- package/lib/components/VSlideGroup/VSlideGroup.js.map +1 -1
- package/lib/components/VSlider/VSlider.d.ts +3 -3
- package/lib/components/VSlider/VSliderThumb.d.ts +20 -10
- package/lib/components/VSpeedDial/VSpeedDial.d.ts +13 -0
- package/lib/components/VStepper/VStepperItem.d.ts +28 -14
- package/lib/components/VSwitch/VSwitch.d.ts +23 -13
- package/lib/components/VTable/VTable.css +6 -0
- package/lib/components/VTable/VTable.d.ts +55 -24
- package/lib/components/VTable/VTable.js +9 -2
- package/lib/components/VTable/VTable.js.map +1 -1
- package/lib/components/VTable/VTable.sass +14 -0
- package/lib/components/VTable/_variables.scss +1 -0
- package/lib/components/VTabs/VTab.d.ts +56 -28
- package/lib/components/VTabs/VTabs.d.ts +10 -0
- package/lib/components/VTextField/VTextField.d.ts +27 -27
- package/lib/components/VTextField/VTextField.js +4 -4
- package/lib/components/VTextField/VTextField.js.map +1 -1
- package/lib/components/VTextarea/VTextarea.d.ts +15 -15
- package/lib/components/VTextarea/VTextarea.js +4 -4
- package/lib/components/VTextarea/VTextarea.js.map +1 -1
- package/lib/components/VToolbar/VToolbar.d.ts +15 -3
- package/lib/components/VToolbar/VToolbar.js +6 -3
- package/lib/components/VToolbar/VToolbar.js.map +1 -1
- package/lib/composables/autofocus.d.ts +7 -0
- package/lib/composables/autofocus.js +10 -0
- package/lib/composables/autofocus.js.map +1 -0
- package/lib/composables/calendar.d.ts +5 -0
- package/lib/composables/calendar.js +2 -1
- package/lib/composables/calendar.js.map +1 -1
- package/lib/composables/date/DateAdapter.d.ts +3 -3
- package/lib/composables/date/DateAdapter.js.map +1 -1
- package/lib/composables/date/adapters/string.d.ts +54 -0
- package/lib/composables/date/adapters/string.js +153 -0
- package/lib/composables/date/adapters/string.js.map +1 -0
- package/lib/composables/date/adapters/vuetify.d.ts +1 -1
- package/lib/composables/date/adapters/vuetify.js +4 -4
- package/lib/composables/date/adapters/vuetify.js.map +1 -1
- package/lib/composables/date/date.d.ts +3 -3
- package/lib/composables/date/index.d.ts +1 -0
- package/lib/composables/date/index.js +1 -0
- package/lib/composables/date/index.js.map +1 -1
- package/lib/composables/filter.js +3 -0
- package/lib/composables/filter.js.map +1 -1
- package/lib/composables/group.js +1 -0
- package/lib/composables/group.js.map +1 -1
- package/lib/composables/iconSizes.d.ts +28 -0
- package/lib/composables/iconSizes.js +23 -0
- package/lib/composables/iconSizes.js.map +1 -0
- package/lib/composables/intersectionObserver.js +2 -2
- package/lib/composables/intersectionObserver.js.map +1 -1
- package/lib/composables/locale.d.ts +5 -1
- package/lib/composables/locale.js.map +1 -1
- package/lib/composables/mask.d.ts +38 -0
- package/lib/composables/mask.js +183 -0
- package/lib/composables/mask.js.map +1 -0
- package/lib/composables/selectLink.js +2 -2
- package/lib/composables/selectLink.js.map +1 -1
- package/lib/composables/theme.d.ts +6 -1
- package/lib/composables/theme.js +97 -29
- package/lib/composables/theme.js.map +1 -1
- package/lib/composables/virtual.js +6 -1
- package/lib/composables/virtual.js.map +1 -1
- package/lib/directives/ripple/index.d.ts +2 -1
- package/lib/directives/ripple/index.js +12 -7
- package/lib/directives/ripple/index.js.map +1 -1
- package/lib/entry-bundler.d.ts +4 -3
- package/lib/entry-bundler.js +1 -1
- package/lib/entry-bundler.js.map +1 -1
- package/lib/framework.d.ts +92 -73
- package/lib/framework.js +1 -1
- package/lib/framework.js.map +1 -1
- package/lib/labs/VCalendar/VCalendar.d.ts +10 -0
- package/lib/labs/VColorInput/VColorInput.d.ts +3 -3
- package/lib/labs/VDateInput/VDateInput.d.ts +97 -87
- package/lib/labs/VFileUpload/VFileUpload.d.ts +3 -3
- package/lib/labs/VFileUpload/VFileUploadItem.d.ts +20 -10
- package/lib/labs/VIconBtn/VIconBtn.d.ts +29 -29
- package/lib/labs/VIconBtn/VIconBtn.js +7 -11
- package/lib/labs/VIconBtn/VIconBtn.js.map +1 -1
- package/lib/labs/VMaskInput/VMaskInput.d.ts +6993 -0
- package/lib/labs/VMaskInput/VMaskInput.js +67 -0
- package/lib/labs/VMaskInput/VMaskInput.js.map +1 -0
- package/lib/labs/VMaskInput/index.d.ts +1 -0
- package/lib/labs/VMaskInput/index.js +2 -0
- package/lib/labs/VMaskInput/index.js.map +1 -0
- package/lib/labs/VStepperVertical/VStepperVertical.d.ts +20 -10
- package/lib/labs/VStepperVertical/VStepperVerticalItem.d.ts +20 -10
- package/lib/labs/VTreeview/VTreeview.d.ts +51 -38
- package/lib/labs/VTreeview/VTreeview.js +1 -1
- package/lib/labs/VTreeview/VTreeview.js.map +1 -1
- package/lib/labs/VTreeview/VTreeviewChildren.d.ts +35 -0
- package/lib/labs/VTreeview/VTreeviewChildren.js +21 -3
- package/lib/labs/VTreeview/VTreeviewChildren.js.map +1 -1
- package/lib/labs/VTreeview/VTreeviewGroup.d.ts +10 -0
- package/lib/labs/VTreeview/VTreeviewItem.d.ts +20 -10
- package/lib/labs/VTreeview/VTreeviewItem.js +1 -0
- package/lib/labs/VTreeview/VTreeviewItem.js.map +1 -1
- package/lib/labs/components.d.ts +1 -0
- package/lib/labs/components.js +1 -0
- package/lib/labs/components.js.map +1 -1
- package/lib/labs/entry-bundler.d.ts +4 -3
- package/lib/locale/adapters/vue-i18n.js +6 -1
- package/lib/locale/adapters/vue-i18n.js.map +1 -1
- package/lib/locale/adapters/vuetify.js +7 -1
- package/lib/locale/adapters/vuetify.js.map +1 -1
- package/lib/util/globals.d.ts +1 -0
- package/lib/util/globals.js +1 -0
- package/lib/util/globals.js.map +1 -1
- package/lib/util/helpers.d.ts +2 -1
- package/lib/util/helpers.js +12 -7
- package/lib/util/helpers.js.map +1 -1
- package/package.json +9 -7
@@ -3,7 +3,8 @@
|
|
3
3
|
flex-wrap: nowrap;
|
4
4
|
max-width: 100%;
|
5
5
|
min-width: 0;
|
6
|
-
overflow: hidden;
|
6
|
+
overflow-y: hidden;
|
7
|
+
overflow-x: auto;
|
7
8
|
vertical-align: middle;
|
8
9
|
}
|
9
10
|
.v-btn-group {
|
@@ -41,25 +42,48 @@
|
|
41
42
|
border-radius: 0;
|
42
43
|
border-color: inherit;
|
43
44
|
}
|
44
|
-
.v-btn-group
|
45
|
+
.v-btn-group--tile {
|
46
|
+
border-radius: 0;
|
47
|
+
}
|
48
|
+
.v-btn-group--horizontal .v-btn:not(:last-child) {
|
45
49
|
border-inline-end: none;
|
46
50
|
}
|
47
|
-
.v-btn-group .v-btn:not(:first-child) {
|
51
|
+
.v-btn-group--horizontal .v-btn:not(:first-child) {
|
48
52
|
border-inline-start: none;
|
49
53
|
}
|
50
|
-
.v-btn-group .v-btn:first-child {
|
54
|
+
.v-btn-group--horizontal .v-btn:first-child {
|
51
55
|
border-start-start-radius: inherit;
|
52
56
|
border-end-start-radius: inherit;
|
53
57
|
}
|
54
|
-
.v-btn-group .v-btn:last-child {
|
58
|
+
.v-btn-group--horizontal .v-btn:last-child {
|
55
59
|
border-start-end-radius: inherit;
|
56
60
|
border-end-end-radius: inherit;
|
57
61
|
}
|
58
|
-
.v-btn-group--divided .v-btn:not(:last-child) {
|
62
|
+
.v-btn-group--horizontal.v-btn-group--divided .v-btn:not(:last-child) {
|
59
63
|
border-inline-end-width: thin;
|
60
64
|
border-inline-end-style: solid;
|
61
65
|
border-inline-end-color: rgba(var(--v-border-color), var(--v-border-opacity));
|
62
66
|
}
|
63
|
-
.v-btn-group--
|
64
|
-
|
67
|
+
.v-btn-group--vertical {
|
68
|
+
flex-direction: column;
|
69
|
+
height: auto !important;
|
70
|
+
}
|
71
|
+
.v-btn-group--vertical .v-btn:not(:last-child) {
|
72
|
+
border-block-end: none;
|
73
|
+
}
|
74
|
+
.v-btn-group--vertical .v-btn:not(:first-child) {
|
75
|
+
border-block-start: none;
|
76
|
+
}
|
77
|
+
.v-btn-group--vertical .v-btn:first-child {
|
78
|
+
border-start-start-radius: inherit;
|
79
|
+
border-start-end-radius: inherit;
|
80
|
+
}
|
81
|
+
.v-btn-group--vertical .v-btn:last-child {
|
82
|
+
border-end-start-radius: inherit;
|
83
|
+
border-end-end-radius: inherit;
|
84
|
+
}
|
85
|
+
.v-btn-group--vertical.v-btn-group--divided .v-btn:not(:last-child) {
|
86
|
+
border-block-end-width: thin;
|
87
|
+
border-block-end-style: solid;
|
88
|
+
border-block-end-color: rgba(var(--v-border-color), var(--v-border-opacity));
|
65
89
|
}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import type { PropType } from 'vue';
|
1
2
|
export declare const makeVBtnGroupProps: <Defaults extends {
|
2
3
|
color?: unknown;
|
3
4
|
variant?: unknown;
|
@@ -12,35 +13,36 @@ export declare const makeVBtnGroupProps: <Defaults extends {
|
|
12
13
|
border?: unknown;
|
13
14
|
baseColor?: unknown;
|
14
15
|
divided?: unknown;
|
16
|
+
direction?: unknown;
|
15
17
|
} = {}>(defaults?: Defaults | undefined) => {
|
16
18
|
color: unknown extends Defaults["color"] ? StringConstructor : {
|
17
|
-
type:
|
19
|
+
type: PropType<unknown extends Defaults["color"] ? string : string | Defaults["color"]>;
|
18
20
|
default: unknown extends Defaults["color"] ? string : string | Defaults["color"];
|
19
21
|
};
|
20
22
|
variant: unknown extends Defaults["variant"] ? {
|
21
|
-
type:
|
23
|
+
type: PropType<import("../../composables/variant.js").Variant>;
|
22
24
|
default: string;
|
23
25
|
validator: (v: any) => boolean;
|
24
26
|
} : Omit<{
|
25
|
-
type:
|
27
|
+
type: PropType<import("../../composables/variant.js").Variant>;
|
26
28
|
default: string;
|
27
29
|
validator: (v: any) => boolean;
|
28
30
|
}, "type" | "default"> & {
|
29
|
-
type:
|
31
|
+
type: PropType<unknown extends Defaults["variant"] ? "flat" | "text" | "elevated" | "tonal" | "outlined" | "plain" : "flat" | "text" | "elevated" | "tonal" | "outlined" | "plain" | Defaults["variant"]>;
|
30
32
|
default: unknown extends Defaults["variant"] ? "flat" | "text" | "elevated" | "tonal" | "outlined" | "plain" : NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain"> | Defaults["variant"];
|
31
33
|
};
|
32
34
|
theme: unknown extends Defaults["theme"] ? StringConstructor : {
|
33
|
-
type:
|
35
|
+
type: PropType<unknown extends Defaults["theme"] ? string : string | Defaults["theme"]>;
|
34
36
|
default: unknown extends Defaults["theme"] ? string : string | Defaults["theme"];
|
35
37
|
};
|
36
38
|
tag: unknown extends Defaults["tag"] ? {
|
37
|
-
type:
|
39
|
+
type: PropType<string | import("../../util/index.js").JSXComponent>;
|
38
40
|
default: string;
|
39
41
|
} : Omit<{
|
40
|
-
type:
|
42
|
+
type: PropType<string | import("../../util/index.js").JSXComponent>;
|
41
43
|
default: string;
|
42
44
|
}, "type" | "default"> & {
|
43
|
-
type:
|
45
|
+
type: PropType<unknown extends Defaults["tag"] ? string | import("../../util/index.js").JSXComponent : string | import("../../util/index.js").JSXComponent | Defaults["tag"]>;
|
44
46
|
default: unknown extends Defaults["tag"] ? string | import("../../util/index.js").JSXComponent : NonNullable<string | import("../../util/index.js").JSXComponent> | Defaults["tag"];
|
45
47
|
};
|
46
48
|
rounded: unknown extends Defaults["rounded"] ? {
|
@@ -50,11 +52,11 @@ export declare const makeVBtnGroupProps: <Defaults extends {
|
|
50
52
|
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
51
53
|
default: undefined;
|
52
54
|
}, "type" | "default"> & {
|
53
|
-
type:
|
55
|
+
type: PropType<unknown extends Defaults["rounded"] ? string | number | boolean : string | number | boolean | Defaults["rounded"]>;
|
54
56
|
default: unknown extends Defaults["rounded"] ? string | number | boolean : NonNullable<string | number | boolean> | Defaults["rounded"];
|
55
57
|
};
|
56
58
|
tile: unknown extends Defaults["tile"] ? BooleanConstructor : {
|
57
|
-
type:
|
59
|
+
type: PropType<unknown extends Defaults["tile"] ? boolean : boolean | Defaults["tile"]>;
|
58
60
|
default: unknown extends Defaults["tile"] ? boolean : boolean | Defaults["tile"];
|
59
61
|
};
|
60
62
|
elevation: unknown extends Defaults["elevation"] ? {
|
@@ -64,51 +66,62 @@ export declare const makeVBtnGroupProps: <Defaults extends {
|
|
64
66
|
type: (StringConstructor | NumberConstructor)[];
|
65
67
|
validator(v: any): boolean;
|
66
68
|
}, "type" | "default"> & {
|
67
|
-
type:
|
69
|
+
type: PropType<unknown extends Defaults["elevation"] ? string | number : string | number | Defaults["elevation"]>;
|
68
70
|
default: unknown extends Defaults["elevation"] ? string | number : NonNullable<string | number> | Defaults["elevation"];
|
69
71
|
};
|
70
72
|
density: unknown extends Defaults["density"] ? {
|
71
|
-
type:
|
73
|
+
type: PropType<import("../../composables/density.js").Density>;
|
72
74
|
default: string;
|
73
75
|
validator: (v: any) => boolean;
|
74
76
|
} : Omit<{
|
75
|
-
type:
|
77
|
+
type: PropType<import("../../composables/density.js").Density>;
|
76
78
|
default: string;
|
77
79
|
validator: (v: any) => boolean;
|
78
80
|
}, "type" | "default"> & {
|
79
|
-
type:
|
81
|
+
type: PropType<unknown extends Defaults["density"] ? import("../../composables/density.js").Density : import("../../composables/density.js").Density | Defaults["density"]>;
|
80
82
|
default: unknown extends Defaults["density"] ? import("../../composables/density.js").Density : NonNullable<import("../../composables/density.js").Density> | Defaults["density"];
|
81
83
|
};
|
82
|
-
class: unknown extends Defaults["class"] ?
|
83
|
-
type:
|
84
|
+
class: unknown extends Defaults["class"] ? PropType<any> : {
|
85
|
+
type: PropType<unknown extends Defaults["class"] ? any : any>;
|
84
86
|
default: unknown extends Defaults["class"] ? any : any;
|
85
87
|
};
|
86
88
|
style: unknown extends Defaults["style"] ? {
|
87
|
-
type:
|
89
|
+
type: PropType<import("vue").StyleValue>;
|
88
90
|
default: null;
|
89
91
|
} : Omit<{
|
90
|
-
type:
|
92
|
+
type: PropType<import("vue").StyleValue>;
|
91
93
|
default: null;
|
92
94
|
}, "type" | "default"> & {
|
93
|
-
type:
|
95
|
+
type: PropType<unknown extends Defaults["style"] ? import("vue").StyleValue : import("vue").StyleValue | Defaults["style"]>;
|
94
96
|
default: unknown extends Defaults["style"] ? import("vue").StyleValue : NonNullable<import("vue").StyleValue> | Defaults["style"];
|
95
97
|
};
|
96
98
|
border: unknown extends Defaults["border"] ? (StringConstructor | BooleanConstructor | NumberConstructor)[] : {
|
97
|
-
type:
|
99
|
+
type: PropType<unknown extends Defaults["border"] ? string | number | boolean : string | number | boolean | Defaults["border"]>;
|
98
100
|
default: unknown extends Defaults["border"] ? string | number | boolean : NonNullable<string | number | boolean> | Defaults["border"];
|
99
101
|
};
|
100
102
|
baseColor: unknown extends Defaults["baseColor"] ? StringConstructor : {
|
101
|
-
type:
|
103
|
+
type: PropType<unknown extends Defaults["baseColor"] ? string : string | Defaults["baseColor"]>;
|
102
104
|
default: unknown extends Defaults["baseColor"] ? string : string | Defaults["baseColor"];
|
103
105
|
};
|
104
106
|
divided: unknown extends Defaults["divided"] ? BooleanConstructor : {
|
105
|
-
type:
|
107
|
+
type: PropType<unknown extends Defaults["divided"] ? boolean : boolean | Defaults["divided"]>;
|
106
108
|
default: unknown extends Defaults["divided"] ? boolean : boolean | Defaults["divided"];
|
107
109
|
};
|
110
|
+
direction: unknown extends Defaults["direction"] ? {
|
111
|
+
type: PropType<"horizontal" | "vertical">;
|
112
|
+
default: string;
|
113
|
+
} : Omit<{
|
114
|
+
type: PropType<"horizontal" | "vertical">;
|
115
|
+
default: string;
|
116
|
+
}, "type" | "default"> & {
|
117
|
+
type: PropType<unknown extends Defaults["direction"] ? "horizontal" | "vertical" : "horizontal" | "vertical" | Defaults["direction"]>;
|
118
|
+
default: unknown extends Defaults["direction"] ? "horizontal" | "vertical" : Defaults["direction"] | NonNullable<"horizontal" | "vertical">;
|
119
|
+
};
|
108
120
|
};
|
109
121
|
export declare const VBtnGroup: {
|
110
122
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
|
111
123
|
variant: "flat" | "text" | "elevated" | "tonal" | "outlined" | "plain";
|
124
|
+
direction: "horizontal" | "vertical";
|
112
125
|
style: import("vue").StyleValue;
|
113
126
|
tag: string | import("../../util/index.js").JSXComponent;
|
114
127
|
density: import("../../composables/density.js").Density;
|
@@ -133,6 +146,7 @@ export declare const VBtnGroup: {
|
|
133
146
|
"v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined;
|
134
147
|
}, void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
135
148
|
variant: "flat" | "text" | "elevated" | "tonal" | "outlined" | "plain";
|
149
|
+
direction: "horizontal" | "vertical";
|
136
150
|
style: import("vue").StyleValue;
|
137
151
|
tag: string | import("../../util/index.js").JSXComponent;
|
138
152
|
density: import("../../composables/density.js").Density;
|
@@ -150,6 +164,7 @@ export declare const VBtnGroup: {
|
|
150
164
|
Defaults: {};
|
151
165
|
}, {
|
152
166
|
variant: "flat" | "text" | "elevated" | "tonal" | "outlined" | "plain";
|
167
|
+
direction: "horizontal" | "vertical";
|
153
168
|
style: import("vue").StyleValue;
|
154
169
|
tag: string | import("../../util/index.js").JSXComponent;
|
155
170
|
density: import("../../composables/density.js").Density;
|
@@ -174,6 +189,7 @@ export declare const VBtnGroup: {
|
|
174
189
|
"v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined;
|
175
190
|
}, {}, {}, {}, {}, {
|
176
191
|
variant: "flat" | "text" | "elevated" | "tonal" | "outlined" | "plain";
|
192
|
+
direction: "horizontal" | "vertical";
|
177
193
|
style: import("vue").StyleValue;
|
178
194
|
tag: string | import("../../util/index.js").JSXComponent;
|
179
195
|
density: import("../../composables/density.js").Density;
|
@@ -186,6 +202,7 @@ export declare const VBtnGroup: {
|
|
186
202
|
__isSuspense?: never;
|
187
203
|
} & import("vue").ComponentOptionsBase<{
|
188
204
|
variant: "flat" | "text" | "elevated" | "tonal" | "outlined" | "plain";
|
205
|
+
direction: "horizontal" | "vertical";
|
189
206
|
style: import("vue").StyleValue;
|
190
207
|
tag: string | import("../../util/index.js").JSXComponent;
|
191
208
|
density: import("../../composables/density.js").Density;
|
@@ -210,6 +227,7 @@ export declare const VBtnGroup: {
|
|
210
227
|
"v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined;
|
211
228
|
}, void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
212
229
|
variant: "flat" | "text" | "elevated" | "tonal" | "outlined" | "plain";
|
230
|
+
direction: "horizontal" | "vertical";
|
213
231
|
style: import("vue").StyleValue;
|
214
232
|
tag: string | import("../../util/index.js").JSXComponent;
|
215
233
|
density: import("../../composables/density.js").Density;
|
@@ -221,13 +239,13 @@ export declare const VBtnGroup: {
|
|
221
239
|
}>>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("../../util/index.js").FilterPropsOptions<{
|
222
240
|
color: StringConstructor;
|
223
241
|
variant: {
|
224
|
-
type:
|
242
|
+
type: PropType<import("../../composables/variant.js").Variant>;
|
225
243
|
default: string;
|
226
244
|
validator: (v: any) => boolean;
|
227
245
|
};
|
228
246
|
theme: StringConstructor;
|
229
247
|
tag: {
|
230
|
-
type:
|
248
|
+
type: PropType<string | import("../../util/index.js").JSXComponent>;
|
231
249
|
default: string;
|
232
250
|
};
|
233
251
|
rounded: {
|
@@ -240,28 +258,32 @@ export declare const VBtnGroup: {
|
|
240
258
|
validator(v: any): boolean;
|
241
259
|
};
|
242
260
|
density: {
|
243
|
-
type:
|
261
|
+
type: PropType<import("../../composables/density.js").Density>;
|
244
262
|
default: string;
|
245
263
|
validator: (v: any) => boolean;
|
246
264
|
};
|
247
|
-
class:
|
265
|
+
class: PropType<import("../../composables/component.js").ClassValue>;
|
248
266
|
style: {
|
249
|
-
type:
|
267
|
+
type: PropType<import("vue").StyleValue>;
|
250
268
|
default: null;
|
251
269
|
};
|
252
270
|
border: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
253
271
|
baseColor: StringConstructor;
|
254
272
|
divided: BooleanConstructor;
|
273
|
+
direction: {
|
274
|
+
type: PropType<"horizontal" | "vertical">;
|
275
|
+
default: string;
|
276
|
+
};
|
255
277
|
}, import("vue").ExtractPropTypes<{
|
256
278
|
color: StringConstructor;
|
257
279
|
variant: {
|
258
|
-
type:
|
280
|
+
type: PropType<import("../../composables/variant.js").Variant>;
|
259
281
|
default: string;
|
260
282
|
validator: (v: any) => boolean;
|
261
283
|
};
|
262
284
|
theme: StringConstructor;
|
263
285
|
tag: {
|
264
|
-
type:
|
286
|
+
type: PropType<string | import("../../util/index.js").JSXComponent>;
|
265
287
|
default: string;
|
266
288
|
};
|
267
289
|
rounded: {
|
@@ -274,17 +296,21 @@ export declare const VBtnGroup: {
|
|
274
296
|
validator(v: any): boolean;
|
275
297
|
};
|
276
298
|
density: {
|
277
|
-
type:
|
299
|
+
type: PropType<import("../../composables/density.js").Density>;
|
278
300
|
default: string;
|
279
301
|
validator: (v: any) => boolean;
|
280
302
|
};
|
281
|
-
class:
|
303
|
+
class: PropType<import("../../composables/component.js").ClassValue>;
|
282
304
|
style: {
|
283
|
-
type:
|
305
|
+
type: PropType<import("vue").StyleValue>;
|
284
306
|
default: null;
|
285
307
|
};
|
286
308
|
border: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
287
309
|
baseColor: StringConstructor;
|
288
310
|
divided: BooleanConstructor;
|
311
|
+
direction: {
|
312
|
+
type: PropType<"horizontal" | "vertical">;
|
313
|
+
default: string;
|
314
|
+
};
|
289
315
|
}>>;
|
290
316
|
export type VBtnGroup = InstanceType<typeof VBtnGroup>;
|
@@ -13,10 +13,14 @@ import { makeTagProps } from "../../composables/tag.js";
|
|
13
13
|
import { makeThemeProps, provideTheme } from "../../composables/theme.js";
|
14
14
|
import { makeVariantProps } from "../../composables/variant.js"; // Utilities
|
15
15
|
import { toRef } from 'vue';
|
16
|
-
import { genericComponent, propsFactory, useRender } from "../../util/index.js";
|
16
|
+
import { genericComponent, propsFactory, useRender } from "../../util/index.js"; // Types
|
17
17
|
export const makeVBtnGroupProps = propsFactory({
|
18
18
|
baseColor: String,
|
19
19
|
divided: Boolean,
|
20
|
+
direction: {
|
21
|
+
type: String,
|
22
|
+
default: 'horizontal'
|
23
|
+
},
|
20
24
|
...makeBorderProps(),
|
21
25
|
...makeComponentProps(),
|
22
26
|
...makeDensityProps(),
|
@@ -50,7 +54,7 @@ export const VBtnGroup = genericComponent()({
|
|
50
54
|
} = useRounded(props);
|
51
55
|
provideDefaults({
|
52
56
|
VBtn: {
|
53
|
-
height: 'auto',
|
57
|
+
height: toRef(() => props.direction === 'horizontal' ? 'auto' : null),
|
54
58
|
baseColor: toRef(() => props.baseColor),
|
55
59
|
color: toRef(() => props.color),
|
56
60
|
density: toRef(() => props.density),
|
@@ -60,7 +64,7 @@ export const VBtnGroup = genericComponent()({
|
|
60
64
|
});
|
61
65
|
useRender(() => {
|
62
66
|
return _createVNode(props.tag, {
|
63
|
-
"class": _normalizeClass(['v-btn-group', {
|
67
|
+
"class": _normalizeClass(['v-btn-group', `v-btn-group--${props.direction}`, {
|
64
68
|
'v-btn-group--divided': props.divided
|
65
69
|
}, themeClasses.value, borderClasses.value, densityClasses.value, elevationClasses.value, roundedClasses.value, props.class]),
|
66
70
|
"style": _normalizeStyle(props.style)
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VBtnGroup.js","names":["makeBorderProps","useBorder","makeComponentProps","provideDefaults","makeDensityProps","useDensity","makeElevationProps","useElevation","makeRoundedProps","useRounded","makeTagProps","makeThemeProps","provideTheme","makeVariantProps","toRef","genericComponent","propsFactory","useRender","makeVBtnGroupProps","baseColor","String","divided","Boolean","VBtnGroup","name","props","setup","_ref","slots","themeClasses","densityClasses","borderClasses","elevationClasses","roundedClasses","VBtn","height","color","density","flat","variant","_createVNode","tag","_normalizeClass","value","class","_normalizeStyle","style"],"sources":["../../../src/components/VBtnGroup/VBtnGroup.tsx"],"sourcesContent":["// Styles\nimport './VBtnGroup.sass'\n\n// Composables\nimport { makeBorderProps, useBorder } from '@/composables/border'\nimport { makeComponentProps } from '@/composables/component'\nimport { provideDefaults } from '@/composables/defaults'\nimport { makeDensityProps, useDensity } from '@/composables/density'\nimport { makeElevationProps, useElevation } from '@/composables/elevation'\nimport { makeRoundedProps, useRounded } from '@/composables/rounded'\nimport { makeTagProps } from '@/composables/tag'\nimport { makeThemeProps, provideTheme } from '@/composables/theme'\nimport { makeVariantProps } from '@/composables/variant'\n\n// Utilities\nimport { toRef } from 'vue'\nimport { genericComponent, propsFactory, useRender } from '@/util'\n\nexport const makeVBtnGroupProps = propsFactory({\n baseColor: String,\n divided: Boolean,\n\n ...makeBorderProps(),\n ...makeComponentProps(),\n ...makeDensityProps(),\n ...makeElevationProps(),\n ...makeRoundedProps(),\n ...makeTagProps(),\n ...makeThemeProps(),\n ...makeVariantProps(),\n}, 'VBtnGroup')\n\nexport const VBtnGroup = genericComponent()({\n name: 'VBtnGroup',\n\n props: makeVBtnGroupProps(),\n\n setup (props, { slots }) {\n const { themeClasses } = provideTheme(props)\n const { densityClasses } = useDensity(props)\n const { borderClasses } = useBorder(props)\n const { elevationClasses } = useElevation(props)\n const { roundedClasses } = useRounded(props)\n\n provideDefaults({\n VBtn: {\n height: 'auto',\n baseColor: toRef(() => props.baseColor),\n color: toRef(() => props.color),\n density: toRef(() => props.density),\n flat: true,\n variant: toRef(() => props.variant),\n },\n })\n\n useRender(() => {\n return (\n <props.tag\n class={[\n 'v-btn-group',\n {\n 'v-btn-group--divided': props.divided,\n },\n themeClasses.value,\n borderClasses.value,\n densityClasses.value,\n elevationClasses.value,\n roundedClasses.value,\n props.class,\n ]}\n style={ props.style }\n v-slots={ slots }\n />\n )\n })\n },\n})\n\nexport type VBtnGroup = InstanceType<typeof VBtnGroup>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,eAAe,EAAEC,SAAS;AAAA,SAC1BC,kBAAkB;AAAA,SAClBC,eAAe;AAAA,SACfC,gBAAgB,EAAEC,UAAU;AAAA,SAC5BC,kBAAkB,EAAEC,YAAY;AAAA,SAChCC,gBAAgB,EAAEC,UAAU;AAAA,SAC5BC,YAAY;AAAA,SACZC,cAAc,EAAEC,YAAY;AAAA,SAC5BC,gBAAgB,wCAEzB;AACA,SAASC,KAAK,QAAQ,KAAK;AAAA,SAClBC,gBAAgB,EAAEC,YAAY,EAAEC,SAAS;
|
1
|
+
{"version":3,"file":"VBtnGroup.js","names":["makeBorderProps","useBorder","makeComponentProps","provideDefaults","makeDensityProps","useDensity","makeElevationProps","useElevation","makeRoundedProps","useRounded","makeTagProps","makeThemeProps","provideTheme","makeVariantProps","toRef","genericComponent","propsFactory","useRender","makeVBtnGroupProps","baseColor","String","divided","Boolean","direction","type","default","VBtnGroup","name","props","setup","_ref","slots","themeClasses","densityClasses","borderClasses","elevationClasses","roundedClasses","VBtn","height","color","density","flat","variant","_createVNode","tag","_normalizeClass","value","class","_normalizeStyle","style"],"sources":["../../../src/components/VBtnGroup/VBtnGroup.tsx"],"sourcesContent":["// Styles\nimport './VBtnGroup.sass'\n\n// Composables\nimport { makeBorderProps, useBorder } from '@/composables/border'\nimport { makeComponentProps } from '@/composables/component'\nimport { provideDefaults } from '@/composables/defaults'\nimport { makeDensityProps, useDensity } from '@/composables/density'\nimport { makeElevationProps, useElevation } from '@/composables/elevation'\nimport { makeRoundedProps, useRounded } from '@/composables/rounded'\nimport { makeTagProps } from '@/composables/tag'\nimport { makeThemeProps, provideTheme } from '@/composables/theme'\nimport { makeVariantProps } from '@/composables/variant'\n\n// Utilities\nimport { toRef } from 'vue'\nimport { genericComponent, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\n\nexport const makeVBtnGroupProps = propsFactory({\n baseColor: String,\n divided: Boolean,\n direction: {\n type: String as PropType<'horizontal' | 'vertical'>,\n default: 'horizontal',\n },\n\n ...makeBorderProps(),\n ...makeComponentProps(),\n ...makeDensityProps(),\n ...makeElevationProps(),\n ...makeRoundedProps(),\n ...makeTagProps(),\n ...makeThemeProps(),\n ...makeVariantProps(),\n}, 'VBtnGroup')\n\nexport const VBtnGroup = genericComponent()({\n name: 'VBtnGroup',\n\n props: makeVBtnGroupProps(),\n\n setup (props, { slots }) {\n const { themeClasses } = provideTheme(props)\n const { densityClasses } = useDensity(props)\n const { borderClasses } = useBorder(props)\n const { elevationClasses } = useElevation(props)\n const { roundedClasses } = useRounded(props)\n\n provideDefaults({\n VBtn: {\n height: toRef(() => props.direction === 'horizontal' ? 'auto' : null),\n baseColor: toRef(() => props.baseColor),\n color: toRef(() => props.color),\n density: toRef(() => props.density),\n flat: true,\n variant: toRef(() => props.variant),\n },\n })\n\n useRender(() => {\n return (\n <props.tag\n class={[\n 'v-btn-group',\n `v-btn-group--${props.direction}`,\n {\n 'v-btn-group--divided': props.divided,\n },\n themeClasses.value,\n borderClasses.value,\n densityClasses.value,\n elevationClasses.value,\n roundedClasses.value,\n props.class,\n ]}\n style={ props.style }\n v-slots={ slots }\n />\n )\n })\n },\n})\n\nexport type VBtnGroup = InstanceType<typeof VBtnGroup>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,eAAe,EAAEC,SAAS;AAAA,SAC1BC,kBAAkB;AAAA,SAClBC,eAAe;AAAA,SACfC,gBAAgB,EAAEC,UAAU;AAAA,SAC5BC,kBAAkB,EAAEC,YAAY;AAAA,SAChCC,gBAAgB,EAAEC,UAAU;AAAA,SAC5BC,YAAY;AAAA,SACZC,cAAc,EAAEC,YAAY;AAAA,SAC5BC,gBAAgB,wCAEzB;AACA,SAASC,KAAK,QAAQ,KAAK;AAAA,SAClBC,gBAAgB,EAAEC,YAAY,EAAEC,SAAS,+BAElD;AAGA,OAAO,MAAMC,kBAAkB,GAAGF,YAAY,CAAC;EAC7CG,SAAS,EAAEC,MAAM;EACjBC,OAAO,EAAEC,OAAO;EAChBC,SAAS,EAAE;IACTC,IAAI,EAAEJ,MAA6C;IACnDK,OAAO,EAAE;EACX,CAAC;EAED,GAAGzB,eAAe,CAAC,CAAC;EACpB,GAAGE,kBAAkB,CAAC,CAAC;EACvB,GAAGE,gBAAgB,CAAC,CAAC;EACrB,GAAGE,kBAAkB,CAAC,CAAC;EACvB,GAAGE,gBAAgB,CAAC,CAAC;EACrB,GAAGE,YAAY,CAAC,CAAC;EACjB,GAAGC,cAAc,CAAC,CAAC;EACnB,GAAGE,gBAAgB,CAAC;AACtB,CAAC,EAAE,WAAW,CAAC;AAEf,OAAO,MAAMa,SAAS,GAAGX,gBAAgB,CAAC,CAAC,CAAC;EAC1CY,IAAI,EAAE,WAAW;EAEjBC,KAAK,EAAEV,kBAAkB,CAAC,CAAC;EAE3BW,KAAKA,CAAED,KAAK,EAAAE,IAAA,EAAa;IAAA,IAAX;MAAEC;IAAM,CAAC,GAAAD,IAAA;IACrB,MAAM;MAAEE;IAAa,CAAC,GAAGpB,YAAY,CAACgB,KAAK,CAAC;IAC5C,MAAM;MAAEK;IAAe,CAAC,GAAG5B,UAAU,CAACuB,KAAK,CAAC;IAC5C,MAAM;MAAEM;IAAc,CAAC,GAAGjC,SAAS,CAAC2B,KAAK,CAAC;IAC1C,MAAM;MAAEO;IAAiB,CAAC,GAAG5B,YAAY,CAACqB,KAAK,CAAC;IAChD,MAAM;MAAEQ;IAAe,CAAC,GAAG3B,UAAU,CAACmB,KAAK,CAAC;IAE5CzB,eAAe,CAAC;MACdkC,IAAI,EAAE;QACJC,MAAM,EAAExB,KAAK,CAAC,MAAMc,KAAK,CAACL,SAAS,KAAK,YAAY,GAAG,MAAM,GAAG,IAAI,CAAC;QACrEJ,SAAS,EAAEL,KAAK,CAAC,MAAMc,KAAK,CAACT,SAAS,CAAC;QACvCoB,KAAK,EAAEzB,KAAK,CAAC,MAAMc,KAAK,CAACW,KAAK,CAAC;QAC/BC,OAAO,EAAE1B,KAAK,CAAC,MAAMc,KAAK,CAACY,OAAO,CAAC;QACnCC,IAAI,EAAE,IAAI;QACVC,OAAO,EAAE5B,KAAK,CAAC,MAAMc,KAAK,CAACc,OAAO;MACpC;IACF,CAAC,CAAC;IAEFzB,SAAS,CAAC,MAAM;MACd,OAAA0B,YAAA,CAAAf,KAAA,CAAAgB,GAAA;QAAA,SAAAC,eAAA,CAEW,CACL,aAAa,EACb,gBAAgBjB,KAAK,CAACL,SAAS,EAAE,EACjC;UACE,sBAAsB,EAAEK,KAAK,CAACP;QAChC,CAAC,EACDW,YAAY,CAACc,KAAK,EAClBZ,aAAa,CAACY,KAAK,EACnBb,cAAc,CAACa,KAAK,EACpBX,gBAAgB,CAACW,KAAK,EACtBV,cAAc,CAACU,KAAK,EACpBlB,KAAK,CAACmB,KAAK,CACZ;QAAA,SAAAC,eAAA,CACOpB,KAAK,CAACqB,KAAK;MAAA,GACTlB,KAAK;IAGrB,CAAC,CAAC;EACJ;AACF,CAAC,CAAC","ignoreList":[]}
|
@@ -11,7 +11,8 @@
|
|
11
11
|
flex-wrap: nowrap
|
12
12
|
max-width: 100%
|
13
13
|
min-width: 0
|
14
|
-
overflow: hidden
|
14
|
+
overflow-y: hidden
|
15
|
+
overflow-x: auto
|
15
16
|
vertical-align: middle
|
16
17
|
|
17
18
|
@include tools.border($btn-group-border...)
|
@@ -28,25 +29,52 @@
|
|
28
29
|
border-radius: 0
|
29
30
|
border-color: inherit
|
30
31
|
|
31
|
-
|
32
|
-
|
32
|
+
&--tile
|
33
|
+
@include tools.rounded($btn-group-tile-border-radius)
|
33
34
|
|
34
|
-
|
35
|
-
|
35
|
+
&--horizontal
|
36
|
+
.v-btn
|
37
|
+
&:not(:last-child)
|
38
|
+
border-inline-end: none
|
36
39
|
|
37
|
-
|
38
|
-
|
39
|
-
border-end-start-radius: inherit
|
40
|
+
&:not(:first-child)
|
41
|
+
border-inline-start: none
|
40
42
|
|
41
|
-
|
42
|
-
|
43
|
-
|
43
|
+
&:first-child
|
44
|
+
border-start-start-radius: inherit
|
45
|
+
border-end-start-radius: inherit
|
44
46
|
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
border-inline-end-style: $btn-group-border-style
|
49
|
-
border-inline-end-color: $btn-group-border-color
|
47
|
+
&:last-child
|
48
|
+
border-start-end-radius: inherit
|
49
|
+
border-end-end-radius: inherit
|
50
50
|
|
51
|
-
|
52
|
-
|
51
|
+
&.v-btn-group--divided
|
52
|
+
.v-btn:not(:last-child)
|
53
|
+
border-inline-end-width: $btn-group-border-thin-width
|
54
|
+
border-inline-end-style: $btn-group-border-style
|
55
|
+
border-inline-end-color: $btn-group-border-color
|
56
|
+
|
57
|
+
&--vertical
|
58
|
+
flex-direction: column
|
59
|
+
height: auto !important
|
60
|
+
|
61
|
+
.v-btn
|
62
|
+
&:not(:last-child)
|
63
|
+
border-block-end: none
|
64
|
+
|
65
|
+
&:not(:first-child)
|
66
|
+
border-block-start: none
|
67
|
+
|
68
|
+
&:first-child
|
69
|
+
border-start-start-radius: inherit
|
70
|
+
border-start-end-radius: inherit
|
71
|
+
|
72
|
+
&:last-child
|
73
|
+
border-end-start-radius: inherit
|
74
|
+
border-end-end-radius: inherit
|
75
|
+
|
76
|
+
&.v-btn-group--divided
|
77
|
+
.v-btn:not(:last-child)
|
78
|
+
border-block-end-width: $btn-group-border-thin-width
|
79
|
+
border-block-end-style: $btn-group-border-style
|
80
|
+
border-block-end-color: $btn-group-border-color
|
@@ -28,6 +28,7 @@ export declare const makeVBtnToggleProps: <Defaults extends {
|
|
28
28
|
border?: unknown;
|
29
29
|
baseColor?: unknown;
|
30
30
|
divided?: unknown;
|
31
|
+
direction?: unknown;
|
31
32
|
} = {}>(defaults?: Defaults | undefined) => {
|
32
33
|
modelValue: unknown extends Defaults["modelValue"] ? {
|
33
34
|
type: null;
|
@@ -151,10 +152,21 @@ export declare const makeVBtnToggleProps: <Defaults extends {
|
|
151
152
|
type: import("vue").PropType<unknown extends Defaults["divided"] ? boolean : boolean | Defaults["divided"]>;
|
152
153
|
default: unknown extends Defaults["divided"] ? boolean : boolean | Defaults["divided"];
|
153
154
|
};
|
155
|
+
direction: unknown extends Defaults["direction"] ? {
|
156
|
+
type: import("vue").PropType<"horizontal" | "vertical">;
|
157
|
+
default: string;
|
158
|
+
} : Omit<{
|
159
|
+
type: import("vue").PropType<"horizontal" | "vertical">;
|
160
|
+
default: string;
|
161
|
+
}, "type" | "default"> & {
|
162
|
+
type: import("vue").PropType<unknown extends Defaults["direction"] ? "horizontal" | "vertical" : "horizontal" | "vertical" | Defaults["direction"]>;
|
163
|
+
default: unknown extends Defaults["direction"] ? "horizontal" | "vertical" : NonNullable<"horizontal" | "vertical"> | Defaults["direction"];
|
164
|
+
};
|
154
165
|
};
|
155
166
|
export declare const VBtnToggle: {
|
156
167
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
|
157
168
|
variant: "flat" | "text" | "elevated" | "tonal" | "outlined" | "plain";
|
169
|
+
direction: "horizontal" | "vertical";
|
158
170
|
style: import("vue").StyleValue;
|
159
171
|
disabled: boolean;
|
160
172
|
multiple: boolean;
|
@@ -181,6 +193,7 @@ export declare const VBtnToggle: {
|
|
181
193
|
'update:modelValue': (value: any) => true;
|
182
194
|
}, "$children" | "v-slots" | "v-slot:default" | "modelValue" | "update:modelValue">, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
183
195
|
variant: "flat" | "text" | "elevated" | "tonal" | "outlined" | "plain";
|
196
|
+
direction: "horizontal" | "vertical";
|
184
197
|
style: import("vue").StyleValue;
|
185
198
|
disabled: boolean;
|
186
199
|
multiple: boolean;
|
@@ -200,6 +213,7 @@ export declare const VBtnToggle: {
|
|
200
213
|
Defaults: {};
|
201
214
|
}, {
|
202
215
|
variant: "flat" | "text" | "elevated" | "tonal" | "outlined" | "plain";
|
216
|
+
direction: "horizontal" | "vertical";
|
203
217
|
style: import("vue").StyleValue;
|
204
218
|
disabled: boolean;
|
205
219
|
multiple: boolean;
|
@@ -224,6 +238,7 @@ export declare const VBtnToggle: {
|
|
224
238
|
select: (id: string, value: boolean) => void;
|
225
239
|
}, {}, {}, {}, {
|
226
240
|
variant: "flat" | "text" | "elevated" | "tonal" | "outlined" | "plain";
|
241
|
+
direction: "horizontal" | "vertical";
|
227
242
|
style: import("vue").StyleValue;
|
228
243
|
disabled: boolean;
|
229
244
|
multiple: boolean;
|
@@ -238,6 +253,7 @@ export declare const VBtnToggle: {
|
|
238
253
|
__isSuspense?: never;
|
239
254
|
} & import("vue").ComponentOptionsBase<{
|
240
255
|
variant: "flat" | "text" | "elevated" | "tonal" | "outlined" | "plain";
|
256
|
+
direction: "horizontal" | "vertical";
|
241
257
|
style: import("vue").StyleValue;
|
242
258
|
disabled: boolean;
|
243
259
|
multiple: boolean;
|
@@ -264,6 +280,7 @@ export declare const VBtnToggle: {
|
|
264
280
|
'update:modelValue': (value: any) => true;
|
265
281
|
}, "$children" | "v-slots" | "v-slot:default" | "modelValue" | "update:modelValue">, string, {
|
266
282
|
variant: "flat" | "text" | "elevated" | "tonal" | "outlined" | "plain";
|
283
|
+
direction: "horizontal" | "vertical";
|
267
284
|
style: import("vue").StyleValue;
|
268
285
|
disabled: boolean;
|
269
286
|
multiple: boolean;
|
@@ -320,6 +337,10 @@ export declare const VBtnToggle: {
|
|
320
337
|
border: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
321
338
|
baseColor: StringConstructor;
|
322
339
|
divided: BooleanConstructor;
|
340
|
+
direction: {
|
341
|
+
type: import("vue").PropType<"horizontal" | "vertical">;
|
342
|
+
default: string;
|
343
|
+
};
|
323
344
|
}, import("vue").ExtractPropTypes<{
|
324
345
|
modelValue: {
|
325
346
|
type: null;
|
@@ -363,6 +384,10 @@ export declare const VBtnToggle: {
|
|
363
384
|
border: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
364
385
|
baseColor: StringConstructor;
|
365
386
|
divided: BooleanConstructor;
|
387
|
+
direction: {
|
388
|
+
type: import("vue").PropType<"horizontal" | "vertical">;
|
389
|
+
default: string;
|
390
|
+
};
|
366
391
|
}>>;
|
367
392
|
export type VBtnToggle = InstanceType<typeof VBtnToggle>;
|
368
393
|
|
@@ -240,14 +240,18 @@ export declare const makeVCardProps: <Defaults extends {
|
|
240
240
|
default: boolean;
|
241
241
|
}, "type" | "default"> & {
|
242
242
|
type: PropType<unknown extends Defaults["ripple"] ? boolean | {
|
243
|
-
class
|
243
|
+
class?: string;
|
244
|
+
keys?: number[];
|
244
245
|
} | undefined : boolean | {
|
245
|
-
class
|
246
|
+
class?: string;
|
247
|
+
keys?: number[];
|
246
248
|
} | Defaults["ripple"] | undefined>;
|
247
249
|
default: unknown extends Defaults["ripple"] ? boolean | {
|
248
|
-
class
|
250
|
+
class?: string;
|
251
|
+
keys?: number[];
|
249
252
|
} | undefined : NonNullable<boolean | {
|
250
|
-
class
|
253
|
+
class?: string;
|
254
|
+
keys?: number[];
|
251
255
|
} | undefined> | Defaults["ripple"];
|
252
256
|
};
|
253
257
|
subtitle: unknown extends Defaults["subtitle"] ? {
|
@@ -301,7 +305,8 @@ export declare const VCard: {
|
|
301
305
|
density: import("../../composables/density.js").Density;
|
302
306
|
tile: boolean;
|
303
307
|
ripple: boolean | {
|
304
|
-
class
|
308
|
+
class?: string;
|
309
|
+
keys?: number[];
|
305
310
|
} | undefined;
|
306
311
|
hover: boolean;
|
307
312
|
} & {
|
@@ -382,7 +387,8 @@ export declare const VCard: {
|
|
382
387
|
rounded: string | number | boolean;
|
383
388
|
tile: boolean;
|
384
389
|
ripple: boolean | {
|
385
|
-
class
|
390
|
+
class?: string;
|
391
|
+
keys?: number[];
|
386
392
|
} | undefined;
|
387
393
|
subtitle: string | number | boolean;
|
388
394
|
hover: boolean;
|
@@ -415,7 +421,8 @@ export declare const VCard: {
|
|
415
421
|
density: import("../../composables/density.js").Density;
|
416
422
|
tile: boolean;
|
417
423
|
ripple: boolean | {
|
418
|
-
class
|
424
|
+
class?: string;
|
425
|
+
keys?: number[];
|
419
426
|
} | undefined;
|
420
427
|
hover: boolean;
|
421
428
|
} & {
|
@@ -496,7 +503,8 @@ export declare const VCard: {
|
|
496
503
|
rounded: string | number | boolean;
|
497
504
|
tile: boolean;
|
498
505
|
ripple: boolean | {
|
499
|
-
class
|
506
|
+
class?: string;
|
507
|
+
keys?: number[];
|
500
508
|
} | undefined;
|
501
509
|
subtitle: string | number | boolean;
|
502
510
|
hover: boolean;
|
@@ -515,7 +523,8 @@ export declare const VCard: {
|
|
515
523
|
density: import("../../composables/density.js").Density;
|
516
524
|
tile: boolean;
|
517
525
|
ripple: boolean | {
|
518
|
-
class
|
526
|
+
class?: string;
|
527
|
+
keys?: number[];
|
519
528
|
} | undefined;
|
520
529
|
hover: boolean;
|
521
530
|
} & {
|
@@ -596,7 +605,8 @@ export declare const VCard: {
|
|
596
605
|
rounded: string | number | boolean;
|
597
606
|
tile: boolean;
|
598
607
|
ripple: boolean | {
|
599
|
-
class
|
608
|
+
class?: string;
|
609
|
+
keys?: number[];
|
600
610
|
} | undefined;
|
601
611
|
subtitle: string | number | boolean;
|
602
612
|
hover: boolean;
|