@code-coaching/vuetiful 0.27.0 → 0.28.0

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.
@@ -2,13 +2,8 @@
2
2
  .fade-150-leave-active {
3
3
  transition: opacity 150ms;
4
4
  }
5
- .fade-300-enter-active,
6
- .fade-300-leave-active {
7
- transition: opacity 300ms;
8
- }
5
+
9
6
  .fade-150-enter-from,
10
- .fade-150-leave-to,
11
- .fade-300-enter-from,
12
- .fade-300-leave-to {
7
+ .fade-150-leave-to {
13
8
  opacity: 0;
14
9
  }
@@ -4,18 +4,6 @@
4
4
  .slide-left-150-leave-active {
5
5
  animation: slide-left 150ms reverse;
6
6
  }
7
- .slide-left-300-enter-active {
8
- animation: slide-left 300ms;
9
- }
10
- .slide-left-300-leave-active {
11
- animation: slide-left 300ms reverse;
12
- }
13
- .slide-left-900-enter-active {
14
- animation: slide-left 900ms;
15
- }
16
- .slide-left-900-leave-active {
17
- animation: slide-left 900ms reverse;
18
- }
19
7
  @keyframes slide-left {
20
8
  0% {
21
9
  transform: translateX(-100%);
@@ -31,12 +19,6 @@
31
19
  .slide-top-150-leave-active {
32
20
  animation: slide-top 150ms reverse;
33
21
  }
34
- .slide-top-300-enter-active {
35
- animation: slide-top 300ms;
36
- }
37
- .slide-top-300-leave-active {
38
- animation: slide-top 300ms reverse;
39
- }
40
22
  @keyframes slide-top {
41
23
  0% {
42
24
  transform: translateY(-100%);
@@ -52,12 +34,6 @@
52
34
  .slide-right-150-leave-active {
53
35
  animation: slide-right 150ms reverse;
54
36
  }
55
- .slide-right-300-enter-active {
56
- animation: slide-right 300ms;
57
- }
58
- .slide-right-300-leave-active {
59
- animation: slide-right 300ms reverse;
60
- }
61
37
  @keyframes slide-right {
62
38
  0% {
63
39
  transform: translateX(100%);
@@ -73,12 +49,6 @@
73
49
  .slide-bottom-150-leave-active {
74
50
  animation: slide-bottom 150ms reverse;
75
51
  }
76
- .slide-bottom-300-enter-active {
77
- animation: slide-bottom 300ms;
78
- }
79
- .slide-bottom-300-leave-active {
80
- animation: slide-bottom 300ms reverse;
81
- }
82
52
  @keyframes slide-bottom {
83
53
  0% {
84
54
  transform: translateY(100%);
@@ -7,6 +7,7 @@ interface RadioGroupProps {
7
7
  classItemHover?: string;
8
8
  classItemDisabled?: string;
9
9
  classItem?: string;
10
+ vertical?: boolean;
10
11
  }
11
12
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<RadioGroupProps>, {
12
13
  class: string;
@@ -26,10 +27,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
26
27
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
27
28
  }, {
28
29
  class: string;
30
+ classItem: string;
29
31
  classItemActive: string;
30
32
  classItemHover: string;
31
33
  classItemDisabled: string;
32
- classItem: string;
33
34
  }, {}>, {
34
35
  default?(_: {}): any;
35
36
  }>;
@@ -28,8 +28,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
28
28
  size: SizeProp;
29
29
  class: string;
30
30
  as: string;
31
- name: string;
32
31
  classThumb: string;
32
+ name: string;
33
33
  }, {}>, {
34
34
  default?(_: {}): any;
35
35
  }>;
@@ -2,7 +2,6 @@ import VAvatar from './VAvatar.vue';
2
2
  import VBadge from './VBadge.vue';
3
3
  import VButton from './VButton.vue';
4
4
  import VChip from './VChip.vue';
5
- import VLightSwitch from './VLightSwitch.vue';
6
5
  import VRadioDescription from './VRadio/VRadioDescription.vue';
7
6
  import VRadioGroup from './VRadio/VRadioGroup.vue';
8
7
  import VRadioItem from './VRadio/VRadioItem.vue';
@@ -11,4 +10,4 @@ import VSwitch from './VSwitch/VSwitch.vue';
11
10
  import VSwitchDescription from './VSwitch/VSwitchDescription.vue';
12
11
  import VSwitchGroup from './VSwitch/VSwitchGroup.vue';
13
12
  import VSwitchLabel from './VSwitch/VSwitchLabel.vue';
14
- export { VAvatar, VButton, VBadge, VChip, VLightSwitch, VRadioGroup, VRadioItem, VRadioLabel, VRadioDescription, VSwitchGroup, VSwitchLabel, VSwitchDescription, VSwitch, };
13
+ export { VAvatar, VButton, VBadge, VChip, VRadioGroup, VRadioItem, VRadioLabel, VRadioDescription, VSwitchGroup, VSwitchLabel, VSwitchDescription, VSwitch, };
@@ -60,9 +60,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
60
60
  class: string;
61
61
  label: string;
62
62
  value: string;
63
+ classIcon: string;
63
64
  classActive: string;
64
65
  classHover: string;
65
- classIcon: string;
66
66
  classLabel: string;
67
67
  }, {}>, {
68
68
  default?(_: {}): any;
@@ -13,7 +13,7 @@ declare const useDrawer: () => {
13
13
  readonly id?: string | undefined;
14
14
  readonly open?: boolean | undefined;
15
15
  readonly position?: "bottom" | "left" | "right" | "top" | undefined;
16
- readonly duration?: 300 | 150 | undefined;
16
+ readonly duration?: 150 | 300 | undefined;
17
17
  readonly regionBackdrop?: string | undefined;
18
18
  readonly regionDrawer?: string | undefined;
19
19
  };
@@ -1,7 +1,6 @@
1
- import { useDarkMode, type Mode } from './dark-mode.service';
2
1
  import { useDrawer } from './drawer.service';
3
2
  import { useHighlight } from './highlight.service';
4
3
  import { useRail } from './rail.service';
5
4
  import { useSettings, type VuetifulSettings } from './settings.service';
6
- export { useDarkMode, useDrawer, useHighlight, useRail, useSettings };
7
- export type { VuetifulSettings, Mode };
5
+ export { useDrawer, useHighlight, useRail, useSettings };
6
+ export type { VuetifulSettings };
@@ -1,6 +1,9 @@
1
1
  import { usePlatform } from './platform/platform.service';
2
- import ThemeSwitcher from './theme/theme-switcher.vue';
2
+ import { useDarkMode, type Mode } from './theme/dark-mode.service';
3
+ import VLightSwitch from './theme/VLightSwitch.vue';
4
+ import VThemeSwitch from './theme/VThemeSwitch.vue';
3
5
  import { useTheme } from './theme/theme.service';
4
6
  import { idGenerator } from './id-generator';
5
7
  import { tm } from './tailwind-merge';
6
- export { ThemeSwitcher, usePlatform, useTheme, idGenerator, tm };
8
+ export { VThemeSwitch, usePlatform, useTheme, idGenerator, tm, useDarkMode, VLightSwitch };
9
+ export type { Mode };
@@ -0,0 +1,16 @@
1
+ interface LightSwitchProps {
2
+ class?: string;
3
+ classThumb?: string;
4
+ classIcon?: string;
5
+ }
6
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<LightSwitchProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<LightSwitchProps>>>, {}, {}>;
7
+ export default _default;
8
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
+ type __VLS_TypePropsToRuntimeProps<T> = {
10
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
11
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
+ } : {
13
+ type: import('vue').PropType<T[K]>;
14
+ required: true;
15
+ };
16
+ };
@@ -0,0 +1,41 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ class: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ classButton: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ classItem: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ classItemActive: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
19
+ class: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ classButton: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ classItem: {
28
+ type: StringConstructor;
29
+ default: string;
30
+ };
31
+ classItemActive: {
32
+ type: StringConstructor;
33
+ default: string;
34
+ };
35
+ }>>, {
36
+ class: string;
37
+ classButton: string;
38
+ classItem: string;
39
+ classItemActive: string;
40
+ }, {}>;
41
+ export default _default;