@code-coaching/vuetiful 0.22.0 → 0.23.1

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 (107) hide show
  1. package/README.md +1 -1
  2. package/dist/style.css +2 -2
  3. package/dist/types/components/VBootstrap.vue.d.ts +15 -0
  4. package/dist/types/components/atoms/VAvatar.vue.d.ts +37 -10
  5. package/dist/types/components/atoms/VBadge.vue.d.ts +22 -1
  6. package/dist/types/components/atoms/VButton.vue.d.ts +27 -0
  7. package/dist/types/components/atoms/VChip.vue.d.ts +22 -1
  8. package/dist/types/components/atoms/VRadio/VRadioGroup.vue.d.ts +10 -1
  9. package/dist/types/components/atoms/VRadio/VRadioItem.vue.d.ts +2 -2
  10. package/dist/types/components/atoms/VSwitch/VSwitch.vue.d.ts +24 -15
  11. package/dist/types/components/atoms/index.d.ts +1 -2
  12. package/dist/types/components/molecules/VAccordion/VAccordion.vue.d.ts +15 -6
  13. package/dist/types/components/molecules/VAccordion/VAccordionItem.vue.d.ts +11 -1
  14. package/dist/types/components/molecules/VAlert.vue.d.ts +39 -3
  15. package/dist/types/components/molecules/VCard/VCard.vue.d.ts +5 -5
  16. package/dist/types/components/molecules/VCard/VCardBody.vue.d.ts +13 -1
  17. package/dist/types/components/molecules/VCard/VCardFooter.vue.d.ts +22 -1
  18. package/dist/types/components/molecules/VCard/VCardHeader.vue.d.ts +22 -1
  19. package/dist/types/components/{atoms → molecules}/VCodeBlock.vue.d.ts +36 -9
  20. package/dist/types/components/molecules/VListbox/VListbox.vue.d.ts +51 -14
  21. package/dist/types/components/molecules/VListbox/VListboxItem.vue.d.ts +13 -3
  22. package/dist/types/components/molecules/VListbox/VListboxItems.vue.d.ts +9 -0
  23. package/dist/types/components/molecules/VTabs/VTab.vue.d.ts +9 -0
  24. package/dist/types/components/molecules/VTabs/VTabs.vue.d.ts +18 -0
  25. package/dist/types/components/molecules/index.d.ts +4 -3
  26. package/dist/types/props/index.d.ts +1 -0
  27. package/dist/types/props/props.d.ts +14 -0
  28. package/dist/types/services/index.d.ts +5 -3
  29. package/dist/types/services/settings.service.d.ts +132 -0
  30. package/dist/types/services/settings.service.test.d.ts +1 -0
  31. package/dist/types/types/index.d.ts +53 -0
  32. package/dist/types/utils/theme/theme-switcher.vue.d.ts +22 -62
  33. package/dist/vuetiful.es.mjs +981 -680
  34. package/dist/vuetiful.umd.js +21 -16
  35. package/package.json +1 -1
  36. package/src/components/VBootstrap.vue +62 -0
  37. package/src/components/atoms/VAvatar.test.ts +98 -28
  38. package/src/components/atoms/VAvatar.vue +46 -13
  39. package/src/components/atoms/VBadge.test.ts +10 -0
  40. package/src/components/atoms/VBadge.vue +13 -1
  41. package/src/components/atoms/VButton.test.ts +58 -0
  42. package/src/components/atoms/VButton.vue +31 -2
  43. package/src/components/atoms/VChip.test.ts +26 -11
  44. package/src/components/atoms/VChip.vue +13 -1
  45. package/src/components/atoms/VRadio/VRadioDescription.vue +1 -1
  46. package/src/components/atoms/VRadio/VRadioGroup.test.ts +7 -7
  47. package/src/components/atoms/VRadio/VRadioGroup.vue +16 -5
  48. package/src/components/atoms/VRadio/VRadioItem.vue +12 -8
  49. package/src/components/atoms/VRadio/VRadioLabel.vue +1 -1
  50. package/src/components/atoms/VSwitch/VSwitch.test.ts +20 -18
  51. package/src/components/atoms/VSwitch/VSwitch.vue +29 -17
  52. package/src/components/atoms/VSwitch/VSwitchDescription.vue +1 -1
  53. package/src/components/atoms/VSwitch/VSwitchGroup.vue +2 -2
  54. package/src/components/atoms/VSwitch/VSwitchLabel.vue +1 -1
  55. package/src/components/atoms/index.ts +0 -2
  56. package/src/components/molecules/VAccordion/VAccordion.test.ts +11 -0
  57. package/src/components/molecules/VAccordion/VAccordion.vue +16 -7
  58. package/src/components/molecules/VAccordion/VAccordionItem.test.ts +65 -16
  59. package/src/components/molecules/VAccordion/VAccordionItem.vue +53 -32
  60. package/src/components/molecules/VAlert.test.ts +11 -1
  61. package/src/components/molecules/VAlert.vue +33 -7
  62. package/src/components/molecules/VCard/VCard.test.ts +1 -1
  63. package/src/components/molecules/VCard/VCard.vue +12 -7
  64. package/src/components/molecules/VCard/VCardBody.test.ts +18 -0
  65. package/src/components/molecules/VCard/VCardBody.vue +16 -1
  66. package/src/components/molecules/VCard/VCardFooter.test.ts +18 -0
  67. package/src/components/molecules/VCard/VCardFooter.vue +21 -3
  68. package/src/components/molecules/VCard/VCardHeader.test.ts +18 -0
  69. package/src/components/molecules/VCard/VCardHeader.vue +26 -5
  70. package/src/components/molecules/VCodeBlock.test.ts +133 -0
  71. package/src/components/molecules/VCodeBlock.vue +120 -0
  72. package/src/components/molecules/VListbox/VListbox.test.ts +42 -15
  73. package/src/components/molecules/VListbox/VListbox.vue +44 -15
  74. package/src/components/molecules/VListbox/VListboxButton.test.ts +15 -6
  75. package/src/components/molecules/VListbox/VListboxButton.vue +10 -1
  76. package/src/components/molecules/VListbox/VListboxItem.test.ts +2 -2
  77. package/src/components/molecules/VListbox/VListboxItem.vue +18 -7
  78. package/src/components/molecules/VListbox/VListboxItems.test.ts +2 -2
  79. package/src/components/molecules/VListbox/VListboxItems.vue +18 -5
  80. package/src/components/molecules/VListbox/VListboxLabel.test.ts +1 -2
  81. package/src/components/molecules/VListbox/VListboxLabel.vue +1 -1
  82. package/src/components/molecules/VPreview.vue +9 -5
  83. package/src/components/molecules/{VRail.test.ts → VRail/VRail.test.ts} +1 -1
  84. package/src/components/molecules/{VRail.vue → VRail/VRail.vue} +6 -6
  85. package/src/components/molecules/VRail/VRailTile.test.ts +99 -0
  86. package/src/components/molecules/{VRailTile.vue → VRail/VRailTile.vue} +4 -6
  87. package/src/components/molecules/VTabs/VTab.test.ts +7 -3
  88. package/src/components/molecules/VTabs/VTab.vue +20 -5
  89. package/src/components/molecules/VTabs/VTabPanel.vue +2 -2
  90. package/src/components/molecules/VTabs/VTabs.test.ts +4 -2
  91. package/src/components/molecules/VTabs/VTabs.vue +32 -8
  92. package/src/components/molecules/index.ts +5 -2
  93. package/src/props/index.ts +1 -0
  94. package/src/props/props.ts +62 -0
  95. package/src/services/index.ts +5 -3
  96. package/src/services/settings.service.test.ts +17 -0
  97. package/src/services/settings.service.ts +136 -0
  98. package/src/types/index.ts +58 -0
  99. package/src/utils/theme/theme-switcher.vue +61 -131
  100. package/src/components/atoms/VCodeBlock.test.ts +0 -14
  101. package/src/components/atoms/VCodeBlock.vue +0 -92
  102. package/src/components/molecules/VRailTile.test.ts +0 -14
  103. /package/dist/types/components/{atoms → molecules}/VCodeBlock.test.d.ts +0 -0
  104. /package/dist/types/components/molecules/{VRail.test.d.ts → VRail/VRail.test.d.ts} +0 -0
  105. /package/dist/types/components/molecules/{VRail.vue.d.ts → VRail/VRail.vue.d.ts} +0 -0
  106. /package/dist/types/components/molecules/{VRailTile.test.d.ts → VRail/VRailTile.test.d.ts} +0 -0
  107. /package/dist/types/components/molecules/{VRailTile.vue.d.ts → VRail/VRailTile.vue.d.ts} +0 -0
@@ -13,15 +13,23 @@ declare const _default: import("vue").DefineComponent<{
13
13
  type: BooleanConstructor;
14
14
  default: boolean;
15
15
  };
16
- headerClass: {
16
+ classHeader: {
17
17
  type: () => CssClasses;
18
18
  default: string;
19
19
  };
20
- preClass: {
20
+ classLanguage: {
21
21
  type: () => CssClasses;
22
22
  default: string;
23
23
  };
24
- buttonClass: {
24
+ classPre: {
25
+ type: () => CssClasses;
26
+ default: string;
27
+ };
28
+ classCode: {
29
+ type: () => CssClasses;
30
+ default: string;
31
+ };
32
+ classButton: {
25
33
  type: () => CssClasses;
26
34
  default: string;
27
35
  };
@@ -33,6 +41,10 @@ declare const _default: import("vue").DefineComponent<{
33
41
  type: StringConstructor;
34
42
  default: string;
35
43
  };
44
+ unstyled: {
45
+ type: BooleanConstructor;
46
+ default: boolean;
47
+ };
36
48
  }, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
37
49
  copy: () => void;
38
50
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -48,15 +60,23 @@ declare const _default: import("vue").DefineComponent<{
48
60
  type: BooleanConstructor;
49
61
  default: boolean;
50
62
  };
51
- headerClass: {
63
+ classHeader: {
52
64
  type: () => CssClasses;
53
65
  default: string;
54
66
  };
55
- preClass: {
67
+ classLanguage: {
56
68
  type: () => CssClasses;
57
69
  default: string;
58
70
  };
59
- buttonClass: {
71
+ classPre: {
72
+ type: () => CssClasses;
73
+ default: string;
74
+ };
75
+ classCode: {
76
+ type: () => CssClasses;
77
+ default: string;
78
+ };
79
+ classButton: {
60
80
  type: () => CssClasses;
61
81
  default: string;
62
82
  };
@@ -68,15 +88,22 @@ declare const _default: import("vue").DefineComponent<{
68
88
  type: StringConstructor;
69
89
  default: string;
70
90
  };
91
+ unstyled: {
92
+ type: BooleanConstructor;
93
+ default: boolean;
94
+ };
71
95
  }>> & {
72
96
  onCopy?: (() => any) | undefined;
73
97
  }, {
74
98
  language: string;
99
+ unstyled: boolean;
75
100
  code: string;
101
+ classButton: string;
102
+ classPre: string;
76
103
  preventOverflow: boolean;
77
- headerClass: string;
78
- preClass: string;
79
- buttonClass: string;
104
+ classHeader: string;
105
+ classLanguage: string;
106
+ classCode: string;
80
107
  buttonText: string;
81
108
  buttonCopiedText: string;
82
109
  }>;
@@ -1,22 +1,35 @@
1
+ import { CssClasses } from "@/index";
1
2
  declare const _default: import("vue").DefineComponent<{
3
+ modelValue: any;
2
4
  by: {
3
5
  type: StringConstructor;
4
6
  };
5
7
  display: {
6
8
  type: StringConstructor;
7
9
  };
8
- labelText: {
10
+ textLabel: {
9
11
  type: StringConstructor;
10
12
  };
11
- labelClasses: {
12
- type: BooleanConstructor;
13
- default: boolean;
13
+ classLabel: {
14
+ type: () => CssClasses;
15
+ default: string;
14
16
  };
15
- buttonText: {
17
+ textButton: {
16
18
  type: StringConstructor;
17
19
  default: string;
18
20
  };
19
- modelValue: any;
21
+ classButton: {
22
+ type: () => CssClasses;
23
+ default: string;
24
+ };
25
+ classItem: {
26
+ type: () => CssClasses;
27
+ default: string;
28
+ };
29
+ classItems: {
30
+ type: () => CssClasses;
31
+ default: string;
32
+ };
20
33
  horizontal: {
21
34
  type: BooleanConstructor;
22
35
  default: boolean;
@@ -41,25 +54,41 @@ declare const _default: import("vue").DefineComponent<{
41
54
  type: StringConstructor;
42
55
  default: string;
43
56
  };
57
+ unstyled: {
58
+ type: BooleanConstructor;
59
+ default: boolean;
60
+ };
44
61
  }, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
62
+ modelValue: any;
45
63
  by: {
46
64
  type: StringConstructor;
47
65
  };
48
66
  display: {
49
67
  type: StringConstructor;
50
68
  };
51
- labelText: {
69
+ textLabel: {
52
70
  type: StringConstructor;
53
71
  };
54
- labelClasses: {
55
- type: BooleanConstructor;
56
- default: boolean;
72
+ classLabel: {
73
+ type: () => CssClasses;
74
+ default: string;
57
75
  };
58
- buttonText: {
76
+ textButton: {
59
77
  type: StringConstructor;
60
78
  default: string;
61
79
  };
62
- modelValue: any;
80
+ classButton: {
81
+ type: () => CssClasses;
82
+ default: string;
83
+ };
84
+ classItem: {
85
+ type: () => CssClasses;
86
+ default: string;
87
+ };
88
+ classItems: {
89
+ type: () => CssClasses;
90
+ default: string;
91
+ };
63
92
  horizontal: {
64
93
  type: BooleanConstructor;
65
94
  default: boolean;
@@ -84,17 +113,25 @@ declare const _default: import("vue").DefineComponent<{
84
113
  type: StringConstructor;
85
114
  default: string;
86
115
  };
116
+ unstyled: {
117
+ type: BooleanConstructor;
118
+ default: boolean;
119
+ };
87
120
  }>> & {
88
121
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
89
122
  }, {
90
- buttonText: string;
123
+ unstyled: boolean;
91
124
  modelValue: any;
92
125
  active: string;
93
126
  hover: string;
94
127
  background: string;
95
128
  text: string;
129
+ classItem: string;
96
130
  horizontal: boolean;
97
- labelClasses: boolean;
131
+ classItems: string;
98
132
  multiple: boolean;
133
+ classLabel: string;
134
+ textButton: string;
135
+ classButton: string;
99
136
  }>;
100
137
  export default _default;
@@ -1,12 +1,22 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
2
  value: {
3
- type: (BooleanConstructor | StringConstructor | ObjectConstructor | NumberConstructor)[];
3
+ type: (StringConstructor | BooleanConstructor | ObjectConstructor | NumberConstructor)[];
4
4
  required: true;
5
5
  };
6
+ unstyled: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
6
10
  }, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
11
  value: {
8
- type: (BooleanConstructor | StringConstructor | ObjectConstructor | NumberConstructor)[];
12
+ type: (StringConstructor | BooleanConstructor | ObjectConstructor | NumberConstructor)[];
9
13
  required: true;
10
14
  };
11
- }>>, {}>;
15
+ unstyled: {
16
+ type: BooleanConstructor;
17
+ default: boolean;
18
+ };
19
+ }>>, {
20
+ unstyled: boolean;
21
+ }>;
12
22
  export default _default;
@@ -7,6 +7,10 @@ declare const _default: import("vue").DefineComponent<{
7
7
  type: BooleanConstructor;
8
8
  default: boolean;
9
9
  };
10
+ unstyled: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
13
+ };
10
14
  }, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
11
15
  as: {
12
16
  type: StringConstructor;
@@ -16,7 +20,12 @@ declare const _default: import("vue").DefineComponent<{
16
20
  type: BooleanConstructor;
17
21
  default: boolean;
18
22
  };
23
+ unstyled: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
19
27
  }>>, {
28
+ unstyled: boolean;
20
29
  as: string;
21
30
  static: boolean;
22
31
  }>;
@@ -3,12 +3,21 @@ declare const _default: import("vue").DefineComponent<{
3
3
  type: BooleanConstructor;
4
4
  default: boolean;
5
5
  };
6
+ unstyled: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
6
10
  }, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
11
  disabled: {
8
12
  type: BooleanConstructor;
9
13
  default: boolean;
10
14
  };
15
+ unstyled: {
16
+ type: BooleanConstructor;
17
+ default: boolean;
18
+ };
11
19
  }>>, {
20
+ unstyled: boolean;
12
21
  disabled: boolean;
13
22
  }>;
14
23
  export default _default;
@@ -31,10 +31,18 @@ declare const _default: import("vue").DefineComponent<{
31
31
  type: StringConstructor;
32
32
  default: string;
33
33
  };
34
+ classTabSeparator: {
35
+ type: StringConstructor;
36
+ default: string;
37
+ };
34
38
  defaultIndex: {
35
39
  type: NumberConstructor;
36
40
  default: number;
37
41
  };
42
+ unstyled: {
43
+ type: BooleanConstructor;
44
+ default: boolean;
45
+ };
38
46
  }, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
39
47
  hideSeparator: {
40
48
  type: BooleanConstructor;
@@ -68,16 +76,26 @@ declare const _default: import("vue").DefineComponent<{
68
76
  type: StringConstructor;
69
77
  default: string;
70
78
  };
79
+ classTabSeparator: {
80
+ type: StringConstructor;
81
+ default: string;
82
+ };
71
83
  defaultIndex: {
72
84
  type: NumberConstructor;
73
85
  default: number;
74
86
  };
87
+ unstyled: {
88
+ type: BooleanConstructor;
89
+ default: boolean;
90
+ };
75
91
  }>>, {
92
+ unstyled: boolean;
76
93
  active: string;
77
94
  hover: string;
78
95
  vertical: boolean;
79
96
  classTab: string;
80
97
  hideSeparator: boolean;
98
+ classTabSeparator: string;
81
99
  classPanels: string;
82
100
  classTabs: string;
83
101
  classSeparator: string;
@@ -1,7 +1,7 @@
1
1
  import VDrawer from "./VDrawer.vue";
2
2
  import VPreview from "./VPreview.vue";
3
- import VRail from "./VRail.vue";
4
- import VRailTile from "./VRailTile.vue";
3
+ import VRail from "./VRail/VRail.vue";
4
+ import VRailTile from "./VRail/VRailTile.vue";
5
5
  import VShell from "./VShell.vue";
6
6
  import VListbox from "./VListbox/VListbox.vue";
7
7
  import VListboxButton from "./VListbox/VListboxButton.vue";
@@ -18,4 +18,5 @@ import VCard from "./VCard/VCard.vue";
18
18
  import VCardBody from "./VCard/VCardBody.vue";
19
19
  import VCardFooter from "./VCard/VCardFooter.vue";
20
20
  import VCardHeader from "./VCard/VCardHeader.vue";
21
- export { VAccordion, VAccordionItem, VAlert, VCard, VCardBody, VCardFooter, VCardHeader, VDrawer, VListbox, VListboxButton, VListboxItem, VListboxItems, VListboxLabel, VPreview, VRail, VRailTile, VShell, VTab, VTabPanel, VTabs, };
21
+ import VCodeBlock from "./VCodeBlock.vue";
22
+ export { VAccordion, VAccordionItem, VAlert, VCard, VCardBody, VCardFooter, VCardHeader, VCodeBlock, VDrawer, VListbox, VListboxButton, VListboxItem, VListboxItems, VListboxLabel, VPreview, VRail, VRailTile, VShell, VTab, VTabPanel, VTabs, };
@@ -0,0 +1 @@
1
+ export * from './props';
@@ -0,0 +1,14 @@
1
+ import { PropType } from "vue";
2
+ declare const sizeProp: {
3
+ type: PropType<"xs" | "sm" | "md" | "lg" | "xl">;
4
+ default: string;
5
+ };
6
+ declare const unstyledProp: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ declare const variantProp: {
11
+ type: PropType<"" | "filled" | "filled-primary" | "filled-secondary" | "filled-tertiary" | "filled-success" | "filled-warning" | "filled-error" | "filled-surface" | "ringed" | "ringed-primary" | "ringed-secondary" | "ringed-tertiary" | "ringed-success" | "ringed-warning" | "ringed-error" | "ringed-surface" | "ghost" | "ghost-primary" | "ghost-secondary" | "ghost-tertiary" | "ghost-success" | "ghost-warning" | "ghost-error" | "ghost-surface" | "soft" | "soft-primary" | "soft-secondary" | "soft-tertiary" | "soft-success" | "soft-warning" | "soft-error" | "soft-surface" | "glass" | "glass-primary" | "glass-secondary" | "glass-tertiary" | "glass-success" | "glass-warning" | "glass-error" | "glass-surface">;
12
+ default: string;
13
+ };
14
+ export { sizeProp, unstyledProp, variantProp };
@@ -1,5 +1,7 @@
1
- import { useRail } from "./rail.service";
1
+ import { useDarkMode } from "./dark-mode.service";
2
2
  import { useDrawer } from "./drawer.service";
3
3
  import { useHighlight } from "./highlight.service";
4
- import { useDarkMode } from "./dark-mode.service";
5
- export { useRail, useDrawer, useHighlight, useDarkMode };
4
+ import { useRail } from "./rail.service";
5
+ import { useSettings, VuetifulSettings } from "./settings.service";
6
+ export { useDarkMode, useDrawer, useHighlight, useRail, useSettings };
7
+ export type { VuetifulSettings };
@@ -0,0 +1,132 @@
1
+ interface UnstyledSettings {
2
+ unstyled: boolean;
3
+ }
4
+ interface GlobalSettings extends UnstyledSettings {
5
+ }
6
+ interface RadioGroupSettings extends UnstyledSettings {
7
+ }
8
+ interface RadioItemSettings extends UnstyledSettings {
9
+ }
10
+ interface AccordionSettings extends UnstyledSettings {
11
+ }
12
+ interface AccordionItemSettings extends UnstyledSettings {
13
+ }
14
+ interface AlertSettings extends UnstyledSettings {
15
+ }
16
+ interface AvatarSettings extends UnstyledSettings {
17
+ }
18
+ interface BadgeSettings extends UnstyledSettings {
19
+ }
20
+ interface ButtonSettings extends UnstyledSettings {
21
+ }
22
+ interface ListboxSettings extends UnstyledSettings {
23
+ }
24
+ interface ListboxItemSettings extends UnstyledSettings {
25
+ }
26
+ interface CodeBlockSettings extends UnstyledSettings {
27
+ }
28
+ interface SwitchSettings extends UnstyledSettings {
29
+ }
30
+ interface CardSettings extends UnstyledSettings {
31
+ }
32
+ interface CardHeaderSettings extends UnstyledSettings {
33
+ }
34
+ interface CardBodySettings extends UnstyledSettings {
35
+ }
36
+ interface CardFooterSettings extends UnstyledSettings {
37
+ }
38
+ interface TabsSettings extends UnstyledSettings {
39
+ }
40
+ interface TabSettings extends UnstyledSettings {
41
+ }
42
+ export interface VuetifulSettings {
43
+ global: GlobalSettings;
44
+ components: Partial<{
45
+ avatar: AvatarSettings;
46
+ alert: AlertSettings;
47
+ badge: BadgeSettings;
48
+ button: ButtonSettings;
49
+ codeBlock: CodeBlockSettings;
50
+ switch: SwitchSettings;
51
+ accordion: AccordionSettings;
52
+ accordionItem: AccordionItemSettings;
53
+ listbox: ListboxSettings;
54
+ listboxItem: ListboxItemSettings;
55
+ radioGroup: RadioGroupSettings;
56
+ radioItem: RadioItemSettings;
57
+ card: CardSettings;
58
+ cardHeader: CardHeaderSettings;
59
+ cardBody: CardBodySettings;
60
+ cardFooter: CardFooterSettings;
61
+ tabs: TabsSettings;
62
+ tab: TabSettings;
63
+ }>;
64
+ }
65
+ declare const useSettings: () => {
66
+ updateSettings: (partialSettings: Partial<VuetifulSettings>) => void;
67
+ settings: {
68
+ global: {
69
+ unstyled: boolean;
70
+ };
71
+ components: {
72
+ radioGroup: {
73
+ unstyled: boolean;
74
+ };
75
+ radioItem: {
76
+ unstyled: boolean;
77
+ };
78
+ switch: {
79
+ unstyled: boolean;
80
+ };
81
+ avatar: {
82
+ unstyled: boolean;
83
+ };
84
+ badge: {
85
+ unstyled: boolean;
86
+ };
87
+ button: {
88
+ unstyled: boolean;
89
+ };
90
+ chip: {
91
+ unstyled: boolean;
92
+ };
93
+ codeBlock: {
94
+ unstyled: boolean;
95
+ };
96
+ listbox: {
97
+ unstyled: boolean;
98
+ };
99
+ listboxItem: {
100
+ unstyled: boolean;
101
+ };
102
+ accordion: {
103
+ unstyled: boolean;
104
+ };
105
+ accordionItem: {
106
+ unstyled: boolean;
107
+ };
108
+ alert: {
109
+ unstyled: boolean;
110
+ };
111
+ card: {
112
+ unstyled: boolean;
113
+ };
114
+ cardHeader: {
115
+ unstyled: boolean;
116
+ };
117
+ cardBody: {
118
+ unstyled: boolean;
119
+ };
120
+ cardFooter: {
121
+ unstyled: boolean;
122
+ };
123
+ tabs: {
124
+ unstyled: boolean;
125
+ };
126
+ tab: {
127
+ unstyled: boolean;
128
+ };
129
+ };
130
+ };
131
+ };
132
+ export { useSettings };
@@ -0,0 +1 @@
1
+ export {};
@@ -1 +1,54 @@
1
1
  export * from "./tailwind";
2
+ /**
3
+ * The commented string unions are to use in PropType<> for Vue components,
4
+ * TypeScript types or enums do not give errors when using a string that is not in the union.
5
+ **/
6
+ export declare const Variant: {
7
+ Filled: string;
8
+ FilledPrimary: string;
9
+ FilledSecondary: string;
10
+ FilledTertiary: string;
11
+ FilledSuccess: string;
12
+ FilledWarning: string;
13
+ FilledError: string;
14
+ FilledSurface: string;
15
+ Ringed: string;
16
+ RingedPrimary: string;
17
+ RingedSecondary: string;
18
+ RingedTertiary: string;
19
+ RingedSuccess: string;
20
+ RingedWarning: string;
21
+ RingedError: string;
22
+ RingedSurface: string;
23
+ Ghost: string;
24
+ GhostPrimary: string;
25
+ GhostSecondary: string;
26
+ GhostTertiary: string;
27
+ GhostSuccess: string;
28
+ GhostWarning: string;
29
+ GhostError: string;
30
+ GhostSurface: string;
31
+ Soft: string;
32
+ SoftPrimary: string;
33
+ SoftSecondary: string;
34
+ SoftTertiary: string;
35
+ SoftSuccess: string;
36
+ SoftWarning: string;
37
+ SoftError: string;
38
+ SoftSurface: string;
39
+ Glass: string;
40
+ GlassPrimary: string;
41
+ GlassSecondary: string;
42
+ GlassTertiary: string;
43
+ GlassSuccess: string;
44
+ GlassWarning: string;
45
+ GlassError: string;
46
+ GlassSurface: string;
47
+ };
48
+ export declare const Size: {
49
+ XS: string;
50
+ SM: string;
51
+ MD: string;
52
+ LG: string;
53
+ XL: string;
54
+ };