@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
@@ -1,109 +1,69 @@
1
1
  import { CssClasses } from "@/index";
2
2
  declare const _default: import("vue").DefineComponent<{
3
- bgLight: {
3
+ background: {
4
4
  type: () => CssClasses;
5
5
  default: string;
6
6
  };
7
- bgDark: {
7
+ text: {
8
8
  type: () => CssClasses;
9
9
  default: string;
10
10
  };
11
- textOnLight: {
11
+ widthPopup: {
12
12
  type: () => CssClasses;
13
13
  default: string;
14
14
  };
15
- textOnDark: {
15
+ heightList: {
16
16
  type: () => CssClasses;
17
17
  default: string;
18
18
  };
19
- width: {
19
+ classButton: {
20
20
  type: () => CssClasses;
21
21
  default: string;
22
22
  };
23
- height: {
23
+ classList: {
24
24
  type: () => CssClasses;
25
25
  default: string;
26
26
  };
27
- ring: {
27
+ classListItem: {
28
28
  type: () => CssClasses;
29
29
  default: string;
30
30
  };
31
- rounded: {
31
+ }, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
32
+ background: {
32
33
  type: () => CssClasses;
33
34
  default: string;
34
35
  };
35
- roundedContainer: {
36
+ text: {
36
37
  type: () => CssClasses;
37
38
  default: string;
38
39
  };
39
- buttonClasses: {
40
+ widthPopup: {
40
41
  type: () => CssClasses;
41
42
  default: string;
42
43
  };
43
- }, {
44
- onKeyDown: (event: KeyboardEvent) => void;
45
- loadTheme: (themeName: string, callback?: Function | undefined) => void;
46
- currentMode: Readonly<import("vue").Ref<boolean>>;
47
- classes: import("vue").ComputedRef<string>;
48
- chosenTheme: Readonly<import("vue").Ref<string>>;
49
- themes: Readonly<import("vue").Ref<readonly {
50
- readonly name: string;
51
- readonly url: string;
52
- }[]>>;
53
- showPopup: import("vue").Ref<boolean>;
54
- listClasses: import("vue").ComputedRef<string>;
55
- listItemClasses: import("vue").ComputedRef<string>;
56
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
57
- bgLight: {
44
+ heightList: {
58
45
  type: () => CssClasses;
59
46
  default: string;
60
47
  };
61
- bgDark: {
48
+ classButton: {
62
49
  type: () => CssClasses;
63
50
  default: string;
64
51
  };
65
- textOnLight: {
52
+ classList: {
66
53
  type: () => CssClasses;
67
54
  default: string;
68
55
  };
69
- textOnDark: {
70
- type: () => CssClasses;
71
- default: string;
72
- };
73
- width: {
74
- type: () => CssClasses;
75
- default: string;
76
- };
77
- height: {
78
- type: () => CssClasses;
79
- default: string;
80
- };
81
- ring: {
82
- type: () => CssClasses;
83
- default: string;
84
- };
85
- rounded: {
86
- type: () => CssClasses;
87
- default: string;
88
- };
89
- roundedContainer: {
90
- type: () => CssClasses;
91
- default: string;
92
- };
93
- buttonClasses: {
56
+ classListItem: {
94
57
  type: () => CssClasses;
95
58
  default: string;
96
59
  };
97
60
  }>>, {
98
- bgLight: string;
99
- bgDark: string;
100
- width: string;
101
- height: string;
102
- ring: string;
103
- rounded: string;
104
- textOnLight: string;
105
- textOnDark: string;
106
- roundedContainer: string;
107
- buttonClasses: string;
61
+ background: string;
62
+ text: string;
63
+ classButton: string;
64
+ widthPopup: string;
65
+ heightList: string;
66
+ classList: string;
67
+ classListItem: string;
108
68
  }>;
109
69
  export default _default;